Vehicle riding management method and device, electronic equipment and computer storage medium
By generating a helmet selection interface in shared electric bikes and utilizing user terminal image acquisition and recognition, the problem of increased costs due to camera detection has been solved, achieving safe and user-friendly helmet wearing management, and improving riding safety and usage rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2026-05-19
AI Technical Summary
Existing technologies that use cameras to detect whether a user is wearing a helmet increase hardware costs, and some users refuse to use public helmets for hygiene reasons, leading to safety risks.
By receiving a ride request, the system determines the status of the helmet in the shared electric bike, generates a helmet selection interface, allows users to bring their own helmets, and collects images or recognition results through the user's terminal to ensure that the user is wearing a helmet before issuing an unlock command, thus avoiding the need for additional hardware.
Ensuring users wear helmets without increasing hardware costs improves riding safety, enhances user experience, and increases vehicle utilization.
Smart Images

Figure CN122067339A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a vehicle riding management method, device, electronic device, and computer storage medium. Background Technology
[0002] To ensure safety during riding, shared electric bikes generally require riders to wear helmets. However, the helmets provided with these bikes are mandatory; users are typically required to unlock and wear the provided helmet before unlocking the bike to ride. Some users, however, are averse to wearing public helmets because they consider them unhygienic in public areas. This leads some users to either unlock the helmet and hang it on their body or place it in the basket. During riding, the helmet may easily fall out or produce unusual noises. Some safety management solutions for these bikes use cameras to identify whether users are wearing helmets while riding.
[0003] In the aforementioned vehicle safety management solution, installing cameras to detect whether users are wearing helmets can improve the safety of riding the vehicle, but it requires additional hardware costs. Summary of the Invention
[0004] This application provides a vehicle riding management method, device, electronic device, and computer storage medium to solve the problem that while current methods of using cameras to detect whether a user is wearing a helmet can improve the safety of vehicle riding, they require additional hardware costs.
[0005] This application provides a vehicle riding management method, the method comprising: Upon receiving a request to use any shared electric vehicle, determine the status of the helmet configured in the shared electric vehicle; The helmet selection interface is determined based on the helmet's status; the helmet selection interface includes at least the option for the included helmet. If the selection instruction returned by the helmet selection interface is "bring your own helmet", obtain the image of the user corresponding to the vehicle use request or the recognition result of the image; the user's image or the recognition result of the image is sent by the user's user terminal; If it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet, a vehicle unlocking command is issued to the shared electric vehicle.
[0006] According to a vehicle riding management method provided in this application, the step of determining the helmet selection interface based on the helmet's status includes: If the helmet is in an available state, a helmet selection interface is generated where both the configured helmet option and the built-in helmet option are available. If the helmet is in a faulty or lost state, a helmet selection interface is generated that allows users to choose from only helmets that come with the helmet.
[0007] According to the vehicle riding management method provided in this application, after determining the helmet selection interface based on the helmet's status, the method further includes: If the selection instruction returned by the helmet selection interface is to use the configured helmet, a helmet unlocking instruction is issued to the shared electric vehicle after confirming that the user has completed the payment; Once it is confirmed that the helmet installed in the shared electric vehicle has been removed, a vehicle unlocking command is issued to the shared electric vehicle.
[0008] According to a vehicle riding management method provided in this application, obtaining the recognition result of the image of the user corresponding to the vehicle use request includes: A recognition instruction is sent to the user terminal corresponding to the vehicle request, instructing the user terminal to collect the image of the user corresponding to the vehicle request and to identify whether the corresponding user is wearing a helmet based on the image of the user corresponding to the vehicle request. Receive the identification result returned by the user terminal based on the identification instruction.
[0009] According to a vehicle riding management method provided in this application, obtaining the image of the user corresponding to the vehicle usage request includes: An image acquisition command is sent to the user terminal corresponding to the vehicle use request, instructing the user terminal to acquire the image of the user corresponding to the vehicle use request; Receive the image of the user corresponding to the vehicle use request returned by the user terminal based on the image acquisition command.
[0010] According to the vehicle riding management method provided in this application, after obtaining the image of the user corresponding to the vehicle usage request, the method further includes: The image of the user corresponding to the vehicle request is input into the target model to obtain the recognition result output by the target model; the recognition result is whether the user is wearing a helmet or not; the target model is obtained by training the model based on sample images and their labels; the labels of the sample images include either the user is wearing a helmet or the user is not wearing a helmet.
[0011] According to the vehicle riding management method provided in this application, after receiving a request to use any shared electric vehicle, the method further includes: Obtain the usage rules of the shared electric vehicle and the driving rules of the area where the shared electric vehicle is located; If either the vehicle usage rules or the driving rules require wearing a helmet, then the step of determining the status of the helmet configured in the shared electric vehicle is executed. If neither the vehicle usage rules nor the driving rules require wearing a helmet, an unlocking command is issued to the shared electric vehicle.
[0012] This application also provides a vehicle riding management device, including: The first determining module is used to receive a request to use any shared electric vehicle and determine the status of the helmet configured in the shared electric vehicle. The second determining module is used to determine the helmet selection interface based on the helmet's status; the helmet selection interface includes at least the option for the helmet that comes with it. The acquisition module is used to acquire the image of the user corresponding to the vehicle use request or the recognition result of the image if the selection instruction returned by the helmet selection interface is the user's own helmet; the user's image or the recognition result of the image is sent by the user's user terminal; The unlocking module is used to issue an unlocking command to the shared electric vehicle if it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet.
[0013] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the vehicle riding management method as described above.
[0014] This application also provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle riding management method as described above.
[0015] The vehicle riding management method, device, electronic equipment, and computer storage medium provided in this application, upon receiving a request to use any shared electric vehicle, determine the status of the helmet configured in the shared electric vehicle. Based on the helmet status, a helmet selection interface is determined, including at least the option to bring one's own helmet, allowing the user to bring their own helmet. Furthermore, when the selection instruction returned by the helmet selection interface indicates that the user has brought their own helmet, the image of the user corresponding to the riding request, or the recognition result based on the image, sent by the user's user terminal, can be obtained. Further, when it is determined based on the image or recognition result that the user is wearing a helmet, an unlocking instruction is issued to the shared electric vehicle, allowing the user to ride the shared electric vehicle. For users who bring their own helmets, there is no need to carry an extra helmet and not wear it while riding. Therefore, the safety of the vehicle riding process can be ensured without increasing additional hardware costs. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating the vehicle riding management method provided in this application.
[0018] Figure 2 This is a schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. The terms "upper," "lower," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Unless otherwise expressly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection; a mechanical connection or an electrical connection; a direct connection or an indirect connection through an intermediate medium; or a connection within two elements. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0021] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects; for example, a first object can be one or more. Furthermore, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects have an "or" relationship.
[0022] The following is combined Figures 1-2 This application describes the vehicle riding management method, device, electronic equipment, and medium.
[0023] Figure 1 This is a flowchart illustrating the vehicle riding management method provided in this application, such as... Figure 1 As shown, the method includes the following steps 100 to 400.
[0024] Step 100: Upon receiving a request to use any shared electric vehicle, determine the status of the helmet configured in the shared electric vehicle.
[0025] Step 200: Determine the helmet selection interface based on the helmet's status; the helmet selection interface should include at least the option for the included helmet.
[0026] Step 300: If the selection instruction returned by the helmet selection interface is "bring your own helmet", obtain the image or image recognition result of the user corresponding to the vehicle use request; the user's image or image recognition result is sent by the user's user terminal.
[0027] Step 400: If the image determines that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet, issue a vehicle unlocking command to the shared electric vehicle.
[0028] It should be noted that the vehicle riding management method provided in this application embodiment can be applied to the management system or management platform of shared electric vehicles (hereinafter referred to as the management platform). The execution subject of the vehicle riding management method in this application can be a server, computer equipment, etc., wherein the computer equipment can be, for example, a mobile phone, tablet computer, laptop computer, handheld computer, vehicle electronic equipment, wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital assistant (PDA), etc.
[0029] In this application, the management platform can be deployed on a server. Users can access the management platform located on the server through user terminals and then request to use the shared electric vehicles managed by the management platform.
[0030] Each shared electric vehicle in this application is equipped with a vehicle QR code or vehicle serial number. Users can access the server through a designated application, mini-program or webpage on their user terminal. Within the management platform set up on the server, the user terminal's camera can be used to scan the QR code of the vehicle they want to use or enter the vehicle's serial number in a designated area, thereby initiating a request to the server for the shared electric vehicle corresponding to the entered serial number or scanned QR code.
[0031] It should be noted that the management platform in this application can communicate with each shared electric vehicle it manages, thereby obtaining vehicle information and controlling the shared electric vehicles. Specifically, it can obtain the current status of the helmet installed in the shared electric vehicle, as well as other information about the shared electric vehicle. It can also control the locking and unlocking of the shared electric vehicle, and control the unlocking of the helmet, etc.
[0032] It should be further noted that the helmets provided in shared electric bikes may be lost or malfunction (or damaged). Therefore, the helmets provided in shared electric bikes can be in one of the following states: available (the helmet is neither lost nor malfunctioning), faulty, or lost.
[0033] Therefore, after receiving a user's request to use any shared electric vehicle, the management platform can obtain the status of the helmet configured in that shared electric vehicle.
[0034] Furthermore, a corresponding helmet selection interface can be determined and displayed on the user terminal based on different helmet states. This allows the user to make selections from the displayed helmet selection interface on the user terminal, and then returns selection instructions for the selected option to the management platform. It should be noted that in multiple different helmet selection interfaces, regardless of the helmet state, the option for the built-in helmet is always available.
[0035] Furthermore, if the selection instruction returned by the helmet selection interface indicates that the user has brought their own helmet, the user can be instructed to obtain and upload an image of themselves wearing the helmet via a user terminal, or to obtain an image of themselves wearing the helmet via a user terminal, complete helmet wearing verification via the user terminal, and then upload the recognition result. The specific process for helmet wearing verification via the user terminal is not limited in this application and can employ existing technologies (such as artificial intelligence recognition) or innovative technologies.
[0036] It should be noted that when verifying helmet wearing on the user terminal, verification can only be passed if it is confirmed that the user is wearing a helmet. Otherwise, the user needs to re-capture the image and re-verify. Therefore, the recognition result can only be that the user is wearing a helmet.
[0037] If the image obtained is of the user corresponding to the vehicle request, it can be used to identify whether the user is wearing a helmet.
[0038] Furthermore, if the image determines that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet, then it is determined that the user has brought and is wearing a helmet. Therefore, a vehicle unlocking command can be issued to the shared electric vehicle, allowing the shared electric vehicle to unlock upon receiving the unlocking command, while the helmet remains locked, allowing the user to ride the vehicle safely.
[0039] If the image determines that the user is not wearing a helmet, a prompt message can be sent to the user terminal to instruct the user to re-capture the image. The new image uploaded by the user through the user terminal can be obtained and identified based on the new image until it is determined that the user is wearing a helmet, and then a vehicle unlocking command can be issued to the shared electric vehicle.
[0040] If the selection instruction returned by the helmet selection interface is to use the configured helmet, then after confirming that the user has completed the payment, a helmet unlock instruction will be issued to the shared electric vehicle; once it is confirmed that the configured helmet in the shared electric vehicle has been removed, a vehicle unlock instruction will be issued to the shared electric vehicle.
[0041] The vehicle riding management method provided in this application, upon receiving a request to use any shared electric vehicle, determines the status of the helmet configured in the shared electric vehicle. Based on the helmet status, it can determine a helmet selection interface that includes at least the option to bring one's own helmet, allowing the user to bring their own helmet. Then, when the selection instruction returned by the helmet selection interface indicates that the user has brought their own helmet, it can obtain the image of the user corresponding to the ride request sent by the user's user terminal, or the recognition result based on the image. Furthermore, when it is determined based on the image or recognition result that the user is wearing a helmet, an unlocking instruction is issued to the shared electric vehicle, allowing the user to ride the shared electric vehicle. For users who bring their own helmets, there is no need to carry an extra helmet and not wear it while riding. Therefore, the safety of the vehicle riding process can be ensured without increasing additional hardware costs.
[0042] In one embodiment, after receiving a request to use any shared electric vehicle, the method further includes: Obtain the usage rules for shared electric bikes and the driving rules for the areas where the shared electric bikes are located; If either the vehicle usage rules or the driving rules require wearing a helmet, proceed with the step of determining the status of the helmets configured in the shared electric vehicle; Specifically, after receiving a request to use any shared electric vehicle, this application can first determine whether the shared electric vehicle is a vehicle for which wearing a helmet is mandatory or whether the area where the shared electric vehicle is located mandates wearing a helmet when riding an electric vehicle.
[0043] More specifically, you can obtain the usage rules for the shared electric vehicle and the driving rules for the area where the shared electric vehicle is located.
[0044] Furthermore, it identifies whether the usage rules instruct that a helmet must be worn when riding the shared electric bike, and whether the driving rules require a helmet to be worn when riding the electric bike in the area where the shared electric bike is located.
[0045] Furthermore, if it is determined that either the vehicle usage rules or the driving rules require wearing a helmet, then the status of the helmets configured in the shared electric vehicle is determined, and the helmet selection interface is determined based on the helmet status.
[0046] If the selection instruction returned by the helmet selection interface indicates that the user has brought their own helmet, obtain the image of the user corresponding to the vehicle request or the image recognition result; if the image determines that the user is already wearing a helmet or the recognition result indicates that the user is already wearing a helmet, issue a vehicle unlocking instruction to the shared electric vehicle.
[0047] If the selection instruction returned by the helmet selection interface is to use the configured helmet, then after confirming that the user has completed the payment, a helmet unlock instruction will be issued to the shared electric vehicle; once it is confirmed that the configured helmet in the shared electric vehicle has been removed, a vehicle unlock instruction will be issued to the shared electric vehicle.
[0048] If neither the usage rules nor the driving rules require wearing a helmet, an unlock command can be issued to the shared electric vehicle, allowing the user to unlock the vehicle and ride it.
[0049] This application determines whether a helmet is required based on vehicle usage and driving rules, and then unlocks the vehicle accordingly, thereby increasing vehicle utilization while ensuring vehicle safety.
[0050] In one embodiment, determining the helmet selection interface based on the helmet's status includes: If the helmet is in an available state, a helmet selection interface will be generated where both the configured helmet and the built-in helmet are available. If the helmet is in a faulty or lost state, a helmet selection interface will be generated that only allows the option to select the helmet that comes with it.
[0051] Specifically, if this application determines that the helmet is in an available state, it means that the user can use the configured helmet or bring their own helmet. Therefore, a helmet selection interface can be generated where both the option to use the configured helmet and the option to bring your own helmet are available.
[0052] If the helmet is determined to be faulty or lost, it means that the helmet provided with the vehicle is unavailable. To ensure safety during the ride, users must bring their own helmets if they want to use the shared electric bike. Therefore, a helmet selection interface with the option to bring only your own helmet can be generated.
[0053] This application generates corresponding helmet selection interfaces for different helmet states, allowing users to select appropriate options according to their actual needs. When the requirements of the corresponding options are met, an unlock command is issued to the shared electric vehicle, enabling users to ride the shared electric vehicle. Therefore, the safety of riding the vehicle can be ensured without increasing additional hardware costs.
[0054] In one embodiment, after determining the helmet selection interface based on the helmet's status, the method further includes: If the selection instruction returned by the helmet selection interface is to use the configured helmet, a helmet unlocking instruction will be issued to the shared electric vehicle after confirming that the user has completed the payment; Once it is confirmed that the helmet in the shared electric vehicle has been removed, a vehicle unlocking command is issued to the shared electric vehicle.
[0055] Specifically, after determining the helmet selection interface based on the helmet's status, if the selection instruction returned from the helmet selection interface indicates the use of the configured helmet, it means the user has selected to use the configured helmet. At this point, the user can be instructed to make a payment, and after confirming the user has completed the payment, a helmet unlocking instruction is issued to the shared electric vehicle, allowing the shared electric vehicle to unlock the configured helmet, which the user can then use. It should be noted that the shared electric vehicle can detect whether the configured helmet has been removed and return a corresponding instruction to the management platform when the helmet is removed.
[0056] Therefore, if it is determined that the helmet in the shared electric bike has been removed, the management platform can issue a vehicle unlocking command to the shared electric bike, so that the shared electric bike can unlock itself after receiving the vehicle unlocking command, and the user can ride the vehicle safely.
[0057] Understandably, this application may also include sensors in the helmets of shared electric vehicles for detecting whether they are being worn. In some embodiments, the sensors can only detect a user after the user is correctly wearing the helmet.
[0058] Therefore, if it is determined that the selection instruction returned by the helmet selection interface is to use the configured helmet, this application can also determine whether the user is wearing a helmet based on the sensor, and when it is determined that the user is wearing a helmet, issue a vehicle unlocking instruction to the shared electric vehicle, so that the shared electric vehicle can unlock the vehicle after receiving the vehicle unlocking instruction, and the user can ride the vehicle safely.
[0059] This application issues a vehicle unlocking command to the shared electric vehicle only after confirming that the helmet has been removed from the vehicle when the user selects to use the configured helmet, allowing the user to ride the vehicle while wearing the helmet and ensuring the safety of the riding process.
[0060] In one embodiment, obtaining the recognition result of the image of the user corresponding to the ride request includes: The system sends an identification command to the user terminal corresponding to the vehicle use request, instructing the user terminal to collect the image of the user corresponding to the vehicle use request and identify whether the corresponding user is wearing a helmet based on the image of the user corresponding to the vehicle use request. Receive the recognition result returned by the user terminal based on the recognition command.
[0061] Specifically, when obtaining the recognition result of the image of the user corresponding to the vehicle use request, the management platform can issue a recognition instruction to the user terminal corresponding to the vehicle use request, thereby instructing the user terminal to collect the image of the user corresponding to the vehicle use request and to identify whether the corresponding user is wearing a helmet based on the image of the user corresponding to the vehicle use request.
[0062] Therefore, after receiving the recognition command through the user terminal, the user can call the image recognition interface of the server and take an image through the camera of the user terminal. The captured image is then recognized through the image recognition interface to confirm whether the user is wearing a helmet, and the recognition result is returned to the management platform in the server.
[0063] Furthermore, the management platform can receive the recognition results returned by the user terminal based on the recognition instructions.
[0064] This application obtains the recognition results of the image of the user corresponding to the ride request, and then issues an unlock command to the shared electric vehicle when it is determined that the user is wearing a helmet based on the recognition results. This allows the user to ride the shared electric vehicle. For users who bring their own helmets, there is no need to carry an extra helmet and not wear it while riding. Therefore, the safety of riding the vehicle can be ensured without increasing the additional hardware cost.
[0065] In one embodiment, obtaining the image of the user corresponding to the ride request includes: Send an image acquisition command to the user terminal corresponding to the vehicle use request, instructing the user terminal to acquire the image of the user corresponding to the vehicle use request; Receive the image of the user corresponding to the vehicle use request returned by the user terminal based on the image acquisition command.
[0066] When acquiring the image of the user corresponding to the vehicle use request, the management platform can issue an image acquisition command to the user terminal corresponding to the vehicle use request, thereby instructing the user terminal to acquire the image of the user corresponding to the vehicle use request.
[0067] Therefore, after receiving an image acquisition command through the user terminal, the user can take an image through the user terminal's camera and return the captured image to the management platform on the server.
[0068] Based on this, the management platform can receive images of the user corresponding to the vehicle use request returned by the user terminal based on the image acquisition command.
[0069] This application obtains the image of the user corresponding to the ride request, and then, when it is determined from the image that the user is wearing a helmet, issues an unlock command to the shared electric vehicle, allowing the user to ride the shared electric vehicle. For users who bring their own helmets, there is no need to carry an extra helmet and not wear it while riding. Therefore, the safety of riding the vehicle can be ensured without increasing the additional hardware cost.
[0070] In one embodiment, after obtaining the image of the user corresponding to the ride request, the method further includes: The image of the user corresponding to the ride request is input into the target model to obtain the recognition result output by the target model; the recognition result is whether the user is wearing a helmet or not; the target model is obtained by training the model based on the sample images and their labels; the label of the sample image includes either whether the user is wearing a helmet or not.
[0071] This application can pre-acquire images of users wearing helmets and not wearing helmets as sample images, and label each sample image with a tag indicating whether a helmet is worn or not.
[0072] Furthermore, the sample images and their labels are used as training data to train the model constructed based on the image recognition scene. This allows the model to learn from the sample images and their labels, and after training, a target model can be obtained that can identify whether the user is wearing a helmet or not based on the input image.
[0073] Furthermore, the target model can be deployed in a management platform. It should be noted that in this application, the user terminal can call the target model via an image recognition interface.
[0074] Therefore, after obtaining the image of the user corresponding to the car rental request, the management platform can input the image of the user corresponding to the car rental request into the target model to obtain the recognition result output by the target model.
[0075] After obtaining the image of the user corresponding to the ride request, this application can use artificial intelligence to identify whether the user is wearing a helmet. Then, when it is determined from the image that the user is wearing a helmet, an unlocking command is issued to the shared electric vehicle, allowing the user to ride the shared electric vehicle. For users who bring their own helmets, there is no need to carry an extra helmet and not wear it while riding. Therefore, the safety of riding the vehicle can be ensured without increasing the additional hardware cost.
[0076] The vehicle riding management device provided in this application is described below. The vehicle riding management device described below can be referred to in correspondence with the vehicle riding management method described above.
[0077] Furthermore, this application also provides a vehicle riding management device.
[0078] The vehicle riding management device includes: The first determining module is used to receive a request to use any shared electric vehicle and determine the status of the helmet configured in the shared electric vehicle. The second determining module is used to determine the helmet selection interface based on the helmet's status; the helmet selection interface includes at least the option for the helmet that comes with it. The acquisition module is used to acquire the image of the user corresponding to the vehicle use request or the recognition result of the image if the selection instruction returned by the helmet selection interface is the user's own helmet; the user's image or the recognition result of the image is sent by the user's user terminal; The unlocking module is used to issue an unlocking command to the shared electric vehicle if it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet.
[0079] In one embodiment, the first determining module is further configured to: Obtain the usage rules of the shared electric vehicle and the driving rules of the area where the shared electric vehicle is located; If either the vehicle usage rules or the driving rules require wearing a helmet, then the step of determining the status of the helmet configured in the shared electric vehicle is executed. If neither the vehicle usage rules nor the driving rules require wearing a helmet, an unlocking command is issued to the shared electric vehicle.
[0080] In one embodiment, the second determining module is specifically used for: If the helmet is in an available state, a helmet selection interface is generated where both the configured helmet option and the built-in helmet option are available. If the helmet is in a faulty or lost state, a helmet selection interface is generated that allows users to choose from only helmets that come with the helmet.
[0081] In one embodiment, the second determining module is further configured to: If the selection instruction returned by the helmet selection interface is to use the configured helmet, a helmet unlocking instruction is issued to the shared electric vehicle after confirming that the user has completed the payment; Once it is confirmed that the helmet installed in the shared electric vehicle has been removed, a vehicle unlocking command is issued to the shared electric vehicle.
[0082] In one embodiment, the acquisition module is specifically used for: A recognition instruction is sent to the user terminal corresponding to the vehicle request, instructing the user terminal to collect the image of the user corresponding to the vehicle request and to identify whether the corresponding user is wearing a helmet based on the image of the user corresponding to the vehicle request. Receive the identification result returned by the user terminal based on the identification instruction.
[0083] In one embodiment, the acquisition module is further configured to: An image acquisition command is sent to the user terminal corresponding to the vehicle use request, instructing the user terminal to acquire the image of the user corresponding to the vehicle use request; Receive the image of the user corresponding to the vehicle use request returned by the user terminal based on the image acquisition command.
[0084] In one embodiment, the acquisition module is further configured to: The image of the user corresponding to the vehicle request is input into the target model to obtain the recognition result output by the target model; the recognition result is whether the user is wearing a helmet or not; the target model is obtained by training the model based on sample images and their labels; the labels of the sample images include either the user is wearing a helmet or the user is not wearing a helmet.
[0085] The vehicle riding management device provided in this application embodiment, upon receiving a request to use any shared electric vehicle, determines the status of the helmet configured in the shared electric vehicle. Based on the helmet status, it can determine a helmet selection interface that includes at least the option to bring one's own helmet, allowing the user to bring their own helmet. Furthermore, when the selection instruction returned by the helmet selection interface indicates that the user has brought their own helmet, it can obtain the image of the user corresponding to the riding request sent by the user's user terminal, or the recognition result based on the image. Further, when it is determined based on the image or recognition result that the user is wearing a helmet, it issues an unlocking command to the shared electric vehicle, allowing the user to ride the shared electric vehicle. For users who bring their own helmets, there is no need to carry an extra helmet and not wear it while riding. Therefore, the safety of the vehicle riding process can be ensured without increasing additional hardware costs.
[0086] Figure 2An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 2 As shown, the electronic device may include a processor 210, a communications interface 220, a memory 230, and a communication bus 240, wherein the processor 210, communications interface 220, and memory 230 communicate with each other via the communication bus 240. The processor 210 can call logical instructions in the memory 230 to execute a vehicle riding management method, which includes: receiving a request to use any shared electric vehicle, and determining the status of the helmet configured in the shared electric vehicle; The helmet selection interface is determined based on the helmet's status; the helmet selection interface includes at least the option for the included helmet. If the selection instruction returned by the helmet selection interface is "bring your own helmet", obtain the image of the user corresponding to the vehicle use request or the recognition result of the image; the user's image or the recognition result of the image is sent by the user's user terminal; If it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet, a vehicle unlocking command is issued to the shared electric vehicle.
[0087] Furthermore, the logical instructions in the aforementioned memory 230 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0088] In another aspect, this application also provides a non-transitory computer storage medium storing a computer program thereon, which, when executed by a processor, implements the vehicle riding management method provided by the above methods, the method comprising: receiving a request for use of any shared electric vehicle and determining the status of the helmet configured in the shared electric vehicle; The helmet selection interface is determined based on the helmet's status; the helmet selection interface includes at least the option for the included helmet. If the selection instruction returned by the helmet selection interface is "bring your own helmet", obtain the image of the user corresponding to the vehicle use request or the recognition result of the image; the user's image or the recognition result of the image is sent by the user's user terminal; If it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet, a vehicle unlocking command is issued to the shared electric vehicle.
[0089] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0090] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for managing vehicle riding, characterized in that, The method includes: Upon receiving a request to use any shared electric vehicle, determine the status of the helmet configured in the shared electric vehicle; The helmet selection interface is determined based on the helmet's status; the helmet selection interface includes at least the option for the included helmet. If the selection instruction returned by the helmet selection interface is "bring your own helmet", obtain the image of the user corresponding to the vehicle use request or the recognition result of the image; the user's image or the recognition result of the image is sent by the user's user terminal; If it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet, a vehicle unlocking command is issued to the shared electric vehicle.
2. The vehicle riding management method according to claim 1, characterized in that, Determining the helmet selection interface based on the helmet's status includes: If the helmet is in an available state, a helmet selection interface is generated where both the configured helmet option and the built-in helmet option are available. If the helmet is in a faulty or lost state, a helmet selection interface is generated that allows users to choose from only helmets that come with the helmet.
3. The vehicle riding management method according to claim 2, characterized in that, After determining the helmet selection interface based on the helmet's status, the system also includes: If the selection instruction returned by the helmet selection interface is to use the configured helmet, a helmet unlocking instruction is issued to the shared electric vehicle after confirming that the user has completed the payment; Once it is confirmed that the helmet installed in the shared electric vehicle has been removed, a vehicle unlocking command is issued to the shared electric vehicle.
4. The vehicle riding management method according to claim 1, characterized in that, Obtaining the recognition result of the image of the user corresponding to the car rental request includes: A recognition instruction is sent to the user terminal corresponding to the vehicle request, instructing the user terminal to collect the image of the user corresponding to the vehicle request and to identify whether the corresponding user is wearing a helmet based on the image of the user corresponding to the vehicle request. Receive the identification result returned by the user terminal based on the identification instruction.
5. The vehicle riding management method according to claim 1, characterized in that, Obtaining the image of the user corresponding to the car rental request includes: An image acquisition command is sent to the user terminal corresponding to the vehicle use request, instructing the user terminal to acquire the image of the user corresponding to the vehicle use request; Receive the image of the user corresponding to the vehicle use request returned by the user terminal based on the image acquisition command.
6. The vehicle riding management method according to claim 5, characterized in that, After obtaining the image of the user corresponding to the car rental request, the process also includes: The image of the user corresponding to the vehicle request is input into the target model to obtain the recognition result output by the target model; the recognition result is whether the user is wearing a helmet or not; the target model is obtained by training the model based on sample images and their labels; the labels of the sample images include either the user is wearing a helmet or the user is not wearing a helmet.
7. The vehicle riding management method according to claim 1, characterized in that, After receiving a request to use any shared electric vehicle, the following is also included: Obtain the usage rules of the shared electric vehicle and the driving rules of the area where the shared electric vehicle is located; If either the vehicle usage rules or the driving rules require wearing a helmet, then the step of determining the status of the helmet configured in the shared electric vehicle is executed. If neither the vehicle usage rules nor the driving rules require wearing a helmet, an unlocking command is issued to the shared electric vehicle.
8. A vehicle riding management device, characterized in that, include: The first determining module is used to receive a request to use any shared electric vehicle and determine the status of the helmet configured in the shared electric vehicle. The second determining module is used to determine the helmet selection interface based on the state of the helmet. The helmet selection interface includes at least the option to bring your own helmet; The acquisition module is used to acquire the image of the user corresponding to the vehicle use request or the recognition result of the image if the selection instruction returned by the helmet selection interface is the user's own helmet; the user's image or the recognition result of the image is sent by the user's user terminal; The unlocking module is used to issue an unlocking command to the shared electric vehicle if it is determined from the image that the user is wearing a helmet or the recognition result indicates that the user is wearing a helmet.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vehicle riding management method as described in any one of claims 1 to 7.
10. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle riding management method as described in any one of claims 1 to 7.