Locking device, shared bicycle, returning method and computer readable storage medium

文档序号:1964891 发布日期:2021-12-14 浏览:25次 中文

阅读说明:本技术 锁止装置、共享单车、还车方法及计算机可读存储介质 (Locking device, shared bicycle, returning method and computer readable storage medium ) 是由 赵明 王红飞 曹跃峰 于 2021-11-01 设计创作,主要内容包括:本申请实施例公开了一种锁止装置、共享单车、还车方法及计算机可读存储介质。所述锁止装置包括锁止部件、驱动组件及主动锁部件,所述驱动组件包括开关;所述锁止部件包括挡板、按压部和第一锁钩,所述按压部用于在停车桩的锁轴结构的挤压下,按压所述开关,以使所述驱动组件工作;所述驱动组件的输出轴与所述主动锁部件的一端连接,所述主动锁部件的另一端设置有第二锁钩,所述第二锁钩用于与所述第一锁钩配合,以使所述挡板锁住所述锁轴结构。本申请实施例提供的锁止装置,实现锁止装置与停车桩的锁轴结构相互配合,锁住共享单车的功能。(The embodiment of the application discloses a locking device, a shared bicycle, a bicycle returning method and a computer readable storage medium. The locking device comprises a locking component, a driving assembly and an active locking component, wherein the driving assembly comprises a switch; the locking component comprises a baffle, a pressing part and a first locking hook, and the pressing part is used for pressing the switch under the extrusion of a locking shaft structure of the parking pile so as to enable the driving assembly to work; the output shaft of the driving assembly is connected with one end of the active locking part, a second locking hook is arranged at the other end of the active locking part, and the second locking hook is used for being matched with the first locking hook so that the baffle plate locks the locking shaft structure. The locking means that this application embodiment provided realizes that the locking means mutually supports with the lock axle construction of parking stake, pins the function of sharing bicycle.)

1. A locking device (100) comprising a locking member (110), a drive assembly (120) and an active locking member (130), the drive assembly (120) comprising a switch (121);

the locking component (110) comprises a baffle (111), a pressing part (112) and a first locking hook (113), wherein the pressing part (112) is used for pressing the switch (121) under the extrusion of a locking shaft structure so as to enable the driving component (120) to work;

an output shaft of the driving assembly (120) is connected with one end of the active locking component (130), a second locking hook (131) is arranged at the other end of the active locking component (130), and the second locking hook (131) is used for being matched with the first locking hook (113) so that the baffle (111) locks the locking shaft structure.

2. The device according to claim 1, wherein the driving assembly (120) comprises a motor (122), a transmission chain (123), a transmission rod (124) and a locking limiting rod (125), the motor (122) is connected with one end of the transmission chain (123), the other end of the transmission chain (123) is connected with the transmission rod (124), the locking limiting rod (125) is connected with the active lock component (130), a spring is arranged around the outside of the locking limiting rod (125), and the spring provides elastic force for the second locking hook (131) of the active lock component (130) to be matched with the first locking hook (113);

the motor (122) is used for driving the transmission chain (123) and further driving the transmission chain (123), the transmission rod (124) and the locking limiting rod (125) to move.

3. A shared bicycle, characterized by comprising a locking device (100) according to claim 1 or 2, a first detection device (200), a second detection device (300) and a bicycle central control (400), wherein the bicycle central control (400) is in communication connection with the locking device (100), the first detection device (200) and the second detection device (300);

the first detection device (200) is used for being matched with a third detection device (500) of the parking pile so as to send a first locking closing success message to the bicycle central control unit (400) when the locking device (100) is detected to be matched with a locking shaft structure of the parking pile in place;

the second detection device (300) is used for sending a second locking success message to the bicycle central control unit (400) when the locking device (100) is detected to be locked with the lock shaft structure;

and the bicycle central control unit (400) is used for sending locking success feedback information to the server when the first locking success information and the second locking success information are received.

4. The sharing bicycle according to claim 3, characterized in that the first detection device (200) comprises a communication circuit comprising a reed switch.

5. The sharing bicycle according to claim 3, wherein the second detecting device (300) is further configured to send a lock failure message to the bicycle central controller (400) when detecting that the locking device (100) is unlocked from the lock shaft structure;

