CN102855235A - Method and equipment for building relative time information for electronic file - Google Patents

Method and equipment for building relative time information for electronic file Download PDF

Info

Publication number
CN102855235A
CN102855235A CN2011101749786A CN201110174978A CN102855235A CN 102855235 A CN102855235 A CN 102855235A CN 2011101749786 A CN2011101749786 A CN 2011101749786A CN 201110174978 A CN201110174978 A CN 201110174978A CN 102855235 A CN102855235 A CN 102855235A
Authority
CN
China
Prior art keywords
file
relative time
time information
benchmark
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101749786A
Other languages
Chinese (zh)
Other versions
CN102855235B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110174978.6A priority Critical patent/CN102855235B/en
Publication of CN102855235A publication Critical patent/CN102855235A/en
Application granted granted Critical
Publication of CN102855235B publication Critical patent/CN102855235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a method and equipment for building relative time information for an electronic file. The method comprises the following steps of: acquiring an absolute time reference; detecting a first operation of the electronic equipment, wherein the first operation is used for generating or acquiring the electronic file; generating or acquiring the electronic file in response to the first operation; determining relative time information of the electronic file according to the absolute time reference and absolute time information indicative of generation time of the electronic file; and building a corresponding relation between the electronic file and the relative time information. The invention provides the method and the equipment for building relative time information for the electronic file. The method comprises the following steps of: detecting the first operation of the electronic equipment, wherein the first operation is used for reappearing the electronic file; acquiring the relative time information of the electronic file in response to the first operation; and generating a prompt message to prompt the relative time information of the electronic file when the electronic file is reappeared.

Description

