[go: up one dir, main page]

CN114529028A - Method and device for acquiring state of shared vehicle, computer equipment and storage medium - Google Patents

Method and device for acquiring state of shared vehicle, computer equipment and storage medium Download PDF

Info

Publication number
CN114529028A
CN114529028A CN202210154784.8A CN202210154784A CN114529028A CN 114529028 A CN114529028 A CN 114529028A CN 202210154784 A CN202210154784 A CN 202210154784A CN 114529028 A CN114529028 A CN 114529028A
Authority
CN
China
Prior art keywords
vehicle
interest
attention
state
vehicles
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.)
Granted
Application number
CN202210154784.8A
Other languages
Chinese (zh)
Other versions
CN114529028B (en
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 CN202210154784.8A priority Critical patent/CN114529028B/en
Publication of CN114529028A publication Critical patent/CN114529028A/en
Application granted granted Critical
Publication of CN114529028B publication Critical patent/CN114529028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Primary Health Care (AREA)
  • Game Theory and Decision Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明实施例公开了一种共享车辆的状态获取方法、装置、计算机设备及存储介质,方法包括:服务器在接收到车辆关注请求后,确定关注时段和关注车辆;将终端与关注车辆关联;获取当前时间和关注车辆的状态,在关注车辆的状态更新为占用时,获取状态更新的时间;若状态更新的时间在关注时段前,则在当前时间达到关注时段时,向终端发送提示信息,并解除终端与关注车辆的关联;若在关注时段内,则解除终端与关注车辆的关联,并发送提示信息;在当前时间在关注时段之后时,解除终端与关注车辆的关联。由此,使得服务器将在关注时段内,实时将关注车辆的车辆状态更新提示信息发送给用户终端,用户能根据车辆提示信息确定关注车辆是否可使用。

Figure 202210154784

Embodiments of the present invention disclose a method, device, computer equipment and storage medium for obtaining a state of a shared vehicle. The method includes: after a server receives a vehicle attention request, determining a time period of interest and a vehicle of interest; associating a terminal with the vehicle of interest; obtaining The current time and the status of the vehicle of interest, when the status of the vehicle of interest is updated to occupied, the time of the status update is obtained; if the time of the status update is before the attention period, when the current time reaches the attention period, a prompt message is sent to the terminal, and Disassociate the terminal with the vehicle of interest; if it is within the attention period, disassociate the terminal with the vehicle of interest, and send a prompt message; when the current time is after the attention period, disassociate the terminal with the vehicle of interest. Therefore, the server will send the vehicle status update prompt information of the vehicle of interest to the user terminal in real time within the attention period, and the user can determine whether the vehicle of interest can be used according to the vehicle prompt information.

Figure 202210154784

Description

Method and device for acquiring state of shared vehicle, computer equipment and storage medium
Technical Field
The present invention relates to the field of vehicles, and in particular, to a method and an apparatus for acquiring a state of a shared vehicle, a computer device, and a storage medium.
Background
Frequently, when a user wants to go out through a shared vehicle, the user can check the shared vehicle to be used nearby on a terminal, and then move to the position of the shared vehicle to unlock the shared vehicle for use.
However, when the user moves to the location of the shared vehicle, the shared vehicle may be used by others, so that the user has to check other available shared vehicles nearby again through the terminal, and the vehicle using experience of the user is affected.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a computer device and a storage medium for acquiring a status of a shared vehicle, so as to improve a situation that when a user moves to a location of the shared vehicle, the shared vehicle is already used by others, so that the user has to check a current status of other available shared vehicles nearby again through a terminal.
In a first aspect, an embodiment of the present invention provides a method for acquiring a state of a shared vehicle, where the state of the shared vehicle includes occupied state and non-occupied state, and the method includes:
responding a vehicle attention request sent by a user terminal, and determining an attention time period corresponding to the vehicle attention request and at least one attention vehicle, wherein the state of the attention vehicle is non-occupied;
associating the user terminal with all the vehicles of interest;
acquiring the current time and the state of each concerned vehicle;
when the state of the concerned vehicle is updated to the occupied state, acquiring the time of state updating;
if the state updating time is before the attention time interval, when the current time reaches the attention time interval, releasing the association between the user terminal and the attention vehicle, and sending vehicle state updating prompt information to the user terminal;
if the current time and the state updating time are both in the attention time period, releasing the association between the user terminal and the attention vehicle, and sending vehicle state updating prompt information to the user terminal;
disassociating the user terminal from each of the vehicles of interest when the current time is after the period of interest.
In the method for acquiring the state of the shared vehicle, the server determines the attention time interval and the attention vehicle corresponding to the vehicle attention request after receiving the vehicle attention request sent by the terminal, namely determines the time interval in which the user wants to obtain the state change information of which vehicles in real time; then, associating the user terminal with all concerned vehicles so as to send corresponding messages to the user terminals associated with the concerned vehicles after the state of the concerned vehicles changes; then, acquiring the current time and the state of each concerned vehicle, and acquiring the state updating time when the state of the concerned vehicle is updated to be occupied; if the state updating time is before the attention time interval, when the current time reaches the attention time interval, sending vehicle state updating prompt information to the user terminal, and releasing the association between the user terminal and the attention vehicle so as to avoid sending corresponding information to the user terminal when the state of the attention vehicle changes again; if the current time and the state updating time are both in the concerned time period, the association between the user terminal and the concerned vehicle is released, and vehicle state updating prompt information is sent to the user terminal; and when the current time is after the attention period, the user terminal is disassociated from each vehicle of interest.
Therefore, the server sends the vehicle state updating prompt information of the concerned vehicle to the user terminal in real time in the concerned time period, and the user can determine whether the concerned vehicle can be used according to the vehicle state updating prompt information, namely the concerned vehicle is in a non-occupied state; in addition, in the practical application occasions of the embodiment of the invention, after the user can determine that the vehicle state changes through the terminal, if the states of all concerned vehicles are changed from non-occupied state to occupied state, the user can clearly know that the previously observed vehicle cannot be used, and further can observe other shared vehicles or select other vehicles for going out.
Optionally, in an implementation manner provided by the embodiment of the present invention, after associating the user terminal with all the vehicles of interest, the method further includes:
responding to vehicle reservation requests in all the concerned vehicles sent by the user terminal, and determining corresponding concerned vehicles in all the concerned vehicles;
and changing the state of the corresponding concerned vehicle into occupied state, binding the corresponding concerned vehicle with the user terminal, and releasing the association between the user terminal and other concerned vehicles.
In this embodiment, the embodiments of the present invention achieve beneficial effects including: the user can send the vehicle reservation request to the server according to the requirement to reserve the concerned vehicle, and the normal vehicle use of the user is ensured. Moreover, the server releases the association between the user terminal and other concerned vehicles after completing vehicle reservation, namely binding the vehicle and the user terminal, so that the situation that the server still sends corresponding information to the user terminal after the state of any one concerned vehicle is sent and changed is avoided, and the disturbance of the server to the user is reduced.
Optionally, in an implementation manner provided by the embodiment of the present invention, the occupancy includes any one of unlocking a vehicle, a vehicle failure, a low battery of the vehicle, and a reservation of the vehicle.
Optionally, in an implementation manner provided by the embodiment of the present invention, the method further includes:
acquiring information of the attention vehicle of a plurality of parking points within a determined range, wherein the information of the attention vehicle comprises the number of attention vehicles and attention time periods of the attention vehicle;
the parking points are subjected to priority ranking according to the number of the vehicles capable of being accommodated, the number of the current parked vehicles, the number of the concerned vehicles and the concerned time period of each parking point;
and sending a scheduling notification instruction to a terminal of a worker so that the worker can schedule the vehicle to a parking spot with high priority preferentially.
In this embodiment, the embodiments of the present invention achieve beneficial effects including: the staff is preferred to dispatch the vehicle to the high parking spot of priority for the vehicle can be placed in the parking spot that the vehicle utilization ratio is high preferentially, thereby has improved the current situation that the vehicle supply is short of the demand in the parking spot.
Further, in an implementation manner provided by the embodiment of the present invention, the prioritizing the parking spots according to the number of vehicles that can be accommodated in each parking spot, the number of currently parked vehicles, the number of vehicles of interest, and the time period of interest includes:
calculating the number value of the parking points corresponding to each parking point according to the number of the vehicles capable of being accommodated, the number of the current parked vehicles, the number of the concerned vehicles and the concerned time period of each parking point based on a preset formula, wherein the preset formula comprises the following steps:
Figure BDA0003511992280000041
a+b=1,a>b
wherein, P represents the number of the parking points corresponding to the parking points, y represents the number of the current parked vehicles, x represents the number of the containable vehicles,
Figure BDA0003511992280000042
representing a vacancy ratio of the parking spot, a representing a first weight, z representing a number of vehicles of interest within a time period of interest of the parking spot,
Figure BDA0003511992280000043
representing a vehicle demand ratio of the parking spot, b representing a second weight;
and carrying out priority sequencing on the plurality of parking points by using the parking point numerical value corresponding to each parking point, wherein the larger the parking point numerical value corresponding to the parking point is, the higher the priority of the parking point is.
Optionally, in an implementation manner provided by the embodiment of the present invention, after the obtaining the time of the status update when the status update of the vehicle of interest is the occupied status, the method further includes:
when the current time is before the attention time period or within the attention time period, if the state of each attention vehicle is updated to the occupied state, determining an initial parking point corresponding to each attention vehicle, wherein the initial parking point comprises a parking point where the attention vehicle corresponding to the attention request of the vehicle is located when the server responds to the attention request of the vehicle;
if the vehicle in the non-occupied state exists in the initial parking spot, generating non-occupied vehicle prompt information, and sending the non-occupied vehicle prompt information to the user terminal.
In this embodiment, the embodiments of the present invention achieve beneficial effects including: therefore, when the vehicles to be used by the user cannot be used, namely, the states of all concerned vehicles are changed from non-occupied states to occupied states, the server can push other available vehicles to the user in a humanized mode, and the vehicle using experience of the user is improved. Moreover, other available vehicles are positioned at the initial parking point, so that the push vehicle can meet the requirements of users.
Further, in an implementation manner provided by the embodiment of the present invention, when the current time is before the attention time period or within the attention time period, if the state of each attention vehicle is updated to the occupancy, after determining an initial parking point corresponding to each attention vehicle, the method further includes:
if the vehicle in the non-occupied state does not exist in the initial parking point, searching each peripheral parking point in a preset range around the initial parking point;
if the peripheral parking spots exist and the vehicles in the state of non-occupation exist in the peripheral parking spots, generating non-occupation vehicle prompt information and sending the non-occupation vehicle prompt information to the user terminal.
In this embodiment, the embodiments of the present invention achieve beneficial effects including: even if the vehicles in the non-occupied states do not exist in the initial parking spots, the server can push the vehicles in the non-occupied states in the peripheral parking spots to the user terminal, so that the user can finish traveling through the vehicles in the peripheral parking spots, and user experience is improved.
In a second aspect, an embodiment of the present invention provides a state obtaining apparatus for a shared vehicle, which is applied to a server, where a state of the shared vehicle includes occupied state and unoccupied state, and the apparatus includes:
the response module is used for responding a vehicle attention request sent by a user terminal, and determining an attention time period corresponding to the vehicle attention request and at least one attention vehicle, wherein the state of the attention vehicle is non-occupied;
the association module is used for associating the user terminal with all the concerned vehicles;
the acquisition module is used for acquiring the current time and the state of each concerned vehicle;
an update time acquisition module, configured to acquire a time for state update when a state of the vehicle of interest is updated to the occupied state;
a first release module, configured to release the association between the user terminal and the vehicle of interest when the current time reaches the time period of interest if the time for updating the state is before the time period of interest, and send a vehicle state update prompt message to the user terminal;
the second removing module is used for removing the association between the user terminal and the concerned vehicle and sending the vehicle state updating prompt message to the user terminal if the current time and the state updating time are both within the concerned time period;
a third release module for releasing the association of the user terminal with each vehicle of interest when the current time is after the period of interest.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the method for acquiring the state of the shared vehicle as disclosed in any one of the first aspects.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, the computer program, when running on a processor, executing the method for acquiring a state of a shared vehicle as disclosed in any one of the first aspects.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a schematic flow chart illustrating a first shared vehicle state acquisition method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a second method for obtaining the status of a shared vehicle according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a third method for obtaining the status of a shared vehicle according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a state acquisition device for a shared vehicle according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
To better explain the technical solution proposed by the present invention, the prior art is briefly explained first.
It can be understood that, although there is a service for providing a view of surrounding vehicles in the existing shared vehicle service, that is, a user can view shared vehicles in a nearby parking spot through an electronic map displayed on a terminal, a server for updating the electronic map is generally configured to update the shared vehicles on the electronic map every preset time period, for example, every 5 minutes. Therefore, when the user views the shared vehicle in the nearby parking spot through the terminal, there may occur a case where the shared vehicle has been used by other users when the user reaches the parking spot.
Further, the existing shared vehicle service also has a function of providing vehicle reservation, that is, a function of controlling the shared vehicle to be used by only one specific user and not to be used by other users within a preset time period. However, the vehicle reservation function requires that the user unlock the reserved vehicle for use within a short preset reservation time, such as half an hour or ten minutes.
Therefore, when the user views the nearby shared vehicle through the terminal, but needs to reach the parking spot after a long time, if the user views the nearby shared vehicle on the terminal but cannot make a reservation, the user may arrive at the parking spot and find that the previously viewed shared vehicle is used by another person, or there is no shared vehicle in the parking spot, so that the user has to search for another vehicle or even needs to go to another parking spot.
Based on this, an embodiment of the present invention provides a method for acquiring a state of a shared vehicle, and referring to fig. 1, fig. 1 shows a flowchart of a first method for acquiring a state of a shared vehicle provided by an embodiment of the present invention.
It should be noted that, the occupied state in the embodiment of the present invention refers to that the vehicle cannot be used by the user due to some reason, for example, the vehicle is used by other users or the vehicle is in a fault, and the non-occupied state indicates that the vehicle can be normally used by the user.
In an implementation manner provided by the embodiment of the present invention, the occupancy includes any one of unlocking of the vehicle, failure of the vehicle, low battery of the vehicle, and reservation of the vehicle.
Therefore, the method for acquiring the state of the shared vehicle provided by the embodiment of the invention comprises the following steps:
s110, responding to a vehicle attention request sent by a user terminal, and determining an attention time period corresponding to the vehicle attention request and at least one attention vehicle, wherein the attention vehicle is in a non-occupied state.
It should be noted that the server in the embodiment of the present invention is configured to determine, according to the received vehicle attention request, which time period the user wants to obtain the state change information of which vehicles in real time, that is, determine the attention time period corresponding to the vehicle attention request and determine at least one attention vehicle corresponding to the vehicle attention request.
It should be further noted that, the vehicle attention presentation server according to the embodiment of the present invention obtains the state of the vehicle in real time to notify the user when the state of the vehicle changes, so that the user can confirm whether the vehicle is usable.
For example, when the server receives a vehicle reception request corresponding to the vehicle of interest, that is, when the vehicle of interest whose state is unoccupied is about to be changed into occupied, the server may send information that the state of the vehicle of interest is to be changed into unoccupied to the user terminal for the user to confirm.
It should be understood that the attention period in the embodiment of the present invention is also used to indicate a time when the user wants to receive a message related to the attention vehicle, that is, the server only sends the vehicle state update prompt information of the attention vehicle to the server within the attention period, so as to avoid disturbing the user during the attention period.
In addition, it is understood that the specific content included in the vehicle attention request can be set according to actual situations, such as in a feasible manner, the attention period and the unique identifier of each attention vehicle need to be included in the vehicle attention request received by the server. Therefore, the user needs to select the attention period and the attention vehicle through the terminal, so that the terminal packages the attention period and the unique identification of the attention vehicle as a vehicle attention request and sends the vehicle attention request to the server.
In another possible way, the vehicle attention request only includes the unique identifier of each vehicle of interest, that is, after the user selects the vehicle of interest through the terminal, the terminal packages the unique identifier of the vehicle of interest as the vehicle attention request, and the server determines the attention period and the vehicle of interest according to the unique identifier and a preset default attention period, for example, two hours after the current time.
And S120, associating the user terminal with all the concerned vehicles.
It is understood that, after the server associates the vehicle of interest with the user terminal, the server sends a corresponding message to the user terminal associated with the vehicle of interest after the state of the vehicle of interest changes.
And S130, acquiring the current time and the state of each concerned vehicle.
That is, the server acquires the state of each vehicle of interest in real time from the current time after determining the time period of interest and the vehicle of interest.
It is understood that the manner in which the server obtains the state of the vehicle may be set according to actual conditions, for example, in a feasible manner, all vehicles are provided with state information sending devices, the state information sending devices are configured to send state change information to the server when the state of the vehicle changes, and then the server obtains the changed state of the vehicle according to the received state change information.
In yet another possible manner, when the server receives a request for unlocking, reservation, occupation, or the like of the vehicle of interest, it is determined that the state of the vehicle of interest is changed from unoccupied to occupied.
And S140, when the state of the concerned vehicle is updated to the occupied state, acquiring the time of state updating.
That is, when the server determines that the state of the vehicle of interest changes from unoccupied to occupied, the time of change of the state of the vehicle, that is, the time at which the state is updated, is recorded.
S150, if the state updating time is before the attention time interval, when the current time reaches the attention time interval, the association between the user terminal and the attention vehicle is released, and vehicle state updating prompt information is sent to the user terminal.
That is, when the time for updating the state of the vehicle is not within the attention time period, the server does not send the information that the state of the attention vehicle changes to the server, but when the current time reaches the attention time period, the state of the attention vehicle is changed from non-occupied state to occupied state, that is, the vehicle state update prompt information is sent to the user terminal.
For example, it is assumed that the user sends a vehicle attention request to the server through the terminal at 12 points, the attention time period corresponding to the vehicle attention request is 14 points to 16 points, but the state of the attention vehicle corresponding to the vehicle attention request is changed to occupied at 13 points. Since the 13 o 'clock is not in the attention period, the server does not send the vehicle state update prompting message to the user terminal, and when the current time reaches 14 o' clock, that is, the attention period is reached, the server sends the vehicle state update prompting message to the user terminal again.
It should also be understood that the server also disassociates the user terminal from the vehicle of interest while sending the vehicle status update prompt to the user terminal. Further, even if the state of the vehicle of interest changes again after the association is released, the server does not transmit the relevant information to the user terminal any more.
And S160, if the current time and the state updating time are both in the attention time interval, releasing the association between the user terminal and the attention vehicle, and sending the vehicle state updating prompt information to the user terminal.
For example, assume that the attention period is 14 to 16 points, and the status update time is 15 points, that is, when the current time is 15 points, the status of the attention vehicle changes, and the server directly sends the vehicle status update prompt message to the user terminal because the status update time is within the attention period, that is, within the time when the user wants to receive the relevant message of the attention vehicle.
S170, when the current time is after the attention period, releasing the association between the user terminal and each attention vehicle.
It can be understood that the attention period represents the time when the user wants to use the vehicle, and after the current time is the attention period, the attention period represents that the user may have used the vehicle, and then the server disassociates the user terminal from the attention vehicle and does not send the vehicle state update prompt information corresponding to the attention vehicle to the user terminal.
In the method for acquiring the state of the shared vehicle, the server determines the attention time interval and the attention vehicle corresponding to the vehicle attention request after receiving the vehicle attention request sent by the terminal, namely determines the time interval in which the user wants to obtain the state change information of which vehicles in real time; then, associating the user terminal with all concerned vehicles so as to send corresponding messages to the user terminals associated with the concerned vehicles after the state of the concerned vehicles changes; then, acquiring the current time and the state of each concerned vehicle, and acquiring the state updating time when the state of the concerned vehicle is updated to be occupied; if the state updating time is before the attention time interval, when the current time reaches the attention time interval, sending vehicle state updating prompt information to the user terminal, and removing the association between the user terminal and the attention vehicle so as to avoid sending corresponding information to the user terminal when the state of the attention vehicle changes again; if the current time and the state updating time are both in the concerned time period, the association between the user terminal and the concerned vehicle is released, and vehicle state updating prompt information is sent to the user terminal; and when the current time is after the attention period, the user terminal is disassociated from each vehicle of interest.
Therefore, the server sends the vehicle state updating prompt information of the concerned vehicle to the user terminal in real time in the concerned time period, and the user can determine whether the concerned vehicle can be used according to the vehicle state updating prompt information, namely the concerned vehicle is in a non-occupied state; in addition, in practical application occasions of the embodiment of the invention, after the user can determine that the vehicle state changes through the terminal, if the states of all concerned vehicles are changed from non-occupied state to occupied state, the user can clearly know that the previously observed vehicle cannot be used, and further can observe other shared vehicles or select other vehicles for going out.
Optionally, to improve the vehicle using experience of the user, in an implementation manner provided by the embodiment of the present invention, specifically referring to fig. 2, fig. 2 shows a schematic flow diagram of a second method for acquiring a state of a shared vehicle provided by the embodiment of the present invention, that is, after S120, the method further includes:
s180, responding to vehicle reservation requests in all the concerned vehicles sent by the user terminal, and determining corresponding concerned vehicles in all the concerned vehicles;
and S190, changing the state of the vehicle concerned correspondingly into occupied, binding the vehicle concerned correspondingly with the user terminal, and releasing the association between the user terminal and other vehicles concerned.
That is, after the user sends the vehicle attention request to the server through the terminal, and the server acquires the state of the attention vehicle corresponding to the vehicle attention request in real time, if the server receives the vehicle reservation requests sent by the user through the terminal in all the attention vehicles, that is, when the user is determined to reserve one attention vehicle, that is, the user finishes traveling through the vehicle corresponding to the vehicle reservation request, so the server binds the attention vehicle corresponding to the vehicle reservation request with the user terminal, and the state is changed into occupation.
Furthermore, after the vehicle is reserved by the user, the state of the vehicle is changed into occupied and cannot be changed by other users, so that the user can use the concerned vehicle bound with the user terminal without using other concerned vehicles, and the server binds the concerned vehicle with the user terminal, changes the state into occupied and also releases the association between the user terminal and other concerned vehicles.
Therefore, the embodiment of the invention enables the user to send the vehicle reservation request to the server according to the requirement so as to reserve the concerned vehicle, and ensures the normal use of the vehicle of the user. Moreover, the server releases the association between the user terminal and other concerned vehicles after completing vehicle reservation, namely binding the vehicle and the user terminal, so that the situation that the server still sends corresponding information to the user terminal after the state of any one concerned vehicle is sent and changed is avoided, and the disturbance of the server to the user is reduced.
In addition, although in the flowchart shown in fig. 2, S180 and S190 are executed after S120, in practice, the execution of S180 and S190 may be executed at any step after S120, and the embodiment of the present invention does not limit the context of S180 and S190 and any step from S130 to S170.
Optionally, to improve vehicle management efficiency and improve a current situation of vehicle short supply and short demand at a parking spot, in an implementation manner provided by an embodiment of the present invention, specifically refer to fig. 3, where fig. 3 shows a flowchart of a third method for acquiring a state of a shared vehicle provided by the embodiment of the present invention, that is, the method further includes:
s200, acquiring information of the attention vehicle at a plurality of parking points in a determined range, wherein the information of the attention vehicle comprises the number of the attention vehicle and the attention time period of the attention vehicle;
s210, carrying out priority sequencing on the parking points according to the number of the vehicles capable of being accommodated, the number of the current parked vehicles, the number of the concerned vehicles and the concerned time period of each parking point;
and S220, sending a scheduling notification instruction to a terminal of a worker so that the worker can schedule the vehicle to a parking spot with high priority preferentially.
That is, the server determines and prioritizes the vehicle use conditions of the plurality of parking spots according to the number of accommodated vehicles, the number of currently parked vehicles, the number of attention vehicles, and the attention time period of the plurality of parking spots.
The information on the vehicle of interest at the parking spot indicates: and for the vehicles in the parking spots, the number of the attention vehicles in the parking spots in the attention time period corresponding to the vehicle attention request sent by the terminal by most users.
It should be further noted that fig. 4 is only used to better illustrate an execution sequence of each step provided in the embodiment of the present invention, and the embodiment of the present invention does not actually limit the sequence of any step from S200 to S220 to S110 to S170, and S200 to S220 may be executed before any step from S110 to S170.
It will be appreciated that a higher priority indicates a higher vehicle availability at the parking spot, and thus a more likely short-of-supply condition at the parking spot.
Therefore, after determining the priority sequence of each parking spot, the server sends a scheduling notification instruction to the terminal of the staff, so that the terminal of the staff displays the vehicle scheduling task preferentially at the parking spot with high priority when displaying the vehicle scheduling task, and the staff schedules the vehicle to the parking spot with high priority.
Therefore, the embodiment of the invention ensures that the staff preferentially dispatches the vehicle to the parking spot with high priority, so that the vehicle can be preferentially placed in the parking spot with high vehicle utilization rate, and the current situation that the vehicle supply is not sufficient in the parking spot is improved.
It is to be understood that the manner of determining the priority of the parking spots according to the number of receivable vehicles, the number of currently parked vehicles, the number of attention vehicles, and the attention time period may be set according to actual circumstances. As one possibility, the priority of the parking point is calculated as: calculating the product of the number of the containable vehicles and the first preset weight to obtain a first numerical value; calculating the product of the number of the current parked vehicles and a second preset weight to obtain a second numerical value; calculating the product of the number of the concerned vehicles and a third preset weight to obtain a third numerical value; and obtaining the priority of the parking point according to the sum of the first numerical value, the second numerical value and the third numerical value.
In one possible way, the process of determining the priority of the parking spot according to the number of receivable vehicles, the number of currently parked vehicles, the number of attention vehicles and the attention time period, namely, the S230 includes:
calculating the number value of the parking points corresponding to each parking point according to the number of the vehicles capable of being accommodated, the number of the current parked vehicles, the number of the concerned vehicles and the concerned time period of each parking point based on a preset formula, wherein the preset formula comprises the following steps:
Figure BDA0003511992280000141
a+b=1,a>b
wherein P represents a parking point value corresponding to the parking point, y represents the number of currently parked vehicles, x represents the number of receivable vehicles,
Figure BDA0003511992280000142
represents an empty ratio of the parking spot, a represents a first weight, z represents a number of vehicles of interest within a time period of interest of the parking spot,
Figure BDA0003511992280000143
representing a vehicle demand ratio of the parking spot, b representing a second weight;
and carrying out priority sequencing on the plurality of parking points by using the parking point numerical value corresponding to each parking point, wherein the larger the parking point numerical value corresponding to the parking point is, the higher the priority of the parking point is.
Optionally, in order to improve the vehicle using experience of the user, in an implementation manner provided by the embodiment of the present invention, after S140, the method further includes:
when the current time is before the attention time period or within the attention time period, if the state of each attention vehicle is updated to the occupied state, determining an initial parking point corresponding to each attention vehicle, wherein the initial parking point comprises a parking point where the attention vehicle corresponding to the attention request of the vehicle is located when the server responds to the attention request of the vehicle;
if the vehicle in the non-occupied state exists in the initial parking spot, generating non-occupied vehicle prompt information, and sending the non-occupied vehicle prompt information to the user terminal.
That is, when the server determines that all vehicles of interest associated with the user terminal cannot be used by the user corresponding to the user terminal due to other uses or faults, the server determines an initial parking point corresponding to each vehicle of interest. The initial parking points comprise parking points where the concerned vehicles corresponding to the vehicle attention requests are located when the users send the vehicle attention requests to the server.
The server will then search for whether there are other vehicles in the initial parking spot that can be used by the user, i.e. vehicles that are not occupied in their state. And if so, informing the user that other available vehicles exist at the initial parking spot, namely sending a prompt message of the unoccupied vehicle to the user terminal.
Therefore, according to the embodiment of the invention, when the vehicles to be used by the user cannot be used, namely, when all the states of the concerned vehicles are changed from non-occupied state to occupied state, the server can humanizedly push other available vehicles to the user, so that the vehicle using experience of the user is improved. Moreover, other available vehicles are positioned at the initial parking point, so that the push vehicle can meet the requirements of users.
It will be appreciated that if there are no other vehicles available to the user in the initial parking spot, what steps the server will perform may actually be set. As one possible approach, the server will send a no vehicle available prompt to the user terminal to inform the user that there is no vehicle in the non-occupied state at the initial parking spot.
In an implementation manner provided by the embodiment of the present invention, if there is no other vehicle that can be used by the user in the initial parking spot, that is, when the current time is before the attention period or within the attention period, and if the state of each attention vehicle is updated to the occupancy, after determining the initial parking spot corresponding to each attention vehicle, the method further includes:
if the vehicle in the non-occupied state does not exist in the initial parking point, searching each peripheral parking point in a preset range around the initial parking point;
if the peripheral parking spots exist and the vehicles in the non-occupied states exist in the peripheral parking spots, generating non-occupied vehicle prompt information and sending the non-occupied vehicle prompt information to the user terminal.
That is, if there is no other vehicle available to the user in the initial parking spot, the server searches for a surrounding parking spot around the initial parking spot. And if the peripheral parking spots have the vehicles in the non-occupied states, the server informs the user that the vehicles in the peripheral parking spots in the non-occupied states can be used, namely, prompts information to the non-occupied vehicles and sends the information to the user terminal.
It can be understood that, since the peripheral parking spots are within the preset range of the initial parking spot, the vehicles in the peripheral parking spots should also meet the user's requirements.
Therefore, even if no vehicle in a non-occupied state exists in the initial parking spot, the server can push the vehicle in the peripheral parking spot in a non-occupied state to the user terminal, so that the user can finish traveling through the vehicles in the peripheral parking spot, and user experience is improved.
Optionally, if there is no vehicle in the surrounding parking spot, the server may send a no-vehicle available prompt message to the server to enable the user to know that the nearby parking spot does not have a vehicle in the non-occupied state.
Corresponding to the method for acquiring the state of the shared vehicle provided by the embodiment of the present invention, an embodiment of the present invention further provides a device for acquiring the state of the shared vehicle, referring to fig. 4, fig. 4 shows a schematic structural diagram of the device for acquiring the state of the shared vehicle provided by the embodiment of the present invention, the device 300 for acquiring the state of the shared vehicle provided by the embodiment of the present invention is applied to a server, the state of the shared vehicle includes occupied state and non-occupied state, and the device includes:
a response module 310, configured to respond to a vehicle attention request sent by a user terminal, and determine an attention time period and at least one attention vehicle corresponding to the vehicle attention request, where a state of the attention vehicle is unoccupied;
an association module 320 for associating the user terminal with all the vehicles of interest;
an obtaining module 330, configured to obtain a current time and a state of each vehicle of interest;
an update time acquisition module 340, configured to acquire a time for updating the state when the state of the vehicle of interest is updated to the occupied state;
a first removing module 350, configured to remove the association between the user terminal and the vehicle of interest when the current time reaches the time period of interest if the time for updating the state is before the time period of interest, and send a vehicle state update prompt message to the user terminal;
a second removing module 360, configured to remove the association between the user terminal and the vehicle of interest and send the vehicle status update prompt message to the user terminal if the current time and the status update time are both within the time period of interest;
a third disassociation module 370 for disassociating the user terminal from each of the vehicles of interest when the current time is after the period of interest.
Optionally, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
the reservation module is used for responding to vehicle reservation requests in all the concerned vehicles sent by the user terminal and determining corresponding concerned vehicles in all the concerned vehicles;
and the binding module is used for changing the state of the vehicle concerned correspondingly into occupied state, binding the vehicle concerned correspondingly with the user terminal and releasing the association between the user terminal and other vehicles concerned.
Optionally, in an implementation manner provided by the embodiment of the present invention, the occupancy includes any one of unlocking a vehicle, a vehicle failure, a low battery of the vehicle, and a reservation of the vehicle.
Optionally, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
the system comprises an information acquisition module, a monitoring module and a display module, wherein the information acquisition module is used for acquiring information of the concerned vehicle at a plurality of parking points in a determined range, and the information of the concerned vehicle comprises the number of the concerned vehicles and the concerned time period of the concerned vehicle;
the sequencing module is used for sequencing the priorities of the parking points according to the number of the vehicles capable of being accommodated, the number of the current parking vehicles, the number of the concerned vehicles and the concerned time period of each parking point;
and the instruction sending module is used for sending a scheduling notification instruction to a terminal of a worker so that the worker can schedule the vehicle to a parking spot with high priority preferentially.
Further, in an implementation manner provided by the embodiment of the present invention, the sorting module includes:
the calculation submodule is used for calculating the parking point numerical value corresponding to each parking point according to the number of the vehicles capable of being accommodated, the number of the current parked vehicles, the number of the concerned vehicles and the concerned time period of each parking point based on a preset formula, wherein the preset formula comprises the following steps:
Figure BDA0003511992280000181
a+b=1,a>b
wherein P represents a parking point value corresponding to the parking point, y represents the number of currently parked vehicles, x represents the number of receivable vehicles,
Figure BDA0003511992280000182
representing a vacancy ratio of the parking spot, a representing a first weight, z representing a number of vehicles of interest within a time period of interest of the parking spot,
Figure BDA0003511992280000183
representing a vehicle demand ratio of the parking spot, b representing a second weight;
and the priority ordering submodule is used for carrying out priority ordering on the plurality of parking points by utilizing the parking point numerical value corresponding to each parking point, wherein the larger the parking point numerical value corresponding to the parking point is, the higher the priority of the parking point is.
Further, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
an initial parking point determining module, configured to determine, when the current time is before the attention time period or within the attention time period, an initial parking point corresponding to each attention vehicle if a state of each attention vehicle is updated to the occupied state, where the initial parking point includes a parking point where the attention vehicle corresponding to the vehicle attention request is located when the server responds to the vehicle attention request;
and the first information sending module is used for generating non-occupied vehicle prompt information if the vehicle in the non-occupied state exists in the initial parking spot, and sending the non-occupied vehicle prompt information to the user terminal.
Further, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
the peripheral parking point searching module is used for searching each peripheral parking point within a preset range around the initial parking point if the vehicle in the non-occupied state does not exist in the initial parking point;
and the second information sending module is used for generating non-occupied vehicle prompt information if the peripheral parking spots exist and the vehicles in the non-occupied states exist in the peripheral parking spots, and sending the non-occupied vehicle prompt information to the user terminal.
The state acquisition device for the shared vehicle provided in the embodiment of the present application can implement each process of the state acquisition method for the shared vehicle in the method embodiment disclosed in fig. 1, and can achieve the same technical effect, and is not described herein again to avoid repetition.
An embodiment of the present invention further provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the method for acquiring the state of the shared vehicle disclosed in the method embodiment corresponding to fig. 1.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program runs on a processor, the method for acquiring the state of the shared vehicle disclosed in the method embodiment corresponding to fig. 1 is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) 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.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1.一种共享车辆的状态获取方法,其特征在于,应用于服务器,所述共享车辆的状态包括占用和非占用,所述方法包括:1. A method for obtaining a state of a shared vehicle, characterized in that, applied to a server, the state of the shared vehicle includes occupied and non-occupied, and the method comprises: 响应用户终端发送的车辆关注请求,确定所述车辆关注请求对应的关注时段和至少一辆关注车辆,其中,所述关注车辆的状态为非占用;In response to the vehicle attention request sent by the user terminal, determine the attention period corresponding to the vehicle attention request and at least one attention vehicle, wherein the state of the attention vehicle is not occupied; 将所述用户终端与所有所述关注车辆关联;associating the user terminal with all the vehicles of interest; 获取当前时间和每辆所述关注车辆的状态;Get the current time and the status of each said vehicle of interest; 在所述关注车辆的状态更新为所述占用时,获取所述状态更新的时间;When the state of the vehicle of interest is updated to the occupied, acquiring the time of the state update; 若所述状态更新的时间在所述关注时段之前,则在所述当前时间达到关注时段时,解除所述用户终端与所述关注车辆的关联,并向所述用户终端发送车辆状态更新提示信息;If the time of the status update is before the attention period, when the current time reaches the attention period, the user terminal is disconnected from the concerned vehicle, and vehicle status update prompt information is sent to the user terminal ; 若所述当前时间和所述状态更新的时间均在所述关注时段内,则解除所述用户终端与所述关注车辆的关联,并向所述用户终端发送所述车辆状态更新提示信息;If both the current time and the state update time are within the attention period, disassociate the user terminal with the vehicle of interest, and send the vehicle state update prompt information to the user terminal; 在所述当前时间在所述关注时段之后时,解除所述用户终端与每辆所述关注车辆的关联。When the current time is after the attention period, the user terminal is disassociated from each vehicle of interest. 2.根据权利要求1所述的共享车辆的状态获取方法,其特征在于,所述将所述用户终端与所有所述关注车辆关联之后,所述方法还包括:2 . The method for obtaining the state of a shared vehicle according to claim 1 , wherein after the user terminal is associated with all the vehicles of interest, the method further comprises: 2 . 响应所述用户终端发送的在所有所述关注车辆中的车辆预约请求,在所有所述关注车辆中确定对应关注车辆;In response to the vehicle reservation request in all the vehicles of interest sent by the user terminal, determine the corresponding vehicle of interest among all the vehicles of interest; 将所述对应关注车辆的状态变更为占用,且将所述对应关注车辆与所述用户终端绑定,解除所述用户终端与其他所述关注车辆的关联。The state of the corresponding vehicle of interest is changed to occupied, the corresponding vehicle of interest is bound to the user terminal, and the association between the user terminal and other vehicles of interest is released. 3.根据权利要求1所述的共享车辆的状态获取方法,其特征在于,所述占用包括车辆解锁、车辆故障、车辆低电量和车辆被预约中的任意一种。3 . The method for obtaining the status of a shared vehicle according to claim 1 , wherein the occupancy includes any one of vehicle unlocking, vehicle failure, vehicle low battery, and vehicle reservation. 4 . 4.根据权利要求1所述的共享车辆的状态获取方法,其特征在于,所述方法还包括:4. The method for obtaining the state of a shared vehicle according to claim 1, wherein the method further comprises: 获取确定范围内的多个停车点的所述关注车辆的信息,其中,所述关注车辆的信息包括关注车辆数量和所述关注车辆的关注时间段;Acquiring the information of the vehicle of interest at multiple parking spots within a determined range, wherein the information of the vehicle of interest includes the number of the vehicle of interest and the time period of the vehicle of interest; 根据每个所述停车点的可容纳车辆数、当前停放车辆数、所述关注车辆数量和关注时间段,对所述多个停车点进行优先级排序;Prioritize the plurality of parking spots according to the number of accommodating vehicles, the number of currently parked vehicles, the number of vehicles of interest and the time period of interest in each of the parking spots; 向工作人员的终端发送调度通知指令,以使工作人员将车辆优先调度至优先级高的停车点。A dispatch notification instruction is sent to the terminal of the staff member, so that the staff member can preferentially dispatch the vehicle to a parking spot with a high priority. 5.根据权利要求4所述的共享车辆的状态获取方法,其特征在于,所述根据每个所述停车点的可容纳车辆数、当前停放车辆数、所述关注车辆数量和关注时间段,对所述多个停车点进行优先级排序,包括:5 . The method for obtaining the state of a shared vehicle according to claim 4 , wherein, according to the number of accommodating vehicles, the number of currently parked vehicles, the number of vehicles of interest and the time period of interest in each of the parking spots, Prioritize the plurality of parking spots, including: 基于预设算式,根据每个所述停车点的可容纳车辆数、当前停放车辆数、所述关注车辆数量和关注时间段,计算每个所述停车点对应的停车点数值,其中,所述预设算式包括:Based on a preset formula, according to the number of accommodating vehicles, the number of currently parked vehicles, the number of vehicles of interest and the time period of interest in each of the parking points, the value of the parking point corresponding to each of the parking points is calculated, wherein the Default formulas include:
Figure FDA0003511992270000021
Figure FDA0003511992270000021
a+b=1,a>ba+b=1,a>b 式中,P表示所述停车点对应的停车点数值,y表示所述当前停放车辆数,x表示所述可容纳车辆数,
Figure FDA0003511992270000022
表示所述停车点的空置比,a表示第一权重,z表示所述停车点的关注时间段内的关注车辆数量,
Figure FDA0003511992270000023
表示所述停车点的车辆需求比,b表示第二权重;
In the formula, P represents the parking point value corresponding to the parking point, y represents the current number of parked vehicles, x represents the number of accommodating vehicles,
Figure FDA0003511992270000022
represents the vacancy ratio of the parking spot, a represents the first weight, z represents the number of vehicles of interest in the attention time period of the parking spot,
Figure FDA0003511992270000023
represents the vehicle demand ratio of the parking spot, and b represents the second weight;
利用每个所述停车点对应的停车点数值,对所述多个停车点进行优先级排序,其中,所述停车点对应的停车点数值越大,所述停车点的优先级越高。The plurality of parking points are prioritized by using the parking point value corresponding to each of the parking points, wherein the larger the parking point value corresponding to the parking point, the higher the priority of the parking point.
6.根据权利要求1所述的共享车辆的状态获取方法,其特征在于,所述在所述关注车辆的状态更新为所述占用时,获取所述状态更新的时间之后,所述方法还包括:6 . The method for obtaining the state of a shared vehicle according to claim 1 , wherein when the state of the vehicle of interest is updated to the occupied state, after obtaining the time of the state update, the method further comprises: 6 . : 当所述当前时间在所述关注时段之前,或在所述关注时段之内时,若每辆所述关注车辆的状态均更新为所述占用,则确定每辆所述关注车辆对应的初始停车点,其中,所述初始停车点包括所述服务器响应所述车辆关注请求时,所述车辆关注请求对应的关注车辆所在的停车点;When the current time is before the attention period or within the attention period, if the status of each of the concerned vehicles is updated to the occupied, determine the initial parking corresponding to each of the concerned vehicles point, wherein the initial parking point includes the parking point where the vehicle of interest corresponding to the vehicle attention request is located when the server responds to the vehicle attention request; 若所述初始停车点中存在所述状态为非占用的车辆,则生成非占用车辆提示信息,并将所述非占用车辆提示信息发送至所述用户终端。If there is a vehicle whose state is unoccupied in the initial parking spot, generating unoccupied vehicle prompt information, and sending the unoccupied vehicle prompt information to the user terminal. 7.根据权利要求6所述的共享车辆的状态获取方法,其特征在于,所述当所述当前时间在所述关注时段之前,或在所述关注时段之内时,若每辆所述关注车辆的状态均更新为所述占用,则确定每辆所述关注车辆对应的初始停车点之后,所述方法还包括:7 . The method for obtaining the state of a shared vehicle according to claim 6 , wherein, when the current time is before the attention period or within the attention period, if the attention period of each vehicle is If the states of the vehicles are all updated to the occupancy, after determining the initial parking spot corresponding to each vehicle of interest, the method further includes: 若所述初始停车点中不存在所述状态为非占用的车辆,则搜索以所述初始停车点周围预设范围内的每个周边停车点;If there is no vehicle whose state is not occupied in the initial parking spot, search for each surrounding parking spot within a preset range around the initial parking spot; 若存在所述周边停车点,且所述周边停车点中存在所述状态为非占用的车辆,则生成非占用车辆提示信息,并将所述非占用车辆提示信息发送至所述用户终端。If there is the surrounding parking spot, and there is a vehicle whose state is unoccupied in the surrounding parking spot, generating unoccupied vehicle prompt information, and sending the unoccupied vehicle prompt information to the user terminal. 8.一种共享车辆的状态获取装置,其特征在于,应用于服务器,所述共享车辆的状态包括占用和非占用,所述装置包括:8. A device for obtaining a state of a shared vehicle, characterized in that, when applied to a server, the state of the shared vehicle includes occupancy and non-occupancy, and the device comprises: 响应模块,用于响应用户终端发送的车辆关注请求,确定所述车辆关注请求对应的关注时段和至少一辆关注车辆,其中,所述关注车辆的状态为非占用;a response module, configured to respond to the vehicle attention request sent by the user terminal, and determine the attention period corresponding to the vehicle attention request and at least one attention vehicle, wherein the state of the attention vehicle is not occupied; 关联模块,用于将所述用户终端与所有所述关注车辆关联;an association module for associating the user terminal with all the vehicles of interest; 获取模块,用于获取当前时间和每辆所述关注车辆的状态;an acquisition module for acquiring the current time and the status of each vehicle of interest; 更新时间获取模块,用于在所述关注车辆的状态更新为所述占用时,获取所述状态更新的时间;an update time acquisition module, configured to acquire the time of the state update when the state of the vehicle of interest is updated to the occupied; 第一解除模块,用于若所述状态更新的时间在所述关注时段之前,则在所述当前时间达到关注时段时,解除所述用户终端与所述关注车辆的关联,并向所述用户终端发送车辆状态更新提示信息;A first disassociation module, configured to disassociate the user terminal from the vehicle of interest when the current time reaches the attention period if the time of the status update is before the attention period, and notify the user to the user The terminal sends the vehicle status update prompt information; 第二解除模块,用于若所述当前时间和所述状态更新的时间均在所述关注时段之内,则解除所述用户终端与所述关注车辆的关联,并向所述用户终端发送所述车辆状态更新提示信息;a second disassociation module, configured to disassociate the user terminal from the vehicle of interest if both the current time and the state update time are within the attention period, and send the user terminal the information The vehicle status update prompt information; 第三解除模块,用于在所述当前时间在所述关注时段之后时,解除所述用户终端与每辆所述关注车辆的关联。A third disassociation module, configured to disassociate the user terminal with each vehicle of interest when the current time is after the attention period. 9.一种计算机设备,其特征在于,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行如权利要求1-7任一项所述的共享车辆的状态获取方法。9. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program executes the method according to any one of claims 1-7 when the computer program runs on the processor. The method for obtaining the status of the shared vehicle. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在处理器上运行时执行如权利要求1-7任一项所述的共享车辆的状态获取方法。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program executes the method according to any one of claims 1-7 when the computer program is run on a processor. The method for obtaining the status of the shared vehicle.
CN202210154784.8A 2022-02-21 2022-02-21 Methods, devices, computer equipment, and storage media for obtaining the status of shared vehicles Active CN114529028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210154784.8A CN114529028B (en) 2022-02-21 2022-02-21 Methods, devices, computer equipment, and storage media for obtaining the status of shared vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210154784.8A CN114529028B (en) 2022-02-21 2022-02-21 Methods, devices, computer equipment, and storage media for obtaining the status of shared vehicles

