Summary of the invention
Embodiment of the present invention is designed to provide a kind of picture storage method, display methods and terminal device, solves
The single problem of pictorial information is stored, enables picture to be associated with many information, and these information can be shown to user, is improved
User experience.
In order to solve the above technical problems, embodiments of the present invention provide a kind of storage method of picture, including following
Step:
Picture to be stored and the different types of related information of N kind associated with picture to be stored are obtained, N is greater than 1
Natural number;The different types of related information of picture and N kind to be stored that will acquire, is associated storage;Wherein, association letter
Breath is for when showing picture, triggering to be shown depending on the user's operation.
Embodiments of the present invention additionally provide a kind of display methods of picture, comprising:
First area in picture display interface shows picture;Picture associated storage has the different types of association letter of N kind
Breath, N are the natural number greater than 1;If detecting, user to the predetermined registration operation of the picture of display, is obtained corresponding with predetermined registration operation
Information type;Wherein, the corresponding relationship of predetermined registration operation and information type is preset.Acquisition is associated with the picture currently shown deposits
Related information that is storage and belonging to corresponding information type;Show the related information obtained.
Invention embodiment further provides a kind of terminal devices, including at least one processor;And at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that at least one processor is able to carry out storage method or above-mentioned figure such as above-mentioned picture
The display methods of piece.
Embodiment of the present invention in terms of existing technologies, by obtain picture to be stored and with picture phase to be stored
The associated different types of related information of N kind enables picture corresponding according to different demands and a variety of different information;And
By picture to be stored and the different types of related information of N kind described in will acquire, it is associated storage, so that aobvious
When diagram piece, the associated various information of display can be triggered depending on the user's operation, not only user were facilitated to check, but also enable a system to
These related informations are quickly found out, user experience is improved.
In addition, L control is arranged in picture storage interface in advance, L control respectively corresponds an information type, and L is big
In or equal to N natural number;Obtain picture to be stored and the different types of association letter of N kind associated with picture to be stored
Breath, specifically includes: obtaining picture to be stored, and picture to be stored is shown in picture storage interface;It is touched one by one according to user
The control of hair obtains the related information for belonging to the corresponding information type of control of triggering, obtains the different types of association letter of N kind
Breath.The corresponding information type of each control, user, which need to only trigger corresponding control, when searching information can be obtained control
The related information of the corresponding information type of part facilitates user to reduce the operating procedure of user to the lookup of information, a kind of to user
Convenient photo storage experience.
In addition, the different types of related information of picture and N kind to be stored that will acquire, is associated storage, it is specific to wrap
Include: the different types of related information of N kind that will acquire is bound with picture;Save the different types of pass of N kind of picture, binding
Picture to be stored with different types of is associated with letter in a manner of binding by the information type for joining the related information of information and binding
Breath association, makes user that can find the related information of picture when checking picture, avoids in different location lookup information,
The operating procedure for reducing user improves storage photo and the experience of related information of user.
In addition, obtaining the related information for belonging to the corresponding information type of control of triggering, tool according to the control that user triggers
Body includes: the control triggered according to user, obtains the corresponding information type of control of triggering;Judgement belongs to corresponding information type
Related information, if be automatic identification related information;If not the related information of automatic identification, then provide human-computer interaction circle
Face belongs to the related information of corresponding information type for user's input.Automatic identification related information simultaneously carries out associated storage, removes from
The operation of user, saves the time, for not being the related information of automatic identification, provides human-computer interaction interface and inputs for user
Related information meets the needs of users the related information of storage more, enriches the content of related information, and user is made to store letter
The mode of breath is more flexible.
In addition, information type includes with one of Types Below or any combination thereof: contact details, temporal information, location information,
Event description information, scene information.So that picture is stored Diversity of information, meets the demand of the different storage information of user, give
The different storage experience of user.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of storage methods of picture.Detailed process is as shown in Figure 1.This embodiment party
In formula, picture to be stored and the different types of related information of N kind associated with picture to be stored are obtained, N is oneself greater than 1
So number;The different types of related information of picture and N kind to be stored that will acquire, is associated storage;Wherein, related information is used
In when showing picture, triggering is shown depending on the user's operation.Enable picture according to different demands and a variety of different information
It is corresponding, and triggering shows associated various information depending on the user's operation, not only user is facilitated to check, but also enable a system to
These related informations are quickly found out, user experience is improved.Below to the realization details of the image interfusion method of present embodiment
It is specifically described, the following contents only for convenience of the realization details provided is understood, not implements the necessary of this programme.
Step 101, picture to be stored and the different types of related information of N kind associated with picture to be stored, N are obtained
For the natural number greater than 1.Specifically, picture to be stored can be the picture that user shoots, picture to be stored is obtained
Mode can also transfer the image cache of shooting to memory to user at one's leisure to immediately obtain after shooting figure piece
Picture is stored, and the shooting for facilitating user to scene is done so, and will not only delay the opportunity of shooting, but also can get afterwards
Picture to be stored stores the related information of picture to be stored.Certainly, picture to be stored is also possible to receive from other equipment
Picture, present embodiment do not do any restrictions to how to get picture to be stored.
In addition, related information type includes with one of Types Below or any combination thereof: contact details, temporal information, place
Information, event description information, scene information.Contact details can be for wait store the telephone number for being associated with personage in picture;Time
Information can be the shooting time of the picture to be stored;Location information can be the shooting location of the picture to be stored;Event is retouched
Stating information can be event information etc. for background information when storing picture shooting, picture record;Scene information can be with
It can be the different photos shot under Same Scene, or same affiliated person for the associated scene of the picture to be stored
The different photos of object.In addition to this can also be by weather, user mood and some things for needing to record are as association
Information association is in picture to be stored, and according to user preferences and intention, adds or delete the type of related information, makes the information of storage
Meets the needs of subscriber association information storage while abundant again.
Step 102, the different types of related information of picture and N kind to be stored that will acquire, is associated storage;Its
In, related information is used for when showing picture, depending on the user's operation triggering display.Specifically, will picture be stored and its
Picture to be stored can be stored with its related information into same file folder, user is facilitated to look by related information associated storage
While looking for picture, its related information is found, operating procedure is simplified, facilitates lookup of the user to a variety of different information.In addition,
While checking picture, picture can be operated and show its related information, user can also check on the interface for check picture
To the related information of the picture, the experience of user is greatly improved.
Embodiment of the present invention in terms of existing technologies, by obtain picture to be stored and with picture phase to be stored
The associated different types of related information of N kind enables picture corresponding according to different demands and a variety of different information;And
By picture to be stored and the different types of related information of N kind described in will acquire, it is associated storage, so that aobvious
When diagram piece, the associated various information of display can be triggered depending on the user's operation, not only user were facilitated to check, but also enable a system to
These related informations are quickly found out, user experience is improved.
Second embodiment of the present invention is related to a kind of storage method of picture.Second embodiment and first embodiment
It is roughly the same, it is in place of the main distinction: in the first embodiment, obtains picture to be stored and related to picture to be stored
The different types of related information of N kind of connection, the different types of related information of picture and N kind to be stored that will acquire, is closed
Connection storage.And in second embodiment of the invention, above-mentioned steps are specially obtained into picture to be stored, and will picture be stored
It is shown in picture storage interface;The control triggered one by one according to user obtains the corresponding information type of control for belonging to triggering
Related information, obtain the different types of related information of N kind;The different types of related information of N kind and picture that will acquire carry out
Binding;The information type for saving the related information of picture, the different types of related information of N kind of binding and binding, will be wait deposit
Storage picture is shown in storage interface, facilitates user to confirm its relevant information, and information is associated with one by one, and storage information is made to have item
Reason, it is convenient in the future to the lookup of information, while the storage experience of user is improved, detailed process is as shown in Figure 2.
Step 201, L control is set in picture storage interface in advance, L control respectively corresponds an information type, and L is
Natural number more than or equal to N.Specifically, storing interface in picture, that is, shows and preset L on the interface of picture to be stored
A control, the corresponding information type of each control, user arrive information associated with picture by the way that control is available, will close
Join information storage into the control of corresponding information type, is arranged on the interface of picture to be stored due to control, it can be with
Realize the associated storage of picture to be stored and relevant information.While observing the pictorial information of picture to be stored, it can incite somebody to action
Its association is stored, and is avoided the promnesia due to user and is caused to store information errors, is improving user storage information just
True property.
In practical applications, control can exist in the form of button, and the operation to control can be the point to button
It hits, the various forms of operations such as long-pressing.
Step 202, picture to be stored is obtained, and picture to be stored is shown in picture storage interface.Specifically, to
The picture that picture is user's shooting is stored, obtaining the mode wait store picture can be to immediately obtain after shooting figure piece, can also be with
By the image cache of shooting to memory, transfers picture at one's leisure to user and store, do so and facilitate user to scene
Shooting, will not only delay the opportunity of shooting, but also can get picture to be stored afterwards, store the association letter of picture to be stored
Breath.Picture to be stored is shown in picture storage interface, facilitate user to treat storage picture confirmation, user is stored by picture
The pictorial information for observing picture to be stored of objective interface is more advantageous to the screening that user treats storage picture.
Step 203, the control triggered one by one according to user obtains the corresponding information type of control for belonging to the triggering
Related information obtains the different types of related information of N kind.Specifically, the association of the corresponding information type of control is believed
Breath is associated with control, and user, which need to only trigger corresponding control, when searching information can be obtained the corresponding info class of control
The related information of type facilitates user to reduce the operating procedure of user to the lookup of information, gives user a kind of convenient photo storage
Experience.
Step 204, the different types of related information of N kind that will acquire is bound with picture.Specifically, by multiple passes
Connection information and picture are bound together, and can also be recalled all related informations while searching picture, be facilitated looking into for user
See the different information contents.
Step 205, the information of the related information of picture, the different types of related information of N kind of binding and binding is saved
Type.Specifically, the multiple related informations and information type of picture and picture are bound together, facilitate user according to information
Type searches related information, while storing multiple related informations, convenient for user simultaneously to the different related informations of picture
Acquisition, simplify operating procedure, improve user experience.
Third embodiment of the present invention is related to a kind of storage method of picture.Third embodiment is in second embodiment
On the basis of be further improved, improvements essentially consist in: in third embodiment of the invention, according to user triggering
Control, obtains the corresponding information type of control of triggering, and judgement belongs to the related information of corresponding information type, if is automatic
The related information of identification.Detailed process is as shown in Figure 3.
Step 301, L control is set in picture storage interface in advance, L control respectively corresponds an information type, and L is
Natural number more than or equal to N.This step is similar with step 201, and details are not described herein.
Step 302, picture to be stored is obtained, and picture to be stored is shown in picture storage interface.This step and step
Rapid 202 is similar, and details are not described herein.
Step 303, judge user whether trigger control, if user's trigger control, enters step 304, if user does not touch
Control is sent out, then enters step 307.
Step 304, judge that trigger control belongs to the related information of corresponding information type, if be the association of automatic identification
Information.Specifically, system judges information type, if information type is temporal information, location information etc. can be by
The information that terminal system directly provides then is judged as the related information of automatic identification, can also be with if information type is scene information
The picture of association personage and scene is provided by the intelligent AI of terminal system, so scene information is also the association letter of automatic identification
Breath.Other related information types need user voluntarily to input related information, then for example, contact details and event description information
It is not the related information of automatic identification.It can conclude that whether the related information is certainly by judging the information type of the related information
The related information of dynamic identification, if judging, the related information is the related information of automatic identification, enters step 305, otherwise enters
Step 306.
Step 305, automatic identification related information.Specifically, if related information is the related information of automatic identification, eventually
End system records the related information of automatic identification, and record while can also be supplied to user's confirmation, will after being confirmed by user
Related information caching.And it returns to step 303 and continues to judge whether user triggers other controls.
Step 306, human-computer interaction interface is provided, the related information of corresponding information type is belonged to for user's input.Specifically
Ground is said, since the related information is not the related information of automatic identification, so user is needed to be associated the input of information manually,
System provides human-computer interaction interface, prompts the related information type of user's required input, and user inputs the letter according to self-demand
The related information of type is ceased, the information of input can be text, expression, picture or even voice and video information, and user is made to follow one's inclinations
Desired record greatly improves the operation possibility of user.Record it is above-mentioned be not automatic identification related information after return to step
Rapid 303, continue to judge whether user triggers other controls.
Step 307, the different types of related information of N kind that will acquire is bound with picture.This step and step 204 class
Seemingly, details are not described herein.
Step 308, the information of the related information of picture, the different types of related information of N kind of binding and binding is saved
Type.This step is similar with step 205, and details are not described herein.
Present embodiment is by judging whether the information type of related information is automatic identification type, to judge association letter
Breath whether be automatic identification related information, if the related information of automatic identification, then by terminal system identify after automatically it is defeated
Enter related information, human-computer interaction interface is provided in the related information of non-automatic identification for user and voluntarily inputs related information, is saved
The step of having saved the time that a part of user inputs, having simplified storage, can also input information according to the demand of user, meet
The demand of the storage Diversity of information of user, improves the experience of the storage information of user.
Four embodiment of the invention is related to a kind of display methods of picture, and detailed process is as shown in figure 4, include following step
It is rapid:
Step 401, the first area in picture display interface shows picture;Picture associated storage has N kind different type
Related information, N is natural number greater than 1.Specifically, showing picture in picture display interface, facilitate user to shooting figure
Piece checks that picture has different types of related information, and information type includes following one or any combination thereof: connection letter
Breath, temporal information, location information, event description information, scene information can be used family while inquiring a plurality of types of correlations
Information, saves the query time of user at the step of simplifying query information, improves the inquiry experience of user.
Step 402, if detecting, user to the predetermined registration operation of the picture of display, obtains information corresponding with predetermined registration operation
Type;Wherein, the corresponding relationship of predetermined registration operation and information type is preset.Specifically, when user to the picture of display into
When row operation, if the operation is predetermined registration operation, the corresponding information type of predetermined registration operation, the pre-stored position of information type are obtained
Set with display picture storage location it is identical, facilitate transferring for user.
Step 403, it obtains with the picture associated storage that currently shows and belongs to the related information of corresponding information type.
Specifically, the related information of the picture of display is identical as the storage location of display picture mentioned above and information type, institute
Identical with the approach of acquisition, operating procedure is simply easily realized, convenient for the acquisition of user.
Step 404, the related information of acquisition is shown.Specifically, showing the related information of above-mentioned acquisition aobvious
On the interface of diagram piece, convenient for user that related information and picture is corresponding, query information while user checks picture more has
The scene and dependent event when shooting photo are remembered conducive to user, have highlighted shooting photo more to record the bat of fine scene
According to intention.
Fifth embodiment of the invention is related to a kind of display methods of picture, and the 5th embodiment is in the 4th embodiment base
It is further improved on plinth, improvements essentially consist in: in fifth embodiment of the invention, in picture display interface
First area when showing picture, the second area in picture display interface show preset L control, detailed process such as figure
Shown in 6.
Step 601, the first area in picture display interface shows picture;Picture associated storage has N kind different type
Related information, N is natural number greater than 1.This step is similar with step 401, and details are not described herein.
Step 602, the second area in picture display interface shows that preset L control, L control respectively correspond one
Information type, L are the natural number more than or equal to N.Specifically, in practical applications, control can in the form of button table
It is existing, as shown in figure 5, button 51 is the telephone dialing button for being associated with personage in picture;Button 52 is the time button that photo occurs;
Button 53 is the place button that photo occurs;Button 54 is the event button that photo occurs, and the related information of the button is record
The unforgettable event occurred when shooting photo;Button 55 is the associated scene button of photo.
Step 603, if detecting user to the trigger action of the control, the control for obtaining user's triggering is corresponding
Information type.Specifically, system detection to user to control, i.e., to the trigger action of button, the operation can to click,
The operation such as long-pressing, then obtain the corresponding information type of trigger button, obtains information type and can be convenient efficiently to find the letter
The related information under type is ceased, the operating procedure of user is simplified, saves the time of user.
Step 604, it obtains with the picture associated storage that currently shows and belongs to the related information of corresponding information type.
Step 605, the related information of acquisition is shown.
Step 604 to 605 with step 403 to 404 similar, details are not described herein.
It is a specific example in practical applications below, for example, when the corresponding info class of control of user's triggering
When type is scene information, i.e., operation button 55 when, can intelligently be provided by terminal device AI in the photo of display in the presence of being associated with
People or associated scene picture, and the third region in picture display interface show it is related to the picture currently shown
The thumbnail 56 of the picture of connection;When detecting operation of the user to thumbnail 56, the thumbnail 56 of amplification display user's operation.
Checking for the picture for facilitating user to the associated scenario of display picture is done so, operation is amplified to thumbnail, it can be careful
The details for observing associated scenario picture, facilitate user to check picture.When the corresponding info class of control of user's triggering
When type is event information, then the specific descriptions information of the event to photo of user's storage, heart when reduction is taken pictures at that time are shown
Feelings and the event of generation, convenient for user for the memory of the details event of photo.If the corresponding info class of control of user's triggering
When type is time or location information, then time and the place of shooting photo are shown.If the corresponding info class of control of user's triggering
Type is contact details, then shows that the telephone number that personage is associated in photo can be dialed directly by the operation to telephone number
The phone facilitates user to contact with personage is associated with.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Sixth embodiment of the invention is related to a kind of terminal device, as shown in fig. 7, comprises at least one processor 701;With
And the memory 702 with the communication connection of at least one processor 701;Wherein, be stored with can be by least one for memory 702
Manage device 701 execute instruction, instruction executed by least one processor 701 so that at least one processor 701 be able to carry out as
The display methods of the storage method of above-mentioned picture or above-mentioned picture.
Wherein, memory 702 is connected with processor 701 using bus mode, and bus may include any number of interconnection
Bus and bridge, bus is by one or more processors 701 together with the various circuit connections of memory 702.Bus may be used also
With by such as peripheral equipment, voltage-stablizer, together with various other circuit connections of management circuit or the like, these are all
It is known in the art, therefore, it will not be further described herein.Bus interface provides between bus and transceiver
Interface.Transceiver can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for
The unit communicated on transmission medium with various other devices.The data handled through processor are carried out on the radio medium by antenna
Transmission, further, antenna also receives data and transfers data to processor 701.
Processor 701 is responsible for management bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage adjusting, power management and other control functions.And memory 702 can be used for storage processor 701 and execute
Used data when operation.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.