the bicycle central control unit (400) is further configured to send state abnormality feedback information to the server if an unlocking request sent by the mobile terminal is not received but locking failure information sent by the second detection device (300) is received after the locking success feedback information is sent to the server; and the locking device is also used for controlling the wheels of the shared bicycle to be incapable of rotating when receiving a locking instruction sent by the server.

6. A sharing bicycle returning method, applied to the sharing bicycle according to any one of claims 3-5, comprising:

the first detection device (200) sends first locking success information to the bicycle central control unit (400) when detecting that the locking device (100) is matched with the locking shaft structure (610) of the parking pile in place;

when the second detection device (300) detects that the locking device (100) is locked with the lock shaft structure (610), second locking success information is sent to the bicycle central control unit (400);

and when the bicycle central control unit (400) receives the first locking success information and the second locking success information, the locking success feedback information is sent to the server, so that the server determines whether the bicycle returning order is finished according to the current position information of the shared bicycle.

7. The method of claim 6, wherein after the central control unit sends the lock-off success feedback information to the server, the method further comprises:

when the second detection device (300) detects that the locking device (100) and the lock shaft structure (610) are not locked, locking failure information is sent to the bicycle central control unit (400);

when the bicycle central control unit (400) does not receive the unlocking request sent by the mobile terminal but receives the locking failure information, sending state abnormity feedback information to the server;

and when the bicycle central control unit (400) receives the locking instruction sent by the server, the wheels of the shared bicycle are controlled not to rotate.

8. A vehicle returning method for sharing a single vehicle is applied to a server and comprises the following steps:

receiving locking success feedback information sent by the central control unit of the shared bicycle;

and if the current position information of the shared bicycle is in a preset parking spot, completing a bicycle returning order and sending a bicycle returning success prompting instruction to the mobile terminal, wherein the bicycle returning success prompting instruction is used for prompting the user that the shared bicycle is successfully returned.

9. The method of claim 8, wherein upon completion of the return order, further comprising:

and if the state abnormity feedback information sent by the bicycle central control is received, sending a locking instruction to the bicycle central control, wherein the locking instruction is used for indicating that wheels of the shared bicycle controlled by the bicycle cannot rotate.

10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the method of returning a shared bicycle of any of claims 6-9.

Technical Field

The present disclosure relates to a field of a shared bicycle, and more particularly, to a locking device, a shared bicycle, a returning method, and a computer-readable storage medium.

Background

At present, a sharing bicycle is increasingly becoming a vehicle for people to go out. Each of the shared bicycles needs to be equipped with a locking device by which a user can unlock or lock the shared bicycle. The locking device is a security device for ensuring the functions of safety, normal operation, use and the like of the shared bicycle. The locking device which is arranged on the shared bicycle and is matched with the locking shaft structure of the parking pile is not arranged in the prior art. Therefore, how to realize a locking device which is matched with a lock shaft structure of a parking pile is a technical problem which needs to be solved urgently at present.

Disclosure of Invention

An object of the present application is to provide a locking device, a shared bicycle, a returning method and a computer readable storage medium, so as to solve the problem of how to implement a locking device disposed on a shared bicycle and cooperating with a locking shaft structure of a parking pile.

In a first aspect, an embodiment of the present application provides a locking device, which includes a locking component, a driving assembly, and an active locking component, where the driving assembly includes a switch;

the locking component comprises a baffle, a pressing part and a first locking hook, and the pressing part is used for pressing the switch under the extrusion of a locking shaft structure of the parking pile so as to enable the driving assembly to work;

the output shaft of the driving assembly is connected with one end of the active locking part, a second locking hook is arranged at the other end of the active locking part, and the second locking hook is used for being matched with the first locking hook so that the baffle plate locks the locking shaft structure.

In this application embodiment, the locking part is under the extrusion of lock axle structure, and push switch for drive assembly drive second latch hook and first latch hook cooperate, pin the lock axle structure of parking stake, so, realize that locking means and the lock axle structure of parking stake mutually support and pin the function of sharing bicycle.

In an alternative embodiment, the driving assembly includes a motor, a transmission chain, a transmission rod, and a lock limiting rod, the motor is connected to one end of the transmission chain, the other end of the transmission chain is connected to the transmission rod, the lock limiting rod is connected to the active lock component, a spring is disposed around the lock limiting rod, and the spring provides an elastic force for the second lock hook 131 of the active lock component 130 to cooperate with the first lock hook 113;