Set up the method and apparatus of relative time information for e-file
Technical field
The present invention relates to foundation and the prompting of the relative time information of e-file, particularly, relate to a kind of method and apparatus and a kind of method and apparatus of pointing out the relative time information of e-file of setting up relative time information for e-file.
Background technology
There are at present many electronic equipments with photograph taking function, camera function, sound-recording function, for example, camera, video camera, sound-track engraving apparatus, have the photographing function mobile phone, have the photographing function personal digital assistant (PDA), have the portable computer of photographing function etc.
Along with the application of these electronic equipments is more and more universal, many people utilize these electronic equipments to be newborn baby's souvenir of taking pictures, and along with baby's growth also can constantly be taken pictures for it.One day sample of newborn baby particularly in just those 100 days of birth, if these fine moments are taken, supplies to see when growing up, will be very meaningful.And more meaningfully, if can when reproducing photo, embody intuitively information about " this is which day that so-and-so BB grows up ", will allow photo more lively, more humane.
In addition, the lovers appointment souvenir of also can taking pictures if embody intuitively information about " this is which day that we are familiar with " when reproducing photo, will be brought very important meaning to the relation harmonious between the lovers.
Yet, in existing electronic equipment, only add absolute time information to captured photo, with the take pictures absolute time of electronic equipment operating system at that time of expression, therefore, when watching captured photo, only can recognize the shooting time of this photo.In other words, utilize existing electronic equipment to take pictures for the baby, clap once every day, can not know directly that when reproducing photo this is baby's photo of which day.
Therefore, need a kind of method and apparatus that can automatically set up relative time information for the e-file of photo, video file, audio files etc.
Summary of the invention
Consider the problems referred to above and propose the present invention.The purpose of this invention is to provide a kind of method and apparatus that can set up for e-file relative time information, its by based on the absolute time benchmark or based on absolute time benchmark and relative time benchmark the two determine e-file relative time information, and this e-file is associated with described relative time information, come to set up relative time information for this e-file, thereby point out this relative time information to the user when this e-file is reproduced, so that the user can understand the relative time information of this e-file intuitively.
According to an aspect of the present invention, provide a kind of and set up the method for relative time information for e-file, described method is applied in the electronic equipment, and described method comprises: obtain an absolute time benchmark; Detection is to the first operation of this electronic equipment, and described the first operation is used for generating or obtaining an e-file; In response to described the first operation, generate or obtain described e-file; According to described absolute time benchmark with represent the absolute time information of the rise time of described e-file, determine the relative time information of described e-file; And set up corresponding relation between described e-file and the described relative time information.
According to a further aspect in the invention, provide a kind of and set up the electronic equipment of relative time information for e-file, described electronic equipment comprises: time reference obtains parts, and it is used for obtaining an absolute time benchmark; The operation detection parts, it is for detection of the operation to described electronic equipment; E-file generates parts, and it is used for generating or obtain an e-file in response to detected the first operation of described operation detection parts, and described the first operation is used for generating or obtaining described e-file; The relative time determining means, it is according to described absolute time benchmark and represent the absolute time information of the rise time of described e-file, determines the relative time information of described e-file; And the relative time associated member, it sets up the corresponding relation between described e-file and the described relative time information.
According to another aspect of the invention, a kind of method of pointing out the relative time information of e-file is provided, described method is applied in the electronic equipment, and described method comprises: detect the first operation to this electronic equipment, described the first operation is used for reproducing an e-file; In response to described the first operation, obtain the relative time information of described e-file; And produce an information, in order to when reproducing described e-file, point out the relative time information of described e-file.
In accordance with a further aspect of the present invention, provide a kind of electronic equipment of pointing out the relative time information of e-file, having comprised: the operation detection parts, it is for detection of the first operation to this electronic equipment, and described the first operation is used for reproducing an e-file; Relative time obtains parts, and it is used for obtaining in response to described the first operation the relative time information of described e-file; And relative time prompting parts, it is used for producing an information when described e-file is reproduced, to point out the relative time information of described e-file.
Description of drawings
Embodiments of the present invention is described in detail in conjunction with the drawings, and above and other objects of the present invention, feature, advantage will become apparent, wherein:
Fig. 1 illustrates and sets up the process flow diagram of the method for relative time information according to first embodiment of the invention for e-file.
Fig. 2 illustrates and sets up the process flow diagram of the method for relative time information according to second embodiment of the invention for e-file.
Fig. 3 A illustrates the process flow diagram for the first example of the step S210 of the method for second embodiment of the invention.
Fig. 3 B illustrates the process flow diagram for the second example of the step S210 of the method for second embodiment of the invention.
Fig. 4 illustrates and sets up the schematic block diagram of the electronic equipment of relative time information according to first embodiment of the invention for e-file.
Fig. 5 illustrates and sets up the schematic block diagram of the electronic equipment of relative time information according to second embodiment of the invention for e-file.
Fig. 6 illustrates the process flow diagram according to the method for the relative time information that is used for the prompting e-file of the embodiment of the invention.
Fig. 7 illustrates the schematic block diagram according to the electronic equipment of the relative time information that is used for the prompting e-file of the embodiment of the invention.
Embodiment
The method and apparatus of setting up relative time information for e-file according to of the present invention is described below with reference to the accompanying drawings.
The first embodiment
At first, describe with reference to Fig. 1 and to set up the method for relative time information according to first embodiment of the invention for e-file, the method can be applied to have the electronic equipment of the file processing abilities such as photo, video, sound, document, for example, and computing machine, PDA etc.
At first, the method according to first embodiment of the invention begins at step S101.
At step S110, obtain the absolute time benchmark.For example, when carrying out the photo files management on computers, such as, will be placed in the file for the photo files that " baby " takes, obtain the absolute time benchmark.Described absolute time benchmark can be the absolute time benchmark that arranges of operator, can be the photo files of taking the earliest that in described file, existed shooting time, can be the absolute time benchmark of described file itself.Yet, the invention is not restricted to this, described absolute time benchmark can obtain by alternate manner.
At step S120, detect the operation that loads e-file.For example, detect and to add a new photo files in this document folder operation.For example, a new photo is dragged to this document folder, perhaps an original position of new photo is sheared or copied, then in this document, paste this new photo.When detecting the operation that loads e-file, the method proceeds to step S130.At step S130, obtain this e-file.The new photo files that for example, will load is added in this document folder.
Then, at step S140, based on described absolute time benchmark and the absolute time information that represents the rise time of this e-file, determine the relative time information of this e-file.For example, can calculate simply the relative time information of e-file: Rt=Ct-Ctb+1 according to following computing formula, wherein Rt is the relative time of this e-file, Ct be this e-file absolute time (namely, shooting time), Ctb is described absolute time benchmark.
Yet, the invention is not restricted to this.Except obtaining the absolute time benchmark, can also obtain the relative time benchmark, thereby so that the mode of the relative time information of definite e-file is more flexible.In the case, in step S110, not only obtain the absolute time benchmark, but also obtain the relative time benchmark.Similar to the absolute time benchmark, the relative time benchmark can be the relative time benchmark that arranges of operator, can be the photo files of taking the earliest that in described file, existed relative time information, can be the relative time benchmark of described file itself.Yet, the invention is not restricted to this, described relative time benchmark can obtain by alternate manner.
For example, when carrying out the photo files management on computers, such as being placed in the file for the photo files that " baby " takes, the absolute time information of an already present photo files (photo files that is not limited to generate the earliest) and relative time information are respectively as described absolute time benchmark and described relative time benchmark in the absolute time benchmark when opening this document folder in the attribute information of acquisition this document folder and relative time benchmark or the acquisition this document folder.After this, in step S140, can for example calculate the relative time information of photo files according to following computing formula: Rt=(Ct-Ctb)+Rtb, wherein Rtb is described relative time benchmark.
Then, at step S150, e-file is associated with its relative time information.For example, described relative time can be added in the attribute information of described e-file as relative time information, the incidence relation/corresponding relation of described e-file and its relative time information can be added in the attribute information of file at described e-file place or even can be for special journal file of each folder allocation in order to put down in writing therein e-file in this document folder and the incidence relation/corresponding relation of its relative time information.Yet, the invention is not restricted to this, the mode that can exist other that e-file is associated with its relative time information.
Next, at step S160, detect the operation of reproducing described e-file.Detecting in the situation of reproducing operation, the method advances to step S170.At step S170, produce an information, to point out the relative time information of the e-file that is reproduced.For example, when reproducing " baby " photo, by picture, sound or text prompt " this is baby's photo of which day "; When reproducing " baby " sound, by literal or picture prompting " this is baby's sound of which day ".
The method of setting up relative time information for e-file according to first embodiment of the invention finishes at step S199.
In addition, setting up for e-file in the method for relative time information according to first embodiment of the invention, the information that can also set a property for the file at e-file place, this attribute information comprise the absolute time benchmark of this document folder, and preferably also comprise the relative time benchmark.For example, when a newly-built file, detect the user arrange this document folder attribute information operation and in response to this attribute information of this document folder is set.As an alternative, when a newly-built file, absolute time benchmark and relative time benchmark in its attribute information are not set, and determine as the absolute time benchmark in the attribute information of described file and relative time benchmark according to the absolute time information and the relative time information that are placed into this first photo files in this document folder.
In addition, when in this document folder, putting into first photo files, the relative time information of this photo files of Lookup protocol, and detect the operation that the user revises the relative time information of this Lookup protocol, then revise the relative time information of this photo files in response to this operation.
In addition, can be with absolute time information and the relative time information of first photo files in the absolute time benchmark in the attribute information of described file and relative time benchmark or the described file, be stored in the described electronic equipment as the attribute tags relevant with described file, even when shearing from described electronic equipment or having deleted described file, the attribute tags relevant with described file still is stored in the described electronic equipment.Then, when in described electronic equipment under identical storage directory a newly-built file and with its called after with during the identical title of the file having sheared or deleted, the attribute tags of the file of automatically institute being sheared or deleting is related with newly-built file.
Set up the method for relative time information according to first embodiment of the invention as e-file although describe as an example of photo files example in the above, yet the invention is not restricted to this, for example, described e-file can be the various e-files such as video file, audio file, document files.In addition, although the e-file of one type of storage is described as example and is set up the method for relative time information according to first embodiment of the invention as e-file in the file in the above, yet the invention is not restricted to this, for example, in a file, can store photo files about " baby ", video file, audio file etc.
In conjunction with Fig. 1, the below describes with reference to Fig. 4 and sets up the electronic equipment 400 of relative time information according to first embodiment of the invention for e-file.
As shown in Figure 4, described electronic equipment 400 comprises: time reference obtains parts 410, and it is used for obtaining an absolute time benchmark; Operation detection parts 420, it is for detection of the operation to described electronic equipment; E-file obtains parts 430, and it is used for obtaining an e-file in response to described operation detection parts 420 detected e-file load operations; Relative time determining means 440, it is according to described absolute time benchmark and represent the absolute time information of the rise time of described e-file, determines the relative time information of described e-file; Relative time associated member 450, it sets up the corresponding relation between described e-file and the described relative time information; And prompting parts 460, it is used for producing one first information when described operation detection parts 420 detect e-file reproduction operation, and described the first information is used for pointing out the described relative time information of described e-file.
As described above with reference to Figure 1, described relative time determining means 440 can be calculated the relative time of e-file: Rt=Ct-Ctb+1 simply according to following computing formula, wherein Rt is the relative time of this e-file, Ct is the absolute time of this e-file, and Ctb is described absolute time benchmark.
Except obtaining the absolute time benchmark, described time reference obtains parts 410 can also obtain the relative time benchmark.In the case, described relative time determining means 440 can for example be calculated the relative time of photo files according to following computing formula: Rt=(Ct-Ctb)+Rtb, wherein Rtb is described relative time benchmark.
Described absolute time benchmark and described relative time benchmark can be the absolute time benchmark that arranges of operator with the relative time benchmark, can be the absolute time of the photo files of taking the earliest that in described file, existed with relative time, can be absolute time benchmark and the relative time benchmark of described file itself (in the attribute information of file or in the attribute tags related with file).For example, when carrying out the photo files management on computers, such as being placed in the file for the photo files that " baby " takes, absolute time benchmark and the relative time benchmark when opening this document folder in the attribute information of acquisition this document folder, the absolute time information that obtains an already present photo files (photo files that is not limited to take the earliest) in this document folder and relative time information are respectively as described absolute time benchmark and described relative time benchmark.Yet, the invention is not restricted to this, described absolute time benchmark and relative time benchmark can obtain by alternate manner.
In addition, as described above with reference to Figure 1, described relative time associated member 350 described relative time can be added in the attribute information of described e-file as relative time information, the incidence relation/corresponding relation of described e-file and its relative time information can be added in the attribute information of file at described e-file place or even can be for special journal file of each folder allocation in order to put down in writing therein e-file in this document folder and the incidence relation/corresponding relation of its relative time information.Yet, the invention is not restricted to this, the mode that can exist other that e-file is associated with its relative time information.
Described relative time determining means 340 can comprise: relative time generates parts 3410 automatically, and it is used for when a file is put into first photo files, the relative time information of this photo files of Lookup protocol; And relative time is revised parts 3420, it is used for revising described relative time information in response to the relative time retouching operation that detects at described operation detection parts 320, and utilizes amended relative time information as the relative time information of described e-file.
In addition, described electronic equipment 300 can also comprise: attribute tags memory unit 370, it is used for the attribute tags of storage one file, and described attribute tags comprises the title of described file, absolute time benchmark and the relative time benchmark of the e-file in the described file; And attribute tags auto-associating parts 380, it is used for having been set up described electronic equipment in described electronic equipment deletion or situation about shearing when having another file of identical title with described file at described file, and is automatically that the attribute tags of described file is related with described another file.
The second embodiment
Describe below with reference to Fig. 2, Fig. 3 A, Fig. 3 B and Fig. 5 and to set up the method and apparatus of relative time information according to second embodiment of the invention for e-file.
Figure 2 illustrates and set up the process flow diagram of the method for relative time according to second embodiment of the invention for e-file, the electronic equipment of the functions such as the method is applied to have photograph, recording, shooting, for example, camera, video camera, sound-track engraving apparatus and have mobile phone, PDA, computing machine of above-mentioned functions etc.
At first, the method according to second embodiment of the invention begins at step S201.
At step S210, obtain the absolute time benchmark, and preferably also obtain the relative time benchmark.
The first example that obtains absolute time benchmark and relative time benchmark has been shown in Fig. 3 A.
In order to realize setting up the method for relative time information according to second embodiment of the invention for e-file, in described electronic equipment, increase by a predefined pattern, under this predefined pattern, can set up relative time information for the e-file that under this predefined pattern, generates.This predefined pattern is associated with a file in the described electronic equipment, particularly, all is stored under the file that is associated with described predefined pattern entering the e-file that described predefined pattern takes pictures, makes a video recording, produces when recording.
In step S2110, detect and be used to indicate the operation that described electronic equipment enters predefined pattern.Then, in step S2120, in response to described operation, make described electronic equipment enter described predefined pattern.In step S2130, under this predefined pattern, obtain described absolute time benchmark and described relative time benchmark.
For example, absolute time benchmark in the attribute information of the corresponding this document of described predefined pattern folder and relative time benchmark respectively as the absolute time benchmark that obtains and relative time benchmark, are perhaps obtained the respectively absolute time benchmark and the relative time benchmark that obtain of conduct of the absolute time information of an already present photo files (photo files that is not limited to generate the earliest) in this document folder and relative time information.In addition, can also be stored in the internal memory of described electronic equipment with the corresponding attribute tags of described predefined pattern in the absolute time benchmark and the relative time benchmark respectively as the absolute time benchmark that obtains and relative time benchmark.
The second example that obtains absolute time benchmark and relative time benchmark has been shown in Fig. 3 B, and this second example application is in photograph taking.
At step S2150, detect the focusing operation to described electronic equipment.Known when digital camera is focused, obtained the scene of finding a view, namely treat photographed scene.
At step S2160, in response to described focusing operation, in described electronic equipment, carry out scene Recognition, to identify the photo with the scene with scene matching that described electronic equipment found a view.In the situation of the photo that identifies the object matching of finding a view with described electronic equipment, institute's the method proceeds to step S2170.At step S2170, with the absolute time information of the photo that identifies and relative time information respectively as described absolute time benchmark and described relative time benchmark.In the case, the photo storage that preferably also will soon take is in the residing file of the photo that identifies.
At step S220, detect the operation of taking pictures.Detecting when operation of taking pictures, the method proceeds to step S230.At step S230, generate photo files.
Then, at step S240, based on described absolute time benchmark and the absolute time information that represents the rise time of this photo files, determine the relative time information of this photo files.For example, can calculate simply the relative time of photo files: Rt=Ct-Ctb+1 according to following computing formula, wherein Rt is the relative time of this photo files, and Ct is the absolute time of this photo files, and Ctb is described absolute time benchmark.Alternatively, based on the absolute time information of described absolute time benchmark, described relative time benchmark and this photo files, determine the relative time information of this photo files.For example, can for example calculate the relative time of photo files according to following computing formula: Rt=(Ct-Ctb)+Rtb, wherein Rtb is described relative time benchmark.
Then, at step S250, photo files is associated with its relative time information.For example, described relative time can be added in the attribute information of described photo files as relative time information, incidence relation/the corresponding relation of described photo files and its relative time information can be added in the attribute information of file at described photo files place, can be for special journal file of each folder allocation in order to put down in writing therein e-file in this document folder and the incidence relation/corresponding relation of its relative time information, perhaps even photo files that can be in the attribute tags record this document that is used for the predefined pattern corresponding with this document folder presss from both sides and the incidence relation/corresponding relation of its relative time information.Yet, the invention is not restricted to this, the mode that can exist other that photo files is associated with its relative time information.
Next, at step S260, detect the operation of reproducing photo files.Detecting in the situation of reproducing operation, the method advances to step S270.At step S270, produce an information, to point out the relative time information of the photo files of being reproduced.For example, when reproducing " baby " photo, by picture, sound or text prompt " this is baby's photo of which day "; When reproducing " baby " sound, by literal or picture prompting " this is baby's sound of which day ".
The method of setting up relative time information for e-file according to second embodiment of the invention finishes at step S299.
In addition, similar with the first embodiment, setting up for e-file in the method for relative time information according to second embodiment of the invention, can also for described predefined pattern (namely, file associated with it) information that sets a property, this attribute information comprises the absolute time benchmark of described predefined pattern, and preferably also comprises the relative time benchmark.For example, when a newly-built predefined pattern, detect the user arrange this predefined pattern attribute information operation and in response to this attribute information of this predefined pattern is set.As an alternative, when a newly-built predefined pattern, absolute time benchmark and relative time benchmark in its attribute information are not set, and determine as the absolute time benchmark in the attribute information of described predefined pattern and relative time benchmark according to absolute time information and the relative time information of first photo files of under this predefined pattern, taking.
In addition, when under predefined pattern, taking first photo files, the relative time information of this photo files of Lookup protocol, and detect the operation that the user revises the relative time information of this Lookup protocol, then revise the relative time information of this photo files in response to this operation.
In addition, can with absolute time information and the relative time information of the absolute time benchmark in the attribute information of described predefined pattern and relative time benchmark or first photo files of under described predefined pattern, taking, be stored in the internal memory of described electronic equipment as the attribute tags that is associated with described predefined pattern.Even when shearing from described electronic equipment or having deleted the described file that is associated with described predefined pattern, the attribute tags relevant with described predefined pattern still is stored in the described electronic equipment.Then, when in a described electronic equipment newly-built file and with its called after with during the identical title of the file having sheared or deleted, automatically that the attribute tags of described predefined pattern is related with this newly-built file.
For example, have file " BB " in the storage card of electronic equipment, it is associated with predefined pattern " happy BB ", has stored the attribute tags relevant with this predefined pattern in the internal memory of this electronic equipment.In the situation of having changed storage card, in the new storage card that inserts, set up file " BB ", file in the storage card that this electronic equipment will newly insert automatically " BB " is associated with described predefined pattern " happy BB ", and is associated with described attribute tags.
Again for example, have file " DD " in the storage card of electronic equipment, it is associated with predefined pattern " warm DD ", has stored the attribute tags relevant with this predefined pattern in the internal memory of this electronic equipment.From this storage card, shearing or deleting in the situation of file " DD ", in this storage card, rebulid file " DD ", this electronic equipment is associated newly-established file " DD " automatically with described predefined pattern " warm DD ", and is associated with described attribute tags.
In addition, according to the setting up for e-file in the method for relative time information of second embodiment of the invention, can also obtain a target relative time; According to described relative time benchmark and described target relative time, determine the object time section; And when described object time section has approached or arrived end point, produce the information that has approached or arrived this target relative time for prompting.
For example, known absolute time benchmark is on June 20th, 2011, and the relative time benchmark corresponding with it was born the 1st day for baby.Can obtain " baby " full moon (one month), hundred days (100 days), half years old (6 months), one-year-old (1 year) etc. as the target relative time.After this, determine the object time section according to described relative time benchmark and described target relative time, be respectively: one month-1 day, 100 days-1 day, 6 months-1 day, 1 year-1 day.Then, detect described object time section and whether approached or arrived end point, and when described object time section had approached or arrived end point, generation was used for the information that prompting had approached or arrived this target relative time.For example, during near end point, produce following information in described object time section: be exactly the full moon/hundred days/one full year of life of happy BB after 2 days, the so important date will be remembered to take pictures.
Set up the method for relative time information according to second embodiment of the invention as e-file although describe as an example of photo files example in the above, yet the invention is not restricted to this, for example, described e-file can be the various e-files such as video file, audio file, document files.In addition, although the e-file of one type of storage is described as example and is set up the method for relative time information according to second embodiment of the invention as e-file in the file in the above, yet the invention is not restricted to this, for example, in a file, can store photo files about " baby ", video file, audio file etc.
In conjunction with Fig. 2, the below describes with reference to Fig. 5 and sets up the electronic equipment 500 of relative time information according to second embodiment of the invention for e-file.
As shown in Figure 3, described electronic equipment 500 comprises: time reference obtains parts 510, and it is used for obtaining an absolute time benchmark, and preferably also obtains a relative time benchmark; Operation detection parts 520, it is for detection of the operation to described electronic equipment; E-file obtains parts 530, and it is used for taking pictures operation and generating a photo files in response to described operation detection parts 520 are detected; Relative time determining means 540; Relative time associated member 550; And prompting parts 560.
As described above with reference to Figure 1, described relative time determining means 540 can be calculated the relative time information of e-file: Rt=Ct-Ctb+1 simply according to following computing formula, wherein Rt is the relative time of this e-file, Ct is the absolute time of this e-file, and Ctb is described absolute time benchmark.Alternatively, described relative time determining means 540 can for example be calculated the relative time of photo files according to following computing formula: Rt=(Ct-Ctb)+Rtb, wherein Rtb is described relative time benchmark.
As described with reference to figure 2, described absolute time benchmark and described relative time benchmark can be absolute time benchmark and the relative time benchmark that the operator arranges, can be the earliest absolute time information and the relative time information of the photo files of shooting that under described predefined pattern, has existed, can be absolute time benchmark and the relative time benchmark of described predefined pattern itself, can be absolute time information and the relative time information of the photo that identifies, can be absolute time benchmark and the relative time benchmark of the file at the photo place identified itself.Yet, the invention is not restricted to this, described relative time benchmark can obtain by alternate manner.
In addition, as described above with reference to Figure 1, described relative time associated member 550 can add described relative time in the attribute information of described photo files as relative time information, incidence relation/the corresponding relation of described photo files and its relative time information can be added in the attribute information of file at described photo files place, can be for special journal file of each folder allocation in order to put down in writing therein e-file in this document folder and the incidence relation/corresponding relation of its relative time information, perhaps even photo files that can be in the attribute tags record this document that is used for the predefined pattern corresponding with this document folder presss from both sides and the incidence relation/corresponding relation of its relative time information.Yet, the invention is not restricted to this, the mode that can exist other that e-file is associated with its relative time.
As mentioned above, described time reference obtains parts 510 and also comprises: predefined pattern judging part 5110, it is used in response to the described operation detection parts 520 detected operations that enter described predefined pattern, so that described electronic equipment enters described predefined pattern.Then, described time reference obtains parts 510 and obtain described absolute time benchmark and described relative time benchmark under described predefined pattern.
As mentioned above, described time reference obtains parts 510 and also comprises: object matching parts 5120, it is used for identifying at described electronic equipment in response to described operation detection parts 520 detected focusing operations the photo of the object matching of finding a view with described electronic equipment.Then, described time reference obtain parts 510 with the absolute time information of the photo that identifies and relative time information respectively as described absolute time benchmark and described relative time benchmark.
As mentioned above, described relative time determining means 540 can comprise: relative time generates parts 5410 automatically, when it is used for taking first photo files under predefined pattern, and the relative time information of this photo files of Lookup protocol; And relative time is revised parts 5420, it is used for revising described relative time information in response to the relative time retouching operation that detects at described operation detection parts 520, and utilizes amended relative time information as the relative time information of described photo files.
In addition, described electronic equipment 500 can also comprise: attribute tags memory unit 570, it is used for the attribute tags of storage one predefined pattern, described predefined pattern is associated with a file, and described attribute tags comprises the title of described file, absolute time benchmark and the relative time benchmark of the photo files in the described file; And attribute tags auto-associating parts 580, it is used for having been set up described electronic equipment in described electronic equipment deletion or situation about shearing when having another file of identical title with described file at described file, and the attribute tags with described predefined pattern is associated with described another file automatically.
In addition, described electronic equipment 500 also comprises: the target relative time obtains parts 5910, and it is used for obtaining a target relative time; Object time section determining means 5920, it determines the object time section according to described relative time benchmark and described target relative time; And object time section detection part 5930, it detects described object time section and whether has approached or arrived end point.Detect at described object time section detection part 5930 that described object time section has approached or when arriving end point, described prompting parts 560 produce one second information, described the second information is used for prompting and has approached or arrived this target relative time.
For example, known absolute time benchmark is on June 20th, 2011, and the relative time benchmark corresponding with it was born the 1st day for baby.The target relative time obtains parts 5910 can obtain " baby " full moon (one month), hundred days (100 days), half years old (6 months), one-year-old (1 year) etc. as the target relative time.After this, object time section determining means 5920 is determined the object time section according to described relative time benchmark and described target relative time, is respectively: one month-1 day, 100 days-1 day, 6 months-1 day, 1 year-1 day.Then, object time section detection part 5930, it detects described object time section and whether has approached or arrived end point.
As an example, object time section detection part 5930 is determined the object time point according to described object time section and described absolute time benchmark, be respectively: on July 20th, 2011, on September 28th, 2011, on Dec 20th, 2011, on June 20th, 2012, and detect the current time and whether be or near a certain object time point.
As another example, object time section detection part 5930 arranges different timers so that described object time section is carried out timing according to described object time section, represents that when timer approaches zero or arrives zero described object time section has approached or arrived end point.
As another example, 5930 pairs of object time section detection parts institute's elapsed time from the moment of determining the object time section carries out timing, until institute's elapsed time approaches or reaches described object time section.
The invention is not restricted to this, those skilled in the art can predict other timing mode, whether have approached or arrived end point in order to detect the object time section.
Describe method according to the relative time information of prompting e-file of the present invention below with reference to Fig. 6, the method is applied in the electronic equipment, and this electronic equipment has the ability of reproducing photo files, video file, audio files, document files etc.
At first, the method according to the relative time information of prompting e-file of the present invention begins at step S601.
At step S610, detect the operation that is used for reproducing an e-file.
At step S620, in response to described reproduction operation, obtain the relative time information of described e-file.For example, can from the file attribute of described e-file, directly obtain this relative time information, can obtain this relative time information or can according to the absolute time information of described e-file, described absolute time benchmark, the relative time benchmark corresponding with described absolute time benchmark, obtain the relative time information of described e-file according to the absolute time information of described e-file and described absolute time benchmark.
In addition, can be as top with reference to absolute time benchmark and relative time benchmark as described in determining as described in the figure 1-5.No longer give unnecessary details at this.
Then, at step S630, produce an information, so that when described e-file is reproduced and point out the relative time information of described e-file.
Method according to the relative time information of prompting e-file of the present invention finishes at step S699.
Next, describe electronic equipment 700 according to the relative time information of prompting e-file of the present invention with reference to Fig. 7, this electronic equipment 700 has the ability of reproducing photo files, video file, audio files, document files etc.
As shown in Figure 7, described electronic equipment 700 comprises: operation detection parts 710, and it is for detection of the operation that is used for reproducing an e-file; Relative time obtains parts 720, and it is used for obtaining in response to described operation the relative time information of described e-file; And relative time prompting parts 730, it is for generation of an information, in order to point out the relative time information of described e-file when described e-file is reproduced.
As mentioned above, relative time obtains parts 720 and can directly obtain this relative time information from the file attribute of described e-file.Alternatively, relative time obtains parts 720 can determine first the absolute time benchmark, and then absolute time information and the described absolute time benchmark according to described e-file obtains this relative time information.Alternatively, relative time obtains parts 720 can determine first absolute time benchmark and relative time benchmark, then according to absolute time information, described absolute time benchmark, the described relative time benchmark of described e-file, obtain the relative time information of described e-file.
In addition, the information of relative time prompting parts 730 generations can be sound, text or picture.
By utilize according to the embodiment of the invention set up the method and apparatus of relative time information for e-file, can when the reproduction e-file, point out the relative time information of this e-file to the user, thereby so that the reproduction process of e-file is humanized.
Should be appreciated that and to realize the method and apparatus of setting up relative time information as e-file according to of the present invention take the various forms of hardware, software, firmware, application specific processor or their combination.
It is also understood that preferably with software realize more illustrated in the accompanying drawings form system component and methods, so the mode that can be programmed according to the present invention of the actual connection between these system components or the function blocks and difference.Provide the description here, those of ordinary skill in the related art can expect of the present invention these and similarly realize or configuration.
Although describe some embodiments of the present invention here with reference to the accompanying drawings, should be appreciated that described embodiment only is illustrative, and not restrictive.It will be appreciated by those skilled in the art that in the situation of the scope and spirit of the present invention that in not deviating from claim and equivalent thereof, limit, can make variation on various forms and the details to these exemplary embodiments.

Claims (16)

1. set up the method for relative time information for e-file for one kind, described method is applied in the electronic equipment, and described method comprises:
Obtain an absolute time benchmark;
Detection is to the first operation of this electronic equipment, and described the first operation is used for generating or obtaining an e-file;
In response to described the first operation, generate or obtain described e-file;
According to described absolute time benchmark with represent the absolute time information of the rise time of described e-file, determine the relative time information of described e-file; And
Set up the corresponding relation between described e-file and the described relative time information.
2. the method for claim 1, described method also comprises:
Obtain a relative time benchmark; And
According to described absolute time benchmark, described relative time benchmark with represent the absolute time information of the rise time of described e-file, determine the relative time information of described e-file.
3. the method for claim 1 also comprises:
Detection is to the second operation of this electronic equipment, and described the second operation is used for reproducing described e-file;
In response to described the second operation, produce one first information, described the first information is used for pointing out the described relative time information of described e-file.
4. method as claimed in claim 2 further comprises:
Obtain a target relative time;
According to described relative time benchmark and described target relative time, determine the object time section;
When described object time section has approached or has arrived end point, produce one second information, described the second information is used for prompting and has approached or arrived this target relative time.
5. method as claimed in claim 2 wherein, obtains described absolute time benchmark and relative time benchmark and comprises:
Detection is to the 3rd operation of described electronic equipment, and described the 3rd operation is used to indicate described electronic equipment and enters predefined pattern;
In response to described the 3rd operation, make described electronic equipment enter described predefined pattern, and under this predefined pattern, obtain described absolute time benchmark and described relative time benchmark.
6. method as claimed in claim 2, wherein, described e-file is photo, the equipment of described electronic equipment for taking pictures, and determine that described absolute time benchmark and relative time benchmark comprise:
Detection operates the focusing of described electronic equipment,
In response to described focusing operation, the photo of the object matching that identification and described electronic equipment are found a view in described electronic equipment; And
In the situation of the photo that identifies the object matching of finding a view with described electronic equipment, with the absolute time information of the photo that identifies and relative time information respectively as described absolute time benchmark and described relative time benchmark.
7. set up the electronic equipment of relative time information for e-file for one kind, described electronic equipment comprises:
Time reference obtains parts, and it is used for obtaining an absolute time benchmark;
The operation detection parts, it is for detection of the operation to described electronic equipment;
E-file generates parts, and it is used for generating or obtain an e-file in response to detected the first operation of described operation detection parts, and described the first operation is used for generating or obtaining described e-file;
The relative time determining means, it is according to described absolute time benchmark and represent the absolute time information of the rise time of described e-file, determines the relative time information of described e-file; And
The relative time associated member, it sets up the corresponding relation between described e-file and the described relative time information.
8. electronics setting as claimed in claim 7, wherein,
Described time reference obtains parts and also obtains a relative time benchmark; And
Described relative time information generates parts foundation described absolute time benchmark, described relative time benchmark and represents the absolute time information of the rise time of described e-file, determines the relative time information of described e-file.
9. electronic equipment as claimed in claim 7 also comprises:
The prompting parts, it is used for producing one first information when described operation detection parts detect the second operation, and described the first information is used for pointing out the described relative time information of described e-file, and described the second operation is used for reproducing described e-file.
10. electronic equipment as claimed in claim 8 also comprises:
The target relative time obtains parts, and it is used for obtaining a target relative time;
Object time section determining means, it determines the object time section according to described relative time benchmark and described target relative time; And
Object time section detection part, it detects described object time section and whether has approached or arrived end point,
Wherein, detect at described object time section detection part that described object time section has approached or when arriving end point, described prompting parts produce one second information, described the second information is used for prompting and has approached or arrived this target relative time.
11. electronic equipment as claimed in claim 8 also comprises:
The predefined pattern judging part, it is used for making described electronic equipment enter a predefined pattern in response to detected the 3rd operation of described operation detection parts, and described the 3rd operation is used for entering described predefined pattern,
Wherein, described time reference determining means is determined described absolute time benchmark and described relative time benchmark under this predefined pattern.
12. electronic equipment as claimed in claim 10, wherein, described e-file is photo, the equipment of described electronic equipment for taking pictures, and described electronic equipment also comprises:
The object matching parts, it is used for identifying at described electronic equipment in response to the focusing to described electronic equipment operates the photo of the object matching of finding a view with described electronic equipment,
Wherein, described time reference obtain parts with the absolute time information of the photo that identifies and relative time information respectively as described absolute time benchmark and described relative time benchmark.
13. a method of pointing out the relative time information of e-file, described method are applied in the electronic equipment, described method comprises:
Detection is to the first operation of this electronic equipment, and described the first operation is used for reproducing an e-file;
In response to described the first operation, obtain the relative time information of described e-file; And
Produce an information, in order to when reproducing described e-file, point out the relative time information of described e-file.
14. method as claimed in claim 13, wherein, described e-file is any in photo, video file, the audio files;
Wherein, the relative time information that obtains described e-file comprises:
In the file attribute of described e-file, obtain the relative time information of described e-file; Perhaps
According to the absolute time information of described e-file and the relative time information that an absolute time benchmark obtains described e-file; Perhaps
According to the absolute time information of described e-file, described absolute time benchmark, the relative time benchmark corresponding with described absolute time benchmark, obtain the relative time information of described e-file.
15. an electronic equipment of pointing out the relative time information of e-file comprises:
The operation detection parts, it is for detection of the first operation to this electronic equipment, and described the first operation is used for reproducing an e-file;
Relative time obtains parts, and it is used for obtaining in response to described the first operation the relative time information of described e-file; And
Relative time prompting parts, it is used for producing an information when described e-file is reproduced, to point out the relative time information of described e-file.
16. electronic equipment as claimed in claim 15, wherein, described e-file is any in photo, video file, the audio files;
Wherein, described relative time obtains parts by obtain the relative time information of described e-file to get off:
In the file attribute of described e-file, obtain the relative time information of described e-file; Perhaps
According to the absolute time information of described e-file and the relative time information that an absolute time benchmark obtains described e-file; Perhaps
According to the absolute time information of described e-file, described absolute time benchmark, the relative time benchmark corresponding with described absolute time benchmark, obtain the relative time information of described e-file.
CN201110174978.6A 2011-06-27 2011-06-27 For e-file sets up the method and apparatus of relative time information Active CN102855235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110174978.6A CN102855235B (en) 2011-06-27 2011-06-27 For e-file sets up the method and apparatus of relative time information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110174978.6A CN102855235B (en) 2011-06-27 2011-06-27 For e-file sets up the method and apparatus of relative time information

Publications (2)

Publication Number Publication Date
CN102855235A true CN102855235A (en) 2013-01-02
CN102855235B CN102855235B (en) 2016-03-30

Family

ID=47401828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110174978.6A Active CN102855235B (en) 2011-06-27 2011-06-27 For e-file sets up the method and apparatus of relative time information

Country Status (1)

Country Link
CN (1) CN102855235B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293650A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 A kind of folder attribute method to set up and device
CN106408366A (en) * 2016-08-25 2017-02-15 于海洪 Product popularization method and system
CN107247541A (en) * 2017-06-30 2017-10-13 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107526948A (en) * 2017-09-28 2017-12-29 同方威视技术股份有限公司 Generate the method and apparatus and image authentication method and equipment of associated images
CN113873290A (en) * 2021-09-14 2021-12-31 联想(北京)有限公司 Video processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050008264A1 (en) * 2003-07-09 2005-01-13 Takayuki Iida Image displaying method and apparatus, and program for the same
JP2007304735A (en) * 2006-05-09 2007-11-22 Canon Inc File management device and file management method
EP1860580A2 (en) * 2006-05-15 2007-11-28 Sony Corporation Information providing method, information providing apparatus, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050008264A1 (en) * 2003-07-09 2005-01-13 Takayuki Iida Image displaying method and apparatus, and program for the same
JP2007304735A (en) * 2006-05-09 2007-11-22 Canon Inc File management device and file management method
EP1860580A2 (en) * 2006-05-15 2007-11-28 Sony Corporation Information providing method, information providing apparatus, and recording medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293650A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 A kind of folder attribute method to set up and device
CN106293650B (en) * 2015-05-18 2020-02-07 阿里巴巴集团控股有限公司 Folder attribute setting method and device
CN106408366A (en) * 2016-08-25 2017-02-15 于海洪 Product popularization method and system
CN107247541A (en) * 2017-06-30 2017-10-13 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107526948A (en) * 2017-09-28 2017-12-29 同方威视技术股份有限公司 Generate the method and apparatus and image authentication method and equipment of associated images
CN107526948B (en) * 2017-09-28 2023-08-25 同方威视技术股份有限公司 Method and device for generating associated image and image verification method and device
CN113873290A (en) * 2021-09-14 2021-12-31 联想(北京)有限公司 Video processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN102855235B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
US9904723B2 (en) Event based metadata synthesis
TW201417575A (en) Autocaptioning of images
KR101720774B1 (en) Digital photographing apparatus and method for providing a picture thereof
US20080033983A1 (en) Data recording and reproducing apparatus and method of generating metadata
JP5289151B2 (en) Data management apparatus, control method thereof, and program
CN102855235B (en) For e-file sets up the method and apparatus of relative time information
JP2012244634A (en) Image clustering method
JP7187395B2 (en) COMMUNICATION TERMINAL, COMMUNICATION TERMINAL CONTROL METHOD, AND COMMUNICATION SYSTEM
US9973649B2 (en) Photographing apparatus, photographing system, photographing method, and recording medium recording photographing control program
KR102180474B1 (en) Apparatus and Method For Managing Image Files By Displaying Backup Information
US9449646B2 (en) Methods and systems for media file management
TW201106089A (en) Positioning method, POI tagging method and apparatus therefor for an image
US9195312B2 (en) Information processing apparatus, conference system, and information processing method
JP2014154891A (en) Information processor, control method for the same, program, and storage medium
JP2010011076A (en) Image processing apparatus and image processing method
US8134592B2 (en) Associating device
JP2007316876A (en) Document retrieval program
JP6679409B2 (en) Imaging device, remote control device, control method and program, and storage medium
JP5533418B2 (en) Information processing apparatus and information processing method
KR20100101960A (en) Digital camera, system and method for grouping photography
JP5523122B2 (en) Image management apparatus, method and program
JP2008017235A (en) Apparatus and method for adding information of degree of importance based on video operation history
CN105825534B (en) Picture processing method and device
JP2005260355A (en) Significance imparting device, significance information creating method, electronic album creating device, method and program
WO2023021759A1 (en) Information processing device and information processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant