Method, device, storage medium and electronic device for selecting location of fitness trail

By analyzing user signaling data and base station work parameter data, suitable running paths in the city are determined, which solves the problem of scarcity of suitable running areas in the city, realizes scientific location selection of fitness trails, and improves the accuracy and practicality of location selection. .

CN117979225BActive Publication Date: 2024-09-10北京大也智慧数据科技服务有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410369974.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-09-10
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

There are few areas suitable for running in the city, which leads to great safety risks for residents when running on the road. It is difficult to effectively select the construction site of outdoor fitness facilities with existing technology.

Method used

By obtaining the user's signaling data and base station work parameter data, the average moving speed and running path of the user in the area of ​​interest are determined, and the construction address of the fitness trail is selected to ensure the accuracy and scientificity of the site selection.

Benefits of technology

It achieves precise location selection based on the user's running path, improves the accuracy and practicality of location selection, and ensures that fitness trails are built in safe and commonly used areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117979225B
    Figure CN117979225B
Patent Text Reader

Abstract

The present specification discloses a method, device, storage medium and electronic device for selecting a site for a fitness trail, and relates to the field of sports information statistics. The method can determine the user location information corresponding to each signaling data based on the acquired signaling data of multiple users and the working parameter data of multiple base stations. Then, according to the preset area of ​​interest, the signaling data of multiple users, and the user location information corresponding to the signaling data, the average moving speed of the users in the area of ​​interest within a random time period is determined. Then, the random time period in which the average moving speed of the user is within the preset running speed interval is determined as the user's running time period, and the running path of the user during the running time period is determined. Finally, according to multiple running paths, the construction address of the fitness trail is selected. It can be seen that the site selection of the fitness trail can be realized, and the site selection can be carried out based on the path where the user often runs, thereby improving the accuracy, scientificity and practicality of the site selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the field of sports information statistics, and in particular to a method, device, storage medium and electronic device for selecting a location for a fitness trail. Background Art

[0002] As an important form of exercise in people's daily lives, outdoor running is very popular. However, since there are few areas suitable for running in cities, some residents in cities will run on roads, which poses a great safety hazard.

[0003] In the prior art, the municipal government usually plans the construction of outdoor fitness facilities such as plastic running tracks and fitness parks to facilitate residents to exercise. However, how to select the construction site of such outdoor fitness facilities is a problem that needs to be solved.

[0004] This specification provides a method, device, storage medium and electronic device for selecting a site for an outdoor fitness facility. Summary of the invention

[0005] This specification provides a method and device for selecting a site for a fitness trail to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] This manual provides a method for selecting a location for a fitness trail, including:

[0008] Acquire signaling data of multiple users and working parameter data of multiple base stations; the signaling data includes a user identifier, a timestamp and a base station identifier;

[0009] According to the base station identifiers respectively carried by the plurality of signaling data, respectively obtain the user location information corresponding to each signaling data from the base station working parameter data corresponding to each base station identifier;

[0010] According to a preset area of ​​interest, signaling data of the plurality of users, and user location information corresponding to the signaling data, when it is determined that at least one user is in the area of ​​interest, determining an average moving speed of the at least one user in a random time period; the area of ​​interest includes a large park and / or a residential area and / or a tourist attraction; and the duration of the random time period is greater than a preset duration;

[0011] Determine a random time period during which the average speed of the user is within a preset running speed interval as a running time period of the user;

[0012] Determine, according to the signaling data of the multiple users, the running time periods, and the user position information corresponding to each signaling data, the running paths of the multiple users when they perform running exercises in the multiple running time periods;

[0013] A construction address for a fitness trail is selected based on the multiple running paths.

[0014] Preferably, the acquiring signaling data of multiple users includes:

[0015] Acquire multiple signaling data, where the signaling data at least includes a user identifier, a device identifier, a timestamp, and a base station identifier;

[0016] According to the user identifiers and device identifiers carried by the multiple signaling data, the signaling data having the same user identifier and device identifier is determined as signaling data of the same user.

[0017] Preferably, according to the base station identifiers respectively carried by the plurality of signaling data, obtaining the user location information corresponding to each signaling data from the base station working parameter data corresponding to each base station identifier respectively includes:

[0018] For each signaling data, according to the base station identifier carried by the signaling data and the base station identifiers respectively carried by the multiple base station engineering parameter data, determine the base station engineering parameter data corresponding to the signaling data from the multiple base station engineering parameter data;

[0019] The user location information corresponding to the signaling data is obtained from the base station working parameter data.

[0020] Preferably, the area of ​​interest includes a highway;

[0021] The maximum speed in the running speed interval is 4 meters per second;

[0022] The step of determining a random time period during which the average moving speed of the user is within a preset running moving speed interval as the running time period of the user includes:

[0023] Determine the travel distance and rest duration of the user in the random time period according to the signaling data of the user and the user location information corresponding to the signaling data; the rest duration is the duration during which the user's moving speed is less than the minimum speed of the running speed interval;

[0024] Determine a minimum rest time according to the average moving speed, the travel distance and a preset running and rest comparison table;

[0025] A random time period in which the average moving speed of the user is within the preset running moving speed interval and the rest time length is greater than the minimum rest time length is determined as the running time period of the user.

[0026] Preferably, the random time period has no intersection with a preset traffic peak time period.

[0027] Preferably, the selecting a construction address of a fitness trail according to the plurality of running paths includes:

[0028] For each running route, determining the frequency of running exercise performed by each user in the running route within a preset period, and determining the frequency as the usage frequency of the running route;

[0029] In an area of ​​interest, the most frequently used running path will be selected as the construction site for the fitness trail.

[0030] Preferably, the selecting a construction address of a fitness trail according to the plurality of running paths includes:

[0031] For each running path, according to the signaling data of the multiple users, the running time period, and the user location information corresponding to each signaling data, a running section in which the moving speed of each user in the running path changes most dramatically is determined from the running path; the length of the running section is a preset runway length;

[0032] The running section is selected as the construction site of the fitness trail.

[0033] On the other hand, this specification provides an information display device, including:

[0034] A first acquisition unit, configured to acquire signaling data of multiple users and working parameter data of multiple base stations; the signaling data includes a user identifier, a timestamp, and a base station identifier;

[0035] A second acquisition unit is used to acquire user location information corresponding to each signaling data from base station working parameter data corresponding to each base station identifier according to the base station identifiers respectively carried by the multiple signaling data;

[0036] a calculation unit, configured to determine, based on a preset area of ​​interest, signaling data of the plurality of users, and user location information corresponding to the signaling data, an average moving speed of the at least one user in a random time period when it is determined that the at least one user is in the area of ​​interest; the area of ​​interest includes a large park and / or a residential area and / or a tourist attraction; and the duration of the random time period is greater than a preset duration;

[0037] a determining unit, configured to determine a random time period during which the average moving speed of the user is within a preset running moving speed interval as a running time period of the user;

[0038] a search unit, configured to respectively determine the running paths of the multiple users when they are running in the multiple running time periods according to the signaling data of the multiple users, the running time periods, and the user position information corresponding to each signaling data;

[0039] The selection unit is used to select a construction address of a fitness trail based on the multiple running paths.

[0040] On the other hand, the present specification provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for selecting a site for a fitness trail is implemented.

[0041] On the other hand, the present specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for selecting a location for a fitness trail provided in the above aspect is implemented.

[0042] On the other hand, the present specification provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device implements the method for selecting a site for a fitness trail provided in the above aspect.

[0043] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0044] In the method for selecting a site for a fitness trail provided in this specification, the user location information corresponding to each signaling data can be determined based on the acquired signaling data of multiple users and the engineering parameter data of multiple base stations. Then, based on the preset area of ​​interest, the signaling data of multiple users, and the user location information corresponding to the signaling data, the average moving speed of the users in the area of ​​interest in a random time period is determined. Then, the random time period in which the average moving speed of the user is within the preset running speed interval is determined as the user's running time period, and the running path of the user during the running time period is determined. Finally, based on the multiple running paths, the construction address of the fitness trail is selected.

[0045] It can be seen from the above method that this method can realize the site selection of fitness trails, and can select sites based on the paths where users often run, thereby improving the accuracy, scientificity and practicality of site selection. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0047] Figure 1 A schematic flow chart of a method for selecting a location for a fitness trail provided in one embodiment of this specification;

[0048] Figure 2 A schematic diagram of a site selection device for a fitness trail provided in accordance with an embodiment of the present specification;

[0049] Figure 3 A schematic diagram of the structure of an electronic device provided for one embodiment of the present specification. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] Signaling data: data generated in the operator's network when a mobile terminal user makes a call, sends text messages, surfs the Internet, changes paging areas, etc. Usually, signaling data includes user ID, mobile device ID, timestamp, base station ID, field strength, delay, etc.

[0052] Base station engineering parameter data: data generated by the base station during operation, including base station longitude, base station latitude, base station name, downlink frequency, downlink bandwidth, base station identification, signaling data, and user location information corresponding to the signaling data.

[0053] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0054] Figure 1 The following is a flow chart of a method for selecting a location for a fitness trail in this specification, which specifically includes the following steps:

[0055] S100: Acquire signaling data of multiple users and working parameter data of multiple base stations; the signaling data includes a user identifier, a timestamp, and a base station identifier.

[0056] In this specification, the site selection method of the fitness trail can be performed by an electronic device. The electronic device can be a computer, a server, a mobile phone, etc. This specification does not limit the specific type of the electronic device, and it can be set as needed.

[0057] In order to determine the running path of the user when running, it is necessary to predetermine the real-time location of the user at multiple time points. Therefore, in one or more embodiments of this specification, the electronic device can determine the real-time location of each user at multiple time points through the base station working parameter data and the user's signaling data.

[0058] Preferably, the electronic device can obtain signaling data of multiple users and base station engineering parameter data of multiple base stations. The signaling data includes user identification, device identification, timestamp, base station identification, etc. The base station engineering parameter data includes base station identification, signaling data, user location information corresponding to the signaling data, etc.

[0059] Preferably, the electronic device can obtain signaling data and base station working parameter data through relevant communication operators. This specification does not limit how the electronic device obtains the data.

[0060] Preferably, the electronic device can determine, based on a preset Point of Interest (POI) area, multiple communication base stations whose communication range can cover or partially cover the POI area, and based on the communication base station, obtain signaling data of multiple users in the POI area, as well as base station engineering parameter data of multiple communication base stations.

[0061] S102: According to the base station identifiers respectively carried by the plurality of signaling data, user location information corresponding to each signaling data is respectively obtained from the base station working parameter data corresponding to each base station identifier.

[0062] It is understood by those skilled in the art that, generally speaking, signaling data does not contain accurate location information, but only contains user identification, device identification, base station identification, timestamp, etc. Therefore, the electronic device can determine the user location information corresponding to the signaling data from the base station engineering parameter data of the corresponding communication base station through the base station identification in the signaling data. It should be noted that the user location information is essentially the location information of the mobile device.

[0063] Preferably, the electronic device can obtain the user location information corresponding to each signaling data from the base station working parameter data corresponding to each base station identifier based on the base station identifiers respectively carried by the multiple signaling data.

[0064] S104: Based on a preset area of ​​interest, signaling data of the multiple users, and user location information corresponding to the signaling data, when it is determined that at least one user is in the area of ​​interest, determine an average moving speed of the at least one user in a random time period; the area of ​​interest includes a large park and / or a residential area and / or a tourist attraction; and the duration of the random time period is greater than the preset duration.

[0065] Those skilled in the art will appreciate that some users, when riding or driving a vehicle, have a speed close to that of a runner and are easily misidentified as a runner, which is not conducive to the location selection of a fitness trail. Therefore, in one or more embodiments of this specification, the electronic device determines the location of a fitness trail based only on users active in a preset POI area.

[0066] Preferably, the POI area is a preset area where fitness facilities and / or public service facilities may be built.

[0067] Preferably, the POI area includes a large park and / or a residential area and / or a tourist attraction.

[0068] Preferably, the POI area does not include a motor vehicle lane and / or a non-motor vehicle lane and / or a traffic light area and / or an indoor building area and / or an existing fitness trail.

[0069] Preferably, the electronic device can determine at least one user in the POI area from among the multiple users based on the POI area, the signaling data of the multiple users, and the user location information corresponding to each signaling data, and then determine the average moving speed of each user in the POI area in a random time period.

[0070] The duration of the random time period is greater than the preset duration.

[0071] Preferably, the length of the random time period is a preset fixed value, for example, 8 minutes, 10 minutes, 20 minutes, 30 minutes, or 1 hour.

[0072] It should be noted that the start time and end time of the random time period are not fixed and can be set as needed.

[0073] It can be understood by those skilled in the art that the interaction between mobile devices and communication base stations is extremely frequent, and multiple interactions can often occur within one minute, generating multiple signaling data. Therefore, the frequency of signaling data meets the needs of the site selection method of the fitness trail.

[0074] S106: Determine a random time period during which the average moving speed of the user is within a preset running moving speed interval as a running time period of the user.

[0075] Those skilled in the art will appreciate that when a user is running, the movement speed is usually significantly different from that of a user who is walking, riding a bicycle, or taking public transportation. Therefore, in one or more embodiments provided in this specification, the electronic device may determine whether the user is running based on the user's average movement speed within a random time period.

[0076] Preferably, the electronic device may determine a random time period during which the average moving speed of the user is within a preset running moving speed interval as the running time period of the user.

[0077] Preferably, the running speed interval is 2m / s-5m / s. Of course, the running speed interval can also be set to other intervals, such as 1.5m / s-7m / s, 1.8m / s-3.3m / s, and this specification does not limit the specific value of the running speed interval.

[0078] S108: Determine running paths of the multiple users during the multiple running time periods according to the signaling data of the multiple users, the running time periods, and the user position information corresponding to each signaling data.

[0079] In one or more embodiments of the present specification, after determining the running time period of the user, the running path of the user can be determined.

[0080] Preferably, the electronic device can determine, for the user corresponding to each running time period, the running path of the user when the user is running in at least one running time period based on multiple signaling data of the user, the running time period, and the user location information corresponding to each signaling data.

[0081] Preferably, the running path includes a starting point, an end point and a plurality of intermediate points.

[0082] S110: Selecting a construction address for a fitness trail based on the multiple running paths.

[0083] The electronic device can select a construction address for a fitness trail based on multiple running routes.

[0084] Preferably, the electronic device can randomly select a construction address of at least one fitness trail from a plurality of running paths.

[0085] Preferably, the electronic device determines the overlapping parts of the multiple running paths according to the multiple running paths of the multiple users in the multiple running time periods, and selects the overlapping parts whose length is greater than the preset minimum value of the fitness trail length as the construction address of the fitness trail.

[0086] based on Figure 1 The site selection method of the fitness trail shown can determine the user location information corresponding to each signaling data based on the acquired signaling data of multiple users and the engineering parameter data of multiple base stations. Then, according to the preset interest area, the signaling data of multiple users, and the user location information corresponding to the signaling data, the average movement speed of the users in the interest area in a random time period is determined. Then, the random time period in which the user's average movement speed is within the preset running speed interval is determined as the user's running time period, and the running path of the user during the running time period is determined. Finally, based on the multiple running paths, the construction address of the fitness trail is selected.

[0087] It can be seen from the above method that the site selection of fitness trails can be realized, and the site selection can be carried out based on the paths where users often run, thereby improving the accuracy, scientificity and practicality of the site selection.

[0088] Preferably, after acquiring the multiple signaling data, the electronic device can determine the signaling data with the same user identifier as the user data of the same user according to the user identifiers respectively carried in the multiple signaling data.

[0089] Preferably, after acquiring multiple signaling data, the electronic device can determine multiple signaling data with the same user identifier and device identifier as signaling data of the same user based on the user identifiers and device identifiers respectively carried in the multiple signaling data, and apply them to the process of executing subsequent steps such as S104, S106, and S108.

[0090] Preferably, when executing step S102, the electronic device can determine, for each signaling data, the base station industrial parameter data corresponding to the signaling data from multiple base station industrial parameter data based on the base station identifier carried by the signaling data and the base station identifiers respectively carried by the multiple base station industrial parameter data.

[0091] Then, the user location information corresponding to the signaling data is obtained from the base station working parameter data.

[0092] Preferably, the area of ​​interest includes a highway. It can be understood by those skilled in the art that there are sundries such as electric vehicles and bicycles parked on the sidewalks in some areas, which is not conducive to users running. Therefore, some users are accustomed to running on non-motorized vehicle lanes. However, riding bicycles also travel on non-motorized vehicle lanes. Therefore, in order to distinguish users running on non-motorized vehicle lanes from riding users, the electronic device can determine that the maximum speed of the running speed interval is 4m / s, and preset a running rest comparison table. Among them, the running rest comparison table is the length of time that users need to rest after running a certain distance under normal circumstances. It can be understood by those skilled in the art that running can consume physical strength more efficiently than riding users. Accordingly, users who run also need to rest for a longer time after completing a distance. Therefore, in one or more embodiments of this specification, the electronic device can determine whether the user is a running user by judging whether the rest time of the user is greater than the minimum rest time.

[0093] When executing step S104, the electronic device may determine the travel distance and rest duration of the user in the random time period according to the signaling data of the user and the user location information corresponding to the signaling data.

[0094] Then, the minimum rest time is determined based on the average speed, the travel distance, and the preset running and rest comparison table. Finally, the random time period in which the user's average speed is within the preset running speed range and the rest time is greater than the minimum rest time is determined as the user's running time period. Among them, the running and rest comparison table is a preset table, which indicates the rest time corresponding to different travel distances and average travel speeds. The longer the travel distance, the greater the average travel speed, and the longer the rest time. For example, the rest time for traveling 0.5-1km at a speed of 3m / s-4m / s is 3 minutes, the rest time for traveling 0.5-1km at a speed of 4m / s-5m / s is 5 minutes, and the rest time for traveling 1-2km at a speed of 4m / s-5m / s is 10 minutes.

[0095] Preferably, the rest time is the time during which the user's moving speed is less than the minimum speed of the running speed interval.

[0096] Preferably, the rest time is the time during which the user's moving speed is less than a preset rest speed. The rest speed is 1 m / s or 0.5 m / s, and this specification does not limit the specific value of the rest speed.

[0097] The peak traffic time periods are the morning peak (7:00-9:00) and the evening peak (17:00-19:00). Those skilled in the art will understand that many users may run during the peak traffic time periods, but the running paths of these users are often not suitable for building fitness trails. Therefore, when determining the random time period, the electronic device can avoid the peak traffic time period, so that the random time period has no intersection with the preset peak traffic time period.

[0098] Preferably, after determining the plurality of running paths, the electronic device can determine, for each running path, the frequency of running exercise performed by each user in the running path within a preset period, and determine it as the usage frequency of the running path. Then, the running path with the highest usage frequency in an area of ​​interest is selected as the construction address of the fitness trail.

[0099] Preferably, the electronic device can select a running path with a usage frequency greater than a preset frequency as a construction address for a fitness trail. For example, the preset period is 1 month and the preset frequency is 20 people.

[0100] Preferably, after determining a plurality of running paths, the electronic device can determine, for each running path, the running section where the moving speed of each user changes most dramatically in the running path according to the signaling data of the plurality of users, the running time period, and the user location information corresponding to each signaling data. The length of the running section is a preset runway length, such as 400m or 800m. The running section is then selected as the construction address of the fitness trail. It is understood by those skilled in the art that the user's speed changes more dramatically during the running process, which is probably due to poor road conditions, so the fitness trail can be preferentially built in the corresponding section.

[0101] Among them, the electronic device can determine the user's instantaneous speed at multiple time points based on the user's signaling data and the user location information corresponding to each signaling data, and then determine the time period when the user's moving speed changes most dramatically in the running path based on the user's instantaneous speed at multiple time points; finally, based on the user's signaling data and the user location information corresponding to each signaling data, determine the running section where the user's moving speed changes most dramatically in the running path.

[0102] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.

[0103] The above is a method for selecting a location for a fitness trail provided in one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding device for selecting a location for a fitness trail, such as Figure 2 shown.

[0104] Figure 2 A schematic diagram of a site selection device for a fitness trail provided in this specification specifically includes:

[0105] The first acquisition unit 200 is used to acquire signaling data of multiple users and working parameter data of multiple base stations; the signaling data includes a user identifier, a timestamp and a base station identifier.

[0106] The second acquisition unit 202 is used to acquire the user location information corresponding to each signaling data from the base station working parameter data corresponding to each base station identifier according to the base station identifiers respectively carried by the multiple signaling data.

[0107] The calculation unit 204 is used to determine the average moving speed of the at least one user in a random time period when it is determined that at least one user is in the area of ​​interest based on a preset area of ​​interest, the signaling data of the multiple users, and the user location information corresponding to the signaling data; the area of ​​interest includes a large park and / or a residential area and / or a tourist attraction; and the duration of the random time period is greater than the preset duration.

[0108] The determination unit 206 is configured to determine a random time period during which the average moving speed of the user is within a preset running moving speed interval as a running time period of the user.

[0109] The search unit 208 is used to determine the running paths of the multiple users when they are running in the multiple running time periods according to the signaling data of the multiple users, the running time periods, and the user position information corresponding to each signaling data.

[0110] The selection unit 210 is used to select a construction site of a fitness trail according to the multiple running paths.

[0111] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 Provides a site selection method for fitness trails.

[0112] This manual also provides Figure 3 The schematic structure diagram of the electronic device shown in FIG. Figure 3 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0113] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with hardware entity modules. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0114] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0115] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0116] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0117] It will be appreciated by those skilled in the art 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. Furthermore, 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.

[0118] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices, 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 processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. 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.

[0119] 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.

[0120] 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.

[0121] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0122] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0123] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0124] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0125] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification 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.

[0126] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0127] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0128] The above description is only an embodiment of this specification and is not intended to limit this specification. For those skilled in the art, this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification should be included in the scope of the claims of this application.

Claims

1. A method for selecting a location for a fitness trail, characterized in that: include: Acquire signaling data of multiple users and working parameter data of multiple base stations; the signaling data includes a user identifier, a timestamp and a base station identifier; According to the base station identifiers respectively carried by the plurality of signaling data, respectively obtain the user location information corresponding to each signaling data from the base station working parameter data corresponding to each base station identifier; According to a preset area of ​​interest, signaling data of the plurality of users, and user location information corresponding to the signaling data, when it is determined that at least one user is in the area of ​​interest, determining an average moving speed of the at least one user in a random time period; the area of ​​interest includes a large park and / or a residential area and / or a tourist attraction; and the duration of the random time period is greater than a preset duration; Determine a random time period during which the average speed of the user is within a preset running speed interval as a running time period of the user; Determine, according to the signaling data of the multiple users, the running time periods, and the user position information corresponding to each signaling data, the running paths of the multiple users when they perform running exercises in the multiple running time periods; According to the plurality of running paths, selecting a construction address of a fitness trail; The area of ​​interest includes a highway; The step of determining a random time period during which the average moving speed of the user is within a preset running moving speed interval as the running time period of the user includes: Determine the travel distance and rest duration of the user in the random time period according to the signaling data of the user and the user location information corresponding to the signaling data; the rest duration is the duration during which the user's moving speed is less than the minimum speed of the running speed interval; Determine a minimum rest time according to the average moving speed, the travel distance and a preset running and rest comparison table; A random time period in which the average moving speed of the user is within the preset running moving speed interval and the rest time length is greater than the minimum rest time length is determined as the running time period of the user.

2. The method according to claim 1, characterized in that The obtaining of signaling data of multiple users includes: Acquire multiple signaling data, where the signaling data at least includes a user identifier, a device identifier, a timestamp, and a base station identifier; According to the user identifiers and device identifiers carried by the multiple signaling data, the signaling data having the same user identifier and device identifier is determined as signaling data of the same user.

3. The method according to claim 1, characterized in that: According to the base station identifiers respectively carried by the plurality of signaling data, user location information corresponding to each signaling data is respectively obtained from the base station working parameter data corresponding to each base station identifier, including: For each signaling data, according to the base station identifier carried by the signaling data and the base station identifiers respectively carried by the multiple base station engineering parameter data, determine the base station engineering parameter data corresponding to the signaling data from the multiple base station engineering parameter data; The user location information corresponding to the signaling data is obtained from the base station working parameter data.

4. The method according to claim 1, characterized in that: The maximum speed in the running speed interval is 4 meters per second.

5. The method according to any one of claims 1 to 4, characterized in that: The random time period has no intersection with the preset traffic peak time period.

6. The method according to any one of claims 1 to 4, characterized in that: The step of selecting a construction address of a fitness trail according to the plurality of running paths comprises: For each running route, determining the frequency of running exercise performed by each user in the running route within a preset period, and determining the frequency as the usage frequency of the running route; In an area of ​​interest, the most frequently used running path will be selected as the construction site for the fitness trail.

7. The method according to any one of claims 1 to 4, characterized in that: The step of selecting a construction address of a fitness trail according to the plurality of running paths comprises: For each running path, according to the signaling data of the multiple users, the running time period, and the user location information corresponding to each signaling data, a running section in which the moving speed of each user in the running path changes most dramatically is determined from the running path; the length of the running section is a preset runway length; The running section is selected as the construction site of the fitness trail.

8. A site selection device for a fitness trail, characterized in that: include: A first acquisition unit, configured to acquire signaling data of multiple users and working parameter data of multiple base stations; the signaling data includes a user identifier, a timestamp, and a base station identifier; A second acquisition unit is used to acquire user location information corresponding to each signaling data from base station working parameter data corresponding to each base station identifier according to the base station identifiers respectively carried by the multiple signaling data; a calculation unit, configured to determine, based on a preset area of ​​interest, signaling data of the plurality of users, and user location information corresponding to the signaling data, an average moving speed of the at least one user in a random time period when it is determined that the at least one user is in the area of ​​interest; the area of ​​interest includes a large park and / or a residential area and / or a tourist attraction; and the duration of the random time period is greater than a preset duration; a determining unit, configured to determine a random time period during which the average moving speed of the user is within a preset running moving speed interval as a running time period of the user; a search unit, configured to respectively determine the running paths of the multiple users when they are running in the multiple running time periods according to the signaling data of the multiple users, the running time periods, and the user position information corresponding to each signaling data; A selecting unit, configured to select a construction address of a fitness trail according to the plurality of running paths; The area of ​​interest includes a highway; The determining unit is further configured to determine the travel distance and rest duration of the user in the random time period according to the signaling data of the user and the user location information corresponding to the signaling data; the rest duration is the duration during which the user's moving speed is less than the minimum speed of the running speed interval; The minimum rest duration is determined according to the average moving speed, the travel distance and a preset running-rest comparison table; a random time period in which the user's average moving speed is within a preset running moving speed interval and the rest duration is greater than the minimum rest duration is determined as the user's running time period.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1 to 7 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method described in any one of claims 1 to 7 is implemented.