the motor is used for driving the transmission chain and further driving the transmission chain, the transmission rod and the locking limiting rod to move.

In a second aspect, an embodiment of the present application provides a shared bicycle, including the locking device, the first detection device, the second detection device, and a bicycle central control according to the first aspect, where the bicycle central control is in communication connection with all of the locking device, the first detection device, and the second detection device;

the first detection device is used for being matched with a third detection device of the parking pile so as to send first locking success information to the bicycle central control unit when the locking device is detected to be matched with a lock shaft structure of the parking pile in place;

the second detection device is used for sending second locking success information to the bicycle central control unit when the locking device and the lock shaft structure are detected to be locked;

and the bicycle central controller is used for sending locking success feedback information to a server when the first locking success information and the second locking success information are received.

In the embodiment of the application, when the first detection device is matched with the third detection device of the parking pile and the locking device is detected to be matched with the locking shaft structure of the parking pile in place, first locking success information is sent to the central control unit of the bicycle; when the second detection device detects that the locking device and the lock shaft structure are locked, second locking success information is sent to the bicycle central control; and when the first locking success information and the second locking success information are received, sending locking success feedback information to the server. Compared with the prior art, whether the shared bicycle is stopped at a stopping point is determined only by judging whether the Hall circuit or the reed switch is conducted, and the accuracy of judging whether the shared bicycle is locked is improved.

In an alternative embodiment, the first sensing device includes a communication circuit that includes a reed switch.

In an optional embodiment, the second detecting device includes a pressure sensor, and is further configured to send a lock failure message to the central control unit of the bicycle when detecting that the locking device and the lock shaft structure are unlocked;

the bicycle central control unit is further configured to send state abnormality feedback information to the server if an unlocking request sent by the mobile terminal is not received but locking failure information sent by the second detection device is received after the locking success feedback information is sent to the server; and the locking device is also used for controlling the wheels of the shared bicycle to be incapable of rotating when receiving a locking instruction sent by the server.

In the embodiment of the application, when the second detection device detects that the locking device and the locking structure are not locked, the second detection device sends locking failure information to the central control unit of the bicycle; after the central control unit of the bicycle sends the locking success feedback information to the server, if the central control unit does not receive the unlocking request sent by the mobile terminal but receives the locking failure information sent by the second detection device, the central control unit sends the state abnormity feedback information to the server; and when a locking instruction sent by the server is received, controlling wheels of the shared bicycle to be incapable of rotating. That is, when the shared bicycle is abnormally unlocked, the wheels of the shared bicycle are controlled by the bicycle central controller to be incapable of rotating, so that the shared bicycle is prevented from being used.

In a third aspect, an embodiment of the present application provides a sharing bicycle returning method, which is applied to the sharing bicycle according to the second aspect, and the method includes:

when the first detection device detects that the locking device is matched with the lock shaft structure of the parking pile in place, first lock closing success information is sent to the bicycle central control;

when the second detection device detects that the locking device and the lock shaft structure are locked, second locking success information is sent to the bicycle central control;

and when the bicycle central control receives the first locking success information and the second locking success information, the bicycle central control sends locking success feedback information to the server, so that the server determines whether a bicycle returning order is finished according to the current position information of the shared bicycle.

In an optional implementation manner, after sending the information of successful lock closing feedback to the server, the method further includes:

when the second detection device detects that the locking device and the lock shaft structure are not locked, locking failure information is sent to the bicycle central control;

when the central control unit of the bicycle does not receive the unlocking request sent by the mobile terminal but receives the locking failure information, sending abnormal state feedback information to the server;

and when the bicycle central control receives the locking instruction sent by the server, the bicycle central control controls the wheels of the shared bicycle to be incapable of rotating.

In the embodiment of the application, when the bicycle central controller receives the locking instruction sent by the server, the bicycle central controller controls the wheels of the shared bicycle to be incapable of rotating, and the function of preventing the shared bicycle from being used by abnormal unlocking is realized.

In a fourth aspect, an embodiment of the present application provides a method for returning a shared bicycle, which is applied to a server and includes:

receiving locking success feedback information sent by the central control unit of the shared bicycle;

