Embodiment
The embodiment of the invention provides a kind of display packing of document, and the embodiment of the invention also provides corresponding device thereof.Below combine accompanying drawing to be elaborated respectively.
The display packing overall procedure of a kind of document that provides for the embodiment of the invention shown in Figure 1, this method comprises:
Step S1: according to the Preset Time matched rule, the document of temporal information and current device time coupling in the locating file set; Said temporal information is the temporal information relevant with document;
Said can be identical according to month according to the Preset Time matched rule, also can be identical according to which day in the different still middle of the month in different months, or other.
File set can be to be stored on this machine or the external unit.Concrete operations among the above-mentioned steps S1 can be: the generation date of inquiry document in the files stored set in this machine or external unit, which day document matching of and this month identical with the moon number of current device in the calendar.Usually can be different according to the souvenir cycle of commemorative incident, the date in the select File set.For example: be annual incident of commemorating once; Like " May Day "; The date that shows current device so in the calendar of equipment is on May 1st, 2010, and the document in the file set that then inquires is all should be the document that produced May 1, and does not go to judge whether the time is identical.If the document that inquires is very many, comprise the document that produce May 1 annual in nineteen ninety to 2009 year, then this equipment can be further, from the document of the coupling that in nearest 5 years of current date of equipment, inquired.
It will be appreciated that; The above-mentioned temporal information relevant with document can be meant generation date of document to be photograph like document; Then the temporal information of document can be meant the time of taking photograph; If document is short message, multimedia message or Email, then relevant with document temporal information can be the date that receives above-mentioned document, also can be meant the date of the above-mentioned document of storage.Date in the temporal information relevant with document also can be other date relevant with document, is the explanation of being convenient to understand here, should not be construed the restriction to the embodiment of the invention.
Also need to prove; Date in the temporal information relevant with document; Can all be meant the international solar calendar date with the date of (or in equipment) current device in the calendar; But be not limited to the solar calendar date, also can be China lunar calendar (perhaps being called " moon the is gone through ") date, perhaps other.
Step S2: show the document that inquires.
Wherein, among the step S2, when the document that inquires is during more than one, equipment can show the document that inquires according to the predefine placement rule.For example: file set is the photo files folder, when the document from the coupling in nearest 3 years of the date of current device, is 3 sheet photos; As shown in Figure 2; 3 sheet photos that on user interface, show can be to be evenly to distribute in the central sectoral zone on the date with current demonstration, and the relevant temporal information of each photograph is presented at the lower right corner (the perhaps upper left corner, perhaps other position) of photograph accordingly; Also can be according to other predefined placement rule, show the document that inquires.Again for example: when file set is during according to the different different file set of dividing of the type of document, the different types of documents that inquires can show according to the predefine placement rule, for instance; If file set comprises: photo files folder, multimedia message files folder, and e-mail folder; Equipment inquires different types of documents from each file, that is: photograph, multimedia message and Email; As shown in Figure 3, the right position display photograph of the top sheet on user interface, contact person and birthday thereof in center-right address list; The demonstration Email takes over below; On the current date in center-left eye-catching displaying calendar, this is wherein a kind of predefine placement rule, and present embodiment is not limited to current illustrated predefine placement rule.
Further, in display interface, show the date of current device, can also show the temporal information relevant during document in the file set that inquires with the document that inquires.
Through carrying out above-mentioned steps S1 and S2, equipment is according to the Preset Time matched rule, the document that the temporal information relevant with document and current device time mate in the locating file set; Show the document that finds, the document that finds can comprise: photograph, short message; Multimedia message, Email etc. wherein any, perhaps combination in any; The equipment that makes can inquire the needed document of user automatically, and these documents are shown to the user, has improved the intelligent degree of equipment; And content displayed is abundanter on the user interface, makes the user that better experience arranged.
Further, this method can also comprise:
Step S3: show the temporal information relevant with said document; Show the current device time.
Wherein, step S2 and S3 can be presented in the same user interface, promptly in a user interface with the document that finds, temporal information that the document is relevant and current device time showing are given the user.
Further, this method can also comprise:
Step S4 (in Fig. 1, not showing): receive user's edit instruction, the date of the current device that shows and the document of demonstration are edited.
Wherein, Edit instruction among the step S4 can be that predefined placement rule is modulated; The user can select different predefined placement rules to show the date of current device and the document that inquires; The font of document Chinese words that also can compiles user interface display textual form, color, size etc.Make that through increasing step S3 this user interface is more humane, satisfy user's demand.
The display packing idiographic flow of a kind of document that provides for the embodiment of the invention shown in Figure 4, the equipment of carrying out this method can be hand-hold electronic equipments, like mobile phone; Personal digital assistant (PDA, Personal DigitalAssistant) also can be PC (PC; Personal Computer); DPFs etc. comprise that with file set the photo files folder is that example elaborates in the present embodiment, and this method comprises:
Step 401:, search the photograph of temporal information relevant in the photo files folder and current device time coupling with photograph according to the Preset Time matched rule;
Wherein, The photo files folder can be stored in the local amount of physical memory; Also can be to be stored in the memory device non-indigenous; The shooting date that control module in the equipment can be controlled the photograph in the photo files folder sends to the calendar cells in the equipment, and control module can be controlled photograph in the photo files folder is also sent to calendar cells; In setting up associative cell according to corresponding identical principle of date in month of shooting date and date and the calendar; Set up related with the date in the calendar photograph that control module sends; And should association and photograph, thereby have realized from the photo files folder, inquiring the operation of the photograph of coupling in notice calendar cells storage.
Perhaps; Another kind has been realized the operation of from photo files folder, obtaining photograph; Can be: search unit gets access to the current date in the equipment from calendar cells, according to the current date, and the month photograph identical on search and current date in the photo files folder with the date; According to the shooting date of photograph in the photo files folder, the month photograph identical on current date in the shooting date that search unit can search photograph in the photo files folder and the calendar with the date; Search unit sends to calendar cells with the photograph that searches, thereby has realized from the photo files folder, inquiring the operation of the photograph of coupling.
Can also be the photograph that other method realizes from the photo files folder, inquiring coupling, the preferable embodiment that present embodiment is enumerated, but be not the restriction to the embodiment of the invention.
Step 402: show the date of current device, the photograph that inquires further can also show the temporal information relevant with photograph, specifically can be the shooting time of photograph.
Need to prove; If photograph is set up related with the date in the calendar; And storage should association and photograph in calendar cells, and then when needing the date of demonstration some day, calendar cells inquires the photograph relevant with this date according to this date; On display interface, not only show date, also show the photograph related with this date.Further, can also show the date of taking this photograph.
As if search unit the photograph that searches is sent to calendar cells, thereby realized from the photo files folder, inquiring the operation of photograph, in display interface, show together on the date of display interface with photograph and current device.
It will be appreciated that also the operation in the step 402 can also specifically comprise:, show the date of current device and the photograph that inquires, the shooting time of further all right display photograph according to the predefine placement rule.The predefine placement rule that the predefine placement rule here can be given an example with reference to above-mentioned Fig. 2, Fig. 3 does not repeat here.
Through the above-mentioned explanation of Fig. 4 being enumerated method; The equipment that makes can inquire corresponding photograph according to the shooting time of photograph in the photo files folder, and date of photograph that inquires and current device is shown to the user; Make the date that not only can show current device on the user interface; Can also show with should relevant photograph of date, make calendar better bring into play the effect of reminding the user, make the user that more enriching experiences arranged.
Also it will be appreciated that; The file set that uses in the embodiment of the invention can be not limited to above-mentioned photo files folder illustrated in fig. 4; Can also be the address list that comprises contact person's birthday, E-mail address, perhaps wherein any or combination in any such as electronics memo bag.
Again for example: equipment can be identical with the month and the date on the date of current device according to the shooting date of photograph in the photo files folder of storing in this locality or the external unit, from the photo files folder, inquires photograph; And in the address list of storing in this locality or the external unit that comprises contact person's birthday, inquire the month contact name identical with the date with date of current device; Equipment shows date, the photograph that inquires and the contact name that inquires of current device.Further, the shooting time of all right display photograph, concrete time of contact person's birth.Need to prove that also the layout of current device date, photograph and contact name etc. that user interface shows can distribute according to predefined placement rule.
Above-mentioned be to equipment can inquire file set like the inhomogeneity for example, bright specifically can be with reference to the explanation in the display packing idiographic flow of a kind of document that provides among Fig. 4.
The display device of a kind of document that provides for the embodiment of the invention shown in Figure 5, this device comprises: search unit 501 and display unit 502;
Wherein, search unit 501, be used for, the document that the temporal information relevant with document and current device time mate in the locating file set according to the Preset Time matched rule;
Display unit 502 is used to show the document that inquires.
Through the explanation of device that Fig. 5 is provided, this device can be according to the Preset Time matched rule, the document that the temporal information relevant with document and current device time mate in the locating file set; Show the document that finds; The document that finds can comprise: photograph, and contact name, and the equipment that makes can inquire the needed document of user automatically; And these documents are shown to the user; Improved the intelligent degree of equipment, and content displayed is abundanter on the user interface, makes the user that better experience arranged.
Further, the display unit 502 in this device also is used to show the temporal information relevant with the document that inquires; Show the current device time.
Wherein, the document that inquires that shows in the display unit, temporal information that the document that inquires is relevant and current device time can be presented to the user on same user interface.
Further, can also comprise in this device: storage unit 503 is used for the storage file set.Need to prove that file set is not to refer in particular to certain file, and be meant the set of file.For example: the photo files folder is not to refer in particular to certain photo files folder, and the set of all photographs on this machine of being meant.
Further, above-mentioned display unit 502 specifically is used for according to the predefine placement rule, shows the document that inquires, temporal information relevant with the document that inquires and current device time.
Further, when can the commemorative photograph that current date is relevant with this date on this device all being presented at user interface, file set comprises the photo files folder, and the temporal information relevant with document comprises the shooting date of photograph; Then:
Search the unit, specifically be used for, search the photograph of temporal information relevant in the photo files folder and current device time coupling with photograph according to the Preset Time matched rule;
Display unit specifically is used to show the photograph that inquires.
Further, comprise when file set: photo files folder and address list; The temporal information relevant with document comprises: the shooting date of photograph and contact person's birthday; Then:
Search the unit, specifically be used for, search the photograph of temporal information relevant in the photo files folder and current device time coupling with photograph according to the Preset Time matched rule; Search the contact name of temporal information relevant in the address list and current device time coupling with contact name;
Display unit specifically is used to show the photograph and the contact name that inquire.
More speaking more of the display device that a kind of and calendar that provides about the embodiment of the invention is related is bright, can be referring to figs. 1 to the explanation of method among Fig. 4.In explanation, do not repeat device.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than the display packing and the device of a kind of document that the embodiment of the invention provided carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.