Device and method for controlling bicycle
By obtaining the geographical location and driving direction information of the bicycle, using the server to determine the no-parking area and send an alarm signal, it solves the problem that bicycle users cannot perceive the no-parking area, improves the user experience and reduces additional costs.
Patent Information
- Application Number
- CN202311792936.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2025-07-01
AI Technical Summary
Bicycle users cannot perceive the entry of the no-parking zone during riding, resulting in frequent parking situations, and forgetting to turn off the lock may lead to additional dispatching fees.
By obtaining the geographical location and driving direction information of the bicycle, the server determines the no-parking area and sends an alarm signal to remind the user, and the geofence information and direction information determines the no-parking time period, and the alarm device issues an alarm within the corresponding time period.
Effectively remind users to stop parking, avoid parking, improve user experience, and reduce additional costs caused by forgetting to turn off the lock.
Smart Images

Figure CN120236387A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of bicycle driving, and particularly to devices and methods for controlling bicycles. Background Art
[0002] When a bicycle is in operation, an electronic fence technology is used to set a no-parking area. During the riding process, users often park in the no-parking area because they cannot perceive that they have entered the no-parking area. Therefore, in view of the above scenario, it is desirable to enable users to perceive whether they are currently in the no-parking area. Summary of the Invention
[0003] In a first aspect of the present disclosure, a method for controlling a bicycle is provided. The method includes: obtaining position information indicating the geographical location of the bicycle and direction information indicating the driving direction of the bicycle from the bicycle; determining geographical fence information within a predetermined range of the geographical location based on the position information, the geographical fence information at least indicating a no-parking area of the bicycle; determining a time period during which the bicycle will be in the no-parking area based on the position information, the direction information, and the geographical fence information; and sending the time period to the bicycle so that an alarm device of the bicycle emits an alarm signal during the time period to prompt that the bicycle is in the no-parking area.
[0004] In a second aspect of the present disclosure, a method for controlling a bicycle is provided. The method includes: during the driving process of the bicycle, obtaining position information indicating the geographical location of the bicycle and direction information indicating the driving direction of the bicycle from a sensor; sending the position information and the direction information to a server associated with the bicycle; obtaining a time period during which the bicycle will be in the no-parking area from the server; and causing an alarm device of the bicycle to emit an alarm signal during the time period to prompt that the bicycle is in the no-parking area.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device performs operations, the operations including: obtaining position information indicating the geographical location of the bicycle and direction information indicating the driving direction of the bicycle from the bicycle; determining geographical fence information within a predetermined range of the geographical location based on the position information, the geographical fence information at least indicating a no-parking area of the bicycle; determining a time period during which the bicycle will be in the no-parking area based on the position information, the direction information, and the geographical fence information; and sending the time period to the bicycle so that an alarm device of the bicycle emits an alarm signal during the time period to prompt that the bicycle is in the no-parking area.
[0006] In a fourth aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform actions including: during the running of a bicycle, obtaining position information indicating the geographical location of the bicycle and direction information indicating the running direction of the bicycle from a sensor; sending the position information and the direction information to a server associated with the bicycle; obtaining from the server the time period during which the bicycle will be in a no-parking area; and causing an alarm device of the bicycle to emit an alarm signal during the time period to indicate that the bicycle is in the no-parking area.
[0007] In a fifth aspect of the present disclosure, a bicycle is provided. The bicycle includes: the electronic device according to the fourth aspect; and an alarm device coupled to the electronic device and including at least one of an acoustic alarm or an optical alarm.
[0008] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium and can be executed by a processor to implement the method of the first aspect and / or the method of the second aspect.
[0009] It should be understood that the content described in this part is not intended to define the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. Description of the Drawings
[0010] In conjunction with the drawings and with reference to the following detailed description, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent. In the drawings, the same or similar reference numerals denote the same or similar elements, where:
[0011] Figure 1 A schematic diagram showing an example environment in which the embodiments of the present disclosure can be implemented;
[0012] Figure 2 A schematic diagram showing an example of determining the time period during which a bicycle will be in a no-parking area according to some embodiments of the present disclosure;
[0013] Figure 3 A flowchart showing an example process for controlling a bicycle according to some embodiments;
[0014] Figure 4 A flowchart showing an example process for controlling a bicycle according to some embodiments;
[0015] Figure 5Shows a flowchart of a process for controlling a bicycle according to some embodiments of the present disclosure;
[0016] Figure 6 Shows a flowchart of a process for controlling a bicycle according to some embodiments of the present disclosure;
[0017] Figure 7 Shows a schematic structural block diagram of an electronic device for controlling a bicycle according to certain embodiments of the present disclosure;
[0018] Figure 8 Shows a schematic structural block diagram of an electronic device for controlling a bicycle according to certain embodiments of the present disclosure; and
[0019] Figure 9 Shows a block diagram of a device capable of implementing multiple embodiments of the present disclosure. Detailed Description of Specific Embodiments
[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0021] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. In addition, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different sections / subsections in any manner.
[0022] In the description of the embodiments of the present disclosure, the term "including" and its like should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". There may also be other explicit and implicit definitions hereinafter. The terms "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions hereinafter.
[0023] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multiple layers of processing units. In this article, "model" may also be referred to as "machine learning model", "machine learning network" or "network", which are used interchangeably in this article. A model may also include different types of processing units or networks.
[0024] As used herein, a "unit", "operating unit" or "subunit" may consist of a machine learning model or network of any suitable structure. As used herein, a group of elements or similar expressions may include one or more such elements. For example, a "group of convolutional units" may include one or more convolutional units.
[0025] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0026] As briefly mentioned above, during the riding of a bicycle (shared two-wheeled vehicle), the user cannot sense whether he or she has entered a prohibited parking zone, and as a result, it is common for users to park in prohibited parking zones.
[0027] However, the traditional solution will force a parking spot check during the locking process, but in this way, users still need to find a parking spot again, wasting their time. At the same time, since some users have the habit of forgetting to lock the bicycle, when the bicycle is forced to lock after the time limit, the user needs to pay an additional dispatch fee, which is a considerable loss for the user.
[0028] Embodiments of the present disclosure propose an improved solution for controlling a bicycle. According to various embodiments of the present disclosure, the server 110 obtains position information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from the bicycle; determines geofence information within a predetermined range of the geographical location based on the position information, and the geofence information at least indicates a no-parking area of the bicycle; determines the time period during which the bicycle will be in the no-parking area based on the position information, the direction information, and the geofence information; and sends the time period to the bicycle so that an alarm device of the bicycle emits an alarm signal during the time period to prompt that the bicycle is in the no-parking area. Thus, by way of reminder, the user is informed that this is a no-parking area and parking is not allowed, thereby solving the problem that the user cannot perceive entering the no-parking area during the riding process.
[0029] Example Environment
[0030] Figure 1 FIG. 1 shows a schematic diagram of an exemplary environment 100 in which embodiments of the present disclosure can be implemented. In the environment 100, an electronic device 130 is deployed in the bicycle 120. A sensor 132 is deployed in the electronic device 130, and the sensor 132 can be used to provide the geographical location information of the bicycle and the information indicating the traveling direction of the bicycle.
[0031] An alarm device 134 is deployed in the electronic device 130. The alarm device 124 can be used to issue a warning when the bicycle enters the no-parking area. For example, the alarm device 124 can include a buzzer, and the buzzer issues a warning to remind the user that the bicycle 120 has entered the no-parking area, and the buzzer stops warning after the user's bicycle 120 has exited the no-parking area.
[0032] In some embodiments, the sensor 132 can include a GPS positioning system, a gyroscope, etc. The bicycle 120 can obtain the position information of the geographical location of the bicycle 120 through the GPS positioning system. The bicycle 120 can obtain the direction information of the traveling direction of the bicycle 120 through the gyroscope. The electronic device 130 communicates with the server 110 to implement the supply of services for the bicycle 120. The electronic device 130 can be installed on the bicycle 120 in the form of an electronic lock.
[0033] It should be understood that the structure and function of the environment 100 are described only for exemplary purposes, and do not imply any limitation on the scope of the present disclosure.
[0034] Some exemplary embodiments of the present disclosure will be continued to be described with reference to the accompanying drawings below. Hereinafter, for the convenience of discussion, some exemplary embodiments of the present disclosure are described from the perspective of the server 110, but this is only exemplary.
[0035] In some embodiments, the server 110 may obtain the location information and direction information of the bicycle 120 from the bicycle 120. The location information obtained by the server 110 from the bicycle 120 may be information about the geographical location of the bicycle 120, for example, GPS positioning information. The direction information obtained by the server 110 from the bicycle 120 is information about the driving direction of the bicycle 120. The location information obtained by the server 110 from the bicycle 120 may be the location information of the geographical location and the direction information of the driving direction obtained by the bicycle 120 based on the sensor 132.
[0036] In some embodiments, the server 110 determines the geo-fence information within a predetermined range of the geographical location according to the location information of the geographical location obtained from the bicycle 120. The geo-fence information may be a no-parking area for the bicycle, such as Figure 2 the no-parking area 210 of the bicycle in the schematic diagram 200 shown. Figure 2 A schematic diagram showing an example of determining the time period during which the bicycle 120 will be in the no-parking area according to some embodiments of the present disclosure.
[0037] The server 110 determines the time period during which the bicycle 120 will be in the no-parking area according to the location information, direction information, and geo-fence information obtained from the bicycle 120. The server 110 sends the determined time period during which the bicycle 120 will be in the no-parking area to the bicycle 120, and the bicycle 120 will send out an alarm signal through the built-in alarm device 134, such as a reminder signal. The alarm signal sent out by the bicycle 120 is used to remind the user that the currently traveling bicycle 120 is in the no-parking area and the bicycle 120 cannot be parked.
[0038] In some instances, the server 110 determines the movement trajectory of the bicycle according to multiple location information obtained from the bicycle 120 in a heartbeat manner, such as Figure 3 the movement trajectory 220 determined by the server 110 according to multiple location information such as A, B, C, D, E, etc. obtained from the bicycle 120, and the movement trajectory 230 obtained by the server 110. The server 110 may determine the traveling speed of the bicycle 120 according to multiple location information obtained from the bicycle 120 in a heartbeat manner.
[0039] In some examples, when the movement trajectory obtained by the server 110 from the bicycle 120 is offset, the server 110 may further obtain the road trajectory information of the road on which the bicycle 120 is currently traveling based on the location information, and thus be able to obtain a calibrated movement trajectory by calibrating the movement trajectory of the bicycle 120.
[0040] In some examples, the server 110 can calibrate the movement trajectory of the bicycle 120 by thinning and rectifying the movement trajectory points. Since the road trajectory information of the road is fixed, the trajectory can be matched to the road through path fitting, so that the server 110 can obtain an accurate calibrated movement trajectory.
[0041] For example, when the no-parking area 210 is a continuous area around the surface of a relatively large building, the server 110 can determine whether the bicycle 120 enters the no-parking area 210 with relatively small error based on the movement trajectory. However, when the no-parking areas 210 are generally small and scattered, the server 110 will have a relatively large error in determining whether the bicycle 120 enters the no-parking area 210. Therefore, the server 110 can calibrate the movement trajectory of the bicycle 120 by thinning and rectifying the movement trajectory points, which can reduce the error.
[0042] The server 110 can obtain updated direction information of the latest driving direction of the bicycle 120 from the bicycle 120. The bicycle 120 can obtain the direction information of the latest driving direction through a sensor 132 such as a gyroscope, and then the server 110 obtains the direction information of the latest driving direction from the bicycle 120 and updates the direction information of the previous driving direction to the direction information of the latest driving direction.
[0043] The server 110 can determine whether the bicycle 120 is about to enter the no-parking area based on the obtained movement trajectory, updated direction information, and geofence information. As Figure 2 shown. The server 110 determines whether the bicycle 120 is about to enter the no-parking area 210 based on the determined movement trajectory 220 or movement trajectory 230, the updated direction information of the server 110, and the geofence information determined by the server 110. For example, the server 110 can determine whether the bicycle 120 is about to enter the no-parking area 210 when it is about 1 to 2 kilometers or any other appropriate distance range away from the no-parking area.
[0044] In some embodiments, when the server 110 determines that the bicycle 120 is about to enter the no-parking area 210, it will determine the time period during which the bicycle 120 will be in the no-parking area based on the driving speed of the bicycle 120. In some examples, the server 110 calculates the time when the bicycle 120 is about to enter and exit the no-parking area based on the current driving speed (average speed) of the bicycle 120.
[0045] In some examples, the server 110 can send the time when the bicycle 120 is about to enter and exit the no-parking area to the electronic device 130 in the bicycle 120, and the electronic device 130 will establish a timer for the bicycle 120 to enter and exit the no-parking area 210.
[0046] In some examples, when server 110 determines that bicycle 120 is about to be in a no-parking area 210 and the driving direction of bicycle 120 has not changed, server 110 sends a time period to bicycle 120 so that bicycle 120 triggers an entry timer when entering the no-parking area 210 and sends an alarm signal, and triggers an exit timer when exiting the no-parking area 210 to cancel the alarm signal.
[0047] In some embodiments, when the server 110 determines that the bicycle 120 is about to be in the no-parking area 210, but the driving direction of the bicycle 120 changes, the server 110 will obtain the updated direction information of the latest driving direction of the bicycle 120 from the bicycle 120, and stop the corresponding timer of the bicycle 120.
[0048] When the server 110 determines that the difference between the latest driving direction and the previous driving direction is greater than a predetermined angle value, the server 110 determines again whether the bicycle 120 will be in a prohibited parking area and the time period in which it will be in the prohibited parking area based on the location information, the updated direction information and the geo-fence information. For example, the bicycle 120 sways from side to side during driving: the angle corresponding to the driving direction of the bicycle 120 changes each time it swings, but the driving direction does not change. In this case, the server 110 does not need to update the direction information. The server 110 updates the direction information only when the difference between the driving direction of the bicycle 120 and the previous driving direction is greater than a predetermined angle value. The predetermined angle value can be any appropriate angle value, such as 5° or 10°, etc., and the embodiments of the present disclosure are not limited to this.
[0049] The following will refer to Figure 3 The process of the server 110 controlling the bicycle is described below. Figure 3 FIG. 300 is a flowchart of an example process for controlling a bicycle according to some embodiments. Through process 300, server 110 can control bicycle 120. Figure 1 Process 300 is described.
[0050] In box 311, the server 110 monitors the bicycle 120 from the sensor 132 of the bicycle 120 that the bicycle 120 is in the process of traveling. In box 312, the bicycle 120 obtains the position information and direction information of the bicycle 120 through the sensor 132. For example, the sensor 132 may include a GPS positioning system, a gyroscope, etc. The position information of the bicycle 120 can be obtained through the GPS positioning system, and the direction information of the traveling direction of the bicycle 120 can be obtained through the gyroscope. In box 313, the server 110 obtains the position information of the bicycle's geographical location and the direction information of the traveling direction from the bicycle 120.
[0051] In block 314, the server 110 determines the motion trajectory based on the multiple position information obtained from the bicycle 120, and calibrates the motion trajectory with deviations based on the road trajectory information of the road on which the bicycle 120 is traveling, to obtain a calibrated motion trajectory. In block 315, the server 110 determines whether the current motion trajectory of the bicycle 120 passes through a prohibited parking area.
[0052] In block 316 , when the server 110 determines that the current motion trajectory of the bicycle 120 passes through a no-parking area, the server 110 determines the time period during which the bicycle will be in the no-parking area based on the location information, direction information, and geo-fence information. The geo-fence information indicates the no-parking area of the bicycle 120 .
[0053] At block 317, the server 110 determines whether the driving direction of the bicycle 120 has changed. When the driving direction has changed and the server 110 determines that the difference between the latest driving direction and the previous driving direction is greater than a predetermined angle value, the server 110 determines the time period during which the bicycle 120 will be in the prohibited parking area based on the location information, the updated direction information, and the geo-fence information.
[0054] In box 318 , the server 110 determines that the driving direction of the bicycle 120 has not changed, so the server 110 sends the time period to the bicycle 120 so that the bicycle 120 triggers the entry timer when entering the no-parking area and sends an alarm signal based on the alarm device 134 .
[0055] At block 320, when the bicycle 120 is in the no-parking area, the server 110 determines whether the driving direction of the bicycle 120 has changed. When the driving direction changes, and the server 110 determines that the difference between the latest driving direction and the previous driving direction is greater than a predetermined angle value, the server 110 determines the time period during which the bicycle 120 will be in the no-parking area based on the location information, the updated direction information, and the geo-fence information.
[0056] In box 321, when the bicycle 120 is in the no-parking area, the server 110 determines that the driving direction of the bicycle 120 has not changed, then the server 110 sends the time period to the bicycle 120 so that the bicycle 120 triggers the exit timer when it exits the no-parking area, and cancels the alarm signal based on the alarm device 134.
[0057] The server 110 of the disclosed embodiment determines whether the bicycle 120 has entered a prohibited parking area through the motion trajectory, geographic fence information, and the direction information of the latest driving direction of the bicycle 120. This can solve the problem that the bicycle 120 cannot trigger a reminder in the prohibited parking area due to a large positioning offset, thereby improving the user's car experience.
[0058] The following references Figure 4Describe a time period during which, when the server 110 cannot normally obtain the location information of the bicycle 120 and the direction information of the traveling direction during the traveling process of the bicycle 120, it can be determined at least in part through historical riding data whether the bicycle 120 is about to be in a no-parking area. Figure 4 FIG. shows a flowchart of an example process for controlling a bicycle according to some embodiments. Through process 400, the server 110 can implement the control of the bicycle 120. The following will be combined with Figure 1 Describe process 400.
[0059] In block 412, the server 110 monitors from the sensor 132 of the bicycle 120 that the bicycle 120 is in the process of traveling. In block 414, the bicycle 120 cannot obtain the location information of the bicycle 120 through the sensor 132. For example, when the bicycle 120 is traveling, in the case of receiving a building (overpass, underground passage, etc.), weather interference, GPS positioning system damage, etc., the location information of the bicycle 120 cannot be obtained. In block 416, the server 110 cannot obtain the location information of the geographical location of the bicycle 120 from the bicycle 120.
[0060] In block 418, the server 110 obtains the direction information of the traveling direction of the bicycle 120 from the bicycle 120. The server 110 obtains the historical riding data of the bicycle, and the historical riding data includes the riding time, riding path, and no-parking area stop information that have been successfully ridden.
[0061] In block 420, the server 110 determines the habitual riding path of the bicycle 120 according to the historical riding data. For example, the server 110 trains the habitual riding path of the bicycle 120 through a data model according to the historical riding data, current direction information, no-parking area stop record, and the riding data that have been successfully ridden. In some examples, considering that seasonal information, etc. will affect the user's riding, the historical riding data may include: seasonal information, weekday information, weather information, etc.
[0062] In some embodiments, the server 110 assists in determining whether the bicycle 120 is about to be in a no-parking area and the time period when it is about to be in a no-parking area according to the current direction information, location information, and geofence information of the bicycle 120 and at least in part based on the habitual riding path.
[0063] In the embodiments of the present disclosure, the server 110 can determine the time period when the bicycle 120 is about to be in a no-parking area through the location information, direction information, and geofence information and at least in part according to the habitual riding path, and can solve the problem that it is impossible to determine whether the bicycle 120 enters the no-parking area due to geographical, environmental and other factors that prevent the normal acquisition of the complete movement trajectory.
[0064] The following will continue to refer toFigure 1 The bicycle 120 determines that the bicycle 120 is about to be in a prohibited parking area and issues an alarm signal based on the position information and direction information of the bicycle 120 obtained during the travel of the bicycle 120. In the following, for the convenience of discussion, the description is made from the perspective of the bicycle 120, but this is only exemplary.
[0065] In some embodiments, the bicycle 120 can obtain the location information of the geographical location of the bicycle 120 and the direction information of the driving direction from the sensor 132 during the driving of the bicycle 120. The bicycle 120 can obtain the location information of the geographical location of the bicycle 120 from its built-in sensor, such as a GPS positioning system. The bicycle 120 can also obtain the direction information of the driving direction of the bicycle 120 from its built-in sensor, such as a gyroscope.
[0066] In some examples, the bicycle 120 may send the location information and direction information obtained by the sensor 132 to the server 110 associated with the bicycle 120 at a predetermined frequency. If the server 110 determines that the bicycle 120 will be in the prohibited parking area based on the location information and direction information sent by the bicycle 120, the determined time period is sent to the bicycle 120. The bicycle 120 receives the time period sent by the server 110 and sends an alarm signal within the time period.
[0067] In some examples, the bicycle 120 may send out an alarm signal through the built-in alarm device 134 to remind the user that the bicycle 120 is passing through a prohibited parking area. For example, the alarm device 134 may include a buzzer, and the bicycle 120 sends out an alarm signal through the built-in buzzer. For another example, the alarm device 134 may also include at least one of an acoustic alarm or an optical alarm.
[0068] In some embodiments, the alarm signal sent by the bicycle 120 may include: the bicycle 120 is in the prohibited parking area during the time period, triggering a timer that is turned on during the time period. In some embodiments, the bicycle 120 causes the alarm device 134 to send an alarm signal according to the signal sent by the timer. For example, a buzzer sends an alarm signal to remind the user that the bicycle 120 has entered the prohibited parking area and cannot be parked.
[0069] For example, when the bicycle 120 receives the time period sent from the server 110, the bicycle 120 will trigger an entry timer when the bicycle 120 enters the prohibited parking area, and send out an alarm signal based on the alarm device 134. For another example, when the bicycle 120 receives the time period sent from the server 110, the bicycle 120 will trigger an exit timer when it exits the prohibited parking area, and release the alarm signal based on the alarm device 134.
[0070] In some embodiments, the bicycle 120 may also be an electric motorcycle. When the bicycle 120 is an electric motorcycle, the alarm signal sent by the alarm device 134 of the bicycle 120 may be in the form of a dashboard to remind the bicycle 120 that it will pass through a no-parking area. For example, when the bicycle 120 enters a no-parking area, an entry timer is triggered, and an alarm signal is sent based on the alarm device 134, and a no-parking mark is displayed on the dashboard. For another example, when the bicycle 120 exits a no-parking area, an exit timer is triggered, and the alarm signal is released based on the alarm device 134, and the no-parking mark displayed on the dial disappears.
[0071] According to various embodiments of the present disclosure, the server 110 determines the time when the bicycle is about to be in the prohibited parking area through the geographic location information and direction information, as well as the geographic fence information, and issues an alarm based on the alarm device. In this way, based on the reminder method, the user is informed that this is a prohibited parking area and cannot be parked, which solves the problem that the user cannot sense that he has entered the prohibited parking area during riding, and thus chooses to park in the prohibited parking area, and then needs to park again, causing inconvenience. Furthermore, the problem of having to pay additional dispatch fees due to forgetting to lock the car is solved, thereby improving the user's car experience.
[0072] Example Process
[0073] Figure 5 FIG. 5 is a flowchart of a process 500 for controlling a bicycle according to some embodiments of the present disclosure. The process 500 may be implemented at the server 110. Figure 1 Process 500 is described.
[0074] In block 510 , the server 110 obtains location information indicating the geographic location of the bicycle and direction information indicating the driving direction of the bicycle from the bicycle.
[0075] In block 520 , the server 110 determines geo-fence information within a predetermined range of the geographic location based on the location information, where the geo-fence information at least indicates a prohibited parking area for bicycles.
[0076] In block 530 , the server 100 determines a time period during which the bicycle will be in the prohibited parking area based on the location information, the direction information, and the geo-fence information.
[0077] In block 540 , the server 100 sends the time period to the bicycle so that the alarm device of the bicycle sends out an alarm signal within the time period to prompt the bicycle to be in a prohibited parking area.
[0078] In some embodiments, determining the time period includes: determining the movement trajectory and the traveling speed of the bicycle based on a plurality of location information obtained from the bicycle; obtaining updated direction information indicating the latest traveling direction of the bicycle from the bicycle; determining whether the bicycle is about to enter a no-parking area based on the movement trajectory, the updated direction information, and the geofence information; and in response to determining that the bicycle is about to enter the no-parking area, determining the time period during which the bicycle will be in the no-parking area based on the traveling speed.
[0079] In some embodiments, determining the movement trajectory of the bicycle includes: obtaining road trajectory information of the road on which the bicycle travels based on the location information; and calibrating the movement trajectory of the bicycle based on the road trajectory information to obtain a calibrated movement trajectory.
[0080] In some embodiments, process 500 further includes: obtaining updated direction information indicating the latest traveling direction of the bicycle from the bicycle; and in response to determining that the difference between the latest traveling direction and the previously obtained traveling direction is greater than a predetermined angular value, determining the time period during which the bicycle will be in the no-parking area based on the location information, the updated direction information, and the geofence information.
[0081] In some embodiments, process 500 further includes: obtaining historical riding data of the bicycle, the historical riding data including at least the riding time, the riding path, and the no-parking area docking information that have been successfully ridden; determining at least based on the historical riding data the habitual riding path of the bicycle; and determining the time period during which the bicycle will be in the no-parking area based on the location information, the direction information, and the geofence information and at least partially based on the habitual riding path.
[0082] In some embodiments, the historical riding data further includes: season information, weekday information, and weather information.
[0083] Figure 6 A flowchart of a process 600 for controlling a bicycle according to some embodiments of the present disclosure is shown. Process 600 may be implemented at the bicycle 120. Reference is made below to Figure 1 describe process 600.
[0084] At block 610, during the bicycle's travel, the bicycle 120 obtains location information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from sensors.
[0085] At block 620, the bicycle 120 sends the location information and the direction information to a server associated with the bicycle.
[0086] At block 630, the bicycle 120 obtains from the server the time period during which the bicycle will be in the no-parking area.
[0087] At block 640, the bicycle 120 causes the alarm device of the bicycle to emit an alarm signal during a time period to indicate that the bicycle is in a no-parking area during the time period.
[0088] In some embodiments, causing the alarm device to emit an alarm signal includes: triggering a timer that is turned on during the time period; and causing the alarm device to emit an alarm signal based on the signal emitted by the timer.
[0089] Example Apparatus and Equipment
[0090] Figure 7 A schematic structural block diagram of an electronic device 700 for controlling a bicycle according to certain embodiments of the present disclosure is shown. The electronic device 700 may be implemented in the server 110. Each module / component in the electronic device 700 may be implemented by hardware, software, firmware, or any combination thereof.
[0091] As shown in the figure, the electronic device 700 includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing machine-executable instructions that, when executed by the at least one processing unit, cause the electronic device 700 to perform actions.
[0092] The actions performed by the electronic device 700 include: an acquisition unit 710 configured to acquire position information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from the bicycle.
[0093] The actions performed by the electronic device 700 further include: a determination of fence information unit 720 configured to determine geographical fence information within a predetermined range of the geographical location based on the position information, the geographical fence information at least indicating the no-parking area of the bicycle.
[0094] The actions performed by the electronic device 700 further include a determination of the time period of the no-parking area unit 730 configured to determine the time period during which the bicycle will be in the no-parking area based on the position information, the direction information, and the geographical fence information.
[0095] The actions performed by the electronic device 700 further include an alarm signal sending unit 740 configured to send the time period to the bicycle so that the alarm device of the bicycle emits an alarm signal during the time period to indicate that the bicycle is in the no-parking area.
[0096] In some embodiments, the time period unit 730 for determining a no-parking area is further configured to determine the movement trajectory and the traveling speed of the bicycle based on a plurality of location information obtained from the bicycle; obtain updated direction information indicating the latest traveling direction of the bicycle from the bicycle; determine whether the bicycle is to enter the no-parking area based on the movement trajectory, the updated direction information, and the geofence information; and in response to determining that the bicycle is to enter the no-parking area, determine the time period during which the bicycle will be in the no-parking area based on the traveling speed.
[0097] In some embodiments, the time period unit 730 for determining a no-parking area is further configured to obtain road trajectory information of the road on which the bicycle travels based on the location information; and calibrate the movement trajectory of the bicycle based on the road trajectory information to obtain a calibrated movement trajectory.
[0098] In some embodiments, the obtaining unit 710 is further configured to obtain updated direction information indicating the latest traveling direction of the bicycle from the bicycle. The time period unit 730 for determining a no-parking area is further configured to, in response to determining that the difference between the latest traveling direction and the previously obtained traveling direction is greater than a predetermined angular value, determine the time period during which the bicycle will be in the no-parking area based on the location information, the updated direction information, and the geofence information.
[0099] In some embodiments, the obtaining unit 710 is further configured to obtain historical riding data of the bicycle, where the historical riding data at least includes the riding time, the riding path, and the no-parking area docking information that have been successfully ridden. The time period unit 730 for determining a no-parking area is further configured to determine the habitual riding path of the bicycle at least based on the historical riding data; and determine the time period during which the bicycle will be in the no-parking area based on the location information, the direction information, and the geofence information and at least partially based on the habitual riding path.
[0100] In some embodiments, the historical riding data further includes: season information, weekday information, and weather information.
[0101] Figure 8 FIG. shows a schematic structural block diagram of an electronic device 800 for controlling a bicycle according to certain embodiments of the present disclosure. The electronic device 800 may be implemented in the bicycle 120. Each module / component in the electronic device 800 may be implemented by hardware, software, firmware, or any combination thereof.
[0102] As shown in the figure, the electronic device 800 includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing machine-executable instructions that, when executed by the at least one processing unit, cause the electronic device 800 to perform actions.
[0103] In some embodiments, the obtaining unit 710 is further configured to obtain, during the running of the bicycle, position information indicating the geographical location of the bicycle and direction information indicating the running direction of the bicycle from a sensor.
[0104] The actions performed by the electronic device 800 include: a sending unit 810 configured to send the position information and the direction information to a server associated with the bicycle.
[0105] In some embodiments, the obtaining unit 710 is further configured to obtain, from the server, the time period during which the bicycle will be in a no-parking area.
[0106] In some embodiments, the alarm signal emitting unit 740 is further configured to cause an alarm device of the bicycle to emit an alarm signal during the time period to indicate that the bicycle is in a no-parking area.
[0107] In some embodiments, causing the alarm device to emit an alarm signal includes: triggering a timer that is turned on during the time period; and causing the alarm device to emit an alarm signal according to the signal emitted by the timer.
[0108] Figure 9 The block diagram of an electronic device 900 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that Figure 9 the illustrated electronic device 900 is merely exemplary and should not constitute any limitation to the functions and scopes of the embodiments described herein. Figure 9 The illustrated electronic device 900 may be used to implement Figure 1 the electronic device 110.
[0109] As Figure 9 shown, the electronic device 900 is in the form of a general-purpose electronic device. The components of the electronic device 900 may include, but are not limited to, one or more processors or processing units 910, a memory 920, a storage device 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. The processing unit 910 may be an actual or virtual processor and is capable of performing various processes according to the programs stored in the memory 920. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing ability of the electronic device 900.
[0110] The electronic device 900 generally includes multiple computer storage media. Such media can be any accessible media that the electronic device 900 can access, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 920 can be volatile memory (such as registers, caches, random access memory (RAM)), non-volatile memory (such as read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 930 can be removable or non-removable media and can include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be capable of storing information and / or data (such as training data for training) and can be accessed within the electronic device 900.
[0111] The electronic device 900 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Figure 9 it, a disk drive for reading from or writing to a removable, non-volatile magnetic disk (such as a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk can be provided. In these cases, each drive can be connected to a bus (not shown) by one or more data media interfaces. The memory 920 can include a computer program product 925 having one or more program modules that are configured to execute the various methods or actions of the various embodiments of the present disclosure.
[0112] The communication unit 940 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 900 can be implemented in a single computing cluster or multiple computer machines that are capable of communicating via a communication connection. Thus, the electronic device 900 can operate in a networked environment using a logical connection with one or more other servers, network personal computers (PCs), or another network node.
[0113] The input device 950 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 960 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 900 can also communicate with one or more external devices (not shown) as needed via the communication unit 940, such as storage devices, display devices, etc., communicate with one or more devices that enable a user to interact with the electronic device 900, or communicate with any device that enables the electronic device 900 to communicate with one or more other electronic devices (such as a network card, a modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).
[0114] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is further provided, the computer program product being tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, and the computer-executable instructions being executed by a processor to implement the method described above.
[0115] Aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0116] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is produced that implements the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other devices to work in a specific manner. Thus, the computer-readable medium storing the instructions includes a manufactured article that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0117] The computer-readable program instructions can be loaded onto a computer, other programmable data processing device, or other device, such that a series of operation steps are executed on the computer, other programmable data processing device, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing device, or other device implement the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0118] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or by a combination of dedicated hardware and computer instructions.
[0119] The various implementations of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art in the field of this technology without departing from the scope and spirit of the described implementations. The choice of terms used herein is intended to best explain the principles of the implementations, the practical application, or the improvement of the technology in the market, or to enable other ordinary skill in the art in the field of this technology to understand the various implementation manners disclosed herein.
Claims
1. A method for controlling a bicycle, comprising: Obtaining position information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from the bicycle; Determining geographical fence information within a predetermined range of the geographical location based on the position information, the geographical fence information at least indicating a no-parking area of the bicycle; Determining a time period during which the bicycle will be in the no-parking area based on the position information, the direction information, and the geographical fence information; And Sending the time period to the bicycle so that an alarm device of the bicycle emits an alarm signal during the time period to prompt that the bicycle is in the no-parking area.
2. The method according to claim 1, wherein determining the time period includes: Determining a movement trajectory of the bicycle and a traveling speed of the bicycle according to a plurality of position information obtained from the bicycle; Obtaining updated direction information indicating the latest traveling direction of the bicycle from the bicycle; Determining whether the bicycle is to enter the no-parking area based on the movement trajectory, the updated direction information, and the geographical fence information; And In response to determining that the bicycle is to enter the no-parking area, determining the time period during which the bicycle will be in the no-parking area based on the traveling speed.
3. The method according to claim 2, wherein determining the movement trajectory of the bicycle includes: Obtaining road trajectory information of a road on which the bicycle travels based on the position information; And Calibrating the movement trajectory of the bicycle based on the road trajectory information to obtain a calibrated movement trajectory.
4. The method according to claim 2, further comprising: Obtaining updated direction information indicating the latest traveling direction of the bicycle from the bicycle; And In response to determining that a difference between the latest traveling direction and a previously obtained traveling direction is greater than a predetermined angular value, determining the time period during which the bicycle will be in the no-parking area according to the position information, the updated direction information, and the geographical fence information.
5. The method according to any one of claims 1-4, further comprising: Obtaining historical riding data of the bicycle, the historical riding data at least including a riding time, a riding path, and no-parking area stop information that have been successfully ridden; Determining a habitual riding path of the bicycle at least based on the historical riding data; And Determining the time period during which the bicycle will be in the no-parking area based on the position information, the direction information, and the geographical fence information and at least partially based on the habitual riding path.
6. The method according to claim 5, wherein the historical riding data further includes: Season information, weekday information, and weather information.
7. A method for controlling a bicycle, comprising: During the traveling of the bicycle, obtaining position information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from a sensor; Sending the position information and the direction information to a server associated with the bicycle; Obtaining from the server the time period during which the bicycle will be in the no-parking area; And During the time period, causing an alarm device of the bicycle to emit an alarm signal during the time period to prompt that the bicycle is in the no-parking area.
8. The method according to claim 7, wherein causing the alarm device to emit the alarm signal includes: triggering a timer that is turned on within the time period; causing the alarm device to emit the alarm signal according to a signal emitted by the timer.
9. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing machine-executable instructions that, when executed by the at least one processing unit, cause the device to perform actions, the actions including: obtaining location information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from the bicycle; determining, based on the location information, geographical fence information within a predetermined range of the geographical location, the geographical fence information at least indicating a no-parking area of the bicycle; determining, based on the location information, the direction information, and the geographical fence information, a time period during which the bicycle will be in the no-parking area; and sending the time period to the bicycle so that an alarm device of the bicycle emits an alarm signal within the time period to indicate that the bicycle is in the no-parking area.
10. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing machine-executable instructions that, when executed by the at least one processing unit, cause the device to perform actions, the actions including: during the traveling of the bicycle, obtaining location information indicating the geographical location of the bicycle and direction information indicating the traveling direction of the bicycle from a sensor; sending the location information and the direction information to a server associated with the bicycle; obtaining from the server a time period during which the bicycle will be in the no-parking area; and causing an alarm device of the bicycle to emit an alarm signal within the time period to indicate that the bicycle is in the no-parking area.
11. A bicycle, comprising: the electronic device according to claim 10; and an alarm device coupled to the electronic device and including at least one of an acoustic alarm or an optical alarm.
12. The bicycle according to claim 11, wherein the bicycle includes an electric bicycle.
13. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1-6 or the method according to claim 7 or 8.