and if the current position information of the shared bicycle is in a preset parking spot, completing a bicycle returning order and sending a bicycle returning success prompting instruction to the mobile terminal, wherein the bicycle returning success prompting instruction is used for prompting the user that the shared bicycle is successfully returned.

In the embodiment of the application, if the server receives the feedback information that the locking is successfully closed and the current position information of the shared bicycle is in the preset parking spot, the server confirms that the shared bicycle is successfully locked and parked in the preset parking spot, the server completes the bicycle returning order and sends a bicycle returning success prompt instruction to the mobile terminal to remind a user that the bicycle returning is successful. Therefore, the accuracy of judging whether the shared bicycle is locked or not is improved, and meanwhile, the shared bicycle is guaranteed to be parked in the preset parking spot.

In an optional embodiment, after the returning order is completed, the method further includes:

and if the state abnormity feedback information sent by the bicycle central control is received, sending a locking instruction to the bicycle central control, wherein the locking instruction is used for indicating that wheels of the shared bicycle controlled by the bicycle cannot rotate.

In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the method for returning a shared bicycle according to the third or fourth aspect.

Drawings

In order to more clearly explain the technical solutions of the present application, the drawings needed to be used in the embodiments are briefly introduced below, and it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope of protection of the present application. Like components are numbered similarly in the various figures.

Fig. 1 is a schematic structural diagram illustrating a locking device with a first locking hook and a second locking hook not matched according to an embodiment of the present application;

fig. 2 is a schematic structural diagram illustrating a locking device with a first locking hook cooperating with a second locking hook provided in an embodiment of the present application;

FIG. 3 is a schematic block diagram illustrating the connection relationship between the motor, the transmission chain and the transmission rod provided in the embodiment of the present application;

FIG. 4 is a block diagram illustrating a schematic structure of a shared bicycle according to an embodiment of the present disclosure;

FIG. 5 illustrates a front view of a parking pile provided by an embodiment of the present application;

FIG. 6 illustrates a side view of a parking pile provided by an embodiment of the present application;

FIG. 7 is a block diagram illustrating a flow chart of steps of a vehicle returning method for sharing a single vehicle according to an embodiment of the present application;

FIG. 8 is a block diagram showing a flow chart of steps of another method for returning a shared bicycle provided by an embodiment of the present application;

fig. 9 shows a block diagram of a structure of a returning device for sharing a bicycle according to an embodiment of the present application.

Description of reference numerals:

10-sharing a bicycle; 100-a locking device; 110-a locking member; 111-a baffle; 112-a pressing part; 113-a first shackle; 120-a drive assembly; 121-a switch; 122-a motor; 123-a transmission chain; 124-transmission rod; 125-locking the limiting rod; 130-a positive lock component; 131-a second shackle; 140-a limit structure; 200-a first detection device; 300-a second detection device; 400-single vehicle central control; 500-a third detection device; 600-parking piles; 610-lock shaft structure; 620-parking limit lever; 630-a lock groove; 640-a backplane; 900-shared bicycle returning device; 910-a receiving module; 920-complete the module.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.

The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present application, are intended to indicate only specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.

Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.

Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments.

Example 1

Referring to fig. 1, fig. 1 is a schematic structural diagram illustrating a locking device provided in an embodiment of the present application, in which a first locking hook and a second locking hook are not engaged.

The locking device 100 includes a locking member 110, a driving assembly 120 and an active locking member 130, wherein the driving assembly 120 includes a switch 121.

The locking member 110 includes a blocking plate 111, a pressing portion 112 and a first locking hook 113, and the pressing portion 112 is used for pressing the switch 121 to operate the driving assembly 120 under the pressing of a locking shaft structure (not shown) of the parking pile.

Specifically, the locking component 110 provided by this embodiment includes a U-shaped plate, one end of the U-shaped plate is the baffle 111, the other end of the U-shaped plate is provided with the first locking hook 113, and one side of the other end of the U-shaped plate, which is far away from one end of the U-shaped plate, is provided with the pressing portion 112.

An output shaft of the driving assembly 120 is connected to one end of the active lock component 130, a second locking hook 131 is disposed at the other end of the active lock component 130, and the second locking hook 131 is used for being matched with the first locking hook 113, so that the baffle 111 locks the lock shaft structure.

