Storage medium, communication apparatus, and method for controlling communication apparatus
The method automatically calibrates the acceleration sensor of a communication device by using vehicle speed information to perform calibration and reflect results after the vehicle stops, addressing the inefficiency of manual calibration and reducing measurement errors.
Patent Information
- Application Number
- JP2024105420
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2026-01-16
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing acceleration sensor calibration methods in smartphones require conscious driver intervention through sudden braking, which is time-consuming.
A method for calibrating the acceleration sensor of a communication device by obtaining vehicle speed information, calibrating the sensor after a predetermined time when the vehicle is stopped, and reflecting the calibration results after a further elapsed time, all without user awareness.
Accurately calibrates the acceleration sensor without user intervention, reducing measurement errors and ensuring reliable calibration results when measuring driving behavior.
Smart Images

Figure 2026006443000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a program, a storage medium, a communication device, and a control method for a communication device. [Background technology]
[0002] Conventionally, for example, an acceleration sensor in a smartphone is used to measure the driving behavior of a smartphone user when driving a vehicle, and a driving score is calculated from the history of acceleration changes and presented to the user. This acceleration sensor requires calibration to reduce measurement errors.
[0003] Patent Document 1 discloses a three-axis acceleration sensor in a mobile device, determining acceleration caused by sudden braking of a vehicle, and determining the direction of travel of the vehicle when acceleration caused by sudden braking occurs. Patent Document 1 also discloses a calibration method that determines the direction of travel of a vehicle from the result of sudden braking and detects acceleration along the direction of travel of the vehicle, even if the acceleration sensor is not attached directly to the direction of travel of the vehicle. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6684393 Summary of the Invention [Problem to be solved by the invention]
[0005] However, the technique described in Patent Document 1 requires the driver to consciously apply sudden braking for calibration, which poses a problem in that calibration is time-consuming.
[0006] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a technique for calibrating an acceleration sensor of a communication device without the user being aware of it when measuring driving behavior using the acceleration sensor. [Means for solving the problem]
[0007] The program according to the present invention that achieves the above object is: The computer of the communication device Obtaining vehicle speed information; receiving an instruction to start measuring acceleration by an acceleration sensor of the communication device; When the measurement start instruction is received and the vehicle is stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the vehicle stopped while remaining in the stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the vehicle was stopped while remaining in the stopped state; The present invention is characterized in that the following is executed. [Effects of the Invention]
[0008] According to the present invention, when measuring driving behavior using an acceleration sensor of a communication device, it is possible to calibrate the acceleration sensor without the user being aware of it. [Brief explanation of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a communication system according to an embodiment. [Figure 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of a server device according to an embodiment. [Figure 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a vehicle according to an embodiment. [Figure 4] FIG. 2 is a diagram illustrating an example of a hardware configuration of a communication device according to an embodiment. [Figure 5] 10 is a flowchart illustrating a procedure of a process performed by a communication device according to an embodiment. [Figure 6] FIG. 10 is an explanatory diagram of a process according to an embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0010] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the invention as claimed, and not all combinations of features described in the embodiments are necessarily essential to the invention. Two or more of the features described in the embodiments may be combined in any desired manner. Furthermore, the same reference numerals are used to designate identical or similar components, and redundant descriptions will be omitted.
[0011] <System configuration> FIG. 1 is a diagram showing an example of the configuration of a communication system according to this embodiment. In FIG. 1, 10 is a server device (information processing device). 20 is a vehicle. 30 is a communication device, such as a smartphone. However, this is not limited to a smartphone, and other types of communication devices such as a tablet terminal or a head-mounted display may also be used. 40 is a network, and each device is connected via the network 40. The vehicle 20 and the communication device 30 may be capable of communicating using close proximity wireless communication.
[0012] <Device configuration> Next, configuration examples of the server device 10, vehicle 20, and communication device 30 according to one embodiment of the present invention will be described with reference to Figures 2, 3, and 4. Figure 2 is a diagram showing a configuration example of the server device 10 according to one embodiment of the present invention, Figure 3 is a diagram showing a configuration example of the vehicle 20 according to one embodiment of the present invention, and Figure 4 is a diagram showing a configuration example of the communication device 30 according to one embodiment of the present invention.
[0013] As shown in Fig. 2, the server device 10 includes a CPU 101, a storage device 102, and a communication unit 103. The control operation of the server device 10 is realized by the CPU 101 reading and executing a computer program stored in the storage device 102. The CPU 101 may be one or more CPUs. The storage device 102 is one or more memories that store various types of information. For example, the storage device 102 stores information received from other devices, computer programs that are read and executed by the CPU 101, and the like. The communication unit 103 has a function of communicating with other devices via a network 40 in a wired and / or wireless manner.
[0014] As shown in FIG. 3 , the vehicle 20 includes a CPU 201, a storage device 202, a communication unit 203, a display unit 204, an operation input unit 205, and a sensor 206. The control operation of the communication device 20 is realized by the CPU 201 reading and executing a computer program stored in the storage device 202. The CPU 201 may be one or more CPUs. The storage device 202 is one or more memories that store various information. For example, the storage device 202 stores information received from other devices, computer programs that are read and executed by the CPU 201, and the like. The communication unit 203 has a function of communicating with other devices via the network 40 via a wired and / or wireless connection. The communication unit 203 can also communicate with nearby devices via close-proximity wireless communication. For example, the communication unit 203 receives GPS signals from multiple satellites using a GPS (Global Positioning System) receiver provided in the vehicle 20 and identifies the location of the vehicle 20 based on the reception results. The CPU 201 can calculate the traveling speed of the vehicle 20 using the GPS signals.
[0015] The display unit 204 is a liquid crystal display or the like, and displays various types of information. The operation input unit 205 is, for example, a mouse, keyboard, touch panel, switch, or the like, and can accept input of various types of information from a user. The sensor 206 can include various sensors such as a vehicle speed sensor and an acceleration sensor. Information on the traveling speed of the vehicle 20 can be obtained by the vehicle speed sensor, and information on the acceleration of the vehicle 20 can be obtained by the acceleration sensor.
[0016] As shown in FIG. 4, the communication device 30 includes a CPU 301, a storage device 302, a communication unit 303, a display unit 304, an operation input unit 305, and an acceleration sensor 306. The control operation of the communication device 30 is realized by the CPU 301 reading and executing a computer program stored in the storage device 302. The CPU 301 may be one or more CPUs. The storage device 302 is one or more memories that store various types of information. For example, the storage device 302 stores information received from other devices, computer programs that are read and executed by the CPU 301, and the like. The communication unit 303 has a function of communicating with other devices via a network 40 in a wired and / or wireless manner. The communication unit 303 can also communicate with nearby devices via close proximity wireless communication.
[0017] The communication unit 303 receives GPS signals from multiple satellites using, for example, a GPS (Global Positioning System) receiver provided in the communication device 30, and identifies the location of the communication device 30 based on the reception results. The CPU 301 can calculate the moving speed of the communication device 30 using the GPS signals. The display unit 204 is a liquid crystal display or the like, and displays various information. The operation input unit 205 is, for example, a mouse, keyboard, touch panel, switch, or the like, and can accept input of various information from the user. The acceleration sensor 306 is, for example, a three-axis acceleration sensor, and detects the acceleration of the communication device 30.
[0018] <Processing> Next, with reference to the flowchart of FIG. 5, the procedure of processing performed by the communication device 30 according to this embodiment will be described. In this embodiment, a situation is assumed in which a user carrying the communication device 30, while driving the vehicle 20, attempts to measure his / her own driving behavior (driving score) from changes in the acceleration of the communication device 30 using a driving behavior measurement application installed in the communication device 30. By measuring acceleration, if there is a sudden change in acceleration (sudden acceleration, sudden braking), a low driving score is obtained, and the user can learn his / her driving tendencies and be encouraged to improve for safer driving. In this embodiment, an example of calibrating the acceleration sensor when using such an application that measures the driving score will be described.
[0019] In S501, the communication device 30 acquires speed information of the vehicle 20. In this embodiment, the communication device 30 acquires GPS signals via a GPS receiver provided in the communication device 30, and acquires position information of the communication device 30. Then, the communication device 30 calculates the movement speed of the communication device 30 from the change over time in the position information of the communication device 30. Because the communication device 30 is located inside the vehicle 20, the movement speed of the communication device 30 is the same as the running speed of the vehicle 20. Therefore, the communication device 30 can acquire the calculated movement speed of the communication device 30 as speed information of the vehicle 20. Note that the speed information of the vehicle 20 is continuously acquired over time (for example, periodically).
[0020] Alternatively, the vehicle 20 may acquire location information of the vehicle 20 by acquiring a GPS signal via a GPS receiver provided in the vehicle 20, and the vehicle 20 may calculate the traveling speed of the vehicle 20 from changes over time in its own location information. In this case, in S501, the communication device 30 may acquire the speed information of the vehicle 20 by receiving the information on the traveling speed of the vehicle 20 acquired by the vehicle 20 directly from the vehicle 20 or via the server device 10.
[0021] In S502, the communication device 30 determines whether or not an instruction to start measuring acceleration has been received via the operation input unit 305. For example, a GUI (Graphical User Interface) button for receiving the instruction to start measurement can be displayed on the display screen of the display unit 304 of the communication device 30, and the input of the instruction to start measurement can be received from the user. The processing of this step is processing for determining whether or not the GUI button has already been pressed at this timing.
[0022] The measurement start instruction here is an instruction to start measuring driving behavior (driving score) using acceleration sensor 306. For example, a start button for starting measurement of the driving score may be displayed, and input of the start instruction may be accepted in response to the user touching the start button. Furthermore, measurement may end in response to pressing of a measurement end button, and a driving score may be calculated based on changes in acceleration during driving and displayed to the user. For example, if there are many sudden accelerations, sudden braking, etc., the driving score may be calculated to be low, and if there are not, the driving score may be calculated to be high. If this step is Yes, proceed to S503. On the other hand, if this step is No, proceed to S510.
[0023] In S503, the communication device 30 determines whether the vehicle is stopped (the speed of the vehicle 20 is 0 km / h). If this step is Yes, the process proceeds to S504. On the other hand, if this step is No, the process returns to S501.
[0024] In S504, the communication device 30 determines whether a first set time (e.g., 3 seconds) has elapsed while the vehicle 20 remained stopped after the speed of the vehicle 20 reached 0 km / h. If the speed of the vehicle 20 is greater than 0 km / h (i.e., the vehicle 20 is moving) at the time the measurement start instruction is accepted, the communication device 30 counts the time from when the speed of the vehicle 20 reached 0 km / h (i.e., when the vehicle 20 stopped). On the other hand, if the speed of the vehicle 20 is 0 km / h (i.e., when the vehicle 20 is stopped) at the time the measurement start instruction is accepted, the communication device 30 counts the time from when the measurement start instruction was accepted. If this step is Yes, the process proceeds to S505. On the other hand, if this step is No, the process returns to S503.
[0025] In S505, the communication device 30 calibrates the acceleration sensor 306. In this embodiment, calibration is performed for all axes of the three-axis acceleration sensor. Even if the communication device 30 is fixed to a specific position inside the vehicle 20 (for example, in a smartphone holder) while the vehicle is traveling, the position of the communication device 30 may shift slightly, for example, when traveling on a curved road or a road with poor footing. When the vehicle 20 stops, the communication device 30 calibrates all three axes at the shifted position, and by using the calibration result as a reference, it is possible to reduce acceleration measurement errors and, ultimately, to accurately measure the driving behavior while traveling after the vehicle has stopped.
[0026] In S506, the communication device 30 saves the calibration result executed in S505. At this point, the calibration result is not reflected.
[0027] In S507, the communication device 30 determines whether the vehicle is stopped (the speed of the vehicle 20 is 0 km / h). If this step is Yes, the process proceeds to S508. On the other hand, if this step is No, the process returns to S501.
[0028] In S508, it is determined whether a second set time (for example, 5 seconds) has elapsed while the vehicle 20 remains stopped after the speed of the vehicle 20 reaches 0 km / h. If the answer to this step is Yes, the process proceeds to S509. On the other hand, if the answer to this step is No, the process returns to S507.
[0029] In S509, the communication device 30 reflects the calibration result stored in S506 in the acceleration sensor 306. Then, the process proceeds to S512.
[0030] In S510, the communication device 30 determines whether the vehicle is stopped (the speed of the vehicle 20 is 0 km / h). If this step is Yes, the process proceeds to S511. On the other hand, if this step is No, the process returns to S501.
[0031] In S511, the communication device 30 calibrates the acceleration sensor 306 at predetermined time intervals (for example, every 3 seconds) and immediately reflects the calibration results. The process of S511 is performed when the vehicle 20 is stopped before receiving a measurement start instruction, and in such cases, calibration is performed periodically and reflected. Then, the process proceeds to S512.
[0032] In S512, the communication device 30 determines whether to continue the process. For example, the process ends when an application running on the communication device 30 is closed or when an instruction to stop measurement is received. If this step is Yes, the process returns to S501. On the other hand, if this step is No, the process ends.
[0033] The order of the processes in the flowchart is not limited to the order described, and other orders may be used. In addition, other processes may be added as appropriate, and some processes may not be included.
[0034] <Applicable scenes> Next, with reference to Fig. 6, a part of the processing according to the flowchart in Fig. 5 will be described. Assume that the vehicle 20 is in a stopped state (vehicle speed 0 km / h) from the time when the screen of the application for measuring driving behavior is displayed (T1) until the time when the measurement start instruction is accepted (before the start button is pressed) (T4). In this case, No is returned in S502 and Yes is returned in S508, and calibration of the acceleration sensor is performed at predetermined time intervals in S509, and the calibration results are saved and reflected at the same time.
[0035] In the illustrated example, at T1, the calibration result is saved and reflected at the same time. That is, the sensor value of the acceleration sensor 306 is reflected immediately for calibration.
[0036] Thereafter, at predetermined time intervals (e.g., 3-second intervals), for example, at T2, T3, and T5, the sensor value of the acceleration sensor 306 is immediately reflected for calibration. That is, the execution, storage, and reflection of the calibration results are performed simultaneously. Calibration is performed every 3 seconds until the speed of the vehicle 20 is 0 km / h and a measurement start instruction is received, and the process of storing and reflecting the calibration results is repeated. Because it is expected that the user will be operating the communication device 30 until the vehicle 20 starts traveling, calibration is repeated as much as possible. Here, it is assumed that the measurement start instruction is received at T4. In this case, since calibration is already being performed at the time the measurement start instruction is received (T4), priority may be given to continuing the calibration process, and the process of saving and reflecting the calibration results may be completed at T5, at which time the calibration is performed at predetermined time intervals. That is, if calibration is being performed at the time the measurement start instruction is received, priority may be given to completing the execution of the calibration. In this case, acceleration measurement for measuring driving behavior may be started after calibration is completed.
[0037] Next, in the illustrated example, after T5, the vehicle 20 starts moving, the speed of the vehicle 20 increases, and after maintaining the same speed, the speed decreases and stops (T6). For example, this corresponds to a situation where the vehicle 20 stops before the next traffic light after starting. After receiving the measurement start instruction (T4), the speed of the vehicle 20 becomes 0 km / h at T6. Thereafter, at T7, a first set time has elapsed since T6. Therefore, at T7, the sensor value of the acceleration sensor 306 is stored for calibration. That is, calibration is performed and the calibration result is stored. Thereafter, at T9, a second set time (e.g., 5 seconds) has elapsed since T6. Therefore, at T9, the calibration result (the stored sensor value of the acceleration sensor 306) is reflected. In this case, Yes is returned in S502, Yes is returned in S503, and the process proceeds to S504 and S505. Yes is returned in S506, and the process proceeds to S507, where each process is executed.
[0038] Here, a time lag may occur between the reception of a GPS signal and the calculation of the speed of the vehicle 20 based on the GPS signal. Due to such an error, the speed of the vehicle 20 may be erroneously determined to be 0 km / h even though the vehicle 20 has actually started moving. For example, as shown in FIG. 6, the calculated (acquired) speed 602 of the vehicle 20 may be zero at time T9, but the actual speed 601 of the vehicle 20 may not be zero (the vehicle has started moving). As a result, the result of calibration performed while the vehicle was moving may be interpreted as the result of calibration performed while the vehicle was stopped, and an inappropriate calibration may be performed.
[0039] Considering such a time lag of the GPS signal, if the calculated (acquired) speed of vehicle 20 is zero at time T9 (when the second set time has elapsed), it is considered that the actual speed of vehicle 20 was also zero at a certain time earlier (time T7) (the difference between the second set time and the first set time). In other words, if the speed of vehicle 20 is zero at time T9, it can be estimated that the speed of vehicle 20 was also zero at time T7, a predetermined time earlier (2 seconds).
[0040] Therefore, when the first set time has elapsed while the vehicle 20 remains stopped after coming to a stop, the acceleration sensor is calibrated and the calibration results are stored. Then, if it is confirmed that the second set time has elapsed while the vehicle 20 remains stopped, it can be confirmed that the stored calibration results are calibration results performed while the vehicle 20 was actually stopped. Therefore, since it is only after the second set time has elapsed that it is determined that the calibration results obtained after the first set time have elapsed are appropriate results, the stored results are reflected after the second set time has elapsed. This makes it possible to prevent erroneous calibration from being performed.
[0041] As described above, in this embodiment, when the first set time has elapsed while the vehicle 20 remains stopped after coming to a stop, the acceleration sensor is calibrated and the calibration result is stored. Then, when the second set time has elapsed while the vehicle 20 remains stopped, the stored calibration result is reflected.
[0042] This allows automatic calibration of the acceleration sensor without the user's awareness when measuring driving behavior using the acceleration sensor of the communication device. In addition, since the calibration results performed when the vehicle is definitely stopped can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0043] [Variations] In the above embodiment, an example was described in which the first set time is 3 seconds and the second set time is 5 seconds, but these values are not limited to these. The first set time may be a value in the range of about 3 to 10 seconds, and the second set time may be a value equal to the first set time plus a predetermined time (about 2 seconds), that is, a value in the range of about 5 to 12 seconds.
[0044] In the above embodiment, an example has been described in which the stored calibration results are reflected in response to the passage of the second set time while the vehicle 20 remains stopped after the vehicle has stopped, but the present invention is not limited to this. The stored calibration results may also be reflected in response to the passage of a predetermined time while the vehicle remains stopped after the passage of the first set time.
[0045] More specifically, similar to the above-described embodiment, first, when a measurement start instruction is received and the vehicle 20 is stopped, calibration of the acceleration sensor 306 is performed in response to the passage of a first set time (e.g., 3 seconds) while the vehicle 20 remains stopped after the vehicle 20 has stopped, and the calibration result is stored. Then, as a modified example, the stored calibration result may be reflected in response to the passage of a predetermined time (e.g., 2 seconds) while the vehicle 20 remains stopped after the passage of the first set time.
[0046] In the above embodiment, an example has been described in which calibration is performed when the vehicle 20 stops due to a traffic signal or the like, but control may be performed so that one calibration is performed each time the vehicle 20 stops. In other words, after a measurement start instruction is received, calibration may be performed once each time the vehicle 20 stops, and the calibration may be reflected.
[0047] Although the above-described embodiment describes an example in which speed information of the vehicle 20 is acquired, the present invention is not limited thereto. Instead of calculating the traveling speed of the vehicle 20, the movement speed of the communication device 30 may be calculated assuming that the communication device 30 is inside the vehicle 20, and the above-described processing may be performed based on the movement speed. Specifically, position information of the communication device 30 is acquired based on a GPS receiver provided in the communication device 30, and speed information of the communication device 30 is acquired from changes in the position. When an instruction to start measuring acceleration by the acceleration sensor 306 of the communication device 30 is received and the movement of the communication device 30 stops, calibration of the acceleration sensor 306 is performed in response to a first set time (e.g., three seconds) having elapsed since the communication device 30 stopped moving, and the calibration result is saved. Then, in response to a second set time (e.g., five seconds) having elapsed since the communication device 30 stopped moving, the saved calibration result is reflected. Performing such processing can achieve the same effects as the above-described embodiment.
[0048] <Other embodiments> Furthermore, a program for realizing one or more functions described in each embodiment can be supplied to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device can read and execute the program. The present invention can also be realized in such an embodiment.
[0049] <Summary of the embodiment> 1. The program according to the above embodiment is The computer of the communication device (30) Acquiring speed information of a vehicle (20) (S501); Receiving an instruction to start measuring acceleration by the acceleration sensor (306) of the communication device (S502); When the measurement start instruction is received and the vehicle is stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the vehicle stopped while remaining stopped (S503, S504). storing the calibration results (S505); In response to a second set time having elapsed since the vehicle stopped while the vehicle was stopped, reflecting the stored result of the calibration (S506, S507); Execute the following.
[0050] This allows the acceleration sensor of the communication device to be calibrated without the user's awareness when measuring driving behavior using the acceleration sensor. In addition, since the calibration results performed when the vehicle is reliably stopped can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0051] 2. The program according to the above embodiment is Before the measurement start instruction is accepted, the computer is further caused to execute the calibration of the acceleration sensor at predetermined time intervals while the vehicle is stopped, and to reflect the calibration.
[0052] In this way, since it is expected that the user will operate the communication device (smartphone, etc.) and the communication device itself will move a lot before acceleration measurement begins, performing calibration periodically can reduce acceleration measurement errors.
[0053] 3. In the program according to the above embodiment, The second set time is longer than the first set time.
[0054] This allows the calibration results to be reflected when the vehicle is reliably stopped.
[0055] 4. The program according to the above embodiment After the measurement start instruction is accepted, the computer is further caused to perform the calibration once every time the vehicle stops.
[0056] This allows calibration to be performed appropriately only once when the vehicle is definitely stopped, such as when waiting at a traffic light. If calibration is performed multiple times each time the vehicle stops, there is a high possibility that calibration will be performed while the vehicle is moving, but by limiting the number of times to one, this possibility can be reduced.
[0057] 5. The program according to the above embodiment If calibration at the predetermined time interval is in progress at the time the measurement start instruction is accepted, the computer is further made to prioritize completion of the calibration.
[0058] This allows the calibration results to be utilized without being wasted.
[0059] 6. In the program according to the above embodiment, Obtaining the speed information of the vehicle receiving a GPS signal of the communication device present in the vehicle; calculating speed information of the communication device based on the GPS signal, and acquiring the speed information of the communication device as speed information of the vehicle; Includes:
[0060] This allows the moving speed of the communication device 30 that may be brought inside the vehicle to be used as the vehicle's traveling speed, eliminating the need to receive information on the vehicle's traveling speed from the vehicle or the like.
[0061] 7. In the program according to the above embodiment, The case where the vehicle has stopped means that the speed of the vehicle has become 0 km / h.
[0062] This makes it possible to accurately calculate the time that has elapsed since the vehicle speed reached 0 km / h.
[0063] 8. The program according to the above embodiment The computer of the communication device (30) obtaining speed information of the communication device; receiving an instruction to start measuring acceleration by an acceleration sensor (306) of the communication device; When the measurement start instruction is received and the movement of the communication device is stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the movement of the communication device was stopped while the communication device was in a stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the movement of the communication device stopped and the communication device remained in the stopped state; Execute the following.
[0064] This allows the acceleration sensor to be calibrated without the user's awareness when measuring driving behavior using the acceleration sensor of the communication device. In addition, since the calibration results performed when the communication device is definitely stationary can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0065] 9. In the program according to the above embodiment, Obtaining speed information of the communication device receiving a GPS signal of the communication device; calculating velocity information of the communication device based on the GPS signal; Includes:
[0066] This makes it possible to easily calculate the moving speed of the communication device 30 that may be brought inside the vehicle.
[0067] 10. The storage medium according to the above embodiment is A computer-readable storage medium that stores the program described in the above embodiment.
[0068] This makes it possible to realize the functions of the programs described in the above embodiments as a storage medium.
[0069] 11. The communication device (30) according to the above embodiment is Acquisition means (301, 303) for acquiring speed information of a vehicle (20); Accepting means (301, 305) for accepting an instruction to start measuring acceleration by an acceleration sensor (306) of the communication device; an execution means (301) for executing calibration of the acceleration sensor in response to a first set time having elapsed since the vehicle stopped while the vehicle was stopped, when the measurement start instruction has been received and the vehicle has stopped; A storage means (302) for storing the results of the calibration; a reflection means (301) for reflecting the stored result of the calibration in response to a second set time having elapsed since the vehicle stopped while remaining in the stopped state; Equipped with.
[0070] This allows the acceleration sensor of the communication device to be calibrated without the user's awareness when measuring driving behavior using the acceleration sensor. In addition, since the calibration results performed when the vehicle is reliably stopped can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0071] 12. The communication device (30) according to the above embodiment is Acquisition means (301, 303) for acquiring speed information of the communication device; Accepting means (301, 305) for accepting an instruction to start measuring acceleration by an acceleration sensor (306) of the communication device; an execution means (301) for executing calibration of the acceleration sensor in response to a first set time having elapsed since the communication device stopped moving when the measurement start instruction has been received and the communication device has stopped moving; a storage means for storing the results of the calibration; a reflecting means for reflecting the stored result of the calibration in response to a second set time having elapsed since the movement of the communication device stopped while the communication device was in the stopped state; Equipped with.
[0072] This allows the acceleration sensor to be calibrated without the user's awareness when measuring driving behavior using the acceleration sensor of the communication device. In addition, since the calibration results performed when the communication device is definitely stationary can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0073] 13. The control method for the communication device (30) according to the above embodiment includes: Obtaining speed information of a vehicle (20); receiving an instruction to start measuring acceleration by an acceleration sensor (306) of the communication device (30); When the measurement start instruction is received and the vehicle is stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the vehicle stopped while remaining in the stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the vehicle was stopped while remaining in the stopped state; It has.
[0074] This allows the acceleration sensor of the communication device to be calibrated without the user's awareness when measuring driving behavior using the acceleration sensor. In addition, since the calibration results performed when the vehicle is reliably stopped can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0075] 14. The control method for the communication device (30) according to the above embodiment includes: obtaining speed information of the communication device; receiving an instruction to start measuring acceleration by an acceleration sensor (306) of the communication device; When the measurement start instruction is received and the movement of the communication device is stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the movement of the communication device was stopped while the communication device was in a stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the movement of the communication device stopped and the communication device remained in the stopped state; It has.
[0076] This allows the acceleration sensor to be calibrated without the user's awareness when measuring driving behavior using the acceleration sensor of the communication device. In addition, since the calibration results performed when the communication device is definitely stationary can be reflected, it is possible to reduce acceleration measurement errors when measuring driving behavior.
[0077] The invention is not limited to the above-described embodiment, and various modifications and variations are possible within the scope of the gist of the invention. [Explanation of symbols]
[0078] 10: Server, 20: Vehicle, 30: Communication device, 301: CPU, 302: Storage device, 303: Communication unit, 304: Display unit, 305: Operation input unit, 306: Acceleration sensor
Claims
1. The computer of the communication device Obtaining vehicle speed information; receiving an instruction to start measuring acceleration by an acceleration sensor of the communication device; When the measurement start instruction has been received and the vehicle has stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the vehicle stopped while remaining in the stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the vehicle was stopped while the vehicle was in the stopped state; A program characterized by executing the following.
2. 2. The program according to claim 1, further causing the computer to perform the calibration of the acceleration sensor at predetermined time intervals when the vehicle is stopped before the measurement start instruction is accepted and reflect the calibration.
3. 2. The program according to claim 1, wherein the second set time is longer than the first set time.
4. 2. The program according to claim 1, further causing the computer to execute the calibration once every time the vehicle stops after the measurement start instruction is accepted.
5. 3. The program according to claim 2, further causing the computer to prioritize completion of calibration at the predetermined time interval if the calibration is in progress at the time the measurement start instruction is accepted.
6. Obtaining the speed information of the vehicle receiving a GPS signal of the communication device present in the vehicle; calculating speed information of the communication device based on the GPS signal, and acquiring the speed information of the communication device as speed information of the vehicle; 2. The program according to claim 1, further comprising:
7. 2. The program according to claim 1, wherein the vehicle is stopped when the speed of the vehicle becomes 0 km / h.
8. The computer of the communication device obtaining speed information of the communication device; receiving an instruction to start measuring acceleration by an acceleration sensor of the communication device; when the measurement start instruction has been received and the movement of the communication device has stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the movement of the communication device has stopped and the communication device has remained in a stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the movement of the communication device stopped and the communication device remained in the stopped state; A program characterized by executing the following.
9. Obtaining speed information of the communication device receiving a GPS signal of the communication device; calculating velocity information of the communication device based on the GPS signal; 9. The program according to claim 8, further comprising:
10. A computer-readable storage medium storing the program according to any one of claims 1 to 9.
11. A communication device, an acquisition means for acquiring vehicle speed information; a receiving means for receiving an instruction to start measuring acceleration by the acceleration sensor of the communication device; an execution means for executing calibration of the acceleration sensor in response to a first set time period having elapsed since the vehicle stopped when the measurement start instruction has been received and the vehicle has stopped; a storage means for storing the results of the calibration; a reflecting means for reflecting the stored result of the calibration in response to a second set time having elapsed since the vehicle was stopped while remaining in the stopped state; A communication device comprising:
12. A communication device, an acquisition means for acquiring speed information of the communication device; a receiving means for receiving an instruction to start measuring acceleration by the acceleration sensor of the communication device; an execution means for executing calibration of the acceleration sensor in response to a first set time period having elapsed since the communication device stopped moving when the measurement start instruction has been received and the communication device has stopped moving; a storage means for storing the results of the calibration; a reflecting means for reflecting the stored result of the calibration in response to a second set time having elapsed since the movement of the communication device was stopped while the communication device was in the stopped state; A communication device comprising:
13. A method for controlling a communication device, comprising: Obtaining vehicle speed information; receiving an instruction to start measuring acceleration by an acceleration sensor of the communication device; When the measurement start instruction has been received and the vehicle has stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the vehicle stopped while remaining in the stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the vehicle was stopped while the vehicle was in the stopped state; A method for controlling a communication device, comprising:
14. A method for controlling a communication device, comprising: obtaining speed information of the communication device; receiving an instruction to start measuring acceleration by an acceleration sensor of the communication device; when the measurement start instruction has been received and the movement of the communication device has stopped, calibrating the acceleration sensor in response to a first set time having elapsed since the movement of the communication device has stopped and the communication device has remained in a stopped state; storing the results of the calibration; reflecting the stored result of the calibration in response to a second set time having elapsed since the movement of the communication device stopped and the communication device remained in the stopped state; A method for controlling a communication device, comprising:
Citation Information
Patent Citations
Navigator
JP1998307032A
Mobile terminal, program executed by mobile terminal, calibration system, and calibration method
JP6684393B2