Publications (2)

Publication Number Publication Date
CN114529028A true CN114529028A (en) 2022-05-24
CN114529028B CN114529028B (en) 2025-11-04

Family

ID=81625322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210154784.8A Active CN114529028B (en) 2022-02-21 2022-02-21 Methods, devices, computer equipment, and storage media for obtaining the status of shared vehicles

Country Status (1)

Country Link
CN (1) CN114529028B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118328A (en) * 2022-06-21 2022-09-27 浙江吉利控股集团有限公司 Vehicle satellite communication method, device, equipment and computer readable storage medium
CN115293844A (en) * 2022-07-25 2022-11-04 宁波小遛共享信息科技有限公司 Electric bicycle power exchange control method, device, medium and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647698A (en) * 2013-11-28 2014-03-19 宇龙计算机通信科技(深圳)有限公司 A method and an apparatus for prompting concerned event change
CN106128165A (en) * 2016-08-29 2016-11-16 徐月明 Parking reservation method and system, berth information service platform
CN107644265A (en) * 2017-09-29 2018-01-30 北京摩拜科技有限公司 Reserving method, device, system and the server of sharing articles
CN108280526A (en) * 2018-03-05 2018-07-13 魏会风 A kind of shared vehicle reservation method based on Internet of Things
CN108629652A (en) * 2018-03-27 2018-10-09 深圳市元征科技股份有限公司 A kind of shared automobile operational version recommends method and server
CN109147310A (en) * 2017-06-13 2019-01-04 上海擎感智能科技有限公司 Vehicles management method, platform and system, storage medium
KR102138902B1 (en) * 2019-07-26 2020-07-29 (주)디지파츠 Method, Apparatus and System for Providing Car Sharing Service
CN112330956A (en) * 2020-10-13 2021-02-05 西安艾润物联网技术服务有限责任公司 Control method and device for automatic vehicle scheduling

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647698A (en) * 2013-11-28 2014-03-19 宇龙计算机通信科技(深圳)有限公司 A method and an apparatus for prompting concerned event change
CN106128165A (en) * 2016-08-29 2016-11-16 徐月明 Parking reservation method and system, berth information service platform
CN109147310A (en) * 2017-06-13 2019-01-04 上海擎感智能科技有限公司 Vehicles management method, platform and system, storage medium
CN107644265A (en) * 2017-09-29 2018-01-30 北京摩拜科技有限公司 Reserving method, device, system and the server of sharing articles
CN108280526A (en) * 2018-03-05 2018-07-13 魏会风 A kind of shared vehicle reservation method based on Internet of Things
CN108629652A (en) * 2018-03-27 2018-10-09 深圳市元征科技股份有限公司 A kind of shared automobile operational version recommends method and server
KR102138902B1 (en) * 2019-07-26 2020-07-29 (주)디지파츠 Method, Apparatus and System for Providing Car Sharing Service
CN112330956A (en) * 2020-10-13 2021-02-05 西安艾润物联网技术服务有限责任公司 Control method and device for automatic vehicle scheduling

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118328A (en) * 2022-06-21 2022-09-27 浙江吉利控股集团有限公司 Vehicle satellite communication method, device, equipment and computer readable storage medium
CN115293844A (en) * 2022-07-25 2022-11-04 宁波小遛共享信息科技有限公司 Electric bicycle power exchange control method, device, medium and equipment