Specifically, referring to fig. 1 and fig. 2 together, fig. 2 shows a schematic structural diagram of a locking device in which a first locking hook and a second locking hook cooperate according to an embodiment of the present application. When the locking device 100 is unlocked, as shown in fig. 1, the first locking hook 113 is separated from the second locking hook 131. When the locking shaft structure presses the locking member 110, the first locking hook 113 moves towards the second locking hook 131, and at the same time, the pressing portion 112 contacts and presses the switch 121, so that the output shaft (not shown) of the driving assembly 120 drives the active locking member 130 to move downward, and the first locking hook 113 and the second locking hook 131 are engaged, so that the baffle 111 locks the locking shaft structure.

Referring to fig. 2 and 3 together, fig. 3 is a schematic block diagram illustrating the connection relationship between the motor, the transmission chain and the transmission rod according to the embodiment of the present application. In an alternative embodiment, the driving assembly 120 includes a motor 122, a transmission chain 123, a transmission rod 124, and a lock limiting rod 125, an output shaft (not shown) of the motor 122 is connected to one end of the transmission chain 123, the other end of the transmission chain 123 is connected to the transmission rod 124, the lock limiting rod 125 is connected to the active lock component 130, and a spring (not shown) is disposed around the lock limiting rod 125 and configured to provide an elastic force for the second lock hook 131 of the active lock component 130 to cooperate with the first lock hook 113 when the lock limiting rod 125 moves upward.

The motor 122 is configured to drive the transmission chain 123, and further drive the transmission chain 123, the transmission rod 124, and the locking limiting rod 125 to move.

Optionally, the locking device 100 is further provided with a limiting structure 140, and the limiting structure 140 is used for limiting the displacement distance of the active lock component 130.

Still referring to fig. 2, in the present embodiment, the locking principle is as follows: when the locking shaft structure presses the locking member 110, the first locking hook 113 moves towards the direction of the second locking hook 131, and meanwhile, the pressing portion contacts and presses the switch 121, so that the motor 122 starts to rotate towards the first direction and drives the transmission chain 123 to transmit, after the transmission of the transmission chain 123, the transmission rod 124 is driven to move towards the upper side of the figure, so as to drive the locking limiting rod 125 to move towards the upper side of the figure, the spring provides elastic force for the second locking hook 131 of the active locking member 130 to be matched with the first locking hook 113, and finally the active locking member 130 fastens the locking member 110 towards the lower side of the figure, that is, the first locking hook 113 is matched with the second locking hook 131, and the baffle 111 locks the locking shaft structure.

Further, the principle of unlocking is as follows: after receiving the unlocking command, the motor 122 starts to rotate in the second direction and drives the transmission chain 123 to transmit, and after the transmission chain 123 transmits, the transmission rod 124 is driven to move downward in the figure, so as to drive the locking limiting rod 125 to move downward in the figure, and finally the active lock component 130 moves upward in the figure, that is, the first locking hook 113 and the second locking hook 131 are not engaged, and the baffle 111 releases the lock shaft structure. It is understood that the first direction and the second direction are opposite directions.

Example 2

As shown in fig. 4, fig. 4 is a schematic block diagram illustrating a structure of a shared bicycle according to an embodiment of the present application. The shared bicycle 10 comprises a locking device 100, a first detection device 200, a second detection device 300 and a bicycle central control 400 according to embodiment 1, wherein the bicycle central control 400 is in communication connection with the locking device 100, the first detection device 200 and the second detection device 300.

The first detection device 200 is configured to cooperate with the third detection device 500 of the parking pile to send a first lock closing success message to the bicycle central controller 400 when detecting that the locking device 100 is matched with the lock shaft structure 610 of the parking pile in place.

The second detecting device 300 is configured to send a second locking success message to the bicycle central controller 400 when detecting that the locking device 100 is locked with the lock shaft structure 610;

the bicycle central controller 400 is configured to send lock closing success feedback information to a server (not shown) when receiving the first lock closing success information and the second lock closing success information.

In an alternative embodiment, the first sensing device 200 includes a communication circuit that includes a reed switch.

Specifically, when the first sensing device 200 includes a communication circuit including a reed switch, the third sensing device 500 may be a spring or the like provided on the parking pile. When the first detection device 200 detects that the locking device 100 is matched with the locking shaft structure 610 of the parking pile in place, that is, when the distance between the first detection device 200 and the third detection device 500 is within a preset range, the spring on the parking pile conducts the communication circuit, so that the first detection device 200 sends a first locking-off success message to the bicycle central control unit 400.

