Shared two-wheeled vehicle positioning reporting method and device, equipment, storage medium and program product

CN122602067APending Publication Date: 2026-08-18BEIJING APAKOLAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610888003.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-18
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0004]然而,骑行中采用固定间隔存在位置上报不及时的情形,静止时采用固定间隔浪费流量,固定间隔无法兼顾骑行中高频与静止状态;车辆从高速降至静止后,速度相关禁止标志未与时速同步,导致长时间不上报,从而影响共享两轮车定位的准确性

Benefits of technology

[0037]The aforementioned method, device, equipment, storage medium, and program product for reporting the location of shared two-wheeled vehicles acquire the real-time marker values ​​of the shared two-wheeled vehicles. These real-time markers include speed prohibition markers, unlock timeout prohibition markers, and parking point prohibition markers. The reporting cycle of the shared two-wheeled vehicles is also acquired. When all real-time marker values ​​meet the allowable conditions, the real-time location of the shared two-wheeled vehicles is reported to the platform according to the reporting cycle. By setting multiple markers on the shared two-wheeled vehicles and updating the marker values ​​and the real-time location reporting cycle based on the real-time status of the vehicles, and only dynamically reporting when the marker values ​​meet the allowable conditions, this approach achieves both energy saving in stationary states and rapid location updates during high-speed travel. This enables targeted settings for location reporting in different driving scenarios for shared electric vehicles, improving the efficiency and accuracy of location reporting for shared two-wheeled vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122602067A_ABST
    Figure CN122602067A_ABST
Patent Text Reader

Abstract

The application relates to a shared two-wheeled vehicle positioning reporting method and device, equipment, a storage medium and a program product, the method comprising the following steps: acquiring a flag value of a real-time flag bit of a shared two-wheeled vehicle; the real-time flag bit comprises a speed prohibition flag bit, a lock timeout prohibition flag bit and a parking point prohibition flag bit; acquiring a reporting period of the shared two-wheeled vehicle; in the case that the real-time flag bits all meet the permission conditions, reporting the real-time position of the shared two-wheeled vehicle to a platform according to the reporting period. By setting multiple flag bits on the shared two-wheeled vehicle, updating the flag values of the flag bits and the reporting period of the real-time position of the shared two-wheeled vehicle through the real-time state of the shared two-wheeled vehicle, and performing dynamic reporting only when the flag values of the flag bits meet the permission conditions, the efficiency and accuracy of the positioning reporting of the shared two-wheeled vehicle are improved, and the position reporting of the shared electric vehicle in different driving scenes is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of shared vehicle technology, and in particular to a method, apparatus, equipment, storage medium, and program product for location reporting of shared two-wheeled vehicles. Background Technology

[0002] Shared two-wheelers, as an energy-saving, emission-reducing, and green travel option, are gradually becoming people's travel choice. When unlocked or disarmed, shared two-wheelers need to report their location to the platform to support dispatching, vehicle location, and risk control. At the same time, the parking spot service requires the terminal to request parking area data at appropriate times.

[0003] The location reporting of conventional shared two-wheelers usually adopts fixed heartbeat reporting. That is, the on-board terminal (such as the central control unit of the shared two-wheeler) periodically reports the vehicle status information to the platform at a constant time interval, regardless of whether the vehicle is stationary, being ridden, coasting at low speed, or traveling at high speed.

[0004] However, using fixed intervals during riding can lead to untimely location reporting, while using fixed intervals when stationary wastes bandwidth. Fixed intervals cannot account for both high-frequency riding and stationary states. When a vehicle slows down from high speed to a standstill, speed-related prohibition signs are not synchronized with the speed, resulting in prolonged delays in reporting, which affects the accuracy of the shared two-wheeler's location. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, device, equipment, storage medium, and program product for location reporting of shared two-wheeled vehicles that can take into account both high frequency during riding and low power consumption after stopping, in order to address the above-mentioned technical problems.

[0006] Firstly, this application provides a method for reporting the location of shared two-wheeled vehicles, including:

[0007] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0008] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0009] In one embodiment, obtaining the reporting cycle for shared two-wheeled vehicles includes:

[0010] Get the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed;

[0011] When the current vehicle speed corresponds to a stationary state, the stationary count is increased, and after the stationary count reaches a preset count threshold, the reporting period is switched from the first time period to the second time period; the duration of the second time period is longer than the duration of the first time period.

[0012] If the current vehicle speed corresponds to a moving state, the stationary count is reset to zero, and the reporting period is set to the first time period.