Also Published As

Publication number Publication date
CN114529028B (en) 2025-11-04

Similar Documents

Publication Publication Date Title
US9669721B2 (en) Method and system for dynamically providing information about charging stations
JP6218269B2 (en) Electric vehicle charging station guidance system
CN110287214B (en) Information processing apparatus, ride share user selection method, and storage medium
WO2019033727A1 (en) System and method for reducing wait time in providing transportation service
CN114529028A (en) Method and device for acquiring state of shared vehicle, computer equipment and storage medium
EP4044077B1 (en) Used secondary battery reuse system
JP6193690B2 (en) Content provision system
JP6656167B2 (en) Timer management method and program for car charging station
CN111915050A (en) Parking space availability prediction system and method
JP2015041339A (en) Reservation management device, reservation request device, reserving means providing method, reservation management program, and reservation request program
US20190244283A1 (en) Notification processing apparatus, notification processing method, and information terminal
CN112950041A (en) Shared vehicle scheduling method, device, storage medium and computer program product
CN111798022A (en) Scheduling management system
US20220261699A1 (en) Information processing apparatus, non-transitory storage medium, and information processing method
US20150278377A1 (en) Method of providing information, server device and information terminal
JP2018081574A (en) Vehicle management method and vehicle management system
CN111178558B (en) Network appointment order processing method and device, computer equipment and readable storage medium
JP2009205311A (en) Schedule sharing management system, server unit, and schedule sharing management method therefor
CN111626801A (en) Order distribution method and device, electronic equipment and computer storage medium
JP2016146030A (en) Shared vehicle management device
JP2011204177A (en) System, method and program for reserving car sharing
CN108960632A (en) A kind of transregional dispatching method of shared bicycle
US11972246B2 (en) Information processing apparatus, information processing method, and recording medium
CN111145490B (en) Alarm method, device, server and system
JP2020038130A (en) Information processing device, information processing method and program

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: Room 101 (201) -6, Building 5, Building 6 and 7, Kexin Building, Shounan Street, Yinzhou District, Ningbo City, Zhejiang Province, 315100

Applicant after: Zhejiang Xiaoliu Information Technology Co.,Ltd.

Address before: Room 1401-1, No.6 and No.7, building 5, Kexin building, Shounan street, Yinzhou District, Ningbo City, Zhejiang Province, 315000

Applicant before: NINGBO LIUBIKE INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant