CN115019450A - Shared vehicle use control method and device and electronic equipment - Google Patents

Shared vehicle use control method and device and electronic equipment Download PDF

Info

Publication number
CN115019450A
CN115019450A CN202210622689.6A CN202210622689A CN115019450A CN 115019450 A CN115019450 A CN 115019450A CN 202210622689 A CN202210622689 A CN 202210622689A CN 115019450 A CN115019450 A CN 115019450A
Authority
CN
China
Prior art keywords
vehicle
server
request
shared vehicle
shared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210622689.6A
Other languages
Chinese (zh)
Inventor
胡清波
朱波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Xiaoliu Sharing Information Technology Co Ltd
Original Assignee
Ningbo Xiaoliu Sharing Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Xiaoliu Sharing Information Technology Co Ltd filed Critical Ningbo Xiaoliu Sharing Information Technology Co Ltd
Priority to CN202210622689.6A priority Critical patent/CN115019450A/en
Publication of CN115019450A publication Critical patent/CN115019450A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/006Details of the software used for the vending machines
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a shared vehicle use control method, a device and electronic equipment, wherein if a plurality of target use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received in a first preset time period, a plurality of target use requests are packaged to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request. And sending the first packaging result to a server, outputting a plurality of execution instructions respectively corresponding to the target use requests through the server, and sending each execution instruction to the corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle. In the method, when a plurality of target use requests are received in the first preset time period, each target use request is not sent to the server respectively, but is sent to the server after being packaged, and the access pressure to the server is reduced due to the fact that the access amount to the server is reduced.

Description

Shared vehicle use control method and device and electronic equipment
Technical Field
The invention relates to the technical field of shared vehicles, in particular to a use control method and device of a shared vehicle and electronic equipment.
Background
The application of the shared vehicle solves the last kilometer of a city, and brings great convenience for people to go out. If the user needs to use the shared vehicle, the user is usually required to access the server of the operator through a client or an applet, and the user is allowed to use the vehicle after the authentication request of the user is passed. Shared vehicles are often distributed in various big cities, and in the related art, when a plurality of requests are sent to a server in the same time period, the pressure of the server is easy to increase sharply; especially, in the time period of going to work and going to work, the demand of the user for using the vehicle is increased sharply, and the time for using the vehicle is concentrated, so that the access pressure on the server is overlarge.
Disclosure of Invention
The invention aims to provide a shared vehicle use control method, a shared vehicle use control device and electronic equipment, so as to reduce the access pressure on a server.
In one aspect, a vehicle locking method is provided, a use control method of a shared vehicle is provided, and the method is applied to a first electronic device; the first electronic equipment is respectively in communication connection with the user terminal and the server through designated Bluetooth; the method comprises the following steps: if a plurality of target use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a first preset time period, packaging the plurality of target use requests to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request; and sending the first packaging result to a server, outputting a plurality of execution instructions respectively corresponding to the target use requests through the server, and sending each execution instruction to a corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle.
In the embodiment of the application, when a plurality of target use requests are received in the first preset time period, each target use request is not sent to the server respectively, but is sent to the server after being packaged, and therefore the access pressure to the server is reduced due to the fact that the access amount to the server is reduced.
Further, if the target use request is a vehicle use request, each vehicle use request carries user information and vehicle information corresponding to the user terminal which sends the vehicle use request; the step of sending the first packaging result to the server, outputting a plurality of execution instructions respectively corresponding to the plurality of target use requests through the server, and sending each execution instruction to the corresponding shared vehicle to control the unlocking or locking of the shared vehicle comprises the following steps: if the target use request is a vehicle using request, sending the first package result to a server, verifying user information and vehicle information carried in each vehicle using request through the server, and if the verification is passed, sending each vehicle information to a user terminal of the corresponding user information; if a plurality of confirmation use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a second preset time period, packaging the plurality of confirmation use requests and corresponding user information and vehicle information to obtain a second packaging result; and sending the second packaging result to a server, outputting an unlocking instruction to each shared vehicle through the server to control each shared vehicle to be unlocked, and starting riding timing for each shared vehicle.
In the embodiment of the application, when a plurality of vehicle using requests are received in a first preset time period, the plurality of vehicle using requests can be packaged and then sent to the server together, so that user information and vehicle information can be verified through the server, when a user confirms to use a shared vehicle, a use confirmation request can be sent through a user terminal, if a plurality of use confirmation requests are received in a second preset time period, the plurality of use confirmation requests can be packaged and then sent to the server together, the mode further reduces the access amount to the server, and therefore the access pressure to the server is reduced.
Further, if the target use request is a car returning request, each car returning request carries user information and vehicle information corresponding to the user terminal which sends the car returning request; the step of sending the first packaging result to the server, outputting a plurality of execution instructions respectively corresponding to the plurality of target use requests through the server, and sending each execution instruction to the corresponding shared vehicle to control the unlocking or locking of the shared vehicle comprises the following steps: if the target use request is a vehicle returning request, sending the first packaging result to the server, and outputting a vehicle locking instruction to each shared vehicle corresponding to each piece of vehicle information through the server to control each shared vehicle to be locked; sending order information of corresponding shared vehicles to a user terminal corresponding to each user information through a server; wherein, the order information includes: ride length, distance and the expense of riding.
In the embodiment of the application, when a plurality of car returning requests are received in the first preset time period, each car returning request is not sent to the server respectively, but is sent to the server together after being packaged, and the access pressure to the server is reduced due to the fact that the access amount to the server is reduced.
Further, each car returning request further comprises: generating a time stamp of the car returning request through the user terminal; the step of sending the order information of the corresponding shared vehicle to the user terminal corresponding to each user information through the server comprises the following steps: calculating the riding time of the corresponding shared vehicle according to each timestamp through the server, calculating riding cost according to the riding time, and generating order information based on the riding time, the riding cost and the pre-generated riding distance; and sending the order information of the corresponding shared vehicle to the user terminal corresponding to each piece of user information through the server.
In the embodiment of the application, the corresponding riding time can be calculated according to the timestamp generated when the user terminal generates the car returning request, so that the accuracy of the riding time is ensured, the order information is more accurate, and the riding experience of a user is improved.
Further, the first electronic device is determined by: if a plurality of preset electronic devices exist, scanning other Bluetooth signals sent by other preset electronic devices except the preset electronic device aiming at each preset electronic device, and comparing the signal intensity of other Bluetooth signals with the signal intensity of the Bluetooth signal of the preset electronic device to obtain a comparison result; selecting preset electronic equipment with the highest signal intensity from the plurality of preset electronic equipment as first electronic equipment based on the comparison results; turning off Bluetooth signals of other preset electronic equipment except the first electronic equipment; according to a preset scanning period, the step of scanning other Bluetooth signals sent by other preset electronic equipment except the preset electronic equipment aiming at each preset electronic equipment is repeatedly executed, so that the preset electronic equipment with the highest signal intensity is selected from the plurality of preset electronic equipment to serve as new first electronic equipment.
In this application embodiment, when there are a plurality of preset electronic devices, can select the preset electronic device with the highest signal strength as first electronic device through the mode of scanning bluetooth signal to guarantee communication efficiency and communication effect between first electronic device and user terminal and the server, and then promote user's the experience of riding.
Further, the first electronic device includes: a designated sharing vehicle or a designated user terminal.
In the embodiment of the application, the designated shared vehicle or the designated user terminal can be used as the first electronic device, so that the use control of the shared vehicle is realized, and the realization mode is more flexible and diversified.
Further, if the target use request is a vehicle use request; a first preset time period corresponding to the vehicle using request is less than a first time length threshold value; if the target use request is a car returning request; the first preset time period corresponding to the car returning request is greater than the second time threshold.
In the embodiment of the application, the first preset time period corresponding to the vehicle using request is set to be less than the first time threshold, so that the real-time performance of communication between the user terminal and the server can be ensured; the first preset time period corresponding to the car returning request is set to be larger than the second time period threshold, more car returning requests can be received in a relatively long time period, the car returning requests are packed and then sent to the server together, the access amount to the server can be further reduced, and the access pressure to the server is reduced.
On the other hand, the utility control device of the shared vehicle is provided, and the device is arranged on the first electronic equipment; the first electronic equipment is respectively in communication connection with the user terminal and the server through designated Bluetooth; the device comprises: the packaging module is used for packaging a plurality of target use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals to obtain a first packaging result if the plurality of target use requests aiming at the plurality of shared vehicles are received within a first preset time period; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request; and the sending module is used for sending the first packaging result to the server, outputting a plurality of execution instructions respectively corresponding to the plurality of target use requests through the server, and sending each execution instruction to the corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle.
In another aspect, an electronic device is provided that includes a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement any of the methods described above.
In another aspect, a computer-readable storage medium is provided that stores computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of any of the above.
Drawings
Fig. 1 is a flowchart of a usage control method for a shared vehicle according to an embodiment of the present application;
FIG. 2 is a flow chart of another method for controlling the use of a shared vehicle according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another method for controlling the use of a shared vehicle according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a shared vehicle usage control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the related technology, when a user needs to use a shared vehicle, the user scans the code of the shared vehicle through a terminal, the terminal sends user information and vehicle information to a server, the server verifies that the user information is legal and the vehicle information is available, the server sends the vehicle information to the terminal, the user sends a use confirmation request through the terminal, and the server sends unlocking information to the shared vehicle and starts riding timing. The shared vehicle is unlocked after receiving the unlocking information, and the user can use the shared vehicle, so that the user can access the server every time the user scans the code, and the pressure of the server is increased steeply. After the user finishes using the shared vehicle, the user parks the shared vehicle to a parking spot, the user clicks the vehicle returning through the terminal at the moment, the vehicle returning request is sent to the server, the server sends locking information to the shared vehicle after verifying that the position of the vehicle is correct, and the shared vehicle is locked to finish an order.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Firstly, the method for controlling the use of the shared vehicle disclosed by the embodiment of the invention is applied to first electronic equipment; the first electronic equipment is respectively in communication connection with the user terminal and the server through designated Bluetooth; the first electronic device includes: a designated sharing vehicle or a designated user terminal. The first electronic device is generally provided with a designated Bluetooth module authorized and designated by an operator and used for sending a designated Bluetooth signal, wherein the Bluetooth signal is unique to the operator, for example, a city is used as an operation fence, and a shared vehicle is placed in the operation fence and can be ridden in the operation fence. The shared vehicle may power down or alarm beyond the operating fence, thereby preventing the user from riding the shared vehicle out of the fence. A plurality of parking spots and a plurality of vehicles are arranged in a fence. For example: 1000 parking spots are arranged in one fence, and 20000 shared vehicles are put in. Of the 20000 shared vehicles, some are class S shared vehicles, and the others are class a shared vehicles. For example, 2000 vehicles are shared in class S, and 8000 vehicles are shared in class a. A designated Bluetooth module is arranged in the S-type sharing vehicle and used for sending a designated Bluetooth signal, and any one of the S-type sharing vehicles can be used as the first electronic equipment; for another example, if a designated bluetooth module authorized and designated by an operator is provided in a user terminal of a certain user, the user terminal may also serve as the first electronic device. The signal transmission of the designated Bluetooth is short, and generally only the preset range of a parking spot where the first electronic device is located or a plurality of parking spots nearby can be covered; in practical implementation, the first electronic device may implement communication with the user terminal and communication with the server through specified bluetooth. As shown in fig. 1, the method comprises the steps of:
step S102, if a plurality of target use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a first preset time period, packaging the plurality of target use requests to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request.
The first preset time period may be set according to actual requirements, for example, if the target use requests are car-using requests, the first preset time period is usually set to a relatively short time, such as 0.5 second or less, so as to meet the demand of a user for using a car in time; if the plurality of target use requests are car return requests, the first preset time period can be set to be a relatively long time, such as 30 seconds or more; for convenience of description, the first electronic device is taken as an S-type shared vehicle, which also has a general riding function, and after being used by a user, the S-type shared vehicle is randomly scattered at each parking point in the fence. When the user opens the APP and the Bluetooth through the user terminal, namely the user agrees to connect with the Bluetooth signal transmitted by the S-type shared vehicle, the user terminal establishes Bluetooth connection with the S-type shared vehicle. The user uses a car using request or a car returning request sent by the user terminal through Bluetooth to be sent to the first electronic device, if the first electronic device receives a plurality of target using requests sent by a plurality of user terminals in a first preset time period, such as a plurality of car using requests, or a plurality of car returning requests, or simultaneously receives a plurality of car using requests and a plurality of car returning requests, the first electronic device packs the received plurality of target using requests to obtain a packing result.
And step S104, transmitting the first packaging result to a server, outputting a plurality of execution instructions respectively corresponding to the target use requests through the server, and transmitting each execution instruction to the corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle.
The first electronic device sends the packed first packing result to the server, and sends a corresponding execution instruction to each shared vehicle through the server, for example, if the multiple target use requests are multiple vehicle use requests, the server can send corresponding unlocking instructions to each shared vehicle, and the shared vehicle can be used by the user after being unlocked according to the received unlocking instructions; if the target use requests are multiple car returning requests, the server can send corresponding car locking instructions to each shared vehicle, the shared vehicles can lock and finish orders according to the received car locking instructions, and the users finish car returning.
According to the usage control method of the shared vehicle, if a plurality of target usage requests which are sent by a plurality of user terminals and aim at a plurality of shared vehicles are received within a first preset time period, the plurality of target usage requests are packaged to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request. And sending the first packaging result to a server, outputting a plurality of execution instructions respectively corresponding to the target use requests through the server, and sending each execution instruction to the corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle. In the method, when a plurality of target use requests are received in the first preset time period, each target use request is not sent to the server respectively, but is sent to the server after being packaged, and the access pressure to the server is reduced due to the fact that the access amount to the server is reduced.
The following provides another shared vehicle use control method, which is implemented on the basis of the method of the above embodiment; in the method, if a target use request is a vehicle using request, each vehicle using request carries user information and vehicle information corresponding to a user terminal which sends the vehicle using request; the user information may be user account information and the like when the user registers the APP of the operator to which the shared vehicle belongs; the vehicle information may be a unique vehicle identifier, such as a vehicle ID (Identity document), set by the operator for each shared vehicle; in actual implementation, after a user scans a code to share a vehicle through a user terminal, the user terminal can acquire user information and vehicle information of the shared vehicle, and when the user sends a vehicle using request through the user terminal, the vehicle using request usually carries the user information and the vehicle information; as shown in fig. 2, the method comprises the steps of:
step S202, if a plurality of target use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a first preset time period, packaging the plurality of target use requests to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request.
And step S204, if the target use request is a vehicle using request, sending the first packaging result to a server, verifying the user information and the vehicle information carried in each vehicle using request through the server, and if the verification is passed, sending each vehicle information to a user terminal of the corresponding user information.
For convenience of description, the first electronic device is taken as an S-class shared vehicle, for example, during peak hours of next shift, there are one S-class shared vehicle and multiple a-class shared vehicles in one parking spot, there are demands of multiple users for cars in the same time period, and for example, one of the users is taken as an example, the user terminal opens the APP, and the user terminal establishes a bluetooth connection with the S-class shared vehicle. At the moment, after a user scans a code A type shared vehicle through a user terminal, the user terminal acquires corresponding vehicle information and user information, and sends a vehicle using request to an S type shared vehicle through Bluetooth, wherein the vehicle using request carries the corresponding vehicle information and user information, if a plurality of users have vehicle using requirements in the same time period, the plurality of user terminals acquire the corresponding vehicle information and user information and then send the vehicle using request to the S type shared vehicle through Bluetooth, wherein each vehicle using request carries the corresponding vehicle information and user information, and in a set time, the S type shared vehicle packs a plurality of groups of corresponding vehicle information and user information through an internal processing module and transmits the vehicle information and user information to a server in a packing manner. And the server verifies each corresponding group of user information and vehicle information, and respectively sends the plurality of vehicle information to the user terminals of the corresponding user information after the verification is passed.
Step S206, if a plurality of confirmation use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a second preset time period, packaging the plurality of confirmation use requests and corresponding user information and vehicle information to obtain a second packaging result.
The second preset time period may be set according to actual requirements, for example, if the target use requests are car-using requests, the second preset time period is usually set to a relatively short time, for example, 0.5 second or less, so as to meet the demand of the user for using the car in time; after the user terminal receives the vehicle information after the verification is passed, the user can use the user terminal to send a use confirmation request to the S-type shared vehicle through the Bluetooth, and the S-type shared vehicle can package the use confirmation request, the corresponding user information and the corresponding vehicle information; if the S-class shared vehicle receives multiple requests for use confirmation sent by multiple user terminals within a set time, the S-class shared vehicle may package multiple sets of corresponding vehicle information, user information, and requests for use confirmation to obtain a second packaged result.
And step S208, sending the second packaging result to the server, outputting an unlocking instruction to each sharing vehicle through the server to control each sharing vehicle to be unlocked, and starting riding timing for each sharing vehicle.
The S-type shared vehicle sends the second packaging result to the server, the server can send an unlocking instruction to the corresponding shared vehicle according to the second packaging result, the riding timing is started, the shared vehicle is unlocked after receiving the unlocking instruction, and the user can use the shared vehicle. In the mode, in the same time period, a plurality of users scan the codes and use the shared vehicle, the servers are not accessed every time when the codes are scanned, and the codes are packed and then accessed together, so that the operating pressure of the servers is reduced.
According to the use control method of the shared vehicle, when a plurality of vehicle using requests are received in the first preset time period, the plurality of vehicle using requests can be packaged and then sent to the server together, so that the user information and the vehicle information can be verified through the server, when the user confirms to use the shared vehicle, the use confirmation request can be sent through the user terminal, if a plurality of use confirmation requests are received in the second preset time period, the plurality of use confirmation requests can be packaged and then sent to the server together, the mode further reduces the access amount to the server, and therefore the access pressure to the server is reduced.
The following provides another shared vehicle use control method, which is implemented on the basis of the method of the above embodiment; the method is applied to a first electronic device; the first electronic equipment is respectively in communication connection with the user terminal and the server through designated Bluetooth; the first electronic device may be determined by the following steps one through four:
step one, if a plurality of preset electronic devices exist, scanning other Bluetooth signals sent by other preset electronic devices except the preset electronic device aiming at each preset electronic device, and comparing the signal intensity of other Bluetooth signals with the signal intensity of the Bluetooth signal of the preset electronic device to obtain a comparison result.
The preset electronic devices can be a plurality of appointed sharing vehicles or a plurality of appointed user terminals; for example, still taking the designated sharing vehicle as the S-class sharing vehicle as an example, if the parking spot has more than two S-class sharing vehicles, the plurality of S-class sharing vehicles may scan the bluetooth signal mutually through bluetooth, specifically, each S-class sharing vehicle may receive the bluetooth signal of other S-class sharing vehicles, and the received bluetooth signal may be compared with the own bluetooth signal strength to obtain a comparison result.
And secondly, selecting the preset electronic equipment with the highest signal intensity from the plurality of preset electronic equipment as the first electronic equipment based on the comparison results.
And step three, turning off the Bluetooth signals of other preset electronic equipment except the first electronic equipment.
The S-class shared vehicle of the Bluetooth device with the highest Bluetooth signal intensity can be found according to the comparison result, the S-class shared vehicle is used as the first electronic device, and Bluetooth signals of other S-class shared vehicles are temporarily closed. For example, the S-class sharing vehicle further has a device for receiving bluetooth signals, when there are 3S-class sharing vehicles at the parking spot, the bluetooth signals transmitted by the S-class sharing vehicles include bluetooth signal strength, if the received bluetooth signal strength is lower than the own bluetooth signal strength, it indicates that the bluetooth signal of the current S-class sharing vehicle is strongest, the current S-class sharing vehicle may be used as the first electronic device, and the other S-class sharing vehicles may turn off their respective bluetooth signals, and if any one of the received bluetooth signal strengths is higher than the own bluetooth signal strength, the own bluetooth signal is automatically turned off.
And step four, according to a preset scanning period, repeatedly executing the step of scanning other Bluetooth signals sent by other preset electronic equipment except the preset electronic equipment aiming at each preset electronic equipment, so as to select the preset electronic equipment with the highest signal intensity from the plurality of preset electronic equipment as new first electronic equipment.
Considering that the S-type shared vehicle originally parked in the parking spot may be used by the user, or a new S-type shared vehicle is parked in the parking spot by the user, so that the S-type shared vehicle in the parking spot is updated, under this condition, the bluetooth scanning may be started according to a preset scanning period, for example, once scanning for 15 minutes, so that the S-type shared vehicle with the strongest bluetooth signal intensity can be selected as the first electronic device for packaging and transmitting data all the time, so as to ensure the communication efficiency and the communication effect with the user terminal and the server, and further improve the riding experience of the user.
In the method, if the target use request is a car returning request, each car returning request carries user information and vehicle information corresponding to a user terminal which sends the car returning request; as shown in fig. 3, the method comprises the steps of:
step S302, if a plurality of target use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a first preset time period, packaging the plurality of target use requests to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request.
Considering that the real-time performance of communication between the user and the server is high when the user uses the shared vehicle, in order to ensure the real-time performance of communication, when the target use request is a vehicle use request, the first preset time period is generally set to be a relatively short time, specifically, if the target use request is a vehicle use request; a first preset time period corresponding to the vehicle using request is less than a first time length threshold value; wherein the first duration threshold is typically a relatively short time; for example, it may be 0.5 second, that is, the first preset time period may be 0.5 second or even less, and may be specifically set according to actual requirements.
Considering that the real-time performance of the user to communicate with the server is weak when the user returns the shared vehicle, when the target use request is a vehicle return request, the first preset time period is usually set to be a relatively long time, specifically, if the target use request is a vehicle return request; the first preset time period corresponding to the car returning request is greater than a second time period threshold value; wherein the second duration threshold is typically a relatively long time; for example, the second preset time period may be 30 seconds or even more, and may be specifically set according to actual requirements.
And step S304, if the target use request is a car return request, sending the first packaging result to the server, and outputting a car locking instruction to each shared vehicle corresponding to each piece of vehicle information through the server so as to control each shared vehicle to be locked.
For convenience of description, the first electronic device is still taken as an example of an S-class shared vehicle, after the user finishes using the shared vehicle, the user parks the shared vehicle to a parking spot, at this time, the user clicks a return vehicle through a user terminal, if the S-class shared vehicle exists in the parking spot, a return request is sent to the S-class shared vehicle through bluetooth, where the return request carries corresponding vehicle information and user information, and if multiple users have a return request in the same time period, the multiple user terminals all send the return request to the S-class shared vehicle through bluetooth, where each return request carries corresponding vehicle information and user information, and in a set time, the S-class shared vehicle packages multiple sets of corresponding vehicle information and user information through an internal processing module, and packages and transmits the vehicle information and the user information to the server. Since uploading information through the S-type shared vehicles means that the vehicles are in the parking spot, at this time, the server does not need to verify the positions of the shared vehicles, and can directly send a vehicle locking instruction to the shared vehicles to control each shared vehicle to be locked.
Step S306, sending order information of corresponding shared vehicles to the user terminal corresponding to each user information through the server; wherein, the order information includes: ride length, distance and the expense of riding.
The riding time can be understood as the time between the unlocking time and the locking time of the shared vehicle; the riding distance refers to the distance from unlocking to locking of the shared vehicle, and the user rides the shared vehicle; the riding cost refers to the cost generated by riding the shared vehicle by the user; after the vehicle locking instruction is sent to the shared vehicle through the server, the order information of the corresponding shared vehicle can be sent to the user terminal corresponding to each piece of user information.
Specifically, each car returning request further comprises: generating a time stamp of the car returning request through the user terminal; the step S306 can be specifically realized by the following steps five to six:
and step five, calculating the riding time of the corresponding shared vehicle according to each time stamp through the server, calculating the riding cost according to the riding time, and generating order information based on the riding time, the riding cost and the pre-generated riding distance.
And step six, sending the order information of the corresponding shared vehicle to the user terminal corresponding to each user information through the server.
When the user returns the shared vehicle, the user clicks the time stamp of returning the vehicle through the user terminal, the time stamp of returning the vehicle can be sent to the S-type shared vehicle, the S-type shared vehicle records the corresponding user information and the time stamp and transmits the user information and the time stamp to the server, and the server calculates the riding time of the user according to the time stamp; and calculating riding cost according to the riding time, and sending the riding time, the riding cost and the pre-generated riding distance to the corresponding user terminal.
According to the use control method of the shared vehicle, when a plurality of vehicle returning requests are received in the first preset time period, each vehicle returning request is not sent to the server respectively, but is sent to the server after being packaged, and therefore the access amount to the server is reduced, and the access pressure to the server is reduced.
Correspondingly to the method embodiment, the embodiment of the invention provides a use control device for a shared vehicle, which is arranged on first electronic equipment; the first electronic equipment is respectively in communication connection with the user terminal and the server through designated Bluetooth; as shown in fig. 4, the apparatus includes: the packaging module 40 is configured to, if multiple target use requests for multiple shared vehicles sent by multiple user terminals are received within a first preset time period, package the multiple target use requests to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request; and a sending module 41, configured to send the first package result to the server, output, by the server, a plurality of execution instructions respectively corresponding to the plurality of target usage requests, and send each execution instruction to a corresponding shared vehicle, so as to control unlocking or locking of the shared vehicle.
If a plurality of target use requests which are sent by a plurality of user terminals and aim at a plurality of shared vehicles are received within a first preset time period, the plurality of target use requests are packaged to obtain a first packaging result; wherein the target use request comprises: a vehicle using request and/or a vehicle returning request. And sending the first packaging result to a server, outputting a plurality of execution instructions respectively corresponding to the target use requests through the server, and sending each execution instruction to the corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle. In the device, when a plurality of target use requests are received in a first preset time period, each target use request is not sent to the server respectively, but is sent to the server after being packaged, and the access pressure to the server is reduced due to the fact that the access amount to the server is reduced.
Further, if the target use request is a vehicle use request, each vehicle use request carries user information and vehicle information corresponding to the user terminal which sends the vehicle use request; the sending module 41 is further configured to: if the target use request is a vehicle using request, sending the first package result to a server, verifying user information and vehicle information carried in each vehicle using request through the server, and if the verification is passed, sending each vehicle information to a user terminal of the corresponding user information; if a plurality of confirmation use requests aiming at a plurality of shared vehicles sent by a plurality of user terminals are received within a second preset time period, packaging the plurality of confirmation use requests and corresponding user information and vehicle information to obtain a second packaging result; and sending the second packaging result to a server, outputting an unlocking instruction to each shared vehicle through the server to control each shared vehicle to be unlocked, and starting riding timing for each shared vehicle.
Further, if the target use request is a car returning request, each car returning request carries user information and vehicle information corresponding to the user terminal which sends the car returning request; the sending module 41 is further configured to: if the target use request is a vehicle returning request, sending the first packaging result to the server, and outputting a vehicle locking instruction to each shared vehicle corresponding to each piece of vehicle information through the server to control each shared vehicle to be locked; sending order information of the corresponding shared vehicle to a user terminal corresponding to each user information through a server; wherein, the order information includes: ride length, distance and the expense of riding.
Further, each car returning request further comprises: generating a time stamp of the car returning request through the user terminal; the sending module 41 is further configured to: calculating, by a server, riding time of a corresponding shared vehicle according to each timestamp, riding cost according to the riding time, and generating order information based on the riding time, the riding cost, and the pre-generated riding distance; and sending the order information of the corresponding shared vehicle to the user terminal corresponding to each piece of user information through the server.
Further, the apparatus further includes a first electronic device determining module, where the first electronic device determining module is configured to: if a plurality of preset electronic devices exist, scanning other Bluetooth signals sent by other preset electronic devices except the preset electronic device aiming at each preset electronic device, and comparing the signal intensity of other Bluetooth signals with the signal intensity of the Bluetooth signal of the preset electronic device to obtain a comparison result; selecting preset electronic equipment with the highest signal intensity from the plurality of preset electronic equipment as first electronic equipment based on the comparison results; turning off Bluetooth signals of other preset electronic equipment except the first electronic equipment; according to a preset scanning period, the step of scanning other Bluetooth signals sent by other preset electronic equipment except the preset electronic equipment aiming at each preset electronic equipment is repeatedly executed, so that the preset electronic equipment with the highest signal intensity is selected from the plurality of preset electronic equipment to serve as new first electronic equipment.
Further, the first electronic device includes: a designated sharing vehicle or a designated user terminal.
Further, if the target use request is a vehicle use request; a first preset time period corresponding to the vehicle using request is less than a first time length threshold value; if the target use request is a car returning request; the first preset time period corresponding to the car returning request is greater than the second time threshold.
The implementation principle and the generated technical effects of the usage control device for the sharing vehicle provided by the embodiment of the invention are the same as those of the aforementioned embodiment of the usage control method for the sharing vehicle, and for the sake of brief description, reference may be made to the corresponding contents in the aforementioned embodiment of the usage control method for the sharing vehicle where no part of the embodiment of the usage control device for the sharing vehicle is mentioned.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, the electronic device includes a processor 130 and a memory 131, the memory 131 stores machine executable instructions that can be executed by the processor 130, and the processor 130 executes the machine executable instructions to implement the usage control method for the shared vehicle described above.
Further, the electronic device shown in fig. 5 further includes a bus 132 and a communication interface 133, and the processor 130, the communication interface 133 and the memory 131 are connected through the bus 132.
The Memory 131 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 132 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The Processor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the method for controlling the use of the shared vehicle, and specific implementation may refer to method embodiments, and is not described herein again.
The shared vehicle usage control method, the shared vehicle usage control device and the computer program product of the electronic device provided by the embodiments of the present invention include a computer-readable storage medium storing program codes, where instructions included in the program codes may be used to execute the methods described in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
The functions, if implemented in the form of software functional units 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 invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be 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 invention. 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.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected by one skilled in the art without departing from the spirit and scope of the invention, as defined in the appended claims.