[0013] In one embodiment, the method further includes:

[0014] If the cumulative unlocking time is greater than or equal to the preset time threshold, the unlocking timeout prohibition flag will be set to the first activation value; the first activation value indicates that all dynamic positioning reports are forcibly prohibited.

[0015] If the cumulative unlocking time is less than the preset time threshold, the unlocking timeout prohibition flag will be set to the first closed value. The first closed value indicates that the dynamic positioning reporting function is enabled.

[0016] In one embodiment, the method further includes:

[0017] If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag will be set to the second activation value; the second activation value indicates that all dynamic positioning reporting is forcibly prohibited.

[0018] If the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the speed prohibition flag value is set to the second closed value; the second closed value indicates that the dynamic positioning reporting function is enabled.

[0019] In one embodiment, the method further includes:

[0020] Match the current vehicle speed with the speed prohibition sign position;

[0021] If the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, set the speed prohibition sign value to the second closed value.

[0022] In one embodiment, the method further includes:

[0023] When the parking spot request function is enabled and the gate control conditions are met, the flag values ​​of the parking spot prohibition flag and the unlock timeout prohibition flag are determined; the parking spot prohibition flag and the speed prohibition flag are updated in conjunction with the same hysteresis logic.

[0024] If both the parking no-parking sign and the unlock timeout no-parking sign are closed, send a parking request to the platform.

[0025] Secondly, this application also provides a location reporting device for a shared two-wheeled vehicle, comprising:

[0026] The acquisition module is used to acquire the real-time flag values ​​of the shared two-wheeled vehicles; the real-time flags include the speed prohibition flag, the unlock timeout prohibition flag, and the parking point prohibition flag.

[0027] The positioning module is used to obtain the reporting cycle of shared two-wheeled vehicles; when the real-time markers meet the allowable conditions, it reports the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0028] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0029] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0030] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0031] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0032] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0033] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0034] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0035] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0036] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0037] The aforementioned method, device, equipment, storage medium, and program product for reporting the location of shared two-wheeled vehicles acquire the real-time marker values ​​of the shared two-wheeled vehicles. These real-time markers include speed prohibition markers, unlock timeout prohibition markers, and parking point prohibition markers. The reporting cycle of the shared two-wheeled vehicles is also acquired. When all real-time marker values ​​meet the allowable conditions, the real-time location of the shared two-wheeled vehicles is reported to the platform according to the reporting cycle. By setting multiple markers on the shared two-wheeled vehicles and updating the marker values ​​and the real-time location reporting cycle based on the real-time status of the vehicles, and only dynamically reporting when the marker values ​​meet the allowable conditions, this approach achieves both energy saving in stationary states and rapid location updates during high-speed travel. This enables targeted settings for location reporting in different driving scenarios for shared electric vehicles, improving the efficiency and accuracy of location reporting for shared two-wheeled vehicles. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is an internal structural diagram of a computer device in one embodiment;

[0040] Figure 2 This is a flowchart illustrating the location reporting method for a shared two-wheeled vehicle in one embodiment.

[0041] Figure 3 A flowchart illustrating the process of obtaining the reporting cycle of shared two-wheeled vehicles in one embodiment;

[0042] Figure 4 This is a flowchart illustrating the process of adjusting the value of the unlock timeout prohibition flag in one embodiment;

[0043] Figure 5 This is a flowchart illustrating the process of adjusting the value of the speed prohibition flag in one embodiment;

[0044] Figure 6 This is a flowchart illustrating the process of adjusting the value of the speed prohibition flag in another embodiment;

[0045] Figure 7 This is a flowchart illustrating the process of determining the value of a no-parking sign in one embodiment.

[0046] Figure 8 This is a flowchart illustrating the location reporting method for a shared two-wheeled vehicle in another embodiment;

[0047] Figure 9 This is a structural block diagram of a location reporting device for a shared two-wheeled vehicle in one embodiment. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0049] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0050] Shared two-wheelers, as an energy-saving, emission-reducing, and green travel option, are gradually becoming a popular choice for people. When unlocked or disarmed, shared two-wheelers need to report their location to the platform to support dispatching, vehicle location, and risk control. Simultaneously, parking spot services require the terminal to request parking area data at appropriate times. Conventional shared two-wheeler location reporting typically uses a fixed heartbeat reporting method. That is, the onboard terminal (such as the central control unit of the shared two-wheeler) periodically reports vehicle status information to the platform at constant time intervals, regardless of whether the vehicle is stationary, being ridden, coasting at low speed, or traveling at high speed. However, using a fixed interval while riding can lead to untimely location reporting, while using a fixed interval when stationary wastes bandwidth. A fixed interval also cannot account for both high-frequency riding and stationary states. Furthermore, when a vehicle slows down from high speed to a standstill, speed-related prohibition signs may not synchronize with the speed, resulting in prolonged periods without reporting, thus affecting the accuracy of the shared two-wheeler's location.

[0051] In view of the above-mentioned technical problems, this application provides a method for location reporting of shared two-wheeled vehicles that can improve the accuracy of the reported location. The following embodiments will specifically illustrate the method for location reporting of shared two-wheeled vehicles.

[0052] The location reporting method for shared two-wheeled vehicles provided in this application embodiment can be applied to, for example... Figure 1 The computer device shown can be a server, and its internal structure diagram can be as follows: Figure 1As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores the values ​​of the speed prohibition flag, unlock timeout prohibition flag, and parking point prohibition flag for shared two-wheeled vehicles under different conditions. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a method for reporting the location of shared two-wheeled vehicles.

[0053] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0054] In one exemplary embodiment, such as Figure 2 As shown, a method for reporting the location of shared two-wheeled vehicles is provided. This embodiment illustrates the application of this method to computer equipment. In this embodiment, the method includes:

[0055] S201, obtain the flag value of the real-time flag position of the shared two-wheeled vehicle.

[0056] The real-time markers include speed prohibition markers, lock timeout prohibition markers, and parking point prohibition markers.

[0057] In the embodiments of this application, after the shared two-wheeled vehicle is powered on and enters the operational state, the computer device starts a timer with a cycle of T, where T can be 5 seconds. At the end of each cycle, it first checks whether the main switch for the dynamic reporting function is on. This switch can be remotely configured by the platform; if the switch is off, the current cycle ends directly. If the switch is on, the computer device reads the current vehicle speed collected by the preset GNSS sensor on the shared two-wheeled vehicle and the cumulative unlocking duration output by the timer. It then judges the current vehicle speed and the cumulative unlocking duration output by the timer, and sets the flag values ​​of different types of flag bits according to the judgment result, thereby obtaining the real-time flag values ​​of the shared two-wheeled vehicle. In some embodiments, the current vehicle speed can also be obtained through the fusion of a Hall sensor and GNSS, or other speed acquisition methods; no limitation is made here.

[0058] S202, obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0059] In the embodiments of this application, the computer device can determine the current state of the shared two-wheeled vehicle by its current speed, and determine the reporting period that matches the current state based on the mapping relationship between the state and the reporting period. Then, it determines whether the current state of the shared two-wheeled vehicle is unlocked or disarmed. If not, no dynamic reporting operation is performed. If it is unlocked or disarmed, it further determines whether the speed prohibition sign, unlock timeout prohibition sign, and parking point prohibition sign are all in a reporting-allowed state. If so, a dynamic location report is sent to the platform via the cellular communication module according to the reporting period. Being in a reporting-allowed state means that the flag values ​​of the speed prohibition sign, unlock timeout prohibition sign, and parking point prohibition sign are all set to off. Otherwise, no dynamic reporting operation is performed.

[0060] The aforementioned method for reporting the location of shared two-wheeled vehicles involves obtaining the real-time marker values ​​of the vehicles, including speed prohibition markers, unlock timeout prohibition markers, and parking point prohibition markers; obtaining the reporting cycle of the shared two-wheeled vehicles; and reporting the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle, provided that all real-time marker values ​​meet the allowable conditions. By setting multiple markers on the shared two-wheeled vehicles and updating the marker values ​​and the real-time location reporting cycle based on the real-time status of the vehicles, and only dynamically reporting when the marker values ​​meet the allowable conditions, this method achieves both energy saving in stationary states and rapid location updates during high-speed travel. This allows for targeted location reporting settings for different driving scenarios of shared electric vehicles, improving the efficiency and accuracy of location reporting for shared two-wheeled vehicles.

[0061] In one exemplary embodiment, such as Figure 3As shown, the reporting cycle for shared two-wheeled vehicles includes:

[0062] S301, obtain the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed.

[0063] In the embodiments of this application, the computer device can collect the current speed of the shared two-wheeled vehicle through a GNSS sensor or a Hall sensor and a GNSS fusion module, determine whether the current speed of the shared two-wheeled vehicle is 0, and determine the state corresponding to the current speed based on the determination result. If the current speed of the shared two-wheeled vehicle is 0, it is determined that the current speed is a stationary state. If the current speed of the shared two-wheeled vehicle is not 0, it is determined that the current speed is a moving state.

[0064] S302, when the current vehicle speed corresponds to a stationary state, increase the stationary count, and after the stationary count reaches a preset counting threshold, switch the reporting period from the first time period to the second time period.

[0065] The second time period is longer than the first time period; the first time period can be 5 seconds, the second time period can be 15 seconds, and the counting threshold can be 60 seconds. The first time period, the second time period, and the counting threshold can be set according to the actual needs of the scenario, and there are no restrictions here.

[0066] In the embodiments of this application, when the current vehicle speed corresponds to a stationary state, the stationary count is incremented by 1; simultaneously, since there is no speeding issue when stationary, the speed prohibition flag is set to the off value. Further, it is determined whether the stationary count has reached a 60-second threshold; if so, the reporting cycle is switched to 15 seconds, and the stationary frequency reduction flag is set to the active value, thereby achieving traffic saving in the stationary state.

[0067] S303: When the current vehicle speed corresponds to a moving state, the stationary count is reset to zero, and the reporting period is set to the first time period.

[0068] In embodiments of this application, when the current vehicle speed corresponds to a moving state, the stationary count is cleared, the reporting period is set to the first time period, i.e., 5 seconds, and the frequency reduction mode is exited, i.e., the flag value of the stationary frequency reduction flag is set to the off value. In some embodiments, it is determined whether the current vehicle speed is less than the road speed limit (e.g., 25 km / h). If the current vehicle speed is less than the road speed limit, the flag value of the speed prohibition flag is set to the off value.

[0069] The above-mentioned frequency reduction after the vehicle comes to a standstill can save bandwidth; and the forced clearing of the speed prohibition sign when the vehicle speed is zero can solve the problem of lag when the vehicle speed reaches zero.

[0070] In one exemplary embodiment, such as Figure 4 As shown, the method also includes:

[0071] S401, retrieve the cumulative unlocking time of the shared two-wheeled vehicle.

[0072] In the embodiments of this application, the computer device can pre-determine whether the shared two-wheeled vehicle is in an unlocked state in real time after it is powered on. If the shared two-wheeled vehicle is in an unlocked state, the unlock count increases. The unlock count can indirectly represent the duration of unlocking; for example, it increases by 1 in each cycle, and if the cycle is 5 seconds, then 720 counts correspond to 3600 seconds. The computer device can obtain the cumulative unlocking time of the shared two-wheeled vehicle from the moment it was unlocked to the current moment based on the unlock count.

[0073] S402, if the cumulative unlocking time is greater than or equal to the preset time threshold, set the unlocking timeout prohibition flag value to the first active value.

[0074] The first activation value represents the forced prohibition of all dynamic location reporting; the preset duration threshold can be an equivalent value of 3600 seconds.

[0075] In the embodiments of this application, when the cumulative unlocking time is greater than or equal to a preset time threshold, i.e., the cumulative unlocking time reaches an equivalent value of 3600 seconds, the unlocking timeout prohibition flag is set, that is, the flag value of the unlocking timeout prohibition flag is set to the first active value. Once the unlocking timeout prohibition flag is set, all dynamic reporting and P-point requests will be forcibly prohibited to avoid continuous traffic consumption due to excessively long unlocking times, such as when the vehicle is forgotten or abnormally occupied.

[0076] S403, if the cumulative unlocking time is less than the preset time threshold, set the unlocking timeout prohibition flag value to the first closed value.

[0077] The first closing value indicates that the dynamic location reporting function is enabled.

[0078] In the embodiments of this application, if the cumulative unlocking time is less than a preset time threshold, the unlocking timeout prohibition flag is cleared, that is, the flag value of the unlocking timeout prohibition flag is set to the first closed value.

[0079] The above method, by disabling the dynamic reporting function and P-point requests due to unlocking timeout, can avoid abnormal occupation or forgetting of vehicles leading to continuous consumption of platform resources.

[0080] In one exemplary embodiment, such as Figure 5 As shown, the method also includes:

[0081] S501, when the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag is set to the second activation value;

[0082] The second activation value represents a forced ban on all dynamic location reporting; the first speed threshold can be 30 km / h. Historical vehicle speed can be the speed at the previous moment or the average speed over a historical period.

[0083] In the embodiments of this application, the computer device is further provided with a hysteresis judgment mechanism, that is, comparing the current vehicle speed with the historical vehicle speed. If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than 30km / h, it indicates that the current vehicle speed is obtained from a low speed increase. In this case, the speed prohibition sign is set, that is, the flag value of the speed prohibition sign is set to the second activation value. In some embodiments, the parking point prohibition sign can also be set, that is, the flag value of the parking point prohibition sign is set to the third activation value.

[0084] S502, when the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the flag value of the speed prohibition flag is set to the second closed value.

[0085] The second closing value represents the opening of the dynamic positioning reporting function, and the second speed threshold can be 25km / h.

[0086] In the embodiments of this application, when the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than 25 km / h, it indicates that the current vehicle speed is obtained from the deceleration from the highway. In this case, the speed prohibition sign and the parking point prohibition sign are cleared, that is, the speed prohibition sign is set to the second closed value and the parking point prohibition sign is set to the third closed value.

[0087] The aforementioned hysteresis judgment mechanism avoids frequent fluctuations in vehicle speed within the 25-30km / h boundary, which could cause jitter in the reporting behavior.

[0088] In one exemplary embodiment, such as Figure 6 As shown, the method also includes:

[0089] S601 matches the current vehicle speed with the speed prohibition sign position.

[0090] In the embodiments of this application, the computer device can match the current vehicle speed with the speed prohibition flag, that is, determine the flag value of the speed prohibition flag at the current vehicle speed, and determine whether the two are contradictory.

[0091] S602, when the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, set the speed prohibition sign value to the second closed value.

[0092] The speed limit on the road can be 25 km / h.

[0093] In the embodiments of this application, when the current vehicle speed is less than 25 km / h and the speed prohibition sign is still in a "prohibited" state (i.e., the sign value is the second activation value), this indicates that the speed prohibition sign has not been cleared in a timely manner, for example, because it was not cleared in time due to a previous high-speed incident. To ensure the accuracy of location reporting, the speed prohibition sign is forcibly cleared, that is, the sign value of the speed prohibition sign is set to the off value.

[0094] In some embodiments, if unlocking has just been completed, for example, the first cycle from locking to unlocking, but the unlock count is not 0, the unlock count can be forcibly reset to 0 to ensure the initial state is correct.

[0095] The above-mentioned self-repair process reduces the probability of false disablement of each flag bit.

[0096] In one exemplary embodiment, such as Figure 7 As shown, the method also includes:

[0097] S701 determines the flag values ​​of the parking point prohibition flag and the unlocking timeout prohibition flag when the parking point request function is enabled and the gate control conditions are met.

[0098] Among them, the parking prohibition sign and the speed prohibition sign are updated in conjunction with the same hysteresis logic. The gating condition can be whether the distance from the last request to point P exceeds the minimum interval, which can be 30 seconds.

[0099] In the embodiments of this application, the computer device first determines whether the parking point request function is enabled, and then uses the time interval between the current moment and the last parking point request as a basis for judgment based on the access control conditions. If the parking point request function is enabled and the access control conditions are met, the device further determines the values ​​of the parking point prohibition flag and the unlocking timeout prohibition flag. It then determines whether both the parking point prohibition flag and the unlocking timeout prohibition flag are closed.

[0100] S702 sends a parking request to the platform when both the parking stop prohibition sign and the unlock timeout prohibition sign are closed.

[0101] In the embodiments of this application, when both the parking point prohibition sign and the unlock timeout prohibition sign are closed, it indicates that there is no prohibition and the computer device sends a parking request to the platform.

[0102] In addition to the methods of all the above embodiments, a method for reporting the location of shared two-wheeled vehicles is also provided, such as... Figure 8 As shown, the method includes:

[0103] S801: After system initialization, start the timer and maintain multiple state variables, including static count, unlock count, static frequency reduction flag, unlock timeout prohibition flag, speed prohibition flag, and parking point prohibition flag.

[0104] S802, when each timer cycle expires, check whether the main switch of the dynamic reporting function is turned on. If it is not turned on, end the current process. If it is turned on, proceed to S803.

[0105] S803, obtain the current vehicle speed and determine whether the vehicle speed is equal to 0;

[0106] S804, if the vehicle speed is 0, increment the stationary counter by 1 and clear the speed prohibition sign;

[0107] S805: If the vehicle speed is not equal to 0, clear the stationary count, restore the reporting timer period to T, and determine whether the current vehicle speed is not greater than the road speed limit. If so, clear the speed prohibition sign.

[0108] S806, determine whether the shared two-wheeled vehicle is currently in an unlocked state. If so, increment the unlock count and determine whether the cumulative unlock duration has reached the preset upper limit threshold.

[0109] S807: If the cumulative unlocking time reaches the upper limit threshold, the unlocking timeout prohibition sign is set, and dynamic reporting and parking point requests are forcibly prohibited; if it does not reach the upper limit, the unlocking timeout prohibition sign is cleared.

[0110] S808 performs hysteresis judgment based on the current vehicle speed and preset dual speed thresholds, and updates the speed prohibition sign and the stop point prohibition sign.

[0111] S809 executes the self-repair sub-process to check and correct the contradictory state between speed and flag, as well as the abnormal state of the counter at the beginning of unlocking.

[0112] S810 determines whether the vehicle's current status is unlocked or disarmed; if not, it skips dynamic reporting.

[0113] S811 If it is in the unlocked or disarmed state, it further determines whether the speed prohibition sign and the unlock timeout prohibition sign are both in the reporting allowed state. If so, it sends a dynamic location report to the platform through the cellular communication module.

[0114] S812, determine whether the parking spot request function is enabled and passes the gate control conditions;

[0115] S813, if the parking spot request function is enabled and the door control is successful, then further determine whether the parking spot prohibition sign and the unlock timeout prohibition sign are both allowed. If so, send a standard parking area data request to the platform.

[0116] S814, end the current cycle processing, and wait for the next timer cycle to be triggered;

[0117] S815, repeat S802 to S814 until the shared two-wheeled vehicle is powered off or the dynamic reporting function is turned off.

[0118] Each of the above steps has been described in the foregoing embodiments. For details, please refer to the foregoing content. They will not be repeated here.

[0119] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0120] Based on the same inventive concept, this application also provides a location reporting device for shared two-wheeled vehicles for implementing the location reporting method for shared two-wheeled vehicles described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the location reporting device for shared two-wheeled vehicles provided below can be found in the limitations of the location reporting method for shared two-wheeled vehicles described above, and will not be repeated here.

[0121] In one exemplary embodiment, such as Figure 9 As shown, a location reporting device for a shared two-wheeled vehicle is provided, comprising: an acquisition module 91 and a location module 92, wherein:

[0122] The acquisition module 91 is used to acquire the flag values ​​of the real-time flag positions of the shared two-wheeled vehicle; the real-time flag positions include the speed prohibition flag, the unlock timeout prohibition flag, and the parking point prohibition flag.

[0123] The positioning module 92 is used to obtain the reporting cycle of the shared two-wheeled vehicle; when the real-time flags meet the allowable conditions, it reports the real-time location of the shared two-wheeled vehicle to the platform according to the reporting cycle.

[0124] In an exemplary embodiment, the positioning module 92 described above is specifically used for:

[0125] Get the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed;

[0126] When the current vehicle speed corresponds to a stationary state, the stationary count is increased, and after the stationary count reaches a preset count threshold, the reporting period is switched from the first time period to the second time period; the duration of the second time period is longer than the duration of the first time period.

[0127] If the current vehicle speed corresponds to a moving state, the stationary count is reset to zero, and the reporting period is set to the first time period.

[0128] In an exemplary embodiment, the above-described apparatus further includes a determination module, specifically used for:

[0129] Get the cumulative unlocking time of shared two-wheeled vehicles;

[0130] If the cumulative unlocking time is greater than or equal to the preset time threshold, the unlocking timeout prohibition flag will be set to the first activation value; the first activation value indicates that all dynamic positioning reports are forcibly prohibited.

[0131] If the cumulative unlocking time is less than the preset time threshold, the unlocking timeout prohibition flag will be set to the first closed value. The first closed value indicates that the dynamic positioning reporting function is enabled.

[0132] In an exemplary embodiment, the above-described apparatus further includes a determination module, specifically used for:

[0133] If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag will be set to the second activation value; the second activation value indicates that all dynamic positioning reporting is forcibly prohibited.

[0134] If the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the speed prohibition flag value is set to the second closed value; the second closed value indicates that the dynamic positioning reporting function is enabled.

[0135] In an exemplary embodiment, the above-described apparatus further includes a determination module, specifically used for:

[0136] Match the current vehicle speed with the speed prohibition sign position;

[0137] If the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, set the speed prohibition sign value to the second closed value.

[0138] In an exemplary embodiment, the above-described apparatus further includes a determination module, specifically used for:

[0139] When the parking spot request function is enabled and the gate control conditions are met, the flag values ​​of the parking spot prohibition flag and the unlock timeout prohibition flag are determined; the parking spot prohibition flag and the speed prohibition flag are updated in conjunction with the same hysteresis logic.

[0140] If both the parking no-parking sign and the unlock timeout no-parking sign are closed, send a parking request to the platform.

[0141] The various modules in the aforementioned location reporting device for shared two-wheeled vehicles can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0142] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the following steps:

[0143] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0144] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0145] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0146] Get the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed;

[0147] When the current vehicle speed corresponds to a stationary state, the stationary count is increased, and after the stationary count reaches a preset count threshold, the reporting period is switched from the first time period to the second time period; the duration of the second time period is longer than the duration of the first time period.

[0148] If the current vehicle speed corresponds to a moving state, the stationary count is reset to zero, and the reporting period is set to the first time period.

[0149] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0150] Get the cumulative unlocking time of shared two-wheeled vehicles;

[0151] If the cumulative unlocking time is greater than or equal to the preset time threshold, the unlocking timeout prohibition flag will be set to the first activation value; the first activation value indicates that all dynamic positioning reports are forcibly prohibited.

[0152] If the cumulative unlocking time is less than the preset time threshold, the unlocking timeout prohibition flag will be set to the first closed value. The first closed value indicates that the dynamic positioning reporting function is enabled.

[0153] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0154] If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag will be set to the second activation value; the second activation value indicates that all dynamic positioning reporting is forcibly prohibited.

[0155] If the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the speed prohibition flag value is set to the second closed value; the second closed value indicates that the dynamic positioning reporting function is enabled.

[0156] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0157] Match the current vehicle speed with the speed prohibition sign position;

[0158] If the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, set the speed prohibition sign value to the second closed value.

[0159] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0160] When the parking spot request function is enabled and the gate control conditions are met, the flag values ​​of the parking spot prohibition flag and the unlock timeout prohibition flag are determined; the parking spot prohibition flag and the speed prohibition flag are updated in conjunction with the same hysteresis logic.

[0161] If both the parking no-parking sign and the unlock timeout no-parking sign are closed, send a parking request to the platform.

[0162] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0163] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0164] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0165] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0166] Get the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed;

[0167] When the current vehicle speed corresponds to a stationary state, the stationary count is increased, and after the stationary count reaches a preset count threshold, the reporting period is switched from the first time period to the second time period; the duration of the second time period is longer than the duration of the first time period.

[0168] If the current vehicle speed corresponds to a moving state, the stationary count is reset to zero, and the reporting period is set to the first time period.

[0169] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0170] Get the cumulative unlocking time of shared two-wheeled vehicles;

[0171] If the cumulative unlocking time is greater than or equal to the preset time threshold, the unlocking timeout prohibition flag will be set to the first activation value; the first activation value indicates that all dynamic positioning reports are forcibly prohibited.

[0172] If the cumulative unlocking time is less than the preset time threshold, the unlocking timeout prohibition flag will be set to the first closed value. The first closed value indicates that the dynamic positioning reporting function is enabled.

[0173] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0174] If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag will be set to the second activation value; the second activation value indicates that all dynamic positioning reporting is forcibly prohibited.

[0175] If the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the speed prohibition flag value is set to the second closed value; the second closed value indicates that the dynamic positioning reporting function is enabled.

[0176] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0177] Match the current vehicle speed with the speed prohibition sign position;

[0178] If the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, set the speed prohibition sign value to the second closed value.

[0179] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0180] When the parking spot request function is enabled and the gate control conditions are met, the flag values ​​of the parking spot prohibition flag and the unlock timeout prohibition flag are determined; the parking spot prohibition flag and the speed prohibition flag are updated in conjunction with the same hysteresis logic.

[0181] If both the parking no-parking sign and the unlock timeout no-parking sign are closed, send a parking request to the platform.

[0182] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0183] Obtain the real-time flag values ​​of shared two-wheeled vehicles; real-time flags include speed prohibition flags, unlock timeout prohibition flags, and parking point prohibition flags;

[0184] Obtain the reporting cycle of shared two-wheeled vehicles; if the real-time markers all meet the allowable conditions, report the real-time location of the shared two-wheeled vehicles to the platform according to the reporting cycle.

[0185] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0186] Get the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed;

[0187] When the current vehicle speed corresponds to a stationary state, the stationary count is increased, and after the stationary count reaches a preset count threshold, the reporting period is switched from the first time period to the second time period; the duration of the second time period is longer than the duration of the first time period.

[0188] If the current vehicle speed corresponds to a moving state, the stationary count is reset to zero, and the reporting period is set to the first time period.

[0189] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0190] Get the cumulative unlocking time of shared two-wheeled vehicles;

[0191] If the cumulative unlocking time is greater than or equal to the preset time threshold, the unlocking timeout prohibition flag will be set to the first activation value; the first activation value indicates that all dynamic positioning reports are forcibly prohibited.

[0192] If the cumulative unlocking time is less than the preset time threshold, the unlocking timeout prohibition flag will be set to the first closed value. The first closed value indicates that the dynamic positioning reporting function is enabled.

[0193] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0194] If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag will be set to the second activation value; the second activation value indicates that all dynamic positioning reporting is forcibly prohibited.

[0195] If the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the speed prohibition flag value is set to the second closed value; the second closed value indicates that the dynamic positioning reporting function is enabled.

[0196] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0197] Match the current vehicle speed with the speed prohibition sign position;

[0198] If the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, set the speed prohibition sign value to the second closed value.

[0199] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0200] When the parking spot request function is enabled and the gate control conditions are met, the flag values ​​of the parking spot prohibition flag and the unlock timeout prohibition flag are determined; the parking spot prohibition flag and the speed prohibition flag are updated in conjunction with the same hysteresis logic.

[0201] If both the parking no-parking sign and the unlock timeout no-parking sign are closed, send a parking request to the platform.

[0202] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0203] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0204] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for reporting the location of a shared two-wheeled vehicle, characterized in that, The method includes: Obtain the real-time flag values ​​of the shared two-wheeled vehicle; the real-time flags include a speed prohibition flag, an unlock timeout prohibition flag, and a parking point prohibition flag; Obtain the reporting cycle of the shared two-wheeled vehicle; if all real-time flags meet the allowable conditions, report the real-time location of the shared two-wheeled vehicle to the platform according to the reporting cycle.

2. The method according to claim 1, characterized in that, The reporting cycle for obtaining the shared two-wheeled vehicle includes: Obtain the current speed of the shared two-wheeled vehicle and determine the state corresponding to the current speed; When the current vehicle speed corresponds to a stationary state, the stationary count is incremented, and after the stationary count reaches a preset count threshold, the reporting period is switched from a first time period to a second time period; the duration of the second time period is longer than the duration of the first time period. If the current vehicle speed corresponds to a moving state, the stationary count is cleared, and the reporting period is set to the first time period.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the cumulative unlocking time of the shared two-wheeled vehicle; If the cumulative unlocking time is greater than or equal to a preset time threshold, the flag value of the unlocking timeout prohibition flag is set to a first activation value; the first activation value indicates that all dynamic positioning reporting is forcibly prohibited. If the cumulative unlocking time is less than the preset time threshold, the flag value of the unlocking timeout prohibition flag is set to a first closed value, whereby the first closed value indicates that the dynamic positioning reporting function is enabled.

4. The method according to claim 2, characterized in that, The method further includes: If the current vehicle speed is greater than the historical vehicle speed and the current vehicle speed is greater than the first speed threshold, the flag value of the speed prohibition flag is set to the second activation value; the second activation value indicates that all dynamic positioning reporting is forcibly prohibited. When the current vehicle speed is not greater than the historical vehicle speed and the current vehicle speed is less than the second speed threshold, the flag value of the speed prohibition flag is set to the second closed value; the second closed value indicates that the dynamic positioning reporting function is enabled.

5. The method according to claim 4, characterized in that, The method further includes: Match the current vehicle speed with the speed prohibition flag; If the current vehicle speed is not greater than the road speed limit and the speed prohibition sign is still in active mode, the flag value of the speed prohibition sign is set to the second closed value.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: When the parking spot request function is enabled and the gate control conditions are met, the flag values ​​of the parking spot prohibition flag and the unlock timeout prohibition flag are determined; wherein, the parking spot prohibition flag and the speed prohibition flag are updated in conjunction with the same hysteresis logic. If both the parking stop prohibition sign and the unlock timeout prohibition sign are closed, a parking request is sent to the platform.

7. A location reporting device for a shared two-wheeled vehicle, characterized in that, The device includes: The acquisition module is used to acquire the flag values ​​of the real-time flag positions of the shared two-wheeled vehicle; the real-time flag positions include a speed prohibition flag, an unlock timeout prohibition flag, and a parking point prohibition flag. The positioning module is used to obtain the reporting cycle of the shared two-wheeled vehicle; and, when all the real-time flags meet the allowable conditions, to report the real-time location of the shared two-wheeled vehicle to the platform according to the reporting cycle.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.