CN113706080B - Battery using method and device for shared vehicle and computer equipment - Google Patents
Battery using method and device for shared vehicle and computer equipment Download PDFInfo
- Publication number
- CN113706080B CN113706080B CN202110996224.2A CN202110996224A CN113706080B CN 113706080 B CN113706080 B CN 113706080B CN 202110996224 A CN202110996224 A CN 202110996224A CN 113706080 B CN113706080 B CN 113706080B
- Authority
- CN
- China
- Prior art keywords
- battery
- request
- vehicle
- user
- replaced
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000012797 qualification Methods 0.000 claims abstract description 9
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 7
- 230000009286 beneficial effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002195 synergetic effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/70—Energy storage systems for electromobility, e.g. batteries
Landscapes
- Business, Economics & Management (AREA)
- Economics (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Human Resources & Organizations (AREA)
- Development Economics (AREA)
- Tourism & Hospitality (AREA)
- Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
The embodiment of the invention discloses a battery using method, a device and computer equipment of a shared vehicle, wherein the method comprises the following steps: determining a vehicle to be replaced and a first battery in the vehicle according to a battery replacement request of a user; when the second battery exists, a battery cover opening command is sent to the vehicle to be replaced; when the battery in the vehicle to be replaced is determined to be the second battery, the state of the first battery is converted into a state to be returned; responding to the battery qualification information sent by the vehicle to be replaced, converting the battery in the vehicle into use, associating the battery with the first battery, and releasing the association with the user; when a battery returning request is sent by a user, determining to request a battery according to the battery returning request; if the state of the request battery is to be returned and the battery associated with the request battery exists, the request battery is converted into a warehouse, and the association with the user is released, so that the return of the request battery is completed. Therefore, the full-flow positioning of the battery is realized, and the management efficiency of the battery is improved.
Description
Technical Field
The present invention relates to the field of batteries, and in particular, to a method and apparatus for using a battery of a shared vehicle, and a computer device.
Background
The battery replacement of the shared vehicle requires more manual operation procedures, such as receiving a request, checking the receiving a request by a warehouse management, searching for a vehicle needing to be replaced, replacing the battery, returning the battery, checking the number of the batteries and the number of the batteries by the warehouse management, and the like.
However, the manual operation inevitably causes omission, and further causes the problems of battery loss, non-correspondence between the battery receiving and returning quantity, wrong battery returning and the like after battery replacement.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and a computer device for using a battery of a shared vehicle, so as to improve the situation that the manual operation flow is missed.
In a first aspect, an embodiment of the present invention provides a method for using a battery of a shared vehicle, which is applied to a server, and the method includes:
according to a battery replacement request sent by a user through a terminal, determining a vehicle to be replaced corresponding to the battery replacement request and a first battery in the vehicle to be replaced, wherein the state of the first battery is in use;
when at least one second battery which is associated with a user sending a battery replacement request and is in a state to be used exists, a battery cover opening command is sent to the vehicle to be replaced;
when the battery in the vehicle to be replaced is determined to be a second battery, converting the state of the first battery into a state to be returned;
responding to the battery qualification information sent by the vehicle to be replaced, converting the state of the battery in the vehicle to be replaced into the state in use, associating the battery in the vehicle to be replaced with the first battery, and releasing the association between the battery in the vehicle to be replaced and the user who sends the battery replacement request;
according to a battery return request sent by a user through a terminal, determining a request battery corresponding to the battery return request;
when the state of the request battery is to be returned and the battery associated with the request battery exists, the state of the request battery is converted into a warehouse, and the association of the request battery and a user sending a battery return request is released.
According to the battery using method of the shared vehicle, which is provided by the embodiment of the invention, according to the battery replacement request sent by the user, the vehicle to be replaced and the first battery in the vehicle are determined; when at least one second battery which is associated with a user sending a battery replacement request and is in a state of being used exists, a battery cover opening command is sent to the vehicle to be replaced, so that the battery cover of the vehicle to be replaced is opened, and the user can replace the battery; when the battery in the vehicle to be replaced is determined to be the second battery, namely, after the first battery is determined to be replaced from the vehicle by a user, the state of the first battery is converted into a state to be returned; and responding to the battery qualification information sent by the vehicle to be replaced, converting the state of the battery in the vehicle into use, associating the battery with the first battery, and simultaneously, releasing the association of the battery with the user, thereby completing battery replacement. When a battery returning request is sent by a user, determining to request a battery according to the battery returning request; and if the state of the request battery is to be returned and the battery associated with the request battery exists, converting the state of the request battery into a warehouse, and releasing the association with the user, so that the return of the request battery is completed.
Therefore, when returning the batteries, the user needs to ensure that any battery in the state of being the battery to be returned has the associated battery, namely, after the battery in the vehicle is replaced, the battery associated with the user is replaced, so that the number of the batteries replaced in the vehicle is consistent with the number of the batteries replaced in the vehicle.
Optionally, in an implementation manner provided in the embodiment of the present invention, after the step of determining the request battery corresponding to the battery return request, the method further includes:
when the state of the request battery is to be used, the state of the request battery is converted into a warehouse.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: after the user takes excessive batteries from the warehouse, the user can return the batteries which are taken at any time.
Optionally, in an implementation manner provided in the embodiment of the present invention, when determining that the battery in the vehicle to be replaced is the second battery, converting the state of the first battery to be restored includes:
when the battery information sent by the vehicle to be replaced is received, judging whether the battery in the vehicle to be replaced is a second battery according to the battery information;
if so, the state of the first battery is converted into to be returned.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: based on the battery information sent by the vehicle to be replaced, the server can accurately know whether the battery in the vehicle to be replaced is associated with the user who sends the battery replacement request, and the state is to be used, so that effective implementation of a subsequent flow is ensured.
Optionally, in an implementation manner provided by the embodiment of the present invention, the method further includes:
judging whether the states of all batteries associated with the user who sends the battery receiving request are to be used or not according to the battery receiving request sent by the user through the terminal;
if so, according to the battery receiving information sent by the user sending the battery receiving request through the terminal, associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information, and converting the states of all receiving batteries from the warehouse to be used.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: when a user receives the battery, the user needs to ensure that all the batteries replaced in the vehicle are returned, further ensure that the number of the batteries replaced in the vehicle is consistent with the number of the batteries replaced in the vehicle, and the number of the replaced batteries does not need to be counted manually, so that the labor cost is reduced and the effective management of the batteries is ensured.
Optionally, in an implementation manner provided in the embodiment of the present invention, if yes, according to battery receiving information sent by a user sending a battery receiving request through a terminal, associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information, and converting states of all receiving batteries from a warehouse to be used, where the method includes:
if yes, judging whether the state associated with the user sending the battery receiving request is that the number of the batteries to be used is smaller than the preset number;
if the battery receiving request is smaller than the battery receiving request, at least one receiving battery corresponding to the battery receiving information is associated with the user sending the battery receiving information according to the battery receiving information sent by the user sending the battery receiving request through the terminal, and the states of all receiving batteries are changed from a warehouse to be used.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: the battery asset loss possibly caused by the fact that the user takes too many batteries is avoided, and the safety of the batteries is further guaranteed.
Optionally, in an implementation manner provided in the embodiment of the present invention, after the step of determining the request battery corresponding to the battery return request, the method further includes:
and when the state of the request battery is to be returned and the battery associated with the request battery does not exist, sending a battery return prompt message to the terminal sending the battery return request so as to prompt the user sending the battery return request that the return operation is invalid.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: based on the battery return prompt information, a user can know errors occurring in the battery replacement operation process, and the battery replacement operation method is more humanized.
Optionally, in an implementation manner provided in the embodiment of the present invention, before determining, according to a battery replacement request sent by a user through a terminal, a vehicle to be replaced corresponding to the battery replacement request and a first battery in the vehicle to be replaced, the method further includes:
binding a vehicle corresponding to the vehicle binding request with a user sending the vehicle binding request according to the vehicle binding request sent by the user through the terminal;
according to a battery replacement request sent by a user through a terminal, determining a vehicle to be replaced corresponding to the battery replacement request, including:
judging whether a vehicle corresponding to a battery replacement request is bound with a user who sends the battery replacement request or not according to the battery replacement request sent by the user through the terminal;
if yes, determining that the vehicle corresponding to the battery replacement request is the vehicle to be replaced.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: the user can receive the battery according to the bound vehicle to be replaced, and can only execute battery replacement operation on the vehicle to be replaced bound with the user, so that effective monitoring of the battery flow direction is ensured, and the safety of the battery is improved.
In a second aspect, an embodiment of the present invention provides a battery usage device for a shared vehicle, applied to a server, the device including:
the first determining module is used for determining a vehicle to be replaced corresponding to the battery replacement request and a first battery in the vehicle to be replaced according to the battery replacement request sent by a user through the terminal, wherein the state of the first battery is in use;
an opening module for transmitting a battery cover opening command to the vehicle to be replaced when there is at least one second battery to be used in a state associated with a user who transmits a battery replacement request;
the first conversion module is used for converting the state of the first battery into to-be-returned when the battery in the vehicle to be converted is determined to be the second battery;
the second conversion module is used for responding to the battery qualification information sent by the vehicle to be replaced, converting the state of the battery in the vehicle to be replaced into the use state, associating the battery in the vehicle to be replaced with the first battery, and releasing the association between the battery in the vehicle to be replaced and a user sending a battery replacement request;
the second determining module is used for determining a request battery corresponding to the battery returning request according to the battery returning request sent by the user through the terminal;
and the return module is used for converting the state of the request battery into a warehouse when the state of the request battery is to be returned and the battery associated with the request battery exists, and releasing the association of the request battery and a user sending a battery return request.
In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs a method of battery use of a shared vehicle as disclosed in any of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when run on a processor, performs a method of battery usage of a shared vehicle as disclosed in any of the first aspects.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are required for the embodiments will be briefly described, it being 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 elements are numbered alike in the various figures.
Fig. 1 is a schematic flow chart of a method for using a battery of a shared vehicle according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another method for using a battery of a shared vehicle according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a battery using device for a shared vehicle according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The components of the 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 invention, as 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 made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The terms "comprises," "comprising," "including," or any other variation thereof, are intended to cover a specific feature, number, step, operation, element, component, or combination of the foregoing, which may be used in various embodiments of the present invention, and are not intended to first exclude the presence of or increase the likelihood of 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 merely to distinguish between descriptions and should not 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 invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
Referring to fig. 1, fig. 1 shows a flowchart of a method for using a battery of a shared vehicle according to an embodiment of the present invention, where the method for using a battery of a shared vehicle according to an embodiment of the present invention includes:
s110, determining a vehicle to be replaced corresponding to the battery replacement request and a first battery in the vehicle to be replaced according to the battery replacement request sent by a user through the terminal, wherein the state of the first battery is in use.
It will be appreciated that the process of the user sending the battery replacement request through the terminal includes: the user scans the identifiable tag on the vehicle to be replaced through the terminal, and after the vehicle number of the vehicle to be replaced is obtained, or after the user inputs the vehicle number of the vehicle to be replaced on the terminal, the terminal generates a battery replacement request according to the vehicle number of the vehicle to be replaced and the user number of the user, and sends the battery replacement request to the server. The server determines the vehicle to be replaced according to the vehicle number, further determines a first battery in the vehicle to be replaced, namely a battery in use in the vehicle to be replaced, and determines a user according to the user number.
It can also be understood that in the use of the batteries of the shared vehicle provided by the embodiment of the invention, each battery corresponds to a unique battery number, and each user corresponds to a unique user number. In addition, the server of the embodiment of the invention stores the vehicle number of each vehicle and the battery number of the battery which is used by each vehicle, and further the vehicle number of each vehicle and the battery number of the battery which is used by each vehicle are in one-to-one correspondence.
It should be noted that, in the embodiment of the present invention, the state of any one battery is one of in the warehouse, in use and in return. The state of the battery is in the warehouse, which means that the battery is positioned in the battery warehouse and waits for the user to get the battery; the state of the battery is to be used, which means that the battery is taken from a warehouse by a user and can be replaced into a vehicle; the state of the battery is in use, which means that the battery is in the vehicle and is being used by the vehicle; the battery state is to be returned, which means that the battery is taken out of the vehicle by the user and needs to be returned to the warehouse by the user.
It should be noted that, the vehicles according to the embodiments of the present invention include vehicles that need to be powered by a battery, such as a shared electric bicycle and a shared automobile.
And S120, when at least one second battery which is in a state of being used and is associated with a user sending a battery replacement request exists, sending a battery cover opening command to the vehicle to be replaced.
It should be noted that, in the embodiment of the present invention, only the server has the right to open the battery cover of the vehicle to be replaced, so as to ensure the safety of the battery in the vehicle.
Further, when the server determines that the user needs to replace the battery in the vehicle to be replaced, the server will determine whether the user holds at least one battery that can be replaced in the vehicle, i.e. the second battery, i.e. whether the user has taken the battery from the battery warehouse.
It will be appreciated that the battery is associated with a user, i.e. there is a correspondence between the battery number and the user number, and one user number may correspond to a plurality of battery numbers. And when the user number of the user corresponds to the battery number, the user is indicated to hold the battery corresponding to the battery number.
Further, the method for the user to get the battery comprises the following steps: after receiving the battery receiving request, the server associates a preset number of available batteries in the warehouse with the user, converts the states of all the available batteries into to-be-used states, and informs the user to go to the warehouse for battery receiving, so that the battery receiving is completed.
Optionally, referring to fig. 2, fig. 2 shows another flow chart of a method for using a battery of a shared vehicle according to an embodiment of the present invention, where in an implementation manner provided by the embodiment of the present invention, the method further includes:
s170, judging whether the states of all batteries associated with the user who sends the battery receiving request are to be used or not according to the battery receiving request sent by the user through the terminal;
and S180, if so, associating at least one of the leading batteries corresponding to the battery leading information with the user sending the battery leading information according to the battery leading information sent by the user sending the battery leading request through the terminal, and converting the states of all the leading batteries from the warehouse to be used.
It should be understood that, in this implementation manner provided in the embodiment of the present invention, S170 and S180 are not limited to be performed only after S160, and S170 and S180 may be performed after any one step.
Specifically, when a user needs to get a battery, and thus a corresponding battery getting program or a battery getting page is opened on the terminal, the terminal generates and sends a battery getting request to the server according to the user number of the user, and the server inquires whether the state of each battery held by the user is to be used or not after obtaining the user number according to the battery getting request, and further judges whether the user holds unreturned batteries or not; if all the batteries associated with the user are in a state to be used, or there is no battery associated with the user, i.e. the user does not hold the unreturned battery, the user can take the battery. If the user holds the battery which is not returned, a prompt message is sent to the terminal to prompt the user to return the battery.
Further, if the terminal does not receive the prompt information, the user can receive the battery, and the user can scan the identifiable tag on the received battery through the terminal to obtain the battery number of the received battery, or after the user inputs the battery number of the received battery on the terminal, the terminal generates and sends the battery receiving information to the server according to the battery number of the received battery, and the server associates the received battery corresponding to the battery receiving information with the user and changes the state of the received battery, so that the battery receiving is completed.
Based on the battery receiving mode, the embodiment of the invention ensures that when a user receives the batteries, all the batteries replaced from the vehicle are returned, the quantity of the batteries replaced into the vehicle is further ensured to be consistent with the quantity of the batteries replaced from the vehicle, the quantity of the replaced batteries is not required to be counted manually, the labor cost is reduced, and the effective management of the batteries is ensured.
Optionally, in an implementation manner provided in the embodiment of the present invention, S180 includes:
if yes, judging whether the state associated with the user sending the battery receiving request is that the number of the batteries to be used is smaller than the preset number;
if the battery receiving request is smaller than the battery receiving request, at least one receiving battery corresponding to the battery receiving information is associated with the user sending the battery receiving information according to the battery receiving information sent by the user sending the battery receiving request through the terminal, and the states of all receiving batteries are changed from a warehouse to be used.
It can be understood that by limiting the number of the most acceptable batteries for the user, the embodiment of the invention avoids the battery asset loss possibly caused by the excessive battery availability for the user, and further ensures the safety of the battery.
And S130, when the battery in the vehicle to be replaced is determined to be the second battery, converting the state of the first battery into to be returned.
Specifically, when the server sends a battery cover opening command to the vehicle to be replaced, so that after the vehicle to be replaced is opened, the server can send battery confirmation information to the vehicle to be replaced after a preset time interval, so that the vehicle to be replaced sends the battery number of the battery in the vehicle to the server, and the server judges whether the battery in the vehicle is the battery held by a user and in a state of being to be used according to the battery number.
Optionally, in an implementation manner provided in the embodiment of the present invention, S130 includes:
when the battery information sent by the vehicle to be replaced is received, judging whether the battery in the vehicle to be replaced is a second battery according to the battery information;
if so, the state of the first battery is converted into to be returned.
Specifically, the vehicle to be replaced will actively send battery information to the server after the user closes the battery cover, wherein the battery information includes the battery number of the battery being used by the vehicle to be replaced. And after receiving the battery information and obtaining the corresponding battery number, the server judges whether the battery is held by the user and is in a state of to-be-used according to the battery number.
Therefore, based on battery information sent by the vehicle to be replaced, the server can accurately know whether the battery in the vehicle to be replaced is associated with a user or not, and the state is to be used, so that effective implementation of a subsequent flow is ensured.
And S140, responding to the battery qualification information sent by the vehicle to be replaced, converting the state of the battery in the vehicle to be replaced into the in-use state, associating the battery in the vehicle to be replaced with the first battery, and releasing the association of the battery in the vehicle to be replaced with the user who sends the battery replacement request.
It should be noted that, in the method for using the battery of the shared vehicle provided by the embodiment of the present invention, after the battery in the vehicle to be replaced is replaced, the vehicle to be replaced will perform battery detection to determine whether the battery in the vehicle can be used normally, where the detection content of the battery detection includes but is not limited to: detecting whether the number of the battery accords with the number rule, whether the electric quantity of the battery is higher than the preset electric quantity, and whether the voltage of the battery meets the preset voltage.
If the battery is detected to be qualified, the vehicle to be replaced sends qualified battery information to the server. When the server receives the battery qualification information of the vehicle to be replaced, the server changes the state of the battery in the vehicle to be replaced into use, associates the battery with the first battery replaced from the vehicle to be replaced, and releases the association of the battery with the user.
S150, determining a request battery corresponding to the battery return request according to the battery return request sent by the user through the terminal.
Specifically, the process of the user transmitting the battery return request includes: after a user scans an identifiable tag on a request battery through a terminal, the terminal determines the battery number of the request battery, or the user inputs the battery number of the request battery on the terminal, the terminal generates a battery return request according to the battery number and sends the battery return request to a server, and the server obtains the battery number according to the battery return request, so that the request battery is determined.
S160, when the state of the request battery is to be returned and the battery associated with the request battery exists, the state of the request battery is converted into a warehouse, and the association of the request battery and a user sending a battery return request is released.
It will be appreciated that the requesting battery includes the battery in a state to be returned, which is removed from the vehicle by the user. Further, the server searches whether the request battery has an associated battery according to the battery number of the request battery, namely, judges whether the user correspondingly changes into one battery in the vehicle to be replaced after taking the battery down from the vehicle to be replaced. If so, changing the state of the request battery into a warehouse, and unbinding the request battery with a user, thereby completing battery return.
In another implementation manner provided by the embodiment of the invention, the terminal generates a battery return request according to the battery number of the request battery and the user number of the user, and after receiving the battery return request and obtaining the battery number and the user number, the server changes the state of the request battery into a warehouse and releases the binding with the user when the battery number is associated with the user number and the associated battery exists, thereby completing battery return. In other words, in this embodiment, the user who replaces the battery C from the vehicle and the user who returns the battery C are the same user.
Optionally, in an implementation manner provided in the embodiment of the present invention, S160 includes:
when the state of the request battery is to be returned, the position of the request battery is at a preset position, and the battery associated with the request battery exists, and the association of the request battery and a user sending a battery return request is released.
It can be understood that the preset position can be the position of the battery warehouse, and therefore under the implementation manner provided by the embodiment of the invention, a user can complete the battery returning only by performing the battery returning operation in the battery warehouse, so that the risk of battery loss is further reduced.
Therefore, when returning the batteries, the user needs to ensure that any battery in the state of being the battery to be returned has the associated battery, namely, after the battery in the vehicle is replaced, the battery associated with the user is replaced, so that the number of the batteries replaced in the vehicle is consistent with the number of the batteries replaced in the vehicle.
Optionally, in an implementation manner provided in the embodiment of the present invention, after the step of determining the request battery corresponding to the battery return request, the method further includes:
when the state of the request battery is to be used, the state of the request battery is converted into a warehouse.
It will be appreciated that the number of batteries that a user may pick up may be excessive when picking up the batteries, and thus the batteries remain after the replacement of the batteries of all the vehicles to be returned is completed, and thus the batteries that are picked up more than one may need to be returned.
Therefore, the embodiment of the invention is based on the implementation mode, so that after a user takes excessive number of batteries from a warehouse, the battery which is taken more can be returned at any time.
Optionally, in an implementation manner provided in the embodiment of the present invention, after S150, the method further includes:
and when the state of the request battery is to be returned and the battery associated with the request battery does not exist, sending a battery return prompt message to the terminal sending the battery return request so as to prompt the user sending the battery return request that the return operation is invalid.
Specifically, if the user takes the battery out of the vehicle to be replaced, but does not correspondingly replace the battery into the vehicle to be replaced, the battery requested to be returned by the user does not have the associated battery, so that the server determines that the battery returning operation is invalid at the time, and further sends a battery returning prompt message to the terminal of the user.
Under the implementation mode, the beneficial effects achieved by the embodiment of the invention are as follows: based on the battery return prompt information, a user can know errors occurring in the battery replacement operation process, and the battery replacement operation method is more humanized.
Optionally, in an implementation manner provided in the embodiment of the present invention, before S110, the method further includes:
binding a vehicle corresponding to the vehicle binding request with a user sending the vehicle binding request according to the vehicle binding request sent by the user through the terminal;
according to a battery replacement request sent by a user through a terminal, determining a vehicle to be replaced corresponding to the battery replacement request, including:
judging whether a vehicle corresponding to a battery replacement request is bound with a user who sends the battery replacement request or not according to the battery replacement request sent by the user through the terminal;
if yes, determining that the vehicle corresponding to the battery replacement request is the vehicle to be replaced.
It can be understood that this embodiment is aimed at a power exchange worker, which needs to determine in advance a vehicle to be exchanged for battery exchange, that is, send a vehicle binding request through a terminal, and bind the vehicle to be exchanged corresponding to the vehicle binding request with itself. After binding, the vehicle to be replaced can only be charged with battery replacement by the bound replacement staff.
It can be further understood that, after the preset time interval, the server sends information of the vehicle to be replaced to the terminals of the personnel for replacing the electric power, where the information of the vehicle to be replaced includes: the position and number of the vehicle with the battery power lower than the preset value, namely the position and number of the vehicle to be replaced.
Therefore, the user can receive the battery according to the bound vehicle to be replaced, and can only execute the battery replacement operation on the vehicle to be replaced bound with the user, so that the effective monitoring of the battery flow direction is ensured, and the safety of the battery is improved.
Corresponding to the battery usage method of the shared vehicle provided by the embodiment of the present invention, the embodiment of the present invention further provides a battery usage device of the shared vehicle, referring to fig. 3, fig. 3 shows a schematic structural diagram of the battery usage device of the shared vehicle provided by the embodiment of the present invention, where the battery usage device 200 of the shared vehicle provided by the embodiment of the present invention includes:
a first determining module 210, configured to determine, according to a battery replacement request sent by a user through a terminal, a vehicle to be replaced corresponding to the battery replacement request, and a first battery in the vehicle to be replaced, where a state of the first battery is in use;
an opening module 220 for transmitting a battery cover opening command to the vehicle to be replaced when there is at least one second battery to be used in a state associated with a user who transmits a battery replacement request;
the first conversion module 230 is configured to convert the state of the first battery into to-be-returned when determining that the battery in the vehicle to be powered-replaced is the second battery;
the second conversion module 240 is configured to respond to the battery qualification information sent by the vehicle to be replaced, convert the state of the battery in the vehicle to be replaced into in use, associate the battery in the vehicle to be replaced with the first battery, and release the association between the battery in the vehicle to be replaced and the user who sends the battery replacement request;
a second determining module 250, configured to determine a request battery corresponding to the battery return request according to the battery return request sent by the user through the terminal;
and the return module 260 is configured to, when the state of the request battery is to be returned and there is a battery associated with the request battery, transition the state of the request battery into a warehouse, and release the association of the request battery with the user who sends the battery return request.
Optionally, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
and the returning module is used for converting the state of the request battery into a warehouse when the state of the request battery is to be used.
Optionally, in an implementation manner provided by the embodiment of the present invention, the first conversion module 230 further includes:
the receiving sub-module is used for judging whether the battery in the vehicle to be replaced is a second battery according to the battery information when the battery information sent by the vehicle to be replaced is received;
and the state transition sub-module is used for converting the state of the first battery into to-be-returned if yes.
Optionally, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
the judging module is used for judging whether the states of all batteries associated with the user who sends the battery receiving request are to be used or not according to the battery receiving request sent by the user through the terminal;
and the receiving module is used for associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information according to the battery receiving information sent by the user sending the battery receiving request through the terminal if the receiving module is yes, and converting the states of all the receiving batteries from the warehouse to be used.
Optionally, in an implementation manner provided by the embodiment of the present invention, the receiving module further includes:
the quantity judging sub-module is used for judging whether the state associated with the user sending the battery receiving request is that the quantity of the batteries to be used is smaller than the preset quantity or not if yes;
and the receiving sub-module is used for associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information according to the battery receiving information sent by the user sending the battery receiving request through the terminal if the receiving sub-module is smaller than the receiving sub-module, and converting the states of all the receiving batteries from the warehouse to be used.
Optionally, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
and the prompting module is used for sending battery return prompting information to the terminal sending the battery return request so as to prompt the user who sends the battery return request to return invalid when the state of the request battery is to be returned and the battery associated with the request battery does not exist.
Optionally, in an implementation manner provided by the embodiment of the present invention, the apparatus further includes:
the binding module is used for binding the vehicle corresponding to the vehicle binding request with the user sending the vehicle binding request according to the vehicle binding request sent by the user through the terminal;
the first determination module 210 further includes:
the vehicle judging sub-module is used for judging whether the vehicle corresponding to the battery replacement request is bound with the user sending the battery replacement request according to the battery replacement request sent by the user through the terminal;
and the vehicle determining submodule is used for determining that the vehicle corresponding to the battery replacement request is the vehicle to be replaced if the vehicle is the vehicle to be replaced.
It can be understood that the technical solution of the battery usage device for a shared vehicle disclosed in the embodiment of the present invention is used to execute the battery usage method for a shared vehicle disclosed in the embodiment through the synergistic effect of each functional module, and the implementation and the beneficial effects related to the battery usage method for a shared vehicle are also applicable in the embodiment, and are not repeated herein.
The embodiment of the invention also provides a computer device comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs the method of using the battery of the shared vehicle as disclosed in the embodiment.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored thereon, which when run on a processor performs a method of battery usage of a shared vehicle as disclosed in the embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which 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, functional modules or units in various embodiments of the invention may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single 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 may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.
Claims (10)
1. A method of using a battery of a shared vehicle, applied to a server, the method comprising:
according to a battery replacement request sent by a user through a terminal, determining a vehicle to be replaced corresponding to the battery replacement request and a first battery in the vehicle to be replaced, wherein the state of the first battery is in use;
when at least one second battery which is associated with a user who sends the battery replacement request exists and is in a state of being used, sending a battery cover opening command to the vehicle to be replaced;
when the battery in the electric vehicle to be replaced is determined to be the second battery, converting the state of the first battery into a state to be returned;
responding to the battery qualification information sent by the vehicle to be replaced, converting the state of the battery in the vehicle to be replaced into the state of being used, associating the battery in the vehicle to be replaced with the first battery, and releasing the association between the battery in the vehicle to be replaced and a user sending the battery replacement request;
according to a battery return request sent by a user through a terminal, determining a request battery corresponding to the battery return request;
and when the state of the request battery is to be returned and the battery associated with the request battery exists, converting the state of the request battery into a warehouse, and releasing the association of the request battery and a user sending the battery return request.
2. The method of claim 1, wherein after the step of determining the corresponding request battery for battery return, the method further comprises:
and when the state of the request battery is to be used, converting the state of the request battery into a warehouse.
3. The method of claim 1, wherein the determining that the battery in the vehicle to be replaced is the second battery, the transitioning the state of the first battery to be returned comprises:
when the battery information sent by the vehicle to be replaced is received, judging whether the battery in the vehicle to be replaced is the second battery according to the battery information;
if yes, the state of the first battery is converted into a state to be returned.
4. The method according to claim 1, wherein the method further comprises:
judging whether the states of all batteries associated with a user who sends the battery receiving request are to be used or not according to the battery receiving request sent by the user through the terminal;
if so, according to the battery receiving information sent by the user sending the battery receiving request through the terminal, associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information, and converting the states of all the receiving batteries from a warehouse to be used.
5. The method according to claim 4, wherein if the user sends the battery receiving request through the terminal, associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information, and converting the status of all the receiving batteries from the warehouse to be used, comprises:
if yes, judging whether the state associated with the user sending the battery receiving request is that the number of the batteries to be used is smaller than the preset number;
and if the battery receiving request is smaller than the battery receiving request, according to the battery receiving information sent by the user sending the battery receiving request through the terminal, associating at least one receiving battery corresponding to the battery receiving information with the user sending the battery receiving information, and converting the states of all the receiving batteries from a warehouse to be used.
6. The method of claim 1, wherein after the step of determining the corresponding request battery for battery return, the method further comprises:
and when the state of the request battery is to be returned and the battery associated with the request battery does not exist, sending battery return prompt information to a terminal sending the battery return request so as to prompt that the user return operation sending the battery return request is invalid.
7. The method according to claim 1, wherein before the step of determining the vehicle to be replaced corresponding to the battery replacement request and the first battery in the vehicle to be replaced according to the battery replacement request sent by the user through the terminal, the method further comprises:
binding a vehicle corresponding to a vehicle binding request with a user sending the vehicle binding request according to the vehicle binding request sent by the user through a terminal;
the method for determining the vehicle to be replaced corresponding to the battery replacement request according to the battery replacement request sent by the user through the terminal comprises the following steps:
judging whether a vehicle corresponding to a battery replacement request is bound with a user who sends the battery replacement request or not according to the battery replacement request sent by the user through the terminal;
if so, determining that the vehicle corresponding to the battery replacement request is the vehicle to be replaced.
8. A battery usage device of a shared vehicle, applied to a server, the device comprising:
the first determining module is used for determining a vehicle to be replaced corresponding to a battery replacement request and a first battery in the vehicle to be replaced according to the battery replacement request sent by a user through the terminal, wherein the state of the first battery is in use;
an opening module for transmitting a battery cover opening command to the vehicle to be replaced when there is at least one second battery to be used in a state associated with a user who transmits the battery replacement request;
the first conversion module is used for converting the state of the first battery into to-be-returned when the battery in the vehicle to be replaced is determined to be the second battery;
the second conversion module is used for responding to the battery qualification information sent by the vehicle to be replaced, converting the state of the battery in the vehicle to be replaced into use, associating the battery in the vehicle to be replaced with the first battery, and releasing the association of the battery in the vehicle to be replaced with a user who sends the battery replacement request;
the second determining module is used for determining a request battery corresponding to the battery returning request according to the battery returning request sent by the user through the terminal;
and the return module is used for converting the state of the request battery into a warehouse when the state of the request battery is to be returned and the battery associated with the request battery exists, and releasing the association of the request battery and a user sending the battery return request.
9. A computer device comprising a memory and a processor, the memory storing a computer program that, when run on the processor, performs the method of battery use of a shared vehicle as claimed in any one of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when run on a processor, performs the battery usage method of a shared vehicle as claimed in any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110996224.2A CN113706080B (en) | 2021-08-27 | 2021-08-27 | Battery using method and device for shared vehicle and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110996224.2A CN113706080B (en) | 2021-08-27 | 2021-08-27 | Battery using method and device for shared vehicle and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113706080A CN113706080A (en) | 2021-11-26 |
CN113706080B true CN113706080B (en) | 2023-06-23 |
Family
ID=78656066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110996224.2A Active CN113706080B (en) | 2021-08-27 | 2021-08-27 | Battery using method and device for shared vehicle and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113706080B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013080211A1 (en) * | 2011-12-02 | 2013-06-06 | Better Place GmbH | Battery selection system and method |
CN110154997A (en) * | 2019-04-15 | 2019-08-23 | 深圳市高斯拓普科技有限公司 | A kind of battery change method, system and the server of shared electric vehicle |
WO2020019736A1 (en) * | 2018-07-26 | 2020-01-30 | 蔚来汽车有限公司 | Scheduling method for mobile battery swapping device, system, scheduling server, and apparatus |
CN111204316A (en) * | 2019-09-30 | 2020-05-29 | 上海钧正网络科技有限公司 | Vehicle battery replacement method and device, computer equipment and readable storage medium |
CN111231731A (en) * | 2019-12-31 | 2020-06-05 | 深圳一清创新科技有限公司 | Battery replacing method and device, computer equipment and storage medium |
CN113232548A (en) * | 2021-04-23 | 2021-08-10 | 深圳市智莱科技股份有限公司 | Offline power changing method and system of power changing cabinet, terminal and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11648845B2 (en) * | 2018-02-23 | 2023-05-16 | Panasonic Intellectual Property Management Co., Ltd. | Battery managing system, battery managing method, and terminal device |
-
2021
- 2021-08-27 CN CN202110996224.2A patent/CN113706080B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013080211A1 (en) * | 2011-12-02 | 2013-06-06 | Better Place GmbH | Battery selection system and method |
WO2020019736A1 (en) * | 2018-07-26 | 2020-01-30 | 蔚来汽车有限公司 | Scheduling method for mobile battery swapping device, system, scheduling server, and apparatus |
CN110154997A (en) * | 2019-04-15 | 2019-08-23 | 深圳市高斯拓普科技有限公司 | A kind of battery change method, system and the server of shared electric vehicle |
CN111204316A (en) * | 2019-09-30 | 2020-05-29 | 上海钧正网络科技有限公司 | Vehicle battery replacement method and device, computer equipment and readable storage medium |
CN111231731A (en) * | 2019-12-31 | 2020-06-05 | 深圳一清创新科技有限公司 | Battery replacing method and device, computer equipment and storage medium |
CN113232548A (en) * | 2021-04-23 | 2021-08-10 | 深圳市智莱科技股份有限公司 | Offline power changing method and system of power changing cabinet, terminal and storage medium |
Non-Patent Citations (2)
Title |
---|
基于大数据的共享电动汽车智能化管理模块研究――以车辆租赁模块为例;于瑞;;科学技术创新(26);全文 * |
换电式纯电动汽车运营模式及收费方案研究;侯国强;;节能(04);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113706080A (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109976314B (en) | Method and system for inquiring fault code maintenance case | |
CN109606151B (en) | Automatic charging method and system based on cloud optimization scheduling | |
CN115796319A (en) | Charging pile reservation method, device, equipment and computer readable storage medium | |
CN113706080B (en) | Battery using method and device for shared vehicle and computer equipment | |
CN113793450B (en) | Shared battery replacing method and device, electronic equipment and storage medium | |
CN105635241A (en) | Method, system and computer-readable recording medium for managing abnormal state of vehicle | |
CN113459854B (en) | Charging fault processing method, device and equipment | |
CN116069751A (en) | Information processing method, apparatus, device and computer readable storage medium | |
EP4375681A1 (en) | Voltage filtering method for detecting point in circuit, switch state detecting method, and related apparatus | |
CN114415646B (en) | Remote vehicle diagnosis method, system and terminal equipment based on DoIP protocol | |
CN103856537A (en) | Method, platform and system for obtaining operation state of application program on terminal | |
CN106301708A (en) | Processing method and processing device when a kind of information sends unsuccessfully | |
CN115042664A (en) | Automobile power battery monitoring method and device | |
CN105577740B (en) | A kind of sending method and device of car status information | |
CN112498337B (en) | Vehicle safety management method, device, system and storage medium | |
CN114967642A (en) | Vehicle fault grading processing method, device, equipment and readable storage medium | |
CN113783766B (en) | Data processing method, device and storage medium | |
CN111178562B (en) | Information processing method, apparatus, device and computer readable storage medium | |
CN113762545A (en) | Information pushing method and device, electronic equipment and storage medium | |
CN113316190A (en) | Wisdom cloud box and system | |
CN113470367A (en) | Parking detection method and device based on multiple identification devices | |
CN113516345A (en) | Vehicle fault processing method and device and storage medium | |
CN110621445A (en) | Predictive testing of power hand tools | |
KR101075549B1 (en) | Security system and method to verify security system | |
CN114520820B (en) | Method and device for identifying charging pile type, server and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Room 101 (201) -6, Building 5, Building 6 and 7, Kexin Building, Shounan Street, Yinzhou District, Ningbo City, Zhejiang Province, 315100 Patentee 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 Patentee before: NINGBO LIUBIKE INFORMATION TECHNOLOGY Co.,Ltd. |