Claims (10)

1. A usage control method of a shared vehicle, characterized in that the method is applied to a first electronic device; the first electronic equipment is in communication connection with the user terminal and the server through designated Bluetooth respectively; the method comprises the following steps:
if a plurality of target use requests which are sent by a plurality of user terminals and aim at a plurality of shared vehicles are received within a first preset time period, packaging the plurality of target use requests to obtain a first packaging result; wherein the target usage request comprises: a vehicle using request and/or a vehicle returning request;
and sending the first packaging result to the server, outputting a plurality of execution instructions respectively corresponding to the target use requests through the server, and sending each execution instruction to a corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle.
2. The usage control method of the shared vehicle according to claim 1, wherein if the target usage request is a vehicle use request, each vehicle use request carries user information and vehicle information corresponding to a user terminal that issued the vehicle use request;
the step of sending the first packing result to the server, outputting a plurality of execution instructions respectively corresponding to the plurality of target use requests through the server, and sending each execution instruction to a corresponding shared vehicle to control unlocking or locking of the shared vehicle includes:
if the target use request is a vehicle using request, the first packing result is sent to the server, the user information and the vehicle information carried in each vehicle using request are verified through the server, and if the user information and the vehicle information are verified, each vehicle information is sent to a corresponding user terminal of the user information;
if a plurality of confirmation use requests which are sent by a plurality of user terminals and aim at a plurality of shared vehicles are received within a second preset time period, packaging the plurality of confirmation use requests, the corresponding user information and the corresponding vehicle information to obtain a second packaging result;
and sending the second packaging result to the server, outputting an unlocking instruction to each sharing vehicle through the server to control each sharing vehicle to be unlocked, and starting riding timing for each sharing vehicle.
3. The use control method of the shared vehicle according to claim 1, wherein if the target use request is a vehicle return request, each vehicle return request carries user information and vehicle information corresponding to a user terminal that issued the vehicle return request;
the step of sending the first packing result to the server, outputting a plurality of execution instructions respectively corresponding to the plurality of target use requests through the server, and sending each execution instruction to a corresponding shared vehicle to control unlocking or locking of the shared vehicle includes:
if the target use request is a vehicle returning request, the first packaging result is sent to the server, and a vehicle locking instruction is output to each shared vehicle corresponding to each piece of vehicle information through the server to control each shared vehicle to be locked;
sending order information of a corresponding shared vehicle to the user terminal corresponding to each piece of user information through the server; wherein the order information comprises: the riding time, the riding distance and the riding cost.
4. The shared vehicle use control method according to claim 3, wherein each of the vehicle return requests further includes: generating a time stamp of the car returning request through the user terminal; the step of sending the order information of the corresponding shared vehicle to the user terminal corresponding to each piece of user information through the server comprises the following steps:
calculating, by the server, riding time of a corresponding shared vehicle according to each timestamp, calculating riding cost according to the riding time, and generating the order information based on the riding time, the riding cost and the pre-generated riding distance;
and sending the order information of the corresponding shared vehicle to a user terminal corresponding to each piece of user information through the server.
5. The usage control method of a shared vehicle according to claim 1, wherein the first electronic device is determined by:
if a plurality of preset electronic devices exist, scanning other Bluetooth signals sent by other preset electronic devices except the preset electronic device aiming at each preset electronic device, and comparing the signal intensity of the other Bluetooth signals with the signal intensity of the Bluetooth signal of the preset electronic device to obtain a comparison result;
selecting preset electronic equipment with the highest signal intensity from the preset electronic equipment as the first electronic equipment based on the comparison results;
turning off Bluetooth signals of other preset electronic equipment except the first electronic equipment;
and according to a preset scanning period, repeatedly executing the step of scanning other Bluetooth signals sent by other preset electronic equipment except the preset electronic equipment aiming at each preset electronic equipment, so as to select the preset electronic equipment with the highest signal intensity from the plurality of preset electronic equipment as new first electronic equipment.
6. The usage control method of a shared vehicle according to claim 1, wherein the first electronic device includes: a designated sharing vehicle or a designated user terminal.
7. The usage control method of a shared vehicle according to claim 1,
if the target use request is the vehicle using request; a first preset time period corresponding to the vehicle using request is less than a first time length threshold value;
if the target use request is the car returning request; the first preset time period corresponding to the car returning request is greater than the second time threshold.
8. A shared vehicle use control device is characterized in that the device is arranged on a first electronic device; the first electronic equipment is in communication connection with the user terminal and the server through designated Bluetooth respectively; the device comprises:
the packaging module is used for packaging a plurality of target using requests aiming at a plurality of shared vehicles and sent by a plurality of user terminals if the target using requests are received within a first preset time period, so as to obtain a first packaging result; wherein the target usage request comprises: a vehicle using request and/or a vehicle returning request;
and the sending module is used for sending the first packing result to the server, outputting a plurality of execution instructions respectively corresponding to the plurality of target use requests through the server, and sending each execution instruction to a corresponding shared vehicle so as to control the unlocking or locking of the shared vehicle.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 7.
10. A computer-readable storage medium having computer-executable instructions stored thereon which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1 to 7.
CN202210622689.6A 2022-06-01 2022-06-01 Shared vehicle use control method and device and electronic equipment Pending CN115019450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210622689.6A CN115019450A (en) 2022-06-01 2022-06-01 Shared vehicle use control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210622689.6A CN115019450A (en) 2022-06-01 2022-06-01 Shared vehicle use control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115019450A true CN115019450A (en) 2022-09-06

Family

ID=83073445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210622689.6A Pending CN115019450A (en) 2022-06-01 2022-06-01 Shared vehicle use control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115019450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208588A (en) * 2022-09-16 2022-10-18 宁波小遛共享信息科技有限公司 Access method of shared vehicle, internet of vehicles server and central control equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088398A (en) * 2009-12-08 2011-06-08 华为技术有限公司 World wide web (WEB) concurrent event processing method and device
CN107481364A (en) * 2017-08-04 2017-12-15 深圳欧米智能科技有限公司 A kind of communication means and electronic lock for controlling shared electronic lock for bicycle
CN107516384A (en) * 2017-09-21 2017-12-26 成都宇能通能源开发有限公司 A kind of shared bicycle control system
CN107635254A (en) * 2017-09-22 2018-01-26 新华三技术有限公司 A kind of data transmission method and device
CN108022341A (en) * 2017-11-25 2018-05-11 佛山市集知汇科技有限公司 A kind of shared bicycle method for unlocking and system
WO2019056831A1 (en) * 2017-09-22 2019-03-28 北京摩拜科技有限公司 Vehicle control method and system, and client

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088398A (en) * 2009-12-08 2011-06-08 华为技术有限公司 World wide web (WEB) concurrent event processing method and device
CN107481364A (en) * 2017-08-04 2017-12-15 深圳欧米智能科技有限公司 A kind of communication means and electronic lock for controlling shared electronic lock for bicycle
CN107516384A (en) * 2017-09-21 2017-12-26 成都宇能通能源开发有限公司 A kind of shared bicycle control system
CN107635254A (en) * 2017-09-22 2018-01-26 新华三技术有限公司 A kind of data transmission method and device
WO2019056831A1 (en) * 2017-09-22 2019-03-28 北京摩拜科技有限公司 Vehicle control method and system, and client
CN108022341A (en) * 2017-11-25 2018-05-11 佛山市集知汇科技有限公司 A kind of shared bicycle method for unlocking and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208588A (en) * 2022-09-16 2022-10-18 宁波小遛共享信息科技有限公司 Access method of shared vehicle, internet of vehicles server and central control equipment

Similar Documents

Publication Publication Date Title
CN107650863B (en) Vehicle sharing method and system
JP2531354B2 (en) Authentication method
CN115019450A (en) Shared vehicle use control method and device and electronic equipment
CN112435028B (en) Block chain-based Internet of things data sharing method and device
CN111177690B (en) Two-dimensional code scanning login method and device
CN112153057A (en) Block chain-based data stream detection method and system
CN113259910B (en) Activation method and device for vehicle-mounted networking equipment
CN112561103A (en) Parking reservation management method, node, device and medium based on block chain
CN114495564B (en) Shared parking space matching method, device, server and storage medium
CN112019517A (en) Internet of vehicles authentication method and road side unit
CN107040289B (en) Information transmission method and device based on near field communication
CN110062335B (en) Position tracking method, device and equipment of shared vehicle
CN115457704A (en) Shared vehicle placing method and device and electronic equipment
CN112506267B (en) RTC calibration method, vehicle-mounted terminal, user and storage medium
CN112738215B (en) Block chain node authorization method, block chain node authorization device, terminal equipment and medium
CN114241673A (en) Vehicle charging payment method, apparatus, device, storage medium, and program product
CN114785521A (en) Authentication method, authentication device, electronic equipment and storage medium
CN109743237B (en) Authentication method of APP and gateway
CN112532657A (en) Activation method and device for intelligent vehicle-mounted networking terminal
CN115635992B (en) Degradation route processing method and device
CN115865474B (en) Block chain-based Internet of vehicles and vehicle quick communication authentication method, system and equipment
CN114613074A (en) Vehicle returning control method and device for shared vehicle and electronic equipment
CN110866827A (en) Method and device for processing general certificate, storage medium and server
CN110555756A (en) Unattended car renting method and device
CN116662938B (en) Authorization method, application running method and device based on container cluster management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination