A meteorological data acquisition device and acquisition method based on line information
Through the meteorological data acquisition device and method based on line information, the situation where users cannot predict future weather during riding is solved, intelligent prediction and early notification of weather information is realized, and sports safety is improved.
Patent Information
- Application Number
- CN202210155529.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-02-21
AI Technical Summary
During the cycling process, users cannot accurately know the weather conditions that will be reached in the future, especially in areas with changing weather, which affects users' sports experience and physical safety.
Through a meteorological data acquisition device and method based on line information, the code table device and mobile terminal cooperate to decompose the line into multiple latitude and longitude coordinate points based on the line information and current position data of the user, and obtain it through the meteorological data platform. The weather data at each point is calculated and the weather information is sent to the code table device after calculating the exercise time.
It realizes intelligent prediction of the weather information of the future arrival location based on the navigation route, informing users of the weather conditions in advance, helping users to deal with sudden weather conditions during exercise, and improving exercise safety.
Smart Images

Figure CN114564659B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and more specifically, to a device and method for acquiring meteorological data based on line information. Background Art
[0002] Currently, there are not many cycling computers that can display weather information. Although there are some that push regional weather information based on the user's designated location or satellite positioning, when users ride outdoors, due to the uncertainty of the weather, especially in areas with changeable weather, it is difficult for users to know the weather conditions in the future. The weather conditions often directly affect the user's sports experience and have a particularly obvious impact on physical safety. This technology is invented to address this defect. Summary of the invention
[0003] The present invention aims to solve the technical problem in the prior art that a user cannot know the weather conditions of a destination in the future during riding, and provides a meteorological data acquisition device and method based on route information.
[0004] According to a first aspect of the present invention, there is provided a device for obtaining line information or meteorological data, including a code meter device and a mobile phone terminal;
[0005] The mobile phone terminal is used to decompose the route information of the user's riding route sent by the code meter device into multiple longitude and latitude coordinate points, and obtain the meteorological data of each longitude and latitude coordinate point based on the meteorological data of the meteorological data platform; it is also used to calculate the movement time t of the user riding from the current position to the next position according to the current position information and current movement data of the user, and send the meteorological data after t time and the corresponding next position to the code meter device;
[0006] The cycling device is used to obtain the current position information and current motion data of the user, and send them to the mobile phone terminal.
[0007] According to a second aspect of the present invention, there is provided a method for acquiring meteorological data based on line information, comprising:
[0008] The meter device obtains the current position information and current motion data of the user's riding, and sends the current position information, current motion data and user's riding route information to the mobile terminal;
[0009] The mobile phone terminal decomposes the user's cycling route information sent by the code meter device into multiple longitude and latitude coordinate points, and obtains the meteorological data of each longitude and latitude coordinate point based on the meteorological data of the meteorological data platform; and calculates the movement time t of the user from the current position to the next position based on the user's current position information and current motion data, and sends the meteorological data after t time and the corresponding next position to the code meter device.
[0010] The present invention provides a meteorological data acquisition device and method based on route information, which can intelligently predict the weather information of the future destination according to the navigation route and action trajectory issued by the code table, inform the user of the weather conditions in advance, and effectively help the user deal with sudden weather conditions during exercise. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of the structure of a meteorological data acquisition device based on line information provided by the present invention;
[0012] Figure 2 This is a schematic diagram of the plane displacement during the user's riding process;
[0013] Figure 3 A schematic diagram for decomposing a user's cycling route into multiple longitude and latitude coordinate points;
[0014] Figure 4 A schematic diagram of a method for acquiring meteorological data based on line information provided by the present invention;
[0015] Figure 5 The figure is a schematic diagram of the overall process of a method for obtaining meteorological data based on line information. DETAILED DESCRIPTION
[0016] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0017] Embodiment 1
[0018] A meteorological data acquisition device based on line information, see Figure 1 The meteorological data acquisition device includes a code meter device and a mobile phone terminal.
[0019] The mobile phone terminal is used to decompose the user's riding route information sent by the code table device into multiple longitude and latitude coordinate points, and obtain the meteorological data of each longitude and latitude coordinate point based on the meteorological data of the meteorological data platform; it is also used to calculate the movement time t of the user from the current position to the next position based on the user's current position information and current motion data, and send the meteorological data after t time and the corresponding next position to the code table device; the code table device is used to obtain the user's current position information and current motion data, and send them to the mobile phone terminal.
[0020] As an embodiment, the cycling computer device has a built-in GNSS module and a Bluetooth module, or has a built-in GNSS module, an acceleration sensor and a Bluetooth module; based on the GNSS module or based on the GNSS module and the acceleration sensor, the current position information and current motion data of the user's riding are obtained, and the current position information and current motion data of the user's riding are sent to the mobile phone terminal through the Bluetooth module.
[0021] Among them, the GNSS module contains a chipset of RF radio frequency chip, baseband chip and microprocessor. The GNSS module will receive signals from the specified satellite frequency band through the RF radio frequency chip and baseband chip, and parse them through the microprocessor chip to obtain the latitude and longitude, time and heading of the current location. The map navigation on the code table is divided into two parts by the GNSS module and the navigation software to complete the navigation work. Among them, GNSS is responsible for searching, tracking and collecting location data, and the navigation software is used for human-computer interface interaction and path guidance calculation.
[0022] The user's speed during riding is obtained by combining the data obtained from the GNSS module and acceleration sensor of the cycling device with an algorithm, which is an important parameter for predicting the longitude and latitude coordinates of the destination. Bluetooth is a radio technology that supports short-distance communication between devices. It can exchange wireless information between cycling computers, mobile phones and other terminal devices.
[0023] As an embodiment, the mobile phone terminal has built-in maps, cellular network and Bluetooth functions, which can transmit and encode specific data to the code meter device, and can match the longitude and latitude coordinates of the route with the data of the Meteorological Bureau through the cellular network to obtain the weather information of the coordinate points, encode the information in a specific format, and send the data to the code meter device through the Bluetooth chip.
[0024] The code computer device has a built-in GNSS module, an accelerometer and a Bluetooth module. The GNSS module and the accelerometer can exist at the same time or only the GNSS module can exist. In addition to providing the current latitude and longitude information of the code computer device, the GNSS module can also provide movement speed and heading. The accelerometer can obtain movement speed data more accurately based on the GNSS module. This data will serve as an important basis for time displacement calculation; at the same time, this data will also be encoded in a specific format and sent to the mobile terminal via the Bluetooth chip.
[0025] As an embodiment, the motion data of the user during riding mainly includes motion speed, motion time, motion direction and displacement, etc. When calculating the motion data, it is divided into two different situations: with or without an acceleration sensor.
[0026] When the accelerometer is not installed in the code computer device, the obtained motion data is converted from the collected longitude and latitude coordinates. Since the data collected by the GNSS module has drift, it will affect the calculated value. Therefore, a filtering algorithm is needed to correct the collected data. The specific calculation process is as follows:
[0027] Movement displacement: s (x,y) =p (x,y) -p' (x,y) ;
[0028] Movement speed: v = d s / d t ;
[0029] Direction of movement:
[0030] Among them, s (x,y) represents the plane displacement, p (x,y) Indicates the position of the current detected point, p' (x,y) Indicates the position of the last detected point. The first-order derivative of the displacement with respect to time can be used to obtain the speed in the direction of motion. The actual displacement is obtained by performing the Pythagorean theorem calculation on the relative positions of the two riding points: Where Δy represents the difference between the y-axis of the current detection position and the y-axis of the previous detection position, and Δχ represents the difference between the x-axis of the current detection position and the x-axis of the previous detection position. S represents the plane displacement on the map during riding, which can be seen in Figure 2 shown.
[0031] When an accelerometer is installed in the meter device, the speed in the motion data is collected by the accelerometer, and the accuracy will be higher than using only GNSS. The accelerometer collects the acceleration in the x, y, and z axes. The speed in the three directions can be obtained by integrating it over time. Then the speed is vector-added to obtain the speed in the displacement direction. The specific calculation formula is:
[0032]
[0033]
[0034]
[0035] Among them, v x 、v y and v z are the speeds in three directions, and a x 、a y 、a z are the accelerations in three directions.
[0036] Based on the above embodiments, the motion data of the user during cycling is calculated, mainly including data such as motion speed, motion time, and motion direction. The mobile terminal is used to calculate the motion time t for the user to cycle from the current position to the next position according to the current position information and current motion data of the user's cycling, including: finding the nearest longitude and latitude coordinate point to the current position from the decomposed multiple longitude and latitude coordinate points as the next position according to the current position of the user's cycling; calculating the corresponding motion time t according to the displacement and motion speed between the current position and the next position:
[0037]
[0038] Among them, t represents the motion time from the current position to the next position, s represents the distance from the current position to the next position, v represents the current motion speed, a represents the current position, b represents the next position, and t' represents the time when the motion speed v is in the (<x) interval, that is, the time when the cyclocomputer is stationary and not moving.
[0039] Specifically, according to the current position information obtained by the cyclocomputer positioning, since the user's cycling is along the planned route, therefore, according to the current position of the user's cycling, find the next position to be cycled, which is the nearest longitude and latitude coordinate point on the planned route to the current position. Subsequently, according to the current position and the next position of the cyclocomputer device and the cycling speed, calculate the cycling time t for the user to cycle from the current position to the next position. When calculating the cycling time t, it is necessary to consider the stationary time when the user stops cycling during the cycling process. In the embodiments of the present invention, when the motion speed of the user's cycling is less than the set speed value x, it can be considered that the user is not cycling, and finally the total time t for the user to cycle from the current position to the next position is obtained. The mobile terminal sends the weather information and the corresponding coordinates (the coordinates of the next position) after t time to the cyclocomputer or other terminal devices through Bluetooth.
[0040] As an embodiment, the mobile terminal includes an alarm module for sending an alarm reminder to the user when the meteorological data after time t is special weather.
[0041] It is understandable that when encountering characteristic weather conditions, the mobile terminal sends an alarm reminder to the user. Among them, the reference basis for special weather includes but is not limited to the following:
[0042] (1) There is a large temperature difference between the two regions; (2) There are different weather conditions between the two regions (sunny, cloudy, light rain, heavy rain, thunder and lightning); (3) The visibility in the region is low; (4) The air quality in the region is poor; (5) The wind speed in the region is high.
[0043] As an embodiment, the mobile phone terminal is used to decompose the route information of the user riding route sent by the code meter device into multiple longitude and latitude coordinate points, including: decomposing the route into multiple longitude and latitude coordinate points according to the set distance interval according to the user riding route information, wherein the set distance interval is adjusted according to the route length and weather conditions until the difference between the meteorological data corresponding to the two longitude and latitude coordinate points before and after the decomposition is large.
[0044] As an embodiment, the method of decomposing the route into a plurality of longitude and latitude coordinate points according to the set distance interval according to the user's riding route information includes: setting the initial distance interval d0=2 0 △s', decompose the line into multiple longitude and latitude coordinate points according to the initial distance interval, obtain the meteorological data corresponding to each longitude and latitude coordinate point; compare the difference in meteorological data between the two adjacent longitude and latitude coordinate points, and when the difference is small, adjust the distance interval to 2 1 △s', decompose the route into multiple longitude and latitude coordinate points again, calculate the difference between the meteorological data of the two adjacent longitude and latitude coordinate points; and so on, adjust the distance interval by 2 each time n △s', until the meteorological data corresponding to the two preceding and succeeding longitude and latitude coordinate points differ greatly (for example, one adjacent coordinate area is sunny and the other is cloudy and rainy), n is the number of times the distance interval is adjusted, which serves as the characteristic coefficient of the distance interval; according to the finally determined distance interval, the route is decomposed into multiple longitude and latitude coordinate points.
[0045] Among them, in the process of obtaining the meteorological data of the longitude and latitude coordinates on the route, frequently obtaining the meteorological data of the route points will greatly consume terminal resources, but at the same time, it is necessary to respond to the changing weather conditions in a timely manner, that is, the update frequency of the meteorological data needs to be controlled. The main factors affecting the data update frequency are the number of coordinate points that the route is decomposed into and the time of each acquisition of meteorological data. The number of coordinate points Where s is the total length of the line, △s is the distance between each two coordinate points. The total length of the line is fixed, so the important factors that determine the frequency of meteorological data update are the update time of each coordinate point and the coordinate spacing. In addition to the user's custom setting of the corresponding values, the parameters can also be obtained by the algorithm. The algorithm flow is as follows: Figure 3 As shown, specifically, a line is pressed 2 0 The △s' interval is decomposed into several coordinates, each coordinate corresponds to a set of meteorological data, and the two sets of meteorological data are compared. If the difference between the two sets of meteorological data is large, the line is re-routed according to 2 1 △s' spacing for data comparison, and so on, each adjustment distance interval is 2 n △s', until the difference between the meteorological data corresponding to the two longitude and latitude coordinate points is large, n is the number of times the distance interval is adjusted, which is used as the characteristic coefficient of the distance interval; according to the finally determined distance interval, the line is decomposed into multiple longitude and latitude coordinate points.
[0046] From the data difference analysis, we can get the coefficient n, which determines the frequency of special weather in the area. It is also used as negative feedback information to be fed back to the algorithm for obtaining the number of coordinates, and the distance between the two places can be calculated as d = 2. n △s'. By collecting the spacing d of the same training line each time, the average spacing d in the area can be calculated Then, the average distance is applied to the initial distance for the next ride on the route. This can greatly reduce the consumption of terminal resources and make different data collection frequencies for different regions. The more times you ride in the same area, the better the effect.
[0047] The formula for the average spacing is:
[0048]
[0049] in is the average spacing calculated each time for the same line, x is the number of spacings collected for the same line, and d i Spacing value, i can be 1, 2, 3…
[0050] Embodiment 2
[0051] A method for obtaining meteorological data based on route information, see Figure 4The meteorological data acquisition method includes: S1, the code meter device acquires the current position information and current motion data of the user's riding, and sends the current position information, current motion data and the user's riding route information to the mobile phone terminal; S2, the mobile phone terminal decomposes the route information into multiple longitude and latitude coordinate points according to the user's riding route information sent by the code meter device, and acquires the meteorological data of each longitude and latitude coordinate point based on the meteorological data of the meteorological data platform; and S3, according to the current position information and current motion data of the user's riding, calculates the movement time t of the user riding from the current position to the next position, and sends the meteorological data after t time and the corresponding next position to the code meter device.
[0052] It is understandable that, see Figure 5 , provides an overall flow chart of a method for obtaining meteorological data based on route information, uses a GNSS module to obtain real-time longitude and latitude to obtain the current location information and heading, and parses the navigation route issued by the user, decomposing the route into longitude and latitude coordinates of multiple points, and obtains the corresponding weather information on the meteorological data platform through the longitude and latitude coordinates. According to the current user's riding speed and combined with an algorithm, the coordinate point position reached after n hours is determined, and the weather information of the location is sent to the APP and the LCD screen of the meter via ANT or Bluetooth as a medium for human-computer interaction. Compare the weather information of the current location with the weather information of the route coordinates, and determine whether it is special weather to choose whether to send a warning reminder to the user.
[0053] The following is a specific example to illustrate the device and method for obtaining meteorological data based on line information provided by an embodiment of the present invention.
[0054] When the user uses the meter device with weather forecast function for the first time, the mobile terminal and the meter are connected via Bluetooth. Now the user plans to ride from A to B, a total of 80 kilometers, and sends the route to the meter device. After the meter device saves the route, it will send the route information to the mobile terminal. The mobile terminal obtains the weather conditions of 8 regions at a distance of 10 kilometers for each coordinate through the route information and sends it to the meter. At the same time, the mobile phone will also analyze and collect weather characteristics and find that the weather difference between the two coordinates is not large. Therefore, the update time and coordinate interval of each coordinate point are extended, and the coefficient is returned to the meter and saved in the information of the route. According to the changed coefficient, the mobile phone obtains the weather conditions of 4 regions at a distance of 20 kilometers for each coordinate and sends it to the meter. The mobile terminal detects that there is a certain difference in the weather conditions between the two coordinates, so it does not change the coefficient value until the difference is significantly increased or decreased in the next detection. The code meter device determines the current position through positioning, and calculates the movement time required for each coordinate point to reach the current position through internal time displacement calculation, and sends it to the mobile terminal. At this time, on the mobile terminal and the code meter device, the position, time and weather conditions of the coordinate point will correspond one by one. If special weather is found, the code meter device and the mobile terminal can send a warning message to remind the user.
[0055] The user can directly open the saved route in the code meter device for the second time and send the previously saved coefficients to the mobile terminal. The mobile terminal will automatically obtain the weather conditions of the four regions at a distance of 20 kilometers for each coordinate based on the coefficients and send them to the code meter device. The code meter device will then complete the same operation.
[0056] The meteorological data acquisition device and acquisition method based on line information provided by the present invention have the following advantages compared with the prior art:
[0057] 1. Added weather forecast function to the meter device: it can better help users estimate the arrival time and corresponding weather conditions in advance;
[0058] 2. Send warnings when encountering special weather conditions: Help users respond to sudden weather conditions in a timely manner during riding.
[0059] 3. Any terminal with basic communication and positioning capabilities can use this technology: strong functional compatibility.
[0060] 4. Weather conditions have a certain impact on the user's sports safety: this function improves sports safety.
[0061] 5. Add selling points to computer products to attract more customers.
[0062] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0063] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0064] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0065] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0066] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0067] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0068] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A meteorological data acquisition device based on line information, characterized in that: Including code meter equipment and mobile phone terminals; The mobile terminal is used to decompose the route information of the user's riding route sent by the code meter device into multiple longitude and latitude coordinate points, and obtain meteorological data of each longitude and latitude coordinate point based on the meteorological data of the meteorological data platform; It is also used to calculate the movement time t of the user riding from the current position to the next position according to the current position information and current movement data of the user, and send the meteorological data after t time and the corresponding next position to the cycling meter device; The cycling meter device is used to obtain the current position information and current motion data of the user, and send them to the mobile terminal; The current motion data of the user's riding includes motion speed, motion time, motion direction and motion displacement; When the cycling computer device has a built-in GNSS module and a Bluetooth module, the current motion data of the user's riding is obtained by converting the longitude and latitude coordinates collected by the GNSS module: Movement displacement: ; Movement speed: ; Direction of movement: ; in, represents the plane displacement, Indicates the location of the current detected point. It represents the position of the last detected point. The first-order derivative of displacement with respect to time is used to obtain the velocity in the direction of motion. The actual displacement is obtained by performing the Pythagorean theorem calculation on the relative positions of the two riding points: ,in Indicates the y-axis difference between the current detection position and the y-axis difference between the previous detection position. Indicates the x-axis difference between the current detection position and the previous detection position; When the cycling computer device has a built-in GNSS module, an accelerometer, and a Bluetooth module, the accelerations in the x, y, and z axes collected by the accelerometer during the user's riding process are integrated over time to obtain the velocities in the three directions. The velocities in the three directions are vector-added to obtain the velocities in the direction of motion displacement. The velocities in the three directions obtained by integrating over time include: ; ; ; in, , and are the speeds in three directions, , , is the acceleration in three directions.
2. The meteorological data acquisition device according to claim 1, characterized in that: The code computer device has a built-in GNSS module and a Bluetooth module, or a built-in GNSS module, an acceleration sensor and a Bluetooth module; The current position information and current motion data of the user's riding are obtained based on the GNSS module or based on the GNSS module and the acceleration sensor, and the current position information and current motion data of the user's riding are sent to the mobile phone terminal through the Bluetooth module.
3. The meteorological data acquisition device according to claim 1 or 2, characterized in that: The GNSS module includes an RF radio frequency chip, a baseband chip and a microprocessor; The RF radio frequency chip and the baseband chip receive signals from a designated satellite frequency band; The microprocessor is used to analyze the signal of the designated satellite frequency band to obtain the longitude and latitude of the current position of the code meter device, the movement time and the movement heading information.
4. The meteorological data acquisition device according to claim 1, characterized in that: The mobile terminal is used to calculate the movement time t of the user riding from the current position to the next position according to the current position information and current movement data of the user, including: According to the current location of the user, the latitude and longitude coordinate point closest to the current location is found from the multiple decomposed longitude and latitude coordinate points as the next location; According to the displacement and movement speed between the current position and the next position, calculate the corresponding movement time t: ; Among them, t represents the movement time from the current position to the next position, s represents the distance from the current position to the next position, v represents the current movement speed, a represents the current position, and b represents the next position. It indicates the time when the movement speed v is less than the set speed value m, that is, the time when the stopwatch is stationary and not moving.
5. The meteorological data acquisition device according to claim 1, characterized in that: The mobile phone terminal is used to decompose the user's riding route information sent by the code meter device into a plurality of latitude and longitude coordinate points, including: According to the user's cycling route information, the route is decomposed into multiple longitude and latitude coordinate points according to the set distance interval, wherein the set distance interval is adjusted according to the route length and weather conditions until the difference between the meteorological data corresponding to the two longitude and latitude coordinate points before and after the decomposition is large.
6. The meteorological data acquisition device according to claim 5, characterized in that: The method of decomposing the route into a plurality of longitude and latitude coordinate points according to the set distance intervals based on the user's riding route information includes: Set initial distance interval , decompose the route into multiple longitude and latitude coordinate points according to the initial distance interval, and obtain the meteorological data corresponding to each longitude and latitude coordinate point; Compare the difference between the meteorological data of the two adjacent longitude and latitude coordinate points. If the difference is small, adjust the distance interval to , the route is decomposed into multiple longitude and latitude coordinate points again, and the difference between the meteorological data of the two adjacent longitude and latitude coordinate points is compared; And so on, each adjustment distance interval is , until the meteorological data corresponding to the two latitude and longitude coordinate points are significantly different, the final distance interval is determined, and n is the number of distance interval adjustments, which is used as the characteristic coefficient of the distance interval; According to the determined final distance interval, the line is decomposed into multiple longitude and latitude coordinate points.
7. The meteorological data acquisition device according to claim 1, characterized in that: The mobile phone terminal includes an alarm module, which is used to send an alarm reminder to the user when the meteorological data after time t is special weather.
8. A method for obtaining meteorological data based on line information, characterized in that: include; The meter device obtains the current location information and current motion data of the user's riding, and sends the current location information, current motion data and user's riding route information to the mobile terminal; The mobile terminal decomposes the user's riding route information sent by the meter device into multiple longitude and latitude coordinate points, and obtains meteorological data of each longitude and latitude coordinate point based on the meteorological data of the meteorological data platform; And according to the current position information and current motion data of the user, the motion time t of the user from the current position to the next position is calculated, and the weather data after t time and the corresponding next position are sent to the cycling meter device; The current motion data of the user's riding includes motion speed, motion time, motion direction and motion displacement; When the cycling computer device has a built-in GNSS module and a Bluetooth module, the current motion data of the user's riding is obtained by converting the longitude and latitude coordinates collected by the GNSS module: Movement displacement: ; Movement speed: ; Direction of movement: ; in, represents the plane displacement, Indicates the location of the current detected point. Indicates the position of the last detected point. The first-order derivative of the displacement with respect to time can be used to obtain the speed in the direction of motion. The actual displacement is obtained by performing the Pythagorean theorem calculation on the relative positions of the two riding points: ,in Indicates the y-axis difference between the current detection position and the y-axis difference between the previous detection position. Indicates the x-axis difference between the current detection position and the previous detection position; When the cycling computer device has a built-in GNSS module, an accelerometer, and a Bluetooth module, the accelerations in the x, y, and z axes collected by the accelerometer during the user's riding process are integrated over time to obtain the velocities in the three directions. The velocities in the three directions are vector-added to obtain the velocities in the direction of motion displacement. The velocities in the three directions obtained by integrating over time include: ; ; ; in, , and are the speeds in three directions, , , is the acceleration in three directions.
9. The method for obtaining meteorological data according to claim 8, characterized in that: The mobile terminal decomposes the user's riding route information sent by the code meter device into a plurality of latitude and longitude coordinate points, including: According to the user's cycling route information, the route is decomposed into multiple longitude and latitude coordinate points according to the set distance interval, wherein the set distance interval is adjusted according to the route length and weather conditions until the difference between the meteorological data corresponding to the two longitude and latitude coordinate points before and after the decomposition is large.
Citation Information
Patent Citations
Vehicle-mounted meteorological data management method and apparatus, terminal device and storage medium
CN110567472A
Following riding gradient identification and calculation method based on leading riding
CN112945246A