In an alternative embodiment, the second detecting device 300 includes a pressure sensor (not shown), and is further configured to send a lock failure message to the bicycle central controller 400 when detecting that the locking device 100 is unlocked from the lock shaft structure 610;

the bicycle central controller 400 is further configured to send, after sending the locking success feedback information to the server, state abnormality feedback information to the server if an unlocking request sent by the mobile terminal is not received but the locking failure information sent by the second detection device 300 is received; and the locking device is also used for controlling the wheels of the shared bicycle to be incapable of rotating when receiving a locking instruction sent by the server.

Specifically, the second detecting device may be disposed on the switch, and when it is detected that the pressure of the switch is greater than or equal to a preset threshold, it is determined that the locking shaft structure presses the locking member 110, and it is further determined that the locking device 100 is matched with the locking shaft structure 610 in place, at this time, the second detecting device 300 sends a locking success message to the bicycle central controller 400. When the pressure of the switch is detected to be smaller than a preset threshold value, it is determined that the locking component 110 is not pressed by the locking shaft structure, and it is further determined that the locking device 100 is not matched with the locking shaft structure 610 in place. At this time, the second detecting device 300 transmits the locking failure information to the bicycle central controller 400.

Further, after the information of successful lock closing feedback is sent to the server, if the unlocking request sent by the mobile terminal is not received but the information of failed lock closing sent by the second detection device 300 is received, it is indicated that the shared bicycle is abnormally unlocked. At this time, the bicycle central controller 400 sends the abnormal state feedback information to the server. And when receiving the state abnormality feedback information, the server sends a locking instruction to the bicycle central control unit 400. When the bicycle central controller 400 receives the locking instruction, the wheels of the shared bicycle are controlled not to rotate, so that the shared bicycle in an abnormal unlocking state is prevented from being used.

Referring to fig. 5 and 6, fig. 5 is a front view of a parking pile according to an embodiment of the present application; fig. 6 shows a side view of a parking peg provided in an embodiment of the present application. The embodiment also provides a parking pile matched with the shared bicycle for use. As shown in fig. 5 and 6, the parking peg 600 includes a locking shaft structure 610, a parking limiting rod 620, a locking groove 630 and a bottom plate 640, wherein the parking limiting rod 620 is disposed on the bottom plate 640. The locking shaft structure 610 is configured to cooperate with the locking device 100 on the shared bicycle to lock the shared bicycle, the parking limiting rod 620 is configured to limit a parking position of wheels of the shared bicycle 10, and the locking groove 630 is configured to accommodate the locking device 100.

Example 3

Referring to fig. 7, fig. 7 is a schematic block diagram illustrating a flow of steps of a returning method for sharing a single vehicle according to an embodiment of the present application.

As shown in fig. 7, the method for returning a shared bicycle provided in the embodiment of the present application may be applied to the shared bicycle described in embodiment 2, and includes steps S710 to S730.

S710: when detecting that the locking device 100 is matched with the locking shaft structure 610 of the parking pile in place, the first detection device 200 sends a first locking success message to the bicycle central controller 400.

S720: when detecting that the locking device 100 is locked with the lock shaft structure 610, the second detection device 300 sends a second locking success message to the bicycle central controller 400.

S730: and when receiving the first locking success information and the second locking success information, the bicycle central control unit 400 sends locking success feedback information to the server, so that the server determines whether the returning order is completed according to the current position information of the shared bicycle.

Specifically, only when the bicycle central control receives the first locking success information and the second locking success information, it is determined that the shared bicycle is successfully locked, and the bicycle central control sends the locking success feedback information to the server. In other words, when the central control unit of the bicycle only receives the first locking success information or the second locking success information, it is determined that the shared bicycle is not successfully locked, and the central control unit of the bicycle does not perform any operation.

In an optional implementation manner, after sending the information of successful lock closing feedback to the server, the method further includes:

when detecting that the locking device 100 and the lock shaft structure 610 are not locked, the second detection device 300 sends a lock failure message to the bicycle central controller 400;

when the bicycle central controller 400 does not receive the unlocking request sent by the mobile terminal but receives the locking failure information, sending state abnormality feedback information to the server so that the server determines whether to complete the returning order according to the current position information of the shared bicycle;

and when the bicycle central control unit 400 receives the locking instruction sent by the server, the wheels of the shared bicycle are controlled not to rotate.

Specifically, if the bicycle central control unit does not receive the unlocking instruction sent by the mobile terminal, but receives the lock closing failure information sent by the second detection device, it indicates that the shared bicycle is abnormally unlocked. At the moment, the bicycle central control unit sends state abnormity feedback information to the server. And when the bicycle central control receives the locking instruction, the bicycle central control controls the wheels of the shared bicycle to be incapable of rotating. Thus, the function of preventing abnormal unlocking of the shared bicycle from being used is realized.

Example 4

Referring to fig. 8, fig. 8 is a schematic block diagram illustrating a flow of steps of another method for returning a shared bicycle according to an embodiment of the present application.

As shown in fig. 8, the method for returning a shared bicycle provided in the embodiment of the present application may be applied to a server, and includes S810 to S820.

S810: and receiving locking success feedback information sent by the central control unit of the shared bicycle.

S820: and if the current position information of the shared bicycle is in a preset parking spot, completing a bicycle returning order and sending a bicycle returning success prompting instruction to the mobile terminal, wherein the bicycle returning success prompting instruction is used for prompting the user that the shared bicycle is successfully returned.

Specifically, after the server receives the successful feedback information of the lock, the server judges whether the current position information of the shared bicycle is in a preset parking spot or not, if not, a failed returning prompt instruction is sent to the mobile terminal, the failed returning prompt instruction is used for prompting the user that the shared bicycle is failed to return, the mobile terminal receives the successful returning instruction, the mobile terminal responds to the failed returning prompt instruction, and prompts the user in the form of voice and/or characters that the shared bicycle is not in the preset parking spot, and the returning is failed. Therefore, the shared bicycle is guaranteed to be parked in a preset parking spot by the user.

Further, if the current position information is in a preset parking spot, a car returning order is completed and a car returning success instruction is sent to the mobile terminal, wherein the car returning success prompting instruction is used for prompting the user that the shared bicycle is successfully returned. And the mobile terminal receives the car returning success prompt instruction, responds to the car returning success prompt instruction, and prompts the user that the shared bicycle is successfully returned in a voice and/or text mode.

To prevent an abnormally unlocked shared bicycle from being used, the method further comprises:

and if the state abnormity feedback information sent by the bicycle central control is received, sending a locking instruction to the bicycle central control, wherein the locking instruction is used for indicating that wheels of the shared bicycle controlled by the bicycle cannot rotate.

In this embodiment, when the server receives the abnormal state feedback information, the server sends a locking instruction to the bicycle central control unit, where the locking instruction is used to indicate that wheels of the bicycle, which control the shared bicycle, cannot rotate. Thus, the function of preventing abnormal unlocking of the shared bicycle from being used is realized.

Example 5

Referring to fig. 9, fig. 9 is a block diagram schematically illustrating a structure of a carriage returning device for sharing a single carriage according to an embodiment of the present application. The returning device 900 for the shared bicycle comprises a receiving module 910 and a completing module 920.

The receiving module 910 is configured to receive locking success feedback information sent by a bicycle central controller of the shared bicycle.

The completion module 920 is configured to complete a vehicle returning order and send a vehicle returning success prompting instruction to the mobile terminal if the current position information of the shared vehicle is in a preset parking spot, where the vehicle returning success prompting instruction is used to prompt the user that the shared vehicle is successfully returned.

Optionally, the car returning device 900 for sharing a single car further includes:

and the sending module is used for sending a locking instruction to the bicycle central control unit if state abnormality feedback information sent by the bicycle central control unit is received, wherein the locking instruction is used for indicating that wheels of the shared bicycle controlled by the bicycle cannot rotate.

The above device is used for executing the method provided in embodiment 4, and the implementation principle and technical effect are similar, and are not described herein again.

The embodiment of the application further discloses computer equipment, the computer equipment comprises a memory and a processor, the memory stores computer programs, and when the processor executes the computer programs, the method for returning the shared bicycle is realized according to the embodiment 4.

The embodiment of the application also discloses a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for returning the shared bicycle is realized according to the embodiment 3 or 4.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

In addition, each functional module or unit in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:智能锁控制方法、系统、智能锁及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!