Action analyzing/recording system

Abstract: The action of a user who is carrying a movable terminal (1) is analyzed in a host terminal (3). The portable terminal (1) detects the time and position where the portable (1) terminal is present at a predetermined time interval and supplies the pieces of information to the host terminal (3). The host terminal (3) analyzes the time-serially detected information to recognize the moving locus and the moving speed of the user who is carrying the movable terminal (3). The host terminal (3) has position information of railway lines and roads as line patterns. By matching processing between the moving locus and the line patterns, the transport facility used by the user for movement is estimated. This invention is to provide a system capable of analyzing/recording a daily action without performing any cumbersome operation.

Description: The present invention relates to a system for analyzing the action of, e.g., a user who is carrying a portable terminal on the basis of information acquired from the portable terminal. Information representing the date/time and position of a visit, and in some cases, information of a transport facility used need often be recorded as a daily action record. In such a case, the user makes a note on the self action in a pocketbook or the like, or inputs the daily action to a personal computer or the like after he/she goes back to the office. In recent years, a portable terminal is becoming popular, and instead of writing the action in the pocketbook, the action record may be sometimes input to the portable terminal. The operation of writing the daily action record in the pocketbook or inputting it to the personal computer is cumbersome. In addition, the writing or data input operation is often forgotten, so no accurate action record can be made. US-A-4,750,197 describes a security system for cargo transportation containers. The described security system is provided inside of containers and comprises a plurality of devices and sensors, e.g. a door sensor, a light-level sensor, a real-time clock, a distance unit. During the duration of a transportation, data relating to events occurring are collected and stored in a memory unit. Upon completion of a transportation, the memory is removed and the stored data are analyzed in order to calculate a roadmap of the travel route. In addition, a radio link may be provided in order to transmit an alarm message including position information to a central monitoring facility. EP-A2-0 720 137 relates to a traffic information system. The traffic information system comprises a plurality of on-vehicle apparatus and a center apparatus. Each on-vehicle apparatus collects traffic information as traffic jam information, weather information and position information. Together with time data, the collected information is transmitted from an on-vehicle apparatus to the center apparatus. The center apparatus collects the information from a plurality of vehicles and creates information relating to a region based on the received data. It is the object of the present invention to provide an improved action analyzing/recording system for automatically analyzing outdoor information. This is achieved by the features of claim 1. According to the present invention, the action of the user who is holding the terminal outdoors can be analyzed, and the means of transportation can be estimated. Therefore, an accurate action can be automatically input without requiring the user of any specific input operation. In addition, since the analyzed data is recorded, the data can be referred to later as a personal action record or record in a goods delivery operation and applied to various application purposes. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which: FIG. 1 is a view showing the system configuration of an embodiment; FIG. 2 is a perspective view showing the outer appearance of a portable terminal; FIG. 3 is a block diagram of the portable terminal; FIG. 4 is a view showing the structure of a packet sent from the portable terminal; FIG. 5 is a flow chart of an operation of preparing a packet from data acquired by the portable terminal and sending the packet; FIG. 6 is a block diagram showing the arrangement of a host terminal; FIG. 7 is a flow chart for explaining processing in the host terminal; FIG. 8 is a view showing an example of the moving route of a user who is carrying the portable terminal; FIG. 9 is a view showing an example of map data stored in the host terminal; FIG. 10 is a flow chart (1) of processing of estimating the action of the user who is carrying the portable terminal; FIG. 11 is a flow chart (2) of processing of estimating the action of the user who is carrying the portable terminal; FIG. 12 is a flow chart (3) of processing of estimating the action of the user who is carrying the portable terminal; FIG. 13 is a view showing an example of the result obtained by estimating the action of the user who is carrying the portable terminal; FIG. 14 is a view showing an example of an action record table of the user who is carrying the portable terminal; FIG. 15 is a flow chart of processing of preparing the action record table of the user who is carrying the portable terminal; FIG. 16 is a table which stores names on a map and corresponding position information; FIG. 17 is a flow chart of an operation of preparing a packet from data acquired by the portable terminal and sending the packet; and FIG. 18 is a view illustrating the action record of the user who is carrying the portable terminal. The embodiment of the present invention will be described below with reference to the accompanying drawing. FIG. 1 is a view showing the system configuration of this embodiment. In this embodiment, a system for analyzing the action of a user having a portable terminal 1 in a host terminal (server machine) 3 accommodated in a public network 2 will be described. Assume that the user is always carrying the portable terminal 1. The portable terminal 1 detects the position (e.g., aa°bb' north and cc°dd' east) of the portable terminal 1 at a certain time point and this time autonomously or in accordance with an instruction from the portable terminal 1 and supplies the position and time information to the host terminal 3. At this time, the portable terminal 1 is connected to the public network 2 through the nearest base station 4. Upon being notified of the position and time, the host terminal 3 recognizes the position of the user who is carrying the portable terminal 1 at the certain time. The portable terminal 1 supplies the information (position information and time information) to the host terminal 3 at every predetermined timing. The host terminal 3 analyzes the time-serially detected information, thereby recognizing the moving locus and the moving speed of the user of the portable terminal 1. Each portable terminal 1 having a particular terminal identification code. Data detected by a portable terminal 1 are stored in correspondence with the terminal identification code and are transmitted together with said terminal identification code to the host terminal 3. FIG. 2 is a perspective view showing the outer appearance of the portable terminal 1. The portable terminal 1 has an LCD display unit 11, a microphone 12, and a general-purpose IF connector 13. A GPS (Global Positioning System) sensor 14 is connected to the general-purpose IF connector 13. The portable terminal 1 has a radio communication antenna 15. FIG. 3 is a block diagram of the portable terminal 1. A CPU 21 executes a program stored in a storage unit 22 (ROM and RAM). The CPU 21 and the storage unit 22 are connected via a bus 23. The storage unit 22 is constituted by a semiconductor memory, a magnetic recording medium, or an optical recording medium and stores the program, data, and the like. The storage unit 22 may be permanently incorporated or detachably mounted in the portable terminal 1. A recording medium driver 24 is connected to the bus 23 to read out data stored in a portable recording medium (including a semiconductor memory, a magnetic disk, an optical disk, and a magnetooptical disk) 25 or write data in the portable recording medium 25. An IC card is assumed as an example of the portable recording medium 25. The CPU 21 can also execute a program stored in the portable recording medium 25. The program and data to be recorded in the storage unit 22 may be received from another device connected through a communication line or the like, and recorded. Alternatively, the CPU 21 may use, through the communication line or the like, a program and data stored in a storage unit arranged on the another device side. A unit corresponding to the LCD display unit 11 comprises a liquid crystal display (LCD) 31, a memory 32 for storing information to be displayed on the liquid crystal display 31, an LCD driver 33 for outputting information stored in the memory 32 to the liquid crystal display 31 under the control of an LCD control unit 34, and the LCD control unit 34 for controlling the memory 32 and the LCD driver 33. An A/D converter 35 converts sound information acquired through the microphone 12 into digital data. A sound information control unit 36 outputs the sound information A/D-converted by the A/D converter 35 to the bus 23. The sound information control unit 36 has a function of compressing sound information. The GPS sensor 14 detects the current position by communicating with, e.g., an artificial satellite. A general-purpose IF unit 37 outputs detected data from the GPS sensor 14 to the bus 23 in accordance with an instruction from the CPU 21. A timepiece 38 counts time. A timer 39 interrupts the CPU 21 at a predetermined time interval. In sending data, a communication control unit 40 prepares a transmission packet and transfers the packet to a radio transceiver 41 in accordance with an instruction from the CPU 21. In receiving data, the communication control unit 40 outputs data stored in a packet received through the radio transceiver 41 onto the bus 23. The radio transceiver 41 is connected to the radio communication antenna 15 shown in FIG. 2 to transmit/receive data to/from the base station 4. FIG. 4 is a view showing the structure of a packet sent from the portable terminal 1. Each packet is constituted by a header portion and a data portion. The header portion stores a transmission source address, a transmission destination address, and the like. The address system containing an address to be stored as a transmission source address or a transmission destination address is determined depending on the network structure to which this embodiment is applied. In, e.g., TCP/IP communication, an IP address is stored. The data portion stores application identification information, a command, position information, time information, and sound information. The application identification information is used to identify an application program to be started on a destination terminal (host terminal 3 in this embodiment). In this embodiment, information for identifying an action analysis program is set. Note that, in TCP/IP communication, the application identification information is designated as a port number. The command is instruction information for the terminal (host terminal 3) designated by the transmission destination address and is interpreted on an application designated by application identification information. In this embodiment, an action analysis command or an analysis result request command is used. The position information represents the position of the portable terminal 1 and corresponds to the position of the user who is carrying the portable terminal. This position information is sequentially prepared on the basis of the output from the GPS sensor 14. The time information represents time when the position information, i.e., the output from the GPS sensor 14 is detected, and corresponds to the output from the timepiece 38. The sound information is sound data acquired through the microphone 12 at the timing when the position information is detected. In this embodiment, sound information is acquired as ambient information of the portable terminal 1. However, a temperature sensor or a camera may be arranged to acquire temperature or-image information as ambient information. FIG. 5 is a flow chart of an operation of preparing a packet from data acquired by the portable terminal and sending the packet. The program for realizing the functions of this flow chart is stored in the storage unit 22 as a form of program code which can be read by the CPU 21. In this processing, the portable terminal 1 acquires position information, time information, and sound information N times at a predetermined time interval, transfers all the acquired information to the host terminal 3, and requests action analysis processing. Assume that the portable terminal 1 is always executing the program for acquiring position information, time information, and sound information while the power is ON. In steps S1 and S2, predetermined time interval data is set for the timer 39, and the timer 39 is started. When the timer 39 has counted a predetermined time (e.g., one minute), an interrupt signal is input to the CPU 21 via the bus 23, so that processing from step S3 is executed. In step S3, the output (position information) from the GPS sensor 14 is acquired. In step S4, the time (time information) counted by the timepiece 38 is acquired. In step S5, the timer 39 is reset. In step S6, ambient sound data (e.g., noise) collected through the microphone 12 is acquired. This sound collection processing is performed for, e.g., 5 seconds. The timer 39 is reset and starts the time counting operation again. In step S7, the information acquired in steps S3, S4, and S6 are temporarily held in the RAM in the storage unit 22. In step S8, a counter (not shown) is incremented by one. In step S9, the count value of the counter is checked. If the count value has reached "N (N: positive integer)", the flow advances to step S10. If the count value has not reached N, the flow returns to step S2 (to wait for the next interrupt signal from the timer 39). In step S10, the count value of the counter is cleared. In step S11, the packet shown in FIG. 4 is prepared. The addresses of the portable terminal 1 and the host terminal 3 are set as a transmission source address and a transmission destination address, respectively. As application identification information and a command, an "action analysis program" and an "action analysis command" are set. As position information, time information, and sound information, the pieces of information acquired in steps S3, S4, and S6 are read out from the storage unit 22 and stored in the packet. The position information, time information, and sound information to be stored are data acquired N times. In step S12, the packet prepared in step S11 is output by radio. The packet is transferred to the host terminal 3 in accordance with the transmission destination address set in the header portion. In the above embodiment, all the acquired data corresponding to N cycles are transferred from the portable terminal 1 to the host terminal 3 to reduce the transmission cost. However, the data may be transferred when the acquired data reaches a predetermined capacity. Alternatively, position information, time information, or sound information may be transferred to the host terminal 3 every time the information is acquired. In the above embodiment, the flow chart shown in FIG. 5 is autonomously executed by the portable terminal 1. Alternatively, the processing of transmitting the packet to the host side may be executed in accordance with a starting instruction which is regularly transmitted from the host terminal 3. FIG. 6 is a block diagram of the host terminal 3. A storage unit 51 is constituted by a semiconductor memory, a magnetic recording medium, or an optical recording medium and stores a program, data, and the like. The storage unit 51 may be permanently incorporated or detachably mounted in the host terminal 3. A recording medium driver 52 reads out data stored in a portable recording medium (including a semiconductor memory, a magnetic disk, an optical disk, and a magnetooptical disk) 53 or writes data in the portable recording medium 53. A communication control unit 54 controls data transmission/reception to/from the network. Packet transmission/reception to/from each portable terminal is also controlled by the communication control unit 54. A CPU 55 loads the program from the storage unit 51 or the portable recording medium 53 and executes the program. The program and data recorded in the storage unit 51 may be written from the portable recording medium 53 or received from another device on the network through the communication line or the like and recorded. The CPU 55 may use a program and data stored in another storage unit arranged on the network through the communication line or the like. FIG. 7 is a flow chart for explaining processing in the host terminal 3. In this example, a packet sent from the portable terminal 1 (packet prepared with processing of the flow chart shown in FIG. 5) is received to analyze the action of the user who is carrying the portable terminal 1. In step S21, the transmission source address stored in the header portion of the received packet is checked to recognize the transmission terminal. In this case, the transmission terminal is assumed to be the portable terminal 1. The application identification information and the command are checked. In this case, assume that an "action analysis program" and an "action analysis command" are set. In step S22, position information and time information, which are stored in the data portion of the received packet, are extracted to recognize the position (x i ,y i ) of the portable terminal 1 at time T i . In step S23, the moving direction and moving speed of the portable terminal 1 from time T i-1 to time T i are calculated. In step S24, the calculation result obtained in step S23 is used to estimate the moving means (walking, train, motor vehicle, stop, ···) of the user who is carrying the portable terminal 1. More specifically, the position of the user who is carrying the portable terminal 1 at a certain time point, and if he/she is moving, the moving means are estimated. In this processing of estimating the moving means, sound information stored in the data portion of the received packet is used, as needed. In step S25, the estimation result obtained in step S24 is stored in the personal action file of the user who is carrying the portable terminal 1. The operation of the flow chart shown in FIG. 7 will be described below in more detail. A case wherein the user who was carrying the portable terminal 1 moved from station A to station B by A railway, as shown in FIG. 8, will be described. Upon receiving an action recording start command from a key input means (not shown) of the portable terminal 1, or the host terminal 3, the portable terminal 1 executes the processing of the flow chart shown in FIG. 5 and detects the output from the GPS sensor 14 at time T 0 , T 1 , T 2 , ···, T 10 . The detected pieces of position information correspond to position data P 0 , P 1 , P 2 , ···, P 10 . In detecting the position information, the portable terminal 1 fetches sound information acquired through the microphone 12. For example, it is estimated that, in a station, various types of noise are detected, and in a train, sounds unique to the train are detected. The portable terminal 1 transfers the detected position information, time information, and sound information to the host terminal 3. Since the data detected by the GPS sensor 14 have errors, points designated by the position information (position data P 0 , P 1 , P 2 , ···, P 10 ) do not always match the line. Upon receiving the information transferred from the portable terminal 1, the host terminal 3 executes the processing of the flow chart shown in FIG. 7 to analyze the moving route of the user who is carrying the portable terminal 1. For the purpose of analyzing the route, the host terminal 3 has map data as shown in FIG. 9. FIG. 9 shows part of the position information of the line of A railway (position information of the line between station A and station B) as an example. As shown in FIG. 9, pieces of information representing the positions of stations (in this case, station A and station B) are stored. The position information of the line is stored as approximate curves of the line. In this example, the line between station A and station B is divided into four sections, and an approximate curve equation is defined for each section. The host terminal 3 also stores map data associated with all railways. Not only data associated with railways but also data associated with roads are stored in the host terminal 3. These map data are stored in, e.g., the storage unit 51 and loaded in the memory 56 as a reference, as needed. FIG. 10 is a flow chart (1) for explaining processing of estimating the action of the user who is carrying the portable terminal 1. This processing corresponds to steps S23 and S24 in FIG. 7. In step S31, the average moving speed of the user who is carrying the portable terminal 1 is calculated. More specifically, the average moving speed of the portable terminal 1 from time T i-1 to time T i is calculated according to the following formula. At this time, the moving direction is simultaneously calculated: ( x i - x i -1 ) 2 + ( y i - y i -1 ) 2 T i - T i -1 In step S32, it is checked whether the speed calculated in step S31 is 1 km/h or less. If YES in step S32, it is estimated in step S33 that the user is "stopping". If NO in step S32, the flow advances to step S34. In step S34, it is checked whether the speed calculated in step S31 is 6 km/h or less. If YES in step S34, it is estimated in step S35 that the user is "walking". If NO in step S34, the flow advances to step S36. In step S36, it is checked whether the moving locus of the user who is carrying the portable terminal 1 is similar to the railway line pattern stored as map data. In this case, distances from the points designated by position data P 0 , P 1 , P 2 , ···, P 10 to the curves represented by the curve equation representing the railway line are calculated by, e.g., the method of least squares, and determination is made on the basis of whether each calculated value is equal to or smaller than a predetermined value. Alternatively, determination is made on the basis of the similarity between a locus drawn by at least two position data and a curve pattern representing the railway line. Determination in this step is performed using a known technique, and a detailed description thereof will be omitted. If the moving locus of the user who is carrying the portable terminal 1 is similar to the line pattern, it is estimated in step S37 that the user is "moving by train". If the moving locus is not similar to the line pattern, it is estimated in step S38 that the user is "moving by motor vehicle (automobile or bus)". The estimation result obtained in this way is held in a predetermined area on the memory 56 as data of action (movement situation) of the user who is carrying the portable terminal 1 at a certain time point. The host terminal 3 sequentially stores the estimation result data at each time (time when the position information and the like are detected by the portable terminal 1). FIG. 11 is a flow chart (2) for explaining processing of estimating the action of the user who is carrying the portable terminal 1. This processing corresponds to step S24 in FIG. 7 and is executed parallel to the processing shown in FIG. 10. In step S41, sound information stored in the packet transferred from the portable terminal 1 is extracted. In step S42, the sound information is analyzed to recognize the characteristic features of the sound information. In step S43, it is checked whether the sound information analyzed in step S42 includes unique sounds generated in a running train. If YES in step S43, it is estimated in step S44 that the user is "moving by train". If NO in step S43, the flow advances to step S45. In step S45, it is checked whether the sound information analyzed in step S42 includes unique sounds generated in a running motor vehicle or bus. If YES in step S45, it is estimated in step S46 that the user is "moving by motor vehicle". If NO in step S45, the sound information is discarded in this estimation processing. The host terminal 3 holds in advance a unique sound pattern generated in a running train and a unique sound pattern generated in a running automobile or bus. In step S43 or S45, the similarity between the sound information extracted in step S41 and the held pattern is determined. The estimation result obtained by processing of the flow chart shown in FIG. 11 is used as information for increasing the likelihood ratio of the estimation result obtained by processing of the flow chart shown in FIG. 10. FIG. 12 is a flow chart (3) for explaining processing of estimating the action of the user who is carrying the portable terminal 1. In this processing, a plurality of estimation results are obtained by processing of the flow charts shown in FIGS. 10 and 11, and the action of the user who is carrying the portable terminal 1 is estimated at a higher likelihood ratio on the basis of these pieces of information. In step S51, M estimation results obtained by processing of the flow charts shown in FIGS. 10 and 11 are extracted. When M = 5, and the action at times T i is to be estimated, estimation results at time T i-2 , T i-1 , T i , T i+1 , and T i+2 are extracted. In step S52, it is checked whether all the M estimation results extracted in step S51 are in the same state. If YES In step S52, the estimation results are regarded as an estimation result having a higher likelihood ratio. The flow advances to step S61 to hold the result together with the position information and the time information. Assume that all the estimation results obtained by processing of the flow chart shown in FIG. 10 at times T i-2 , T i-1 , T i , T i+1 , and T i+2 are "stop", the host terminal 3 estimates that the user who is carrying the portable terminal 1 is stopping at the position represented by the position information at that time, and stores the estimation result in the memory 56 or the storage unit 51. If it is determined in step S52 that the estimation results are different, it is checked in step S54 whether the M estimation results include only "stop" and "walking". If YES in step S54, it is estimated in step S55 that the user who is carrying the portable terminal 1 is "walking". The flow advances to step S61 to hold the estimation result together with the position information and the time information. If, in step S54, the estimation results include estimation results other than "stop" and "walking", it is checked in step S56 whether a predetermined number or more of estimation results "moving by train" are included. If YES in step S56, it is estimated in step S57 that the user who is carrying the portable terminal 1 is "moving by train". The flow advances to step S61 to hold the estimation result together with the position information and the time information. If NO in step S56, it is checked in step S58 whether "moving by motor vehicle (automobile or bus)" is included. If YES in step S58, it is estimated in step S59 that the user who is carrying the portable terminal 1 is "moving by motor vehicle". The flow advances to step S61 to hold the estimation result together with the position information and the time information. If NO in step S58, error processing is executed in step S60. With the above procedure, estimation results as shown in FIG. 13 are obtained. The algorithm for estimating the action of the user who is carrying the portable terminal 1 is not limited to the above algorithm, and another method may be used. A procedure of preparing an action record table as shown in FIG. 14 will be described. FIG. 15 is a flow chart of processing of preparing the action record table of the user who is carrying the portable terminal 1. In step S71, "stop" is extracted from the estimation results shown in FIG. 13, and the start time and end time are checked. The position information is also extracted. In step S72, it is checked whether the stop position extracted in step S71 is a position registered in advance. For this determination, the host terminal 3 refers to a table shown in FIG. 16. The table shown in FIG. 16 stores various names on the map and corresponding position information. Railway stations and other public facilities are registered in advance. In addition, the user can register a desired location. In this embodiment, "head office", "business office", "Mr. K's house", ··· are registered. If YES in step S72, the name of the registration position is extracted in step S73. If NO in step S72, the region name of the position (e.g., xx Prefecture xx City xx) is extracted in step S74. Note that the host terminal 3 has a table storing region names and corresponding position information. In step S75, the registration position name extracted in step S73 or the region name extracted in step S74 is written for the time zone of "stop" recognized in step S71. Assume that the user who was carrying the portable terminal 1 was in the head office before 14:10. In this case, the position information detected by the portable terminal 1 before 14:10 must be equal or approximate to position data (x 501 ,y 501 ) registered in the table shown in FIG. 16. The position information detected by the portable terminal 1 is transferred to the host terminal 3 and stored in the table shown in FIG. 13. In processing in steps S72 through S74, the host terminal 3 recognizes that the user who was carrying the portable terminal was in the head office before 14:10 because the position information detected by the portable terminal 1 is equal or approximate to the position data registered as the position of the head office. As a result, "head office" is written for the time zone before 14:10, as shown in FIG. 14. In step S76, the moving means (walking, train, automobile, or bus) represented by the above-described estimation result and the start time and end time of movement using the moving means are checked. As shown in FIG. 14, the moving means is written for each time zone. When a specific means of transportation is used, the means of transportation is written in step S77. Assume that it is estimated from the similarity to the railway line pattern stored as map data shown in FIG. 9 that the user who was carrying the portable terminal moved from station A to station B by A railway, "A railway" is written as a moving means, and region names "station A" and "station B" are written as a starting point and a terminal point, respectively. The action record table prepared in the above way is stored in a predetermined area in the storage unit 51 of the host terminal 3. When the user who is carrying the portable terminal 1 is to display the action record table on the portable terminal 1, a packet for requesting display of the action record table is sent from the portable terminal 1. The request packet has the structure shown in FIG. 4. The addresses of the portable terminal 1 and the host terminal 3 are set as a transmission source address and a transmission destination address, respectively. An "action analysis program" is set as application identification information, and an "analysis result request command" is set as a command. A date to be referred to is added as additional information of the command. The command and the additional information of the command are input by the user using, e.g., a pen input method from the LCD display unit 11 of the portable terminal 1. Upon receiving the command having the "analysis result request command" from the portable terminal 1, the host terminal 3 interprets the command and extracts the action record table of the user who is carrying the portable terminal 1 at the designated date. The extracted action record table is stored in a packet and transferred to the portable terminal 1. The portable terminal 1 extracts the action record table from the packet transferred from the host terminal 3 and displays it on the LCD display unit 11. The processing programs executed by the host terminal 3, i.e., programs for realizing the functions of the flow charts shown in FIGS. 7, 10, 11, 12, and 15, and the program for interpreting a command transferred from the portable terminal 1 and processing the command are stored in the storage unit 51 or the portable recording medium 53 in the form of program codes which can be read by the CPU 55. Alternatively, programs stored in another device connected through the network are used. As described above, in the action analyzing system of this embodiment, position information and time information are detected by the portable terminal 1 and transferred to the host terminal 3, and the action record of the user who is carrying the portable terminal 1 is automatically prepared on the host side. For this purpose, the portable terminal 1 need have only a function of detecting position information and time information and transferring them to the host terminal 3, a function of requesting the host terminal 3 of an action record, and a function of displaying data downloaded from the host terminal 3. That is, the portable terminal 1 need neither store an enormous quantity of map data nor execute highly precise pattern recognition processing or various processing which require high-speed processing. For this reason, the portable terminal 1 can obtain an advanced action analysis result without requiring any large-capacity memory or high-performance processor. In the above embodiment, position information and time information are detected by the portable terminal 1 at a predetermined timing. However, the present invention is not limited to this arrangement. Generally, the user of the movable terminal is not always moving and can be considered to stop at a certain position for most of time. If the user of the portable terminal stops at a certain position for a predetermined time or more, position information need not be detected every predetermined time, and not all the position information need be supplied from the portable terminal 1 to the host terminal 3. FIG. 17 is a flow chart showing an operation of preparing a packet from data acquired by the portable terminal 1 and sending the packet. This processing procedure is obtained by adding steps S81 through S83 to the flow chart shown in FIG. 5. In step S81, it is checked whether the position information obtained in step S3 coincides with position information of one and two cycles before. If NO in step S81, the flow advances to step S7 to continue the processing in FIG. 5. If YES in step S81, the position information, time information, and sound information at the preceding timing are discarded in step S82. In step S83, the counter which is to be incremented by one in step S8 is decremented by one. Processing of the flow chart shown in FIG. 17 will be described in more detail. A case wherein the user who was carrying the movable terminal 1 was continuously present at position P 0 and time T 1 through time T 4 (times detected in step S4) will be described. "Position P 0 " is detected by position detection at time T 1 and time T 2 , and these data are held in step S7. At time T 3 , "position P 0 " is detected again. In step S81, the position data at time T 3 coincides with position data of one (time T 2 ) and two (time T 1 ) cycles before. The flow advances to step S82 to discard the position information, time information, and sound information acquired at the preceding timing (time T 2 ). Thereafter, the position data at time T 3 is held in step S7. As a result, only the pieces of information acquired at time T 1 and time T 3 are held. "Position P 0 " is detected at time T 4 again. Since, in step S81, position data at time T 4 coincides with position data of one (time T 3 ) and two (time T 1 ) cycles before, the flow advances to step S82 to discard position information, time information, and sound information acquired at the preceding timing (time T 3 ). At this time point, the information at time T 2 have been discarded, and time T 1 corresponds-to the timing of "two cycles before". Thereafter, the position data at time T 4 is held in step S7. As a result, only the pieces of information acquired at time T 1 and time T 4 are held. As described above, when the user who was carrying the movable terminal 1 continuously stayed at a certain position for a predetermined time or more, only position information, time information, and sound information at the start and end of "stop" are held and transferred to the host terminal 3. With this arrangement, transfer of redundant information (in the above example, information acquired at time T 2 and time T 3 ) can be reduced. In the above embodiment, the GPS sensor is used as a means for detecting the position information of the portable terminal 1. However, the present invention is not limited to this. For a mobile communication network whose cell range is narrow, a cell which is currently managing the portable terminal may be used as position information. In the above embodiment, the action record table has the form of a timing chart as shown in FIG. 14. However, the present invention is not limited to this. For example, an illustration as shown in FIG. 18 may be used. In the above embodiment, position information or time information is detected at a predetermined time interval. However, such information need not always be detected at a predetermined time interval. Information may be appropriately sampled a sufficient number of times for action analysis. In the above embodiment, the action of the user who is carrying the movable terminal is analyzed. However, the arrangement is not limited to the application purpose of detecting the human action. The arrangement can also be applied to survey the action pattern of an animal or check the delivery state of goods.

Claims: An action analyzing/recording system comprising: a portable terminal (1) having a detector (14) for detecting a position of the portable terminal (1) to generate position data of the portable terminal (1), a host device (3) having a data processor (55) for processing the position data transmitted from the portable terminal (1), and a network (2) connecting the portable terminal (1) and the host device (3), characterized in that said data processor (55) comprises means for analyzing the position data to obtain an action record which indicates when and where a user of the portable terminal was, whether the user used transportation means to move from a location to another location, and which transportation means the user used if the user used the transportation means. An action analyzing/recording system according to claim 1, wherein said system comprises a plurality of portable terminals (1) which transmit the position data with an own identification code, said analyzing means obtains the action records for the respective portable terminals (1), and said data processor (55) comprises means (54) for transmitting the action records to the corresponding portable terminals (1). An action analyzing/recording system according to claim 1 or 2, wherein said portable terminal detects positions of the portable terminal (1) plural times to generate position data with different timings, comprises a memory (22) for storing plural position data, and transmits the plural position data when a remaining capacity of the memory (22) becomes a predetermined level. An action analyzing/recording system according to any of claims 1 to 3, wherein said data processor (55) comprises means (51) for storing map information representing a name of the transportation means including a railway or bus line, and said analyzing means detects a moving speed of the user and obtains the action record by referring to the map information based on the moving speed. An action analyzing/recording system according to claim 4, wherein said portable terminal (1) comprises means (41, 15) for transmitting to the host device (3) the position data of the portable terminal (1) and time information of timings when the position data are obtained. An action analyzing/recording system according to any of claims 1 to 5, wherein said portable terminal (1) comprises means (12) for detecting ambient sound to transmit sound data to the host device (2), and said analyzing means analyzes the sound data to determine where the user was and whether the user walked on foot or used the transportation means to move. An action analyzing/recording system according to any of claims 1 to 6, wherein said data processor (55) comprises means (54) for transmitting the action record to the portable terminal (1).

Inventors: YAMAKITA TOORU, YAMAKITA, TOORU, Yamakita, Tooru, c/o Casio Computer Co., Ltd.
Applicants: CASIO COMPUTER CO LTD, CASIO COMPUTER CO., LTD.
Application year: 1997
Main classification: G07C1
IPC codes: H04Q7, H04B7, G08G1, G01C21, G07C5, G06Q10, G07C1, G06F17