This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2010-244260, filed on Oct. 29, 2010, the entire contents of which are incorporated herein by reference.
The embodiment discussed herein is related to a mobile electronic apparatus, a method for image management and a recording medium.
An ordinary mobile electronic apparatus such as a mobile phone transmits and receives radio waves to and from wireless base stations located here and there, and can identify where the apparatus is located by observing which wireless base station is covering the apparatus in its service coverage. A technology is disclosed in Japanese Laid-open Patent Publication No. 10-155046 such that a shot image and a piece of region information regarding where the image was shot are connected with each other and stored by the use of a technology for identifying where an electronic apparatus is located.
In particular, Japanese Laid-open Patent Publication No. 10-155046 discloses obtaining a piece of region information indicating where an electronic apparatus is located by transmitting and receiving radio waves to and from wireless base stations, and connecting the region information with a shot image, so that a folder can be made for each of regions where images are shot. As a result, the images can be simply managed.
Incidentally, according to the technology disclosed in Japanese Laid-open Patent Publication No. 10-155046, every time an image is shot, the shot image and a piece of region information regarding where the image was shot are connected with each other and stored in a storage unit. However, how to deal with a shot image in a case where the electronic apparatus is located out of service coverage and, therefore, cannot transmit and receive radio waves to and from wireless base stations is not explained.
According to an aspect of an embodiment, a mobile electronic apparatus includes a storage unit which stores an image shot by an image shooting unit, a region information obtaining unit which obtains region information indicating in which one of a plurality of regions the mobile electronic apparatus is located, a move identifying unit which identifies whether the mobile electronic apparatus moved from a first region to a second region on the basis of the region information obtained by the region information obtaining unit, and a connection unit which connects, upon the move identifying unit identifying that the mobile electronic apparatus moved from the first region to the second region, an image stored in the storage unit after the mobile electronic apparatus moved from another region to the first region with a region identifier of the first region.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
An embodiment of a mobile electronic apparatus, a method for image management and a recording medium disclosed in the application will be explained in detail on the basis of the drawings. Incidentally, the disclosed art is not limited to the embodiment. According to the following embodiment, for example, a mobile phone will be explained as an example of the mobile electronic apparatus. The mobile electronic apparatus is not limited to a mobile phone, though, and may be any type of electronic apparatus having an image shooting function.
The wireless communication unit 104 transmits and receives voice and various data including characters wirelessly via the antenna 102. The monitor unit 106 is an output interface such as a liquid crystal panel on which various data including characters and images are displayed. Further, the voice input/output unit 112 is an input/output interface that voice is inputted to via the microphone 108 and that voice is outputted from via the speaker 110.
The camera module 120 has parts including a lens, an image sensor, a signal processing device, etc. and obtains image data by means of an image shooting function. The memory 130 has a ROM (Read Only Memory) 132 in which data that the mobile phone 100 needs for running its various functions is stored, and a RAM (Random Access Memory) 134 in which various programs for running various functions are stored.
The processor 140 is a CPU (Central Processing Unit) which runs the various programs stored in the RAM 134. The processor 140 controls the wireless communication unit 104, the monitor unit 106, the voice input/output unit 112 and the camera module 120 described above by running the various programs stored in the RAM 134. Incidentally, the programs to be run by the processor 140 can be stored not only in the RAM 134 but in a recoding medium which can be distributed such as a CD (Compact Disc)-ROM or a memory medium. The processor 140 can read the programs from the recoding medium so as to run the programs. Further, the programs can be stored in a server connected via a network so that the programs can be run on the server. The server can provide the mobile phone 100 being connected to the server via the network with a service as requested by the service requestor, i.e., the mobile phone 100.
The wireless control unit 202 controls the wireless communication unit 104 so as to control wireless communication of voice and various data including characters. The wireless control unit 202 transmits and receives radio waves to and from one or a plurality of wireless base stations located here and there, so as to detect an identifier of one of the plural wireless base stations covering the mobile phone 100 in its service coverage, as well.
The image shooting unit 204 controls the camera module 120, so as to control the camera module 120 shooting a still or moving image. The image storage control unit 206 stores a shot image in the memory 130 if a user specifies that a shot image is stored in the memory 130 which is an internal memory. To put it more specifically, if an image is shot by means of the image shooting unit 204, the image storage control unit 206 stores substance data and an identifier of the shot image in the substance data storage unit 228 and in the new shot table 222, respectively.
The embodiment will be explained in an exemplary case where a shot image is supposed to be stored in the memory 130. Where to store a shot image is not limited to the above, and the image can be stored in the SD card 136 which is an external memory. That is, if a user specifies that a shot image is stored in the SD card 136 which is an external memory, the image storage control unit 206 stores the shot image in the SD card 136 through the SD memory control unit 208. The image storage control unit 206 stores substance data and an identifier of the shot image in the substance data storage unit 228 in the SD card 136 and in the new shot table in the SD card 136, respectively, similarly as in the case where the shot image is stored in the memory 130.
The region information obtaining unit 211 obtains region information indicating in which one of a plurality of regions the mobile phone 100 is located. To put it more specifically, the region information obtaining unit 211 obtains region information of the mobile phone 100 on the basis of an identifier of a wireless base station detected by the wireless control unit 202 and the region-base station conversion table 226.
The move identifying unit 212 identifies whether the mobile phone 100 moved from a first region to a second region on the basis of the region information of the mobile phone 100 obtained by the region information obtaining unit 211. That is, the move identifying unit 212 identifies whether the mobile phone 100 moved from one region to another region while observing the region information of the mobile phone 100 obtained by the region information obtaining unit 211.
If the move identifying unit 212 identifies that the mobile phone 100 moved from the first region to the second region, the connection unit 213 connects an image shot in the first region and stored in the memory 130 with a region identifier of the first region. In other words, if the move identifying unit 212 identifies that the mobile phone 100 moved from the first region to the second region, the connection unit 213 connects an image stored in the memory 130 after the mobile phone 100 had moved from another region to the first region with a region identifier of the first region. To put it more specifically, upon identifying that the mobile phone 100 moved from the first region to the second region, the move identifying unit 212 connects an identifier of an image stored in the new shot table 222 with a region identifier of the first region and stores the connected identifier and region identifier in the image search table 224. Then, the connection unit 213 removes the identifier of the image in the new shot table 222.
The album managing unit 214 connects a shot image with region information regarding where the image was shot, and displays the connected shot image and the region information on the monitor unit 106. The album managing unit 214 specifically obtains a connection between the shot image and the region information regarding where the image was shot by referring to the image search table 224. Then, the album managing unit 214 displays a folder of every region where an image was shot on the monitor unit 106. If a user specifies one of the folders, the album managing unit 214 displays thumbnails of images in the specified folder on the monitor unit 106. Further, the album managing unit 214 can display not only a folder of every region where an image was shot but a map on the monitor unit 106. If a user specifies a region on the map, the album managing unit 214 can display thumbnails of images shot in the specified region.
The input control unit 216 accepts input instructions entered through keys of the mobile phone 100 and input instructions entered on a screen of the monitor unit 106. The input control unit 216 accepts, for example, input instructions to shoot an image by the use of the camera module 120 or instructions to remove a shot image. The display control unit 218 carries out a control operation regarding an image to be displayed on the monitor unit 106. The display control unit 218 displays a folder of every region where an image was shot on the monitor unit 106, for example, as instructed by the album managing unit 214. Further, if one of the folders of the respective regions displayed on the monitor unit 106 is specified, the display control unit 218 displays thumbnails in the specified folder on the monitor unit 106, for example, as instructed by the album managing unit 214.
As illustrated in
If a wireless base station identifier detected by the wireless control unit 202 is “B2”, for example, the region information obtaining unit 211 extracts the region identifier “A1” corresponding to “B2”, and obtains region information saying that the mobile phone 100 is located in Dohoku region which corresponds to the region identifier “A1”. Incidentally, the embodiment indicates, for example, that the region information of the mobile phone 100 is obtained on the basis of a wireless base station identifier detected by the wireless control unit 202. How to obtain the region information is not limited to the above. If being equipped with a GPS (Global Positioning System) function, for example, the mobile phone 100 can obtain location information of the mobile phone 100 on the basis of GPS waves received from the GPS satellites, and can obtain region information on the basis of the obtained location information.
If the wireless base station identifier detected by the wireless control unit 202 changes from “B2” to “B3”, for example, the move identifying unit 212 identifies the mobile phone 100 as remaining in the same region, as the region identifiers corresponding to “B2” and “B3” are both “A1”. Meanwhile, assume that a user of the mobile phone 100 moves from the Doo region to the Tokyo region by plane while the mobile phone 100 is kept powered off, and then powers on the mobile phone 100 in the Tokyo region. In this case, as region information obtained immediately before the mobile phone 100 is powered off indicates the Doo region and region information obtained first after the mobile phone 100 is powered on indicates the Tokyo region, the move identifying unit 212 identifies the mobile phone 100 as having moved over different regions.
If the user shoots images in the Doo region at first, the image storage control unit 206 stores identifiers of the shot images in the new shot table 222 in order. Assume, for example, that shot image identifiers “#1, #2, #4” are stored in the new shot table 222, and that the user removed an image corresponding to a shot image identifier “#3”. Immediately after an image is shot, as described here, the image storage control unit 206 just stores a shot image identifier in the new shot table 222 without connecting the shot image identifier with a region identifier for identifying a region where the image was shot.
After the user moves to the Tokyo region and powers on the mobile phone 100 in the Tokyo region, then, the move identifying unit 212 identifies that the mobile phone 100 has moved from the first region (Doo region) to the second region (Tokyo region). Then, the connection unit 213 connects the identifiers “#1, #2, #4” stored in the new shot table 222 with the region identifier “A2” of the first region (Doo region), and then stores the connected identifiers and region identifier in the image search table 224. Then, the connection unit 213 removes the identifier of the image in the new shot table 222.
Meanwhile, the image storage control unit 206 identifies whether the image shooting unit 204 has shot an image (step S201). Upon identifying that an image is shot (YES of step S201), the image storage control unit 206 stores an identifier of the shot image in the new shot table 222 (step S202). Incidentally, the image storage control unit 206 stores the identifier of the shot image in the new shot table 222, and stores substance data of the shot image in the substance data storage unit 228, as well. Every time an image is shot, the identifier of the shot image is stored in the new shot table 222 in order.
Meanwhile, the region information obtaining unit 211 identifies whether an identifier of a wireless base station is notified (step S301). Upon identifying that an identifier of a wireless base station is notified (YES of step S301), the region information obtaining unit 211 obtains region information from the identifier of the notified wireless base station (step S302). Specifically, the region information obtaining unit 211 refers to the region-base station conversion table 226, extracts a region identifier corresponding to the identifier of the notified wireless base station, and obtains region information corresponding to the extracted region identifier.
Then, the move identifying unit 212 identifies whether the region information is changed on the basis of the obtained region information (step S303). Specifically, the move identifying unit 212 compares the last obtained region information with the region information obtained this time, and identifies a change of the region information if there is a difference. Upon identifying no change of the region information (NO of step S303), the move identifying unit 212 ends the process.
Meanwhile, upon a change of the region information being identified (YES of step S303), the connection unit 213 checks the number of shot images in the new shot table 222 (step S304). Specifically, the connection unit 213 checks the number of the shot images in accordance with the number of the identifiers of the images stored in the new shot table 222. If the number of the shot images is zero in the new shot table 222, for example, no identifier of an image is stored in the new shot table 222, the connection unit 213 ends the process.
If the number of the shot images is one or more in the new shot table 222, then, the connection unit 213 makes the image search table 224 (step S305). Specifically, the connection unit 213 connects an identifier of an image stored in the new shot table 222 with the region information before being changed (the last obtained region information), and stores the connected identifier and region information in the image search table 224. To put it more specifically, the connection unit 213 connects an identifier of an image stored in the new shot table 222 with the region identifier corresponding to the region information before being changed, and stores the connected identifier and region identifier in the image search table 224.
Then, the connection unit 213 identifies whether the image search table 224 has been made for all the images in the new shot table 222 (step S306). If an image not having been processed remains in the new shot table 222 (NO of step S306), the connection unit 213 returns to the step S305 and makes the image search table 224 in order. Meanwhile, upon identifying the image search table 224 as having been made for all the images in the new shot table 222 (YES of step S306), the connection unit 213 removes the identifiers of the shot images in the new shot table 222 (step S307).
According to the mobile phone 100 and the method for image management of the embodiment, as described above, a shot image is just stored immediately after being shot. The shot image is not connected with region information regarding where the image was shot until the region where the mobile phone 100 is located is identified as having been changed. Thus, according to the mobile phone 100 and the method for image management of the embodiment, a shot image is not connected with region information regarding where the image is shot every time the image is shot. As the mobile phone 100 being located out of the service coverage and being unable to transmit or receive radio waves to and from wireless base stations cannot obtain region information, for example, it is difficult to connect a shot image with region information regarding where the image was shot. According to the embodiment, meanwhile, even if images are shot when the mobile phone 100 is located out of the service coverage, the shot images are collectively connected with the region information in which the mobile phone 100 was located before moving, after the mobile phone 100 is identified as having been moved to another region. The mobile phone 100 can thereby certainly connect the shot images with the region where the images were shot.
Further, according to the embodiment, as the shot images are collectively connected with the region information in which the mobile phone 100 was located before moving, after the mobile phone 100 is identified as having been moved to another region, how many times the connections are processed can be reduced as compared with in a case where an image is connected every time the image is shot. Further, according to the embodiment, after shooting a plurality of images in a certain region and before moving to another region, the user can remove an identifier of an image which the user does not want to connect with the region information regarding where the image was shot so that only desirable images can be connected with the region information regarding where the images were shot. As a result, user-friendliness can be enhanced.
Further, according to the mobile phone 100 and the method for image management of the embodiment, one region includes a plurality of adjacent wireless base stations. Then, according to the mobile phone 100 and the method for image management of the embodiment, the mobile phone 100 connects a shot image and region information rather than a shot image and an identifier of a wireless base station. The region information may be too broad to identify where the user was located, comparing to the identifier of a wireless base station. Thus, according to the embodiment, the region information corresponds to prefectures. Therefore, the user's behavior history may not be revealed in detail beyond necessity. Thus, it is preferable from a viewpoint of protecting the user's privacy.
Further, according to the mobile phone 100 and the method for image management of the embodiment, the wireless control unit transmits and receives radio waves to and from a wireless base station. The shooting region recording unit detects an identifier of the wireless base station covering the mobile phone 100 in its service coverage, and obtains region information on the basis of the identifier of the detected wireless base station. The mobile phone 100 can thereby reduce power consumption as compared with a case where region information is obtained on the basis of GPS radio waves transmitted from the GPS satellites by means of GPS positioning every time an image is shot.
Incidentally, the embodiment has been mainly explained as to an electronic apparatus and a method for image management. The embodiment is not limited to the above. By running an image management program prepared in advance on a computer so that a function similar to that of the above embodiment can be implemented. That is, the computer stores an image shot by an image shooting unit which shoots an image in a storage unit and carries out a process for obtaining region information indicating in which one of a plurality of regions an apparatus is located by running the image management program. Further, a process for identifying whether the apparatus has moved from a first region to a second region on the basis of the obtained region information of the apparatus is run by means of the image management program. Further, upon the apparatus being identified as having moved from the first region to the second region owing to the identification, a process for connecting an image shot in the first region stored in the storage unit with a region identifier of the first region is run by means of the image management program. Incidentally, the image management program can be distributed to the computer via a communication network such as the Internet. Further, the image management program can be recorded on a memory that the computer is provided with, a hard disk or another computer-readable recording medium, and can be run by being read from the recording medium by the computer.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2010-244260 | Oct 2010 | JP | national |