Portable electronic device, electronic watch, determination method and location information storage method
By integrating the motion detection sensor and GPS module on the electronic table, combined with the comprehensive judgment of the acceleration sensor and the GPS module, the problem that existing electronic tables cannot effectively record the motion stop when recording running records, achieving more complete and accurate data recording.
Patent Information
- Application Number
- CN202411869438.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-25
- Filing Date
- 2020-03-20
- Publication Date
- 2025-04-04
AI Technical Summary
When recording running records in the existing electronic table, due to memory capacity limitation, it is impossible to effectively record the motion stop caused by signal waiting, etc., resulting in incomplete recording.
A portable electronic device is designed, equipped with a motion detection sensor, a positioning module, a processor and a memory. Through the comprehensive determination of the acceleration sensor and the GPS module, it is determined whether the device is in motion and stores position information when it is determined to be in motion.
It realizes that when recording running records, the situation of stopping and starting movements is accurately stored, avoiding the problem of incomplete recording caused by memory capacity limitation, and improving the integrity and accuracy of data.
Smart Images

Figure CN119758381A_ABST
Abstract
Description
[0001] This application is a divisional application with a filing date of March 20, 2020, an invention name of “Portable electronic device, electronic watch, determination method and location information storage method” and an application number of 202010203744.9. Technical Field
[0002] The present invention relates to a portable electronic device, an electronic watch, a determination method and a location information storage method. Background Art
[0003] Generally speaking, electronic watches have a small area for mounting components, so they cannot be equipped with large-capacity memory. Therefore, conventional electronic watches use an acceleration sensor to determine the state when recording running records and other information, and stop logging when the exercise stops, thereby reducing the memory capacity used. Thus, conventional electronic watches do not reflect the inevitable stoppage caused by signal waiting in the running record.
[0004] Furthermore, Japanese Patent Application Laid-Open No. 2004-233058 discloses a technique for correcting position information received by a GPS (global positioning system) receiver using information obtained from a magnetic orientation sensor and an acceleration sensor. Summary of the invention
[0005] The portable electronic device in the embodiment is a portable electronic device having a motion detection sensor, a positioning module, a processor and a memory. The processor determines whether the device is moving based on a first determination result of whether the device is moving according to a value obtained from the motion detection sensor and a second determination result of whether the device is moving according to the position information detected by the positioning module. When it is determined that the device is moving, the position information detected by the positioning module is stored in the memory. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 It is a block diagram of a portable electronic device according to the first embodiment of the present invention.
[0007] Figure 2 This is a flowchart for explaining a method for comprehensively determining whether the device is moving.
[0008] Figure 3 This is a flowchart for explaining the operation of log storage control.
[0009] Figure 4 This is a table showing the log save determination results when the acceleration sensor and GPS are used.
[0010] Figure 5 This is a table showing the log saving determination results when GPS is stopped.
[0011] Figure 6 This is a timing chart for explaining the operation of the mobile electronic device in the first embodiment of the present invention.
[0012] Figure 7 This is an example of a map screen showing the log results when log recording is interrupted.
[0013] Figure 8 This is an example of a map screen showing the logging results when logging continuously.
[0014] Fig. 9 It is a structural diagram of a portable electronic device according to a second embodiment of the present invention.
[0015] Fig.10 It is a timing diagram of intermittent reception. DETAILED DESCRIPTION
[0016] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. In addition, each figure is only schematically represented to the extent that the present embodiment can be fully understood. In addition, in each figure, the same reference numerals are marked for common components and the same components, and their repeated descriptions are omitted.
[0017] (Implementation Method)
[0018] Figure 1 This is a diagram showing the configuration of a measurement system using the portable electronic device in this embodiment.
[0019] The portable device system 1a is composed of an electronic watch 100a as a portable electronic device and a portable information terminal 200 connected to communicate. The electronic watch 100a has a function of sequentially storing position information of movement by walking or running as a log. The portable information terminal 200 is a smart phone having a function of receiving position information from the electronic watch 100a and displaying the movement trajectory together with map information on the display unit 150.
[0020] The electronic watch 100a includes a processor 10, a GPS_IC 20 as a positioning module, an acceleration sensor 31 (movement detection sensor), a pressure sensor 32, a magnetic sensor 33 (direction sensor), a nonvolatile memory 40 for storing map data, FW data, and logs, a font nonvolatile memory 45, and a display unit 50. The FW data is a program for making the GPS_IC 20 function.
[0021] The GPS_IC20 as a positioning module acquires the location information of the device from an artificial satellite. The GPS_IC20 has a GPS determination unit 21 as a second determination unit, and has a function of using the acquired location information to determine whether the device is "moving" or "stopped" or "uncertain". In addition, the GPS determination unit 21 has a function of determining whether it is "going straight" at an angle calculated based on the latitude and longitude between two points. The GPS_IC20 is connected to the non-volatile memory 40 and has an output buffer 22. Thus, the GPS_IC20 has a function of reading map data stored in the non-volatile memory 40, or storing the location information as a log in the non-volatile memory 40 via the output buffer 22. In other words, the GPS_IC20 has a function of storing the location information in the internal output buffer 22 in sequence, and storing the stored location information together in the non-volatile memory 40.
[0022] The acceleration sensor 31 detects the acceleration to which the device is subjected. The electronic watch 100a can determine whether it is "moving" or "not moving" based on walking, running, etc. by calculating the size and period of the acceleration to which the device is subjected and comparing it with a predetermined threshold value. In addition, in the embodiment, the acceleration sensor 31 is used as a movement detection sensor, but the sensor that can be used as the movement detection sensor is not limited to this. The movement detection sensor can also be realized by a combination of sensors such as a tilt sensor, an angular velocity sensor, or a plurality of sensors. In addition, the pressure sensor 32 is a sensor that detects air pressure and is used to calculate the height when walking in a mountainous area. The magnetic sensor 33 is a sensor that detects geomagnetism and is used to detect changes in the direction of travel of walking or running. In addition, in the embodiment, the magnetic sensor 33 is used as an orientation sensor, but the sensor that can be used as the orientation sensor is not limited to this. The orientation sensor can also be realized by a combination of sensors such as a tilt sensor, an angular velocity sensor, or a plurality of sensors.
[0023] The font (FONT) nonvolatile memory 45 stores not only fonts but also time, pace, distance, number of laps, heart rate, barometric altitude, etc. as log storage items. The display unit 50 is, for example, a liquid crystal display panel that displays time and location information in digital form. The communication unit 60 is connected to the portable information terminal 200 so as to be able to communicate wirelessly via Bluetooth (registered trademark) in short distance.
[0024] The processor 10 is a CPU (Central Processing Unit), and realizes the functions of the acceleration determination unit 11, the determination unit 12, and the log storage processor 13 as the first determination unit by executing the program stored in the memory. In addition, the determination method and the location information storage method are executed by executing the program. The acceleration determination unit 11 uses the acceleration sensor 31 to determine whether the device is "moving" or "not moving" based on walking or running. The determination unit 12 comprehensively determines whether the device is "moving" based on the determination result of the acceleration determination unit 11 and the determination result of the GPS determination unit 21. The log storage processor 13 performs "log storage" when the determination unit 12 comprehensively determines that it is "moving", and sets it to "log not saving" when the determination unit 12 determines that it is "stopped". As a result, the log storage processor 13 controls the GPS_IC20 to reduce the storage of logs (location information) in the non-volatile memory 40. Furthermore, even if the comprehensive determination is "log storage", if the GPS determination unit 21 determines that the vehicle is "going straight", the log storage processor 13 reduces the storage of the log (position information).
[0025] The portable information terminal 200 is a smart phone having a processor 110, various sensors 130, a memory 140, a display unit 150, and a communication unit 160. The processor 110 is a CPU, and by executing a program, the electronic watch 100a causes the communication unit 160 to receive (or sequentially receive) the location information (log) stored in the non-volatile memory 40, and displays the received location information (movement trajectory) together with the map information on the display unit 150 (see Figure 7 , 8 ). The sensor 130 is a GPS or an acceleration sensor, and is used to receive position information or determine the display direction of the display unit 150 by detecting gravity. The display unit 150 is a touch panel display having an input function.
[0026] Figure 2 This is a flowchart for explaining a method for comprehensively determining whether the device is in motion. This program (SP10) is periodically executed by the determination unit 12 when the electronic watch 100a is in the "travel mode" or "sports mode". In addition, the acceleration determination unit 11 uses the acceleration sensor 31 to determine whether the device is in motion.
[0027] The determination unit 12 determines whether the radio wave reaches the GPS_IC20 and the position information is fixed (FIX), or whether the GPS_IC20 is set to off, or the radio wave does not reach (SP11). If the position information is fixed (fixed in SP11), the determination unit 12 determines whether the acceleration sensor determination result obtained by the acceleration determination unit 11 is "moving" or "not moving" (S12). If the acceleration sensor determination result is "moving" ("moving" in S11), the determination unit 12 determines whether the GPS determination result obtained by the GPS determination unit 21 is "moving", "stopped" or "uncertain" (SP13).
[0028] If the GPS determination result is "stopped" ("stopped" in S13), the determination unit 12 sets the flag to "log not saved" (SP14). On the other hand, if the GPS determination result is "moving" ("moving" in S13), the determination unit 12 sets the flag to "log saved" (SP15). In addition, even if the GPS determination result is "uncertain", the determination unit 12 sets the flag to "log saved" (SP15).
[0029] On the other hand, if the acceleration sensor determination result (S12) is "not moving", the determination unit 12 determines whether the GPS determination result obtained by the GPS determination unit 21 is "moving", "stopped" or "uncertain" (SP16). If the GPS determination result is "stopped" ("stopped" in S16), the determination unit 12 sets the flag to "log not saved" (SP14). On the other hand, if the GPS determination result is "moving" ("moving" in S16), the determination unit 12 sets the flag to "log saved" (SP15). In addition, when the GPS determination result is "uncertain" ("uncertain" in SP16), the determination unit 12 sets the flag to "log not saved" (SP14).
[0030] However, in the determination of SP11, when GPS_IC20 is set to OFF, or when the radio wave does not arrive ("OFF or LOST" in SP11), the determination unit 12 determines whether the acceleration sensor determination result obtained by the acceleration determination unit 11 is "moving" or "not moving" (S17). If the acceleration sensor determination result is "not moving" ("not moving" in S17), the determination unit 12 sets the flag to "log not saved" (SP14). On the other hand, if the acceleration sensor determination result is "moving" ("moving" in S17), the determination unit 12 sets the flag to "log saved" (SP15). Then, if the processing of SP14 or SP15 is completed, the program ends.
[0031] Figure 3 This is a flowchart for explaining the operation of log storage control.
[0032] This program (SP20) is similar to the above-mentioned SP10 ( Figure 2 ) are executed periodically independently.
[0033] The log storage processor 13 determines whether it is set to "continuous reception" (S21). When it is not set to "continuous reception" ("No" in S21), the log storage processor 13 immediately ends the processing of the program. In addition, when it is not "continuous reception", in other words, "intermittent reception" is described in the second embodiment.
[0034] When the setting is "continuous reception" ("Yes" in S21), the log storage processor 13 determines whether there is a "DATAREADY" signal generated with the location update (S22). When there is a "DATAREADY" signal ("Yes" in S22), the log storage processor 13 reads the straight-line determination result of the GPS_IC20 (S23). After the processing of S23, the log storage processor 13 determines whether there is a "DATAREADY" signal generated with the location update (S22). Figure 2 ) is set to "log save" or "log not save" (S24).
[0035] If the flag is set to "log save" ("YES" in S24), the log save processor 13 determines whether T seconds (for example, T=5 seconds) or more have passed since the last position update (S25).
[0036] If T=5 seconds or more have not passed since the last position update ("No" in S25), the log storage processor 13 determines whether the GPS straight determination result obtained by the GPS_IC20 is "straight" (S26). If the GPS straight determination result is "straight" ("Yes" in S26), the log storage processor 13 adds "1" to the straight continuation counter (S27). After S27, the log storage processor 13 determines whether the straight continuation counter is N (for example, N=5) or more (S28). If the straight continuation counter is N=5 or more ("Yes" in S28), the log storage processor 13 clears the straight continuation counter (S29) and determines that "log is saved" (S30).
[0037] On the other hand, if more than 5 seconds have passed since the last position update ("Yes" in S25), or the GPS straight travel determination result is not "straight travel" ("No" in S26), the log saving processor 13 clears the straight travel continuation counter (S29) and determines "log is saved" (S30).
[0038] In addition, when the straight-line continuation counter is less than N in the determination of S28 ("No" in S28), or when the flag becomes "log not saved" in the determination of S24 ("No" in S24), the log saving processor 13 determines "no log saving". In addition, in the case of "no log saving", the processor 10 also prohibits the storage of time, reference, distance, number of laps, heart rate, barometric altitude, etc. in the font non-volatile memory 45.
[0039] In other words, the log saving processor 13 determines that "log is saved" when T = 5 seconds or more, or the GPS straight determination result is "straight" and the straight continuation counter is N = 5 or more. In other words, even if "straight" continues, log saving is performed once in 5 times, and the other 4 times are reduced. In addition, depending on the reception environment, the position update is not necessarily performed once a second, so if more than 5 seconds have passed since the previous position update, the log is saved without reduction. Moreover, when the log saving processor 13 determines that "log is saved", GPS_IC20 is caused to save the log, and when it is determined that "no log is saved", GPS_IC20 is not caused to save the log.
[0040] Figure 4 This is a table showing the log save determination results when the acceleration sensor and GPS are used.
[0041] The acceleration sensor determination results are shown in the column direction, and the GPS determination results are shown in the row direction. In other words, the acceleration determination unit 11 ( Figure 1 ) obtained, "not moving", "moving", and in the row direction, the judgment results "stopped (), "moving", and "uncertain ()" obtained by the GPS judgment unit 21 are listed. Here, temporary suspension of log storage is represented by "×", and release of temporary suspension of log storage is represented by "○".
[0042] When the acceleration sensor determines that the device is not moving (S12( Figure 2 ) is "not moving"), and the GPS determination result is "stopped ()" (SP16( Figure 2 ) is "stopped", the device is comprehensively judged as "stopped", and log saving is temporarily stopped (×). If the GPS judgment result is "moving" (SP16 is "moving"), the device is also comprehensively judged as "moving", and the temporary stop of log saving is released (○). When the GPS judgment result is "uncertain" (SP16 is "uncertain"), log saving is temporarily stopped (×). In other words, when both the acceleration sensor judgment result and the GPS judgment result are "uncertain", the log can be saved without saving, saving memory capacity.
[0043] On the other hand, when the accelerometer determination result is "moving" ("moving" in SP12), the log storage is temporarily suspended (×) when the GPS determination result is "stopped ()" ("stopped" in SP13). In other words, the GPS determination result "moving" takes precedence over the accelerometer determination result "stopped". On the other hand, if the GPS determination result is "moving" ("moving" in SP13), the temporary suspension of log storage is released (○). In addition, when the GPS determination result is "uncertain" ("uncertain" in SP13), log storage is temporarily suspended (×).
[0044] Figure 5 This is a table showing the log saving determination results when GPS is stopped.
[0045] In other words, the table represents Figure 2 This table shows the log save judgment results when it is judged as "closed or lost" in SP11.
[0046] Regardless of the GPS determination result, if the acceleration sensor determination result is "not moving", log storage is temporarily suspended (×), and if the acceleration sensor determination result is "moving", log storage is released from temporary suspension (○).
[0047] Figure 6 This is a time chart for explaining the operation of the portable electronic device in the first embodiment of the present invention. In addition, this time chart is a time chart of "continuous reception" in which the GPS_IC20 is continuously driven at intervals of about 1 second, and "intermittent reception" in which the GPS_IC20 is intermittently driven to save power is described in the second embodiment.
[0048] like Figure 1 As described in the description, the processor 10 and GPS_IC20 are connected by a signal line that transmits multiple signals (1PPS, data ready, I2C communication, and log save indication terminal P17). Here, the "1PPS" signal and the "data ready" signal are signals transmitted from the GPS_IC20 to the processor 10, and the "I2C communication" and the "log save indication terminal (P17)" are signals transmitted from the processor 10 to the GPS_IC20.
[0049] In other words, the "1PPS" signal and the "data ready" signal are signals output by the "GPS side control", and the "I2C communication" and the "log save indication terminal (P17)" are signals executed by the "clock microcomputer side control". In addition, the processor 10 is configured to access a predetermined RAM address using "I2C communication" to read what is ready when receiving the "data ready" signal. In addition, if the log save indication terminal (P17) is set to log save (OK) (low level) in the initial state, log saving is performed when the initial position is determined even before starting running. Therefore, in the initial state (t<t3), it is set to log save (NG) (high level), and log saving is performed when the initial position is determined after starting running.
[0050] GPS_IC20 uses the "1PPS" signal at time t0 to notify the processor 10 of the initial position determination, and uses the "data ready" signal at time t1 to notify the processor 10 of the position update. In other words, when the initial position is determined, GPS_IC20 sends the "initial position determination notification" to the processor 10 through the "1PPS" signal and the "data ready" signal.
[0051] In addition, when the "data ready" signal notifies the processor 10 of the "initial position determination notification" at time t1, the processor 10 reads the UTC (universal time coordinated) time using the "I2C communication" at time t1. When the processor 10 completes the reading of the UTC time at time t2, it performs the clock time correction processing and the log saving determination processing, and switches the log saving instruction terminal P17 from "log cannot be saved" (high level) to "log can be saved" (low level) at time t3.
[0052] When the log storage instruction terminal P17 is switched to "log storage is possible" at time t3, the GPS_IC 20 stores the data in the output buffer 22 ( Figure 1 ) is stored in the non-volatile memory 40 ( Figure 1). Then, GPS_IC20 uses the "data ready" signal to notify the processor 10 of the "log save completion notification" at time t4. In response to the "data ready" signal, the processor 10 sends the "I2C communication" to GPS_IC20 to understand the ready content. Through these processes, the processor 10 determines whether to save the log based on the state judgment of the GPS side, the result of the straight-line judgment, and the result of the state judgment of the acceleration sensor 31 performed by the processor 10. When the judgment result is to save the log, the processor 10 changes the log save indication terminal P17 to a low level. In addition, the processor 10 stores the GPS cumulative distance read from GPS_IC20, and also indicates the log save to GPS_IC20 when the preset automatic lap distance is reached.
[0053] For example, GPS_IC20 generates a position update at time t5. At this time, the "position update notification" is notified to the processor 10 using the "data ready" signal. If the processor 10 receives the "position update notification" at time t6, the processor 10 uses "I2C communication" to read the "GPS cumulative distance". If the reading of the "GPS cumulative distance" is completed at time t7, the processor 10 executes the log saving judgment. Here, assuming that the result of the log saving judgment is "not possible", the processor 10 maintains the log saving indication terminal P17 as a log that cannot be saved (high level).
[0054] At time t8, about 1 second after time t5, GPS_IC20 again uses the "data ready" signal to notify the processor 10 of the "location update notification". If the processor 10 receives the "location update notification", it uses "I2C communication" to read the "GPS cumulative distance" at time t9. If the processor 10 completes the reading of the "GPS cumulative distance" at time t10, it executes the log saving judgment. At time t11, the processor 10 switches the log saving indication terminal P17 from the unsaveable log (high level) to the saveable log (low level). Then, GPS_IC20 executes log saving and sends the "log saving completion notification" to the processor 10 at time t12.
[0055] Figure 7 This is an example of a map screen showing the log results when log recording is interrupted. Figure 8 This is an example of a map screen showing the logging results when logging continuously. Figure 7 , 8 All are displayed on the display unit 150 ( Figure 1 ) screen. Figure 8 As shown in FIG. 1 , when the log is recorded continuously without interruption, there is a case where the walking and running tracks are concentrated in one concentrated portion 189a. Figure 7In this way, the concentration of tracks can be avoided when the recording of the interrupt log is performed.
[0056] In addition, a day selection button 181, a week selection button 182, and a month selection button 183 are arranged in the upper part of the map screen 180. Figure 7 , 8 The figure shows that the day selection button 181 is in a selected state and the daily exercise data is displayed.
[0057] A year-month-day column 185 is displayed below the day selection button 181, the week selection button 182, and the month selection button 183. The year-month-day column 185 is a column that displays the year-month-day of the selected period, and, for example, displays "January 15, 2018".
[0058] The track 189 displayed in the map area 186 shows the history of the log (position information) stored in the electronic watch 100a on a two-dimensional map. The graph area 187 shows the history of the user's step count information by exercise intensity.
[0059] As described above, the acceleration determination unit 11 of the electronic timepiece 100a of the present embodiment determines whether the device is "moving" or "not moving" in other ways, and the GPS determination unit 21 determines whether the device is "moving", "stopped", or "uncertain" in other ways. Basically, if the GPS determination unit 21 determines that the device is "stopped", the determination unit 12 determines that the device (electronic timepiece 100a) is "stopped" regardless of the determination result of the acceleration determination unit 11. In addition, the log storage processor 13 temporarily stops log storage. In addition, if the GPS determination unit 21 determines that the device is "moving", the determination unit 12 determines that the device is "moving" in other ways regardless of the determination of the acceleration determination unit 11. In addition, the log storage processor 13 cancels the temporary suspension of log storage. In addition, when the GPS determination unit 21 determines that the device is "stopped", the log storage processor 13 also performs log storage once every T seconds (for example, 5 seconds) or once every N times (for example, 5 times) to reduce log storage.
[0060] Furthermore, even if the GPS determination unit 21 determines that it is "uncertain", if the acceleration determination unit 11 determines that it is "moving", the determination unit 12 also determines that the device is "moving". Thus, the determination unit 12 determines that it is "stopped" when stepping on the waiting signal, and determines that it is "moving" when a bicycle, car, etc. moves. In addition, when the GPS_IC20 is operated with the off setting, the determination unit 12 performs state determination using only the determination result of the acceleration determination unit 11.
[0061] (Second Embodiment)
[0062] In the first embodiment, continuous reception of GPS signals at intervals of about 1 second is performed, but intermittent reception of GPS signals can also be performed. In addition, in the first embodiment, both the log and the map data or FW data are stored in a single non-volatile memory 40, but the volatile memory for logs and the non-volatile memory for maps can also be separated.
[0063] Fig. 9 It is a structural diagram of a portable electronic device according to a second embodiment of the present invention.
[0064] The portable device system 1b includes an electronic watch 100b as a portable electronic device and a portable information terminal 200. The portable information terminal 200 has the same structure as the portable information terminal 200 of the first embodiment. The differences between the electronic watch 100b and the electronic watch 100a of the first embodiment will be described below.
[0065] A signal line is added between the processor 10 and the GPS_IC 20 for the processor 10 to send a "SYS_SLEEP" signal to the GPS_IC 20. In addition, the electronic timepiece 100b replaces the nonvolatile memory 40 ( Figure 1 ), the switch 49, the nonvolatile memory 41 for log and the nonvolatile memory 42 for map are connected to the GPS_IC20. In addition, the electronic watch 100b connects the "flash memory (FLASH) switching terminal" between the processor 10 and the switch 49. In addition, the combination of the switch 49, the nonvolatile memory 41 for log and the nonvolatile memory 42 for map and the "SYS_SLEEP" signal may be made independent of each other, and a signal line for sending the "SYS_SLEEP" signal may be added, and the nonvolatile memory 40 may be provided instead of the combination of the switch 49, the nonvolatile memory 41 for log and the nonvolatile memory 42 for map.
[0066] The "SYS_SLEEP" signal is a stop signal for stopping GPS_IC20. Thus, the processor 10 can make GPS_IC20 receive intermittently. The non-volatile memory 41 for logs is a FROM for storing logs. The non-volatile memory 42 for maps is a FROM for storing map data and FW data. The switch 49 switches the data bus of GPS_IC20 between the non-volatile memory 41 for logs and the non-volatile memory 42 for maps. The "flash switching terminal" is a terminal for the processor 10 to control the switch 49.
[0067] The acceleration sensor 31, pressure sensor 32, and magnetic sensor 33 are connected to the processor 10, but not to the GPS_IC 20. Therefore, even during intermittent reception, in other words, when the GPS_IC 20 is stopped, the display unit 50 can always display the pace (cycle of the acceleration sensor), air pressure / altitude, and direction.
[0068] Fig.10 It is a timing diagram of intermittent reception.
[0069] The timing diagram of continuous reception of the first embodiment described above ( Figure 6 ) is that the "SYS_SLEEP" signal is added, and the "Position Update Notification" ( Figure 6 ), GPS_IC20 sends a "SLEEP command response notification". In addition, Figure 6 Records t0 to t12. Fig.10 Recorded in Figure 6 Common times t0 to t4 and times t13 to t19.
[0070] The "SYS_SLEEP" signal is a signal that enables GPS_IC20 to receive GPS signals through a high level and stops reception through a low level. In this embodiment, at time t13 after the "log save completion notification" at time t4, the processor 10 executes the "sleep command" and sets the "SYS_SLEEP" signal to a low level for 1 minute (t14). If GPS_IC20 detects that the "SYS_SLEEP" signal has changed to a low level, the "data ready" signal is used to return the "sleep command response notification" to the processor 10 (t15). At this time, GPS_IC20 is in a sleep state, so "I2C communication" is not used.
[0071] When the "SYS_SLEEP" signal changes from low level to high level at time t18, the GPS_IC 20 starts receiving GPS signals. Furthermore, the GPS_IC 20 sends a "position update notification" to the processor 10 at time t19 using the "data ready" signal.
[0072] In addition, the processor 10 activates the GPS_IC 20 when the distance calculated by the acceleration sensor 31 approaches the distance set for automatic lap recording, when the magnetic sensor 33 detects a corner, when lap recording is performed based on a user operation, or when restarting after a stop operation.
[0073] As described above, the electronic timepiece 100b of this embodiment intermittently receives the position information of the GPS. Here, the processor 10 of the electronic timepiece 100b changes the stop state of the GPS_IC20 to the start state through the angle detection performed by the magnetic sensor 33. In addition, the GPS_IC20 of the electronic timepiece 100b stores the log in the non-volatile memory 41 for logs, and stores the FW data and map data in the non-volatile memory 42 for maps.
[0074] (Variation Example)
[0075] The present invention is not limited to the above-described embodiment, and can be modified as follows, for example.
[0076] (1) The portable electronic device in the first and second embodiments is an electronic watch, but it may also be a smart phone. Figure 7 , 8 The map screen is displayed on this device.
Claims
1. An electronic device, characterized in that: have: A positioning unit that regularly locates the current location information of the machine; a storage unit storing location information; motion detection sensors; and processor, The above processor performs the following processing: Determining whether the machine is moving based on a first determination result of determining whether the machine is moving based on a value obtained from the motion detection sensor and a second determination result of determining whether the machine is moving based on the position information located by the positioning unit, and setting a flag indicating whether the machine is moving each time the above determination is made; Determine whether the machine is traveling straight; as well as When the positioning unit locates the position information and a flag indicating that the device is moving is set, the position information is stored in the storage unit. Even in the case where a flag indicating that the machine is moving is set when the positioning unit locates the above-mentioned position information, the above-mentioned processor does not store the above-mentioned position information in the above-mentioned storage unit if the time since the last positioning of the position information has not continued for more than the first predetermined time and the number of straight movements is determined to be less than the first predetermined number of times.
2. The electronic device according to claim 1, characterized in that: The processor determines whether the aircraft is moving straight at an angle obtained based on the longitude and latitude between the two points located by the positioning unit.
3. The electronic device according to claim 1 or 2, characterized in that: The above processor performs the following processing: Determine whether the machine is moving by the positioning unit and the movement detection sensor; and When the positioning unit determines that the device is moving, even when the movement detection sensor determines that the device is not moving, the device is determined to be moving.
4. The electronic device according to claim 1, characterized in that: The processor performs the following processing: when the flag indicating that the aircraft is moving is set, if it is determined that the aircraft is not moving straight, clears the number of times the aircraft is determined to be moving straight, and stores the position information in the storage unit.
5. An electronic watch, characterized in that: An electronic device comprising the electronic device according to claim 1.
6. A method for storing position information, executed by a processor of an electronic device having a positioning unit for periodically positioning the current position information of the device, a storage unit for storing the position information, a motion detection sensor, and a processor, characterized in that: Based on a first determination result of determining whether the machine is moving based on a value obtained from the motion detection sensor and a second determination result of determining whether the machine is moving based on the position information located by the positioning unit, a flag indicating whether the machine is moving is set each time the above determination is made. Determine whether the machine is moving straight. When the positioning unit locates the position information and a flag indicating that the device is moving is set, the position information is stored in the storage unit. Even in the case where a flag indicating that the machine is moving is set when the positioning unit locates the above-mentioned position information, the above-mentioned processor does not store the above-mentioned position information in the above-mentioned storage unit if the time since the last positioning of the position information has not continued for more than the first predetermined time and the number of straight movements is determined to be less than the first predetermined number of times.
7. A computer-readable recording medium, characterized in that: A program is recorded on a computer of an electronic device having a storage unit for storing position information and a movement detection sensor to function as the following means: A positioning unit that regularly locates the current position information of the aircraft; a movement determination unit that determines whether the machine is moving based on a first determination result of determining whether the machine is moving based on a value obtained from the movement detection sensor and a second determination result of determining whether the machine is moving based on the position information located by the positioning unit, and sets a flag indicating whether the machine is moving each time the determination is made; a straight-moving determination unit, which determines whether the aircraft is moving straight; as well as a control unit that stores the position information in the storage unit when the positioning unit locates the position information and a flag indicating that the mobile unit is moving is set by the movement determination unit, Even if a flag indicating that the machine is moving is set when the positioning unit locates the position information, the control unit does not store the position information in the storage unit if the time since the last positioning of the position information has not lasted for more than the first predetermined time and the number of straight movements is determined to be less than the first predetermined number of times.
Citation Information
Patent Citations
Cellular phone and positioning system
JP2004233058A