Abstract:
A non-transitory computer readable storage medium storing therein a program for causing a computer to execute a process, the process includes receiving, by a server, a position information from a mobile terminal device, and sending, by the server, contents of domain corresponding to the position information to the mobile terminal device, and wherein the sending further includes second sending, by the server, when the position information corresponds to an offline preparation domain which locates a circumstance of an offline domain of which a communication with the mobile terminal device is in an offline state, the contents of the offline domain corresponding to the offline preparation domain.

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
       [0001]    This application is a continuation application of International Application PCT/JP2013/052618 filed on Feb. 5, 2013 and designated the U.S., the entire contents of which are incorporated herein by reference. 
     
    
     FIELD 
       [0002]    The embodiments discussed herein relate to information provision service program, information provision service method, information provision service device and information provision service system. 
       BACKGROUND 
       [0003]    In late years, in an exhibition hall or a museum, etc., system using a terminal which displays contents depending on a position of a user is proposed. In addition, in a hospital or a factory, etc., the system using the terminal, which displays position administration according to the position of the staff having a terminal and the duties instructions based on the position, is proposed. 
         [0004]    In such a terminal, it is difficult to hold all the contents corresponding to all positions beforehand in the terminal, because of resource restrictions of the terminal. Therefore, the terminal receives the contents depending to the position from a server one by one. For example, the system is constituted by a plurality of terminals which is able to communicate with a server, and the contents corresponding to each place are memorized to the server. And the server transmits contents and the duties instructions corresponding to the position to the terminal depending on the position that the server received from the terminal. 
         [0005]    [patent literature 1] Japanese Laid-Open Patent Publication No. 2011-55053. 
         [0006]    However, in a such system, during an offline state that the terminal device is unable to communicate with the server, it is difficult that the server obtains the position of the terminal device, thereby the server is unable to send contents (for example, patent literature 1). Therefore, it is difficult that the terminal device provides the service in a user. 
         [0007]    Especially, when the user moves with the terminal device, the terminal device may not be always in state to be able to communicate. Therefore, the communication disconnection occurs by a reason such as being far from the access point of the wireless communication. In addition, it is not easy to measure an electric wave state of all places beforehand, and to detect the place which is in an offline state, and to deal with the detection. In addition, it is not easy to maintain communication environment so that all places become the online state. 
       SUMMARY 
       [0008]    According to a first aspect of the embodiment, a non-transitory computer readable storage medium storing therein a program for causing a computer to execute a process, the process includes receiving, by a server, a position information from a mobile terminal device, and sending, by the server, contents of domain corresponding to the position information to the mobile terminal device, and wherein the sending further includes second sending, by the server, when the position information corresponds to an offline preparation domain which locates a circumstance of an offline domain of which a communication with the mobile terminal device is in an offline state, the contents of the offline domain corresponding to the offline preparation domain. 
         [0009]    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. 
         [0010]    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. 
     
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         [0011]      FIG. 1  is a diagram expressing an example of an outline of the information provision service system. 
           [0012]      FIG. 2  is a diagram expressing an example of an outline of the information provision service system according to the embodiment. 
           [0013]      FIG. 3  is a diagram indicating an example of the hardware constitution of the server  100  and the mobile terminal device  200  constituting the information provision service system according to the embodiment. 
           [0014]      FIG. 4A-4D  are diagrams indicating an example of the data constitution of each database DB which is stored to the server  100  and the mobile terminal device  200 . 
           [0015]      FIG. 5  is a flow chart diagram explaining the transmission process of data in the mobile terminal device  200 . 
           [0016]      FIG. 6A  and  FIG. 6B  are flow chart diagrams explaining processing at the time of the data reception in mobile terminal device  200 . 
           [0017]      FIG. 7  is a flow chart diagram explaining processing at the time of the data reception in the server  100 . 
           [0018]      FIG. 8  is a flow chart diagram explaining the generation process of the offline domain DE and the offline preparation domain EE in the server  100 . 
           [0019]      FIG. 9A-FIG .  9 C are diagrams explaining a specific example of the generation process of the offline domain DE. 
           [0020]      FIG. 10  is a diagram explaining a specific example of the generation process of the offline preparation domain EE. 
       
    
    
     DESCRIPTION OF EMBODIMENTS 
       [0021]    An embodiment of the present invention will be described below with reference to the drawings. It is to be noted that the technical scope of the present invention is not limited to the embodiment, and includes matters described in the claims and their equivalents. 
         [0022]    [Constitution of Information Provision Service System] 
         [0023]      FIG. 1  is a diagram expressing an example of an outline of the information provision service system. In  FIG. 1 , the information provision service system has mobile terminal devices  200   a ,  200   b ,  200   c  (following, described as mark “ 200 ”) which are the mobile information devices such as one or more smart phones, and a server  100  such as a cloud data center. In addition, the terminal devices  200  and the server  100  are constructed to communicate with each other through a network. In addition, in the  FIG. 1 , dotted lines “pt” indicates to a trace in which the mobile terminal devices  200   a  and  200   b  moved and black dot “Ig” on the trace indicates to a measurement point of the position in the mobile terminal device  200 . 
         [0024]    The information provision service, for example, is inputted position information of the mobile terminal device  200 , delivers contents depending on the position information to the mobile terminal device  200 , and lets the display screen in the mobile terminal device  200  output it. For example, the information provision service is offered in the space such as an exhibition or the art museum. In this case, for example, it is possible that the user receives an offer of the information such as showpieces based on the contents according to the position in the exhibition and the art museum. Or the information provision service is offered in the space such as a hospital or the factory. In this case, for example, it is possible that the user receives duties instructions through the contents according to the position in the hospital and the factory. 
         [0025]    A space depicted by  FIG. 1 , for example, has places A-F (Za, Zb, Zc, Zd, Ze, Zf). The mobile terminal device  200  receives only the content of the places A-F corresponding to the position from the server  100  one by one. In this example, the mobile terminal device  200   a  receives contents corresponding to the place AZa, the mobile terminal device  200   b  receives contents corresponding to the place CZc, and the mobile terminal device  200   c  receives contents corresponding to the place EZe, from the server, and provides it to the user. Thereby, the capacity of contents which memorizes in a reservation domain in the mobile terminal device  200  is reduced. However, according to this method, it is impossible that the mobile terminal device  200  provides service in a user when the mobile terminal device  200  and the server  100  are in an offline state, because it is impossible to receive the contents from the server  100 . 
         [0026]    Therefore, according to the information provision service program in the embodiment, the information provision service process has a process that the server  100  receives the position information of the terminal device  200 , a process that the server  100  sends the contents of the domain corresponding to the position information to the mobile terminal device  200  when the position information indicates to an online domain in which the server  100  connects to the terminal device  200 , and a process that the server  100  sends the contents of an offline domain corresponding to an offline preparation domain to the mobile terminal device  200  when the position information indicates to the offline preparation domain around the offline domain in which the server  100  does not connect to the terminal device  200 . 
         [0027]      FIG. 2  is a diagram expressing an example of an outline of the information provision service system according to the embodiment. In the  FIG. 2 , the domain which is surrounded in a dashed line and is expressed at a halftone dot indicates to the offline domain DE, and the domain which is surrounded in a dashed line and is expressed with a slanted line indicates the offline preparation domains EE 1 , EE 2 . In the  FIG. 2 , the mobile terminal device  200   a  located in the offline domain DE is that the communication with the server  100  is in an offline state. On the other hand, the mobile terminal devices  200   b ,  200   c  located in the offline preparations domain EE 1 , EE 2  and in other domain, is that the communication with the server  100  is in an online state. Here, the offline domain DE and the offline preparations domain EE 1 , EE 2  according to the embodiment will be explained. 
         [0028]    [Offline Domain] 
         [0029]    The offline domain DE is the domain where communication with the mobile terminal device  200  and the server  100  is in an offline state, because the communication environment is bad, for example, access point AP of the wireless LAN does not exist. In an example of  FIG. 2 , the mobile terminal device  200   a  is located in the offline domain DE. In this location, it is impossible that the mobile terminal device  200  sends current the position information to the server  100 , and receives contents corresponding to the place A from the server  100 . In addition, according to the embodiment, the offline domain DE is generated based on a set of the position information that was in the offline state in succession based on a history of the position information of the terminal device  200  in the offline state. 
         [0030]    [Offline Preparations Domain] 
         [0031]    The offline preparation domains EE 1 , EE 2  are the domains which are, for example, located near the offline domain DE and are the domain that mobile terminal device  200  passes before and after the offline domain DE. In the embodiment, the offline preparations domain EE 1 , EE 2  are generated based on the position information of one or more mobile terminal devices and the communication state history. According to the embodiment, when the mobile terminal device  200  is located in the offline preparations domain EE, the server  100  delivers the contents of the place which overlaps with the offline domain DE corresponding to offline preparations domain EE, to the mobile terminal device  200  in advance. And the mobile terminal device continues information provision service when the mobile terminal device  200  is in the offline state by providing the contents which is delivered in advance even if it is an offline state. 
         [0032]    In this way, the server  100  according to the embodiment sends only the contents according to the position of the mobile terminal device  200  to the mobile terminal device  200  beforehand, when a needed possibility is high. In other words, the server  100  detects that the mobile terminal device  200  is located in the place where the mobile terminal device  200  has a high possibility to be in the offline state soon and delivers the contents of the domain which is in an offline state in advance before the mobile terminal device  200  is in the offline state. Thereby, it is possible that the mobile terminal device  200  provides contents when the mobile terminal device turns into the offline state. Because only needed contents are delivered to the mobile terminal device  200  in advance in a necessary timing, it is possible to save the capacity of contents stored in the mobile terminal device  200  and to reduce the communication fee. 
         [0033]    In addition, according to the embodiment, the offline preparation domains EE 1 , EE 2  are generated around the border where the mobile terminal device is able to go in and out of among borders which are indicated by the dotted line of the offline domain DE. In the example of  FIG. 2 , the offline preparation domains EE 1 , EE 2  are generated around a doorway of the offline domain DE. In addition, in the example of  FIG. 2 , the borders y 1 , y 2  of the offline domain DE, in which the offline preparations domain EE is not generated, indicates to the borders such as the walls where the mobile terminal device is unable to go in and out of. In this way, among the borders of the offline domain DE, the offline preparations domain EE is not generated around the border where the mobile terminal device is unable to go in and out of. 
         [0034]    [Constitution of Server and Mobile Terminal Device] 
         [0035]      FIG. 3  is a diagram indicating an example of the hardware constitution of the server  100  and the mobile terminal device  200  constituting the information provision service system according to the embodiment. At first, the constitution of the mobile terminal device  200  will be explained. The mobile terminal device  200  and the server  100  are connected through communication such as the radio. In addition, in the example, the mobile terminal device such as smart phone is exemplified as an example of the terminal device, but the terminal device is not limited to this example. 
         [0036]    [Constitution of the Mobile Terminal Device] 
         [0037]    In  FIG. 3 , the mobile terminal device  200  has, for example, a communication unit  21 , a contents control part  22 , a place entry-exit judgment part  23 , a positioning part  24 , and an offline time place history storage part  25 . In addition, the mobile terminal device  200  includes a mobile terminal device state administration database  1   d  (below described as data base (DB)) and a place definition and contents database (DB)  2   d . The mobile terminal device  200  includes a processor (CPU), the communication unit and a memory which are not illustrated in  FIG. 3 , as hardware resources. The memory stores the offline time place history storage part  25 , the mobile terminal device state administration database  1   d  and the place definition and contents database (DB)  2   d . The contents control part  22 , the place entry-exit judgment part  23 , and the positioning part  24  is constituted, for example, by a program. And the processor in the mobile terminal device carries out the program, thereby processing on the terminal side of the information provision service is performed. 
         [0038]    The positioning part  24  acquires the information of the current position of the user, using GPS (Global Positioning System) or fixed radio beam strength. The position information is, for example, coordinate information. It is possible that the positioning part  24  acquires the position information, even if a communication state with the server  100  is in an offline state. The communication unit  21  carries out transmission process of the position information, the history of the position information and the entry-exit state to the place to the server  100 , and reception process of the contents and the place definition from the server  100 . 
         [0039]    The place entry-exit judgment part  23  judges the entry-exit to the places A-E based on the position information acquired by the positioning part  24  with reference to the place definition and contents database (DB)  2   d . The contents control part  22  provides, for example, contents to the user through a display screen (not illustrated in  FIG. 3 ) and a voice output (not illustrated in  FIG. 3 ) in the mobile terminal device  200 . The place definition and contents database (DB)  2   d  stores a file name of contents and a place definition which are received from the server  100 . The place definition is, for example, a coordinate sequence indicating the domain of each place A-E. The offline time place history storage part  25  stores position information which are generated by the positioning part  24  at the offline state, as a history. In addition, the mobile terminal device state administration database (DB)  1   d  stores the current communication state with the mobile terminal device  200  and the server  100 , and the information of located place A-E and domain. 
         [0040]    [Constitution of Server] 
         [0041]    In  FIG. 3 , the server  100  has a communication unit  11 , an offline domain and offline preparation domain update part  12 , a place definition and contents extraction part  13 , a place and domain entry-exit judgment part  14 . In addition, the server  100  has a mobile terminal device state administration database (DB)  5   d , a place definition and contents database (DB)  6   d , a mobile terminal device position and state history database (DB)  3   d , an offline domain and offline preparation domain definition database (DB)  4   d . The server  100  includes a processor (CPU), the communication unit and a memory which are not illustrated in  FIG. 3 , as hardware resources. The memory stores the mobile terminal device state administration database (DB)  5   d , the place definition and contents database (DB)  6   d , the mobile terminal device position and state history database (DB)  3   d , and the offline domain and offline preparation domain definition database (DB)  4   d . The offline domain and offline preparation domain update part  12 , the place definition and contents extraction part  13 , and the place and domain entry-exit judgment part  14  are constituted, for example, by a program. And the processor in the server  100  carries out the program, thereby processing on the server  100  side of the information provision service is performed. 
         [0042]    In addition, the mobile terminal device state administration database (DB)  5   d  and the place definition and contents database (DB)  6   d  in the server  100  are similar to the mobile terminal device state administration database (DB)  1   d  and the place definition and contents database (DB)  2   d  in the mobile terminal device  200 . But the gross weight of the information to store in the mobile terminal device state administration database (DB)  5   d  and the place definition and contents database (DB)  6   d  in the server  100  are different from the mobile terminal device state administration database (DB)  1   d  and the place definition and contents database (DB)  2   d  in the mobile terminal device  200 . The mobile terminal device state administration database (DB)  5   d  and the place definition and contents database (DB)  6   d  in the server  100  store the information of all mobile terminal device  200  and all place A-F for targets of the service. In contrast, the mobile terminal device state administration database (DB)  1   d  and the place definition and contents database (DB)  2   d  in the mobile terminal device store only the information of the mobile terminal device  200  and the information corresponding to the minimum number of place. 
         [0043]    In  FIG. 3 , the communication unit  11  in the server  100  carries out reception process of the position information, the history of the position information and the entry-exit state to the place from the mobile terminal device  200  and transmission process of the contents and the place definition to the mobile terminal device  200 . The offline domain and offline preparation domain update part  12  detects the offline domain DE and the offline preparation domain EE based on the mobile terminal device position and state history database (DB)  3   d  and updates the offline domain and offline preparation domain definition database (DB)  4   d . In addition, the place definition and contents extraction part  13  extracts a place definition and contents corresponding to the offline preparation domain EE that the mobile terminal device  200  locates, with reference to the offline domain and offline preparation domain definition database (DB)  4   d  and the place definition and contents database (DB)  6   d . In addition, the mobile terminal device state administration database (DB)  5   d  stores the current communication state with the mobile terminal device  200 , the server  100  and the information of located place A-E, and the offline preparation domain EE, for each of all mobile terminal device. 
         [0044]    And the place and domain entry-exit judgment part  14  detects the entry-exit to the place A-E and the offline preparations domain EE of the mobile terminal device  200 , based on the position information which is received from the mobile terminal device  200 , with reference to the mobile terminal device state administration database (DB)  1   d . In addition, the place and domain entry-exit judgment part  14 , when detecting that the mobile terminal device  200  entered the place A-E, sends the contents of place A-E concerned to the mobile terminal device  200 , and sends the delete instruction of the contents that have been sent to the mobile terminal device when detecting that the mobile terminal device  200  left from the place A-E. In addition, the place and domain entry-exit judgment part  14  sends a place definition and contents of the place A-E which overlaps with the offline domain DE corresponding to offline preparation domain EE, to the mobile terminal device  200  when detecting that the mobile terminal device  200  entered the offline preparation domain EE. 
         [0045]    Next, an example of the data constitution of the database stored by the server  100  and the mobile terminal device  200  will be described. 
         [0046]    [Data Constitution] 
         [0047]      FIG. 4A˜4D  are diagrams indicating an example of the data constitution of each database DB which is stored to the server  100  and the mobile terminal device  200 .  FIG. 4A  illustrates the mobile terminal device state administration database (DB)  1   d ,  FIG. 4B  illustrates the place definition and contents database (DB)  2   d , and  FIG. 4C  illustrates the mobile terminal device position and state history database (DB)  3   d  and  FIG. 4D  illustrates the offline domain and offline preparation domain definition database (DB)  4   d.    
         [0048]    The mobile terminal device state administration database (DB)  1   d  has, for example, ID (Identification) of the mobile terminal device  200  which distinguishes a plurality of mobile terminal devices  200 , place ID to be located now, the ID of the offline preparation domain, and a current communication state. The communication state indicates, for example, whether it is in an online state, or an offline state. In addition, the place definition and contents database (DB)  2   d  has a place ID to distinguish a plurality of places A-E, a place definition, the file name of the binary data which are contents. The place definition is, for example, a coordinate sequence constituting a polygon indicating the places A-E. In addition, the mobile terminal device position and state history database (DB)  3   d  has ID of the mobile terminal device  200 , the position information to be provided at a coordinate, a communication state flag. In this example, the communication state flag is four kinds of either next. For example, the communication state flag is in an online state (1), in an offline state (2), a state which has been changed to an offline state from the online state (3), and a state which has been changed to an online state from the offline state (4). 
         [0049]    The offline domain and offline preparation domain definition database (DB)  4   d  has an offline domain ID to distinguish a plural of offline domain DE, the offline domain definition and place ID of the place which overlaps with the offline domain DE, as information of the offline domain DE. In addition, the offline domain and offline preparation domain definition database (DB)  4   d  has an offline preparations domain ID to distinguish a plurality of offline preparation domain EE, an offline preparations domain definition, ID of the offline domain DE to correspond with, as information of the offline preparation domain EE. The offline domain DE to correspond with is the offline domain DE adjacent to the offline preparation domain EE. In addition, the offline domain definition and the offline preparation domain definition are coordinate sequences forming the polygon indicating the domain, for example. 
         [0050]    As illustrated in  FIG. 4D , in the offline domain and offline preparation domain definition database (DB)  4   d , the offline preparation domain ID and the offline domain ID are connected, and the place ID and corresponding offline domain ID are connected. Thereby, it is possible that the server  100  acquires a place definition and contents file name for downloading, based on the offline preparations domain ID, by referring to the offline domain and offline preparation domain definition database (DB)  4   d  and the place definition and contents database (DB)  2   d.    
         [0051]    The processing of information provision service program according to the embodiment will be described based on a flow chart diagram successively. Firstly, process of the mobile terminal device  200  in the information provision service system will be described. 
         [0052]    [Processing of Mobile Terminal Side] 
         [0053]      FIG. 5  is a flow chart diagram explaining the transmission process of data in the mobile terminal device  200 . The positioning part  24  in the mobile terminal device  200  detects the position in a predetermined interval, and generates the position information (S 11 ). For example, the mobile terminal device  200  carries out the process of detection of position every interval such as five seconds. In addition, the mobile terminal device  200  adds a communication state flag to the position information (S 12 ). As described above, in the example, the communication flag is four kinds that are the online state, a state which has changed to the offline state from the online state, the offline state, and a state which has changed to the online state from the offline state. In addition, in this example, position information is added the ID of mobile terminal device  200  more. 
         [0054]    When it is in an online state (YES of S 13 ), that is, when a communication state flag indicates either one of a online state and a state changed to the online state from the offline state, the mobile terminal device  200  sends the position information to the server  100  (S 14 ). In this time, when changing from an offline state to an online state (YES/S 15 ), the mobile terminal device  200  sends a history of the position information which is stored in the offline time place history storage part  25  while the mobile terminal device  200  is an offline state, to the server  100  more then (S 16 ). 
         [0055]    On the other hand, when it is in an offline state (NO of S 13 ), that is, when the communication state flag indicates either one of a offline state and a state changed to the offline state from the online state, the offline time place history storage part  25  stores the position information which is generated, as a history. Then, the place entry-exit judgment part  23  in the mobile terminal device  200  judges whether the entry-exit to new place A˜E occurs, based on the generated position information with reference to the place definition and contents database (DB)  2   d  (S 18 ). When it is determined that the entry-exit to new place A-E occurred (YES of S 19 ), the contents control part  22  changes the contents to provide, to the contents corresponding to the place located now (S 20 ). In other words, the mobile terminal device  200  switches contents which are provided, to the contents that have been received and correspond to the new place, when detecting the movement to the new place. 
         [0056]      FIG. 6A  and  FIG. 6B  are flow chart diagrams explaining processing at the time of the data reception in mobile terminal device  200 . In  FIG. 6A , the contents control part  22  carries out the contents, when the communication unit  21  receives the contents depending on current position information from the server  100  (S 21 ). For example, the contents control part  22  carries out the output to the display screen and the output by the sound in the mobile terminal device  200 , as execution of contents. In addition, in  FIG. 6B , the mobile terminal device  200  updates the place definition and contents database (DB)  2   d  and stores the contents, when the mobile terminal device  200  receives the place definition and contents corresponding to the offline preparations domain EE from the server  100  (S 22 ). In addition, a place definition and contents corresponding to the offline preparation domain EE are sent by the server  100  when the position information of the mobile terminal device  200  corresponds with the offline preparation domain EE. 
         [0057]    Each process of the mobile terminal device  200  explained in the flow charts in  FIG. 5  and  FIG. 6A ,  FIG. 6B  is carried out in parallel. Then the process of server  100  side will be described. 
         [0058]    [Processing of Server Side] 
         [0059]      FIG. 7  is a flow chart diagram explaining processing at the time of the data reception in the server  100 . The server  100  carries out the process in the flow chart diagram as trigger by the data reception from the mobile terminal device  200 . 
         [0060]    At first, the server  100  judges the communication state flag included in the position information which is received from the mobile terminal device  200  (S 31 ). The server  100 , when the communication state flag indicates the change from the offline state to the online state, stores a history of the position information in the offline state that the server  100  received in the mobile terminal device position and state history database (DB)  3   d  (S 32 ). Then, when the communication state flag indicates an online state successively, the place and domain entry-exit judgment part  14  in the server  100  carries out the entry-exit determination process to the place A-E and the offline preparation domain EE (S 33 ). Especially, the place and domain entry-exit judgment part  14  determines whether target mobile terminal device  200  did the entry-exit in new place A-E and offline preparation domain EE, based on the position information which is received to be concrete with reference to the place definition and contents database (DB)  6   d  and the offline domain and offline preparation domain definition database (DB)  4   d.    
         [0061]    When movement to the new place A-E is detected (YES of S 34 ), the server  100  sends the contents corresponding to new place A-E to the mobile terminal device  200  and sends the deletion instruction of the contents of the place the mobile terminal device  200  left (S 35 ). In addition, when it is detected to enter the offline preparation domain EE (YES of S 36 ), the server  100  acquires contents file and the place definition of the place A-E which overlaps with the offline domain DE corresponding to the offline preparation domain EE, with reference to the offline domain and offline preparation domain definition database (DB)  4   d  and the place definition and contents database (DB)  2   d , and sends it to the mobile terminal device  200  (S 37 ). In addition, when it is detected to leave from the offline preparation domain EE (YES of S 38 ), in other words, when it is detected to enter the offline preparations domain EE, but to exit the offline preparations domain EE without entering the offline domain DE (YES of S 38 ), the server  100  sends the deletion instruction of contents file and the place definition of the place A-E, which overlaps with the offline domain DE corresponding to the offline preparation domain EE, and in which the server  100  has been sent in the step S 37  (S 39 ). 
         [0062]    In this way, when mobile terminal device  200  is located in the offline preparation domain EE, the server  100  sends contents of the place, which overlaps with the offline domain DE corresponding to the offline preparation domain EE, to the mobile terminal device  200 . In other words, the server  100  delivers only needed contents to the mobile terminal device  200  in a needed timing. Further, the server  100 , when the mobile terminal device  200  is located in the offline preparation domain EE, that is, when it is predicted that the mobile terminal device  200  turns into an offline state soon, delivers the contents of the domain that is in an offline state concerned to the mobile terminal device  200  in advance by the step S 37 . Thereby, it is possible that the server  100  reduces the capacity of contents stored to the mobile terminal device  200  and reduces the communication fee. 
         [0063]    In addition, when a communication state of the mobile terminal device  200  located in the offline preparation domain EE changes in the offline state, it is possible that the server  100  estimates that the mobile terminal device  200  is located in the offline domain DE corresponding to offline preparation domain EE. Thereby, it is possible that the server  100  estimates the position of the mobile terminal device  200  and administrates the mobile terminal device  200 , when the mobile terminal device  200  changes in the offline state. 
         [0064]    In addition, in this example, the server  100  sends the place definition to the mobile terminal device  200  in addition to the contents file of the place connected with the offline preparation domain EE. However, the server  100  may transmit only contents file to the mobile terminal device  200 . In this case, for example, the mobile terminal device  200  stores a definition file of all place A-F beforehand. 
         [0065]    Next, the generation process of the offline domain DE and the offline preparation domain EE in the server  100  and a specific example will be explained. 
         [0066]      FIG. 8  is a flow chart diagram explaining the generation process of the offline domain DE and the offline preparation domain EE in the server  100 . For example, the offline domain and the offline preparation domain update part  12  in the server  100  carries out the generation processing of the offline domain DE and the offline preparation domain EE in the following timing. The offline domain and the offline preparation domain update part  12  carries out processing in a predetermined interval, when the data of the fixed quantity is accumulated in the mobile terminal device position and state history database (DB)  3   d  from the last processing, and when the contents and the place definition are updated. In addition, the offline domain and the offline preparation domain update part  12  carries out the processing, when the number of the mobile terminal device  200 , which is in an offline state even though the device is not located in the offline domain DE, reaches a predetermined value, for example. Or, the offline domain and offline preparation domain update part  12  carries out the processing according to the congestion degree in the service provision ranges such as the meeting places. Because the communication state such as the wireless LAN changes according to a congestion degree, the processing is carried out when the congestion degree changes with a fixed quantity in this case. 
         [0067]    At first the offline domain and offline preparation domain update part  12  acquires a history of the position information about each mobile terminal device  200  with reference to the mobile terminal device position and state history database (DB)  3   d , and acquires the position information in the offline state (S 51 ). And the offline domain and the offline preparation domain update part  12  generates the offline domain DE, based on a set of the position information when the mobile terminal device was in an offline state in succession for each mobile terminal device  200 . More especially, the offline domain and offline preparation domain update part  12  sets the position information when the mobile terminal device  200  was in an offline state in succession as an initial cluster (S 52 ). The offline domain and offline preparation domain update part  12  merges the initial clusters in which the distance is near between the mobile terminal devices  200  as the clustering processing (S 53 ). 
         [0068]    More specially, the offline domain and offline preparation domain update part  12  continues to merge the near distance cluster until the cluster which is merged does not exist. In this example, for example, when two target clusters include an initial cluster of the mobile terminal device  200  of being common and the domain of the online state is located between the clusters, the merge process of the cluster is not carried out. In this way, the plurality of domains which are in the offline state are merged sequentially, and one or more offline domain DE is generated. 
         [0069]    Then, the offline domain and offline preparation domain update part  12  calculates a convex envelop plane figure corresponding to the set of the clustered position information as the offline domain DE (S 54 ). And the offline domain and offline preparation domain update part  12  extracts the place which overlaps with the offline domain DE from the place definition and contents database (DB)  2   d , and stores the ID of the place concerned with a coordinate line indicating the offline domain DE in the offline domain and offline preparation domain definition database (DB)  4   d  (S 55 ). Here, the offline domain and offline preparation domain update part  12  calculates the capacity of the contents of the overlapped place with the offline domain DE (S 56 ). For example, the offline domain and offline preparation domain update part  12  calculates the total of the capacity of the contents corresponding to the plurality of places, when the plurality of place overlap with the offline domain DE. 
         [0070]    The offline domain and offline preparation domain update part  12  generates the offline preparation domain EE based on the information of the change position included in the offline domain DE. The change position indicates to a position which changed to the offline state from the online state and a position which returned from the offline state to the online state. In the embodiment, the offline preparation domain EE is formed based on the circle domain around the change position. Therefore, the offline domain and offline preparation domain update part  12  calculates a radius of the circle domain which is a origin of the offline preparation domain EE (S 57 ). More information about the calculation process of radius will be described later based on a specific example. 
         [0071]    And the offline domain and offline preparation domain update part  12  calculates the logical sum of the circle domain, and generates the domain which does not overlap with the offline domain DE as the offline preparation domain EE (S 58 ). In addition, the outline of the offline preparations domain EE may be smoothed then. And the offline domain and offline preparation domain update part  12  stores a coordinate sequence indicating the offline preparation domain EE which is generated (S 59 ) in the offline domain and offline preparation domain definition database (DB)  4   d  with a relation with the ID of the offline domain DE corresponding to the offline preparation domain EE. 
         [0072]    The process of the server  100  explained in the flow chart in  FIG. 7  and  FIG. 8  is performed in parallel. Then, the generation process of the offline domain DE and generation process of offline preparation domain EE will be described based on a specific example. 
         [0073]    [Specific Example of Generation Processing of Offline Domain] 
         [0074]      FIG. 9A-FIG .  9 C are diagrams explaining a specific example of the generation process of the offline domain DE. In  FIG. 9A ,  FIG. 9B  and  FIG. 9C , a line “xa” indicates to a trace of the mobile terminal device A based on a history of positions I 1 ˜I 37 , a dotted line Xb indicates to a trace of the mobile terminal device B based on the history of positions I 1 -˜I 37 , a dashed line Xc indicates to a trace of the mobile terminal device C based on the history of positions I 1 ˜I 37 . In addition, a circle and a triangle, which are placed on each trace Xa, Xb, and Xc, indicate to a communication state flag corresponding to the positions I 1 -I 37  which are measured in a predetermined interval. More especially, a white circle indicates an online state, and white triangle indicates to an offline state. And a black triangle indicates to a change position from the offline state to the online state, or a change position from the online state to the offline state. 
         [0075]    In  FIG. 9A , the offline domain and offline preparation domain update part  12  generates the initial cluster based on the continuation of online states and the change position, namely the group of the positions which were in the offline state in succession, based on the history of the position of each mobile terminal device A-C. In this example, the position group where is in an offline state of the mobile terminal device A is positions I 3 -I 7 , and I 13 -I 14 . In addition, the position group of the mobile terminal device B is the positions I 22 -I 25 , I 28 -I 29 , the position group of the mobile terminal device C is positions I 33 -I 35 . 
         [0076]    Thereby, the initial cluster C 1  is generated based on a figure containing the position group I 3 -I 7  of the mobile terminal device A and the initial cluster C 2  is generated based on a figure containing the position group I 13 -I 14  of the mobile terminal device A. In addition, as similar to this, and the initial clusters C 3 , C 4  of the mobile terminal device B, and the initial cluster C 5  of the mobile terminal device C are generated. Then the offline domain and offline preparation domain update part  12  merges the initial clusters of which the distance is close in successively. In this example, the initial clusters C 1 , C 3 , C 5  are close in distance. In addition, the initial clusters C 1 , C 3 , C 5  do not sandwich the domain where is in an online state marked by a white circle in the interval. Thereby, as illustrating in  FIG. 9B , the initial clusters C 1 , C 3 , C 5  are merged, and new cluster C 11  is generated. Similarly, the clusters C 2 , C 4  are merged and new cluster C 12  is generated. 
         [0077]    In addition, in this example, the clusters C 11 , C 12  are not merged. Firstly, the clusters C 11 , C 12  include the initial cluster of the same mobile terminal device. More specially, both of the clusters C 11 , C 12  include initial cluster of the mobile terminal device A and the mobile terminal device B. Secondly, the cluster C 11  and cluster C 12  sandwiches the positions I 8 -I 12 , I 26 -I 27  and I 36 -I 37  which are in an online state. In other words, because the clusters C 11 , C 12  contain the domain where is in an offline state based on the history information of the positions of mobile terminal devices A and B and sandwich the domain of the online state, it is judged that the merge is impossible. When the cluster which is merged does not exist, among the sets of the clustered position, the polygon generated by connecting positions in the most outside, namely convex envelope domain (C 11 , C 12 ) is generated as the offline domain DE. 
         [0078]    And ID of the place which overlaps with the generated offline domain DE is registered as the place ID corresponding to the offline domain DE. In  FIG. 9C , IDs of the places Ea and Eb which overlap with the offline domain DE corresponding to the cluster C 11  are stored as the place ID corresponding to the offline domain DE in the offline domain and offline preparation domain definition database (DB)  4   d . Similarly, the information about the cluster C 12  is stored in the offline domain and offline preparation domain definition database (DB)  4   d.    
         [0079]    In this way, the server  100  receives a history of the position information in the offline state from the mobile terminal device  200  and generates the offline domain based on the set of the position information which were in an offline state in succession. The offline domain DE is generated in the mobile terminal device  200  more effectively and more exactly, since the offline domain DE is based on a history of the position information in the really measured offline state. In addition, it is possible that more widespread offline domain DE is formed in the space by being based on a history of the position information of the plurality of mobile terminal device  200 . 
         [0080]    [Details of Offline Preparations Domain] 
         [0081]      FIG. 10  is a diagram explaining a specific example of the generation process of the offline preparation domain EE. The offline domain and offline preparation domain update part  12  generates the offline preparation domain EE based on the change position represented by a black triangle included in the offline domain DE. In the  FIG. 10 , the change positions are positions I 3 , I 7 , I 22 , I 24 , I 33 , I 35 . And the circle areas C 1 -C 6  are generated around each change positions I 3 , I 7 , I 22 , I 24 , I 33 , I 35 . In the embodiment, the generation process of offline preparation domain EE sets the radius R of the circle areas C 1 -C 6  based on the following point of view. The radius R of the circle areas C 1 -C 6  means width of the offline preparation domain EE. 
         [0082]    Firstly, it is needed that the entering of the offline preparation domain EE is detected before the mobile terminal device enters the offline domain DE across the offline preparations domain EE. When it is not detected that the mobile terminal device locates in the offline preparation domain EE though entering the offline preparation domain EE, it is impossible that the server  100  delivers contents in advance. Therefore, firstly, and it is needed that the width of the offline preparations domain EE is bigger than the distance which is calculated based on at least “measurement interval of the position information*movement speed of the user”. 
         [0083]    Secondly, it is needed that the downloading of the place definition of the offline domain DE and contents corresponding to the offline domain DE completes before coming in the offline domain DE across the offline preparation domain EE. When the downloading of contents is not completed in the offline preparation domain EE, it is not possible that the mobile terminal device  200  provides the contents in a user when the mobile terminal device turns into an offline state. Therefore, secondly, it is needed that the width of the offline preparation domain EE is bigger than the distance which is calculated based on “time required for the transmission of contents (and place definition) corresponding to the offline domain DE*movement speed of the user”. 
         [0084]    In other words, it is needed that the width of the offline preparation domain EE has enough distance in which it is detected that the mobile terminal device  200  is located in the offline preparations domain EE and the downloading of the place definition and contents completes. Therefore, the width of offline preparations domain EE is calculated based on an expression of “measurement interval*movement speed of the user+(data size of the contents÷transmission rate of contents)*movement speed of the user”. The movement speed of the user is calculated based on a history of the position information and a measurement interval, for example. The maximum of the movement speed, which is calculated by the movement distance and the measurement interval based on the history of the position information, is calculated as movement speed of the user. 
         [0085]    Thereby, it is possible to detect that the mobile terminal device entered the offline preparation domain EE, and to calculate the distance which is able to receive contents after the detection. The offline domain and offline preparation domain update part  12  generates the circle domains C 1 -C 6  in which the calculated distance is a radius R. And the offline domain and offline preparation domain update part  12  generates the domain which is logical sum of the circle domains C 1 -C 6  and does not overlap with the offline domain DE as the offline preparation domain EE. In addition, the radius R indicates to the width of the offline preparation domain EE. 
         [0086]    And the offline domain and offline preparation domain update part  12  stores the coordinate sequence which indicates to the generated offline preparation domain EE and the ID of corresponding offline domain DE in the offline domain and offline preparation domain definition database (DB)  4   d  (S 59 ). In an example of  FIG. 10 , the information of offline preparation domain EE is stored with correspondence to ID of the offline domain DE in the figure. In addition, because the offline domain DE corresponds to the places Ea and Eb, the place definition of the places Ea and Eb and contents are sent to the mobile terminal device  200 , when the mobile terminal device  200  enters in the offline preparation domain EE. 
         [0087]    It is prevented that the mobile terminal device enters the offline domain DE without being detected that the mobile terminal device  200  entered the offline preparation domain EE, by generating the offline preparation domain EE. Furthermore, it is prevented that the mobile terminal device  200  entered in the offline domain DE across the offline preparation domain EE while the downloading of contents corresponding to the offline domain DE is not completed. 
         [0088]    In addition, the movement speed of the user, which is used for the calculation of the radius of the circle domains C 1 -C 6 , may be calculated according to each mobile terminal device  200  corresponding to the user, and may be calculated commonly by all mobile terminal device  200 . In this case, for example, the server  100  stores the position information of each mobile terminal device  200  for each ID of the mobile terminal device  200  in the mobile terminal device position and state history database (DB)  3   d . Thereby, it is possible to calculate the movement speed for user unit, by calculating movement speed for each mobile terminal device ID. Furthermore, the movement speed may be calculated according to the generation of the user. In this case, for example, the user information is stored corresponding to the mobile terminal device ID. The user information has a user ID and the generation or the date of birth corresponding to the mobile terminal device ID. 
         [0089]    In addition, in the embodiment, the offline preparation domain EE is formed around the change position. In other words, the offline domain and offline preparation domain update part  12  in the embodiment does not set the all domain in circumstance of the offline domain DE as the offline preparation domain EE, but sets only the domain around the change position in the offline domain DE as the offline preparation domain EE. Thereby, the offline preparation domain EE is not generated around the border where the user is not able to entry and exit, but is generated around the border where the user is able to entry and exit, among the borders of the offline domain DE. In other words, when the offline domain DE is an indoor room, the offline preparation domain EE is not generated around the wall of the room, but is generated around the doorway of the room. In this way, the useless transmission and reception of contents does not occur, because the offline preparation domain EE is formed according to structure of the space in the appropriate range. 
         [0090]    As described above, in the information provision service program according to the embodiment, the information provision service process has a process that the server  100  receives the position information of the mobile terminal device  200  and a process that the server  100  send the contents of the domain corresponding to the position information to the mobile terminal device  200  and a process that the server  100  sends contents of the offline domain DE corresponding to the offline preparation domain EE when the position information corresponds to the offline preparation domain EE which is located in around the offline domain DE that the communication with the mobile terminal device is in an offline state. 
         [0091]    In this way, the server  100  generates the offline preparation domain EE which is located around the offline domain DE and delivers contents of the offline domain DE corresponding to the offline preparation domain EE to the mobile terminal device  200  in advance, when the mobile terminal device  200  locates in the offline preparation domain EE. Thereby, it is possible to provide the contents corresponding to the position to the user even when it becomes in an offline state. 
         [0092]    In addition, when the mobile terminal device saves all contents, much storage area are needed for mobile terminal device  200 . In addition, it is difficult to make the mobile terminal device  200  to be able in communication at neither position on the space. In contrast, according to the information provision service program in the embodiment, the server  100  delivers only necessary contents to mobile terminal device  200  in a necessary timing and further delivers the contents of the domain that is in an offline state to the mobile terminal device  200  in advance, when it is predicted that the mobile terminal device changes in the offline state soon. Thereby, it is possible that the server  100  holds the capacity of contents saved in the mobile terminal device  200  and reduces the communication fee. 
         [0093]    In addition, according to the information provision service program in the embodiment, it is predicted that a possibility, in which the mobile terminal device  200  locates in the offline domain DE corresponding to the offline preparation domain EE, is high, when a communication state turns into an offline state after the mobile terminal device  200  entered in the offline preparation domain EE. Therefore, it is possible that the server  100  predicts, about the mobile terminal device  200  which is in an offline state, whether it is in a state running out of battery and whether it is more likely to be located in the offline domain DE. Thereby, even when the mobile terminal device  200  is in an offline state, it is possible that the server  100  predicts a position and a state of the mobile terminal device  200  and administrates the mobile terminal device  200 . 
         [0094]    In addition, in the embodiment, the information provision service processing further includes a process that the server  100  receives a history of the position information in the offline state from the mobile terminal device and a process that the server  100  generates the offline domain DE based on a set of the position information which were offline states in succession. In this way, it is possible that the server  100  in the embodiment generates the offline domain DE based on the position information measured by the mobile terminal device  200 . It is possible that the server  100  generates exact offline domain DE effectively by generating the offline domain DE based on the measured position information. 
         [0095]    In addition, in the embodiment, when the server  100  is able to communicate with the plurality of mobile terminal devices  200 , the offline domain DE is generated by merging the clusters which is located near and based on the set of the position information. In this way, by being based on the position information of the plurality of mobile terminal devices, it is possible that the server  100  generates the offline domain DE for wider ranges in the space in comparison with the offline domain DE based on the position information of one mobile terminal device  200 . 
         [0096]    In addition, in the embodiment, the information provision service processing further includes a process that the server  100  generates the offline preparation domain EE around the change position with the offline state and the online state in the offline domain DE. Thereby, it is possible that the server  100  in the embodiment generates the offline preparations domain EE in not all circumstance of the offline domain EE but according to structure of the space. In other words, the server  100  does not generate the offline preparation domain EE around the domain where the mobile terminal device is not able to move, that is, around the wall that the user is not able to entry and exit, but generates the offline preparation domain EE around the domain such as a doorway where the user is able to entry and exit, among the circumstance of the offline domain DE. Thereby, it is possible to prevent the occurrence of the useless reception processing of contents and to reduce the communication cost. 
         [0097]    In addition, in the embodiment, the offline preparations domain EE is generated as the domain which is excluded the offline domain DE from a logical sum of the circle domains C 1 -C 6  of which its center is the change position of the offline domain DE and the radius R is an addition value with the first distance based on an acquisition interval of the position information and the movement speed of the mobile terminal device and the second distance based on transmission time of the contents of the offline domain DE and the movement speed. 
         [0098]    Thereby, it is possible that the server  100  detects that the mobile terminal device  200  was in the offline preparations domain EE and generates the offline preparation domain EE which has the distance that the mobile terminal device  200  is able to receive contents after the detection as a width. Therefore, it is prevented that the mobile terminal device  200  enters the offline domain DE without detecting the offline preparation domain EE and that the mobile terminal device enters the offline domain DE while the reception of contents corresponding to the offline domain DE does not complete. 
         [0099]    In this way, in the information provision service system in the embodiment, it is possible that the mobile terminal device  200  provides the contents corresponding to the position in a user even when the mobile terminal device  200  becomes in an offline state, by setting an offline preparation domain. Thereby, it is possible to suppress the size of the storage area in the mobile terminal device  200  and to reduce the communication fee, because the server  100  delivers only needed contents to the mobile terminal device  200  in on-time or beforehand. 
         [0100]    All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations 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 one or more 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.