CN111942210B - Battery compartment unlocking method, system, device, equipment and storage medium - Google Patents

Battery compartment unlocking method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN111942210B
CN111942210B CN202010695580.6A CN202010695580A CN111942210B CN 111942210 B CN111942210 B CN 111942210B CN 202010695580 A CN202010695580 A CN 202010695580A CN 111942210 B CN111942210 B CN 111942210B
Authority
CN
China
Prior art keywords
battery
value
flag bit
battery replacement
detector
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
Application number
CN202010695580.6A
Other languages
Chinese (zh)
Other versions
CN111942210A (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.)
Xiamen Qiwen Technology Co.,Ltd.
Beijing Qisheng Technology Co Ltd
Hangzhou Qingqi Science and Technology Co Ltd
Original Assignee
Beijing Qisheng 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 Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN202010695580.6A priority Critical patent/CN111942210B/en
Publication of CN111942210A publication Critical patent/CN111942210A/en
Application granted granted Critical
Publication of CN111942210B publication Critical patent/CN111942210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/80Exchanging energy storage elements, e.g. removable batteries
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2200/00Type of vehicles
    • B60L2200/46Vehicles with auxiliary ad-on propulsions, e.g. add-on electric motor kits for bicycles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors

Abstract

The embodiment of the disclosure relates to a battery compartment unlocking method, a battery compartment unlocking device, equipment and a storage medium. The method comprises the following steps: receiving a Bluetooth information packet sent by a sharing device; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit; if the battery replacement flag bit indicates that battery replacement is required, sending a battery replacement request including the equipment identifier to a server; and the battery swapping request is used for indicating the server to issue a battery compartment opening instruction to the sharing equipment corresponding to the equipment identifier. By adopting the method, the replacement efficiency of the battery of the sharing equipment can be improved.

Description

Battery compartment unlocking method, system, device, equipment and storage medium
Technical Field
The disclosed embodiments relate to the technical field of shared devices, and in particular, to a battery compartment unlocking method, system, device, and storage medium.
Background
Along with the development of sharing economy, sharing electric bicycle has greatly made things convenient for people's daily life as a neotype shared vehicle, but electric bicycle relies on the battery drive to travel, in order to ensure electric bicycle's normal use function, needs the fortune dimension personnel to carry out regularly change to the battery.
In the traditional technology, mainly, an operation and maintenance person finds an electric bicycle of which the battery needs to be replaced, then the battery compartment of the electric bicycle is opened through specific application authorization, then the battery is replaced, and the battery compartment of the electric bicycle is closed after replacement.
However, the conventional method for replacing the battery of the electric bicycle has the problem of low battery replacement efficiency.
Disclosure of Invention
The embodiment of the disclosure provides a battery compartment unlocking method, a battery compartment unlocking system, a battery compartment unlocking device, equipment and a storage medium, which can be used for improving the battery replacement efficiency of shared equipment.
In a first aspect, an embodiment of the present disclosure provides a battery compartment unlocking method, where the method includes:
receiving a Bluetooth information packet sent by a sharing device; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit;
if the battery replacement flag bit indicates that battery replacement is required, sending a battery replacement request including the equipment identifier to a server; and the battery swapping request is used for indicating the server to issue a battery compartment opening instruction to the sharing equipment corresponding to the equipment identifier.
In a second aspect, an embodiment of the present disclosure provides a battery compartment unlocking method, where the method includes:
receiving a power change request which is sent by a detector and carries the equipment identifier of the shared equipment; the battery replacement request is generated by the detector according to a battery replacement flag bit in a Bluetooth information packet broadcasted by the sharing device;
and issuing a battery compartment opening instruction to the sharing equipment corresponding to the equipment identification.
In a third aspect, an embodiment of the present disclosure provides a battery compartment unlocking method, where the method includes:
receiving a battery compartment opening instruction issued by a server; the battery compartment opening instruction is generated by the server according to a battery replacement request sent by the detector; the battery replacement request is generated by the detector according to a battery replacement flag bit of the shared device;
opening the battery compartment according to the battery compartment opening instruction, and outputting prompt information; the prompt message is used for prompting that the battery of the sharing device needs to be replaced.
In a fourth aspect, an embodiment of the present disclosure provides a battery compartment unlocking system, where the system includes a detector, a server, and a sharing device; the server is in communication connection with the detector and the sharing device respectively;
the detector is used for executing the battery compartment unlocking method of the first aspect;
the server is used for executing the battery compartment unlocking method of the second aspect;
the sharing device is configured to execute the battery compartment unlocking method according to the third aspect.
In a fifth aspect, an embodiment of the present disclosure provides a battery compartment unlocking device, where the device includes:
the first receiving module is used for receiving the Bluetooth information packet sent by the sharing equipment; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit;
the sending module is used for sending a battery replacement request comprising the equipment identifier to a server if the battery replacement flag bit indicates that battery replacement is required; and the battery swapping request is used for indicating the server to issue a battery compartment opening instruction to the sharing equipment corresponding to the equipment identifier.
In a sixth aspect, an embodiment of the present disclosure provides a battery compartment unlocking device, where the device includes:
the receiving module is used for receiving a power swapping request which is sent by the detector and carries the equipment identifier of the shared equipment; the battery replacement request is generated by the detector according to a battery replacement flag bit in a Bluetooth information packet broadcasted by the sharing device;
and the issuing module is used for issuing a battery compartment opening instruction to the sharing equipment corresponding to the equipment identifier.
In a seventh aspect, an embodiment of the present disclosure provides a battery compartment unlocking device, where the device includes:
the receiving module is used for receiving a battery compartment opening instruction issued by the server; the battery compartment opening instruction is generated by the server according to a battery replacement request sent by the detector; the battery replacement request is generated by the detector according to a battery replacement flag bit of the shared device;
the starting module is used for starting the battery compartment according to the battery compartment starting instruction and outputting prompt information; the prompt message is used for prompting that the battery of the sharing device needs to be replaced.
In an eighth aspect, an embodiment of the present disclosure provides a probe, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method of the first aspect.
In a ninth aspect, an embodiment of the present disclosure provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method of the second aspect when executing the computer program.
In a tenth aspect, an embodiment of the present disclosure provides a sharing device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method according to the third aspect when executing the computer program.
In an eleventh aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the methods of the first, second and third aspects.
The battery compartment unlocking method, system, apparatus, device and storage medium provided by the embodiments of the present disclosure, a detector receives a bluetooth packet sent by a sharing device, where the bluetooth packet sent by the sharing device received by the detector includes a device identifier of the sharing device and a battery swapping flag bit, if the battery swapping flag bit included in the bluetooth packet received by the detector indicates that battery swapping is required, the detector sends a battery swapping request including the device identifier of the sharing device to a server, the server is instructed to issue a battery compartment opening instruction to the sharing device corresponding to the device identifier, the detector can effectively determine whether the sharing device needs to swap batteries through the battery swapping flag bit in the bluetooth packet, so as to improve efficiency of determining whether the sharing device needs to swap batteries, and when it is determined that the sharing device needs to swap batteries according to the battery swapping flag bit, the battery replacing request is sent to the server, the server controls the sharing equipment to automatically open the battery compartment through the instruction, maintenance personnel do not need to search for the sharing equipment needing to replace the battery, the maintenance personnel do not need to manually open the battery compartment, and therefore the efficiency of replacing the battery of the sharing equipment is improved.
Drawings
FIG. 1 is a diagram of an application environment for a battery compartment unlocking method in one embodiment;
FIG. 2 is a schematic flow chart diagram of a battery compartment unlocking method in one embodiment;
FIG. 3 is a schematic flow chart of a battery compartment unlocking method in another embodiment;
FIG. 4 is a schematic flow chart of a battery compartment unlocking method in another embodiment;
FIG. 5 is a schematic flow chart diagram illustrating a method for unlocking a battery compartment in one embodiment;
FIG. 6 is a schematic flow chart diagram illustrating a method for unlocking a battery compartment in one embodiment;
FIG. 7 is a schematic flow chart of a battery compartment unlocking method in another embodiment;
FIG. 8 is a schematic flow chart diagram illustrating a method for unlocking a battery compartment in one embodiment;
FIG. 9 is a schematic diagram of a battery compartment unlocking system in one embodiment;
FIG. 10 is a block diagram showing the structure of a battery compartment unlocking means in one embodiment;
fig. 11 is a block diagram showing the construction of a battery compartment unlocking means in another embodiment;
fig. 12 is a block diagram showing the construction of a battery compartment unlocking means in another embodiment;
FIG. 13 is a block diagram showing the structure of a battery compartment unlocking means in one embodiment;
fig. 14 is a block diagram showing the construction of a battery compartment unlocking means in another embodiment;
FIG. 15 is a block diagram showing the structure of a battery compartment unlocking means in one embodiment;
fig. 16 is a block diagram showing the construction of a battery compartment unlocking means in another embodiment;
fig. 17 is a block diagram showing the construction of a battery compartment unlocking means in another embodiment;
fig. 18 is a block diagram showing the construction of a battery compartment unlocking means in another embodiment;
FIG. 19 is an internal block diagram of a probe in one embodiment;
fig. 20 is an internal configuration diagram of a server in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the embodiments of the present disclosure are described in further detail below with reference to the accompanying drawings and the embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the disclosure and that no limitation to the embodiments of the disclosure is intended.
First, before specifically describing the technical solution of the embodiment of the present disclosure, a technical background or a technical evolution context on which the embodiment of the present disclosure is based is described. In general, in the field of shared devices, a battery of a shared device needs to be replaced regularly by an operation and maintenance person to ensure normal use of the shared device, and the current technical background is as follows: the method includes the steps that the batteries of the sharing equipment are replaced point to point through operation and maintenance personnel, namely the sharing equipment needing to be replaced is found through the operation and maintenance personnel, then the batteries are replaced after the batteries of the sharing equipment are opened through specific application authorization, and the batteries of the sharing equipment are closed after the batteries are replaced. Based on the background, the applicant finds that the utilization rate of the sharing device by the user is low if the battery replacement efficiency of the sharing device is low through long-term experimental data collection, demonstration and verification. How to improve the battery replacement efficiency of the sharing device under the requirement of higher utilization rate of the sharing device becomes a difficult problem to be solved urgently at present. In addition, it should be noted that, from the problem of determining that the battery replacement efficiency of the shared device is low and the technical solutions described in the following embodiments, the applicant has paid a lot of creative efforts.
The following describes technical solutions related to the embodiments of the present disclosure with reference to a scenario in which the embodiments of the present disclosure are applied.
The battery compartment unlocking method provided by the embodiment of the disclosure can be applied to a system architecture as shown in fig. 1. The system architecture includes a sharing device 101, a probe 102, and a server 103. The sharing device 101 may be a non-motorized vehicle such as a pedal bicycle, an electric bicycle, a scooter, or a motorcycle, or a motorized vehicle such as an automobile; the detector 102 may be an electronic device such as a mobile phone, a tablet computer, an IPAD, or the like; the server 103 may be an independent server or a server cluster composed of a plurality of servers. The sharing device 101 is provided with a communication component, which can communicate with the probe 102 or the server 103 in a wireless manner, for example, the server 103 can send an unlocking instruction or the like to the sharing device according to an unlocking operation of a user. In addition, the communication between the detector 102 and the server 103 can be performed in a wireless or wired manner. The communication method among the sharing device 101, the detector 102, and the server 103 is not limited in the embodiment of the present disclosure.
In one embodiment, as shown in fig. 2, a battery compartment unlocking method is provided, which is described by taking the example of the method applied to the detector in fig. 1, and includes the following steps:
s201, receiving a Bluetooth information packet sent by a sharing device; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit.
The device identifier of the sharing device may be an Identity Document (ID) that can be used as a unique identifier of the sharing device, or may be in other self-defined data formats, and is used to distinguish other sharing devices, as long as the server can issue the instruction to the sharing device through the device identifier. The battery replacement flag bit of the sharing device is in a user-defined data format and is used as an identifier for identifying whether the battery of the sharing device needs to be replaced, and optionally, the value of the battery replacement flag bit of the sharing device may be actively issued to the sharing device by the server or determined by the sharing device itself.
Specifically, the detector receives a bluetooth packet sent by the sharing device. The Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit. Optionally, the sharing device may broadcast the bluetooth packet at a certain fixed frequency in a bluetooth broadcast manner, and the detector receives the bluetooth packet broadcast by the sharing device through a bluetooth channel between the detector and the sharing device. Optionally, the sharing device may also directionally send the bluetooth packet to the probe, and in the embodiment of the present disclosure, the manner in which the sharing device sends the bluetooth packet to the probe is not limited. Optionally, the sharing device may be any one of a sharing bicycle, a sharing automobile, a sharing unmanned aerial vehicle, a sharing ship, and a sharing glider. Optionally, the detector may be any one of mobile intelligent devices, where the hardware of the detector includes a Central Processing Unit (CPU), a memory, a bluetooth module, a network module, and a scan switch, an operating system of the detector may be, but is not limited to, Linux, real-time operating system (RTOS), Android, and other systems that can be used for the mobile device, the bluetooth module of the detector is used to scan and process broadcast information of peripheral bluetooth devices, the network module of the detector is used to communicate with the server, and the scan switch of the detector is used to turn on or turn off a scan mode of the detector.
S202, if the battery swapping flag bit indicates that battery swapping is needed, sending a battery swapping request comprising an equipment identifier to a server; and the battery swapping request is used for indicating the server to issue a battery bin opening instruction to the shared equipment corresponding to the equipment identifier.
Specifically, if a battery replacement flag bit in a bluetooth information packet sent by a shared device indicates that battery replacement is required, a detector sends a battery replacement request including a device identifier of the shared device to a server; and the battery swapping request is used for indicating the server to issue a battery bin opening instruction to the shared device corresponding to the device identifier included in the battery swapping request. Exemplarily, it is assumed that a battery swapping flag of a shared device includes two types of values, 1 and 0, where 1 indicates that battery swapping is needed, and 0 indicates that battery swapping is not needed, and if the battery swapping flag in a bluetooth information packet received by a detector is 1, it indicates that the shared device corresponding to the bluetooth information packet needs to swap, and then the detector sends a battery swapping request including a device identifier of the shared device that needs to swap to a server. Optionally, the detector may be connected to the server through a network, and the detector may send a power swapping request including a device identifier of a shared device that needs power swapping to the server through a network channel with the server. Optionally, the server may issue the battery compartment opening instruction to the sharing device corresponding to the device identifier through a communication channel between the server and the sharing device. Optionally, the server may respectively issue a battery compartment opening instruction to each shared device that needs to swap batteries, or may issue a battery compartment opening instruction to a shared device that needs to swap batteries in a broadcast manner, which is not limited in the embodiment of the present disclosure.
In the battery compartment unlocking method, the detector receives a Bluetooth information packet sent by the sharing device, wherein the Bluetooth information packet sent by the sharing device and received by the detector comprises a device identifier and a battery replacement flag bit of the sharing device, if the battery replacement flag bit in the Bluetooth information packet received by the detector indicates that battery replacement is required, the detector sends a battery replacement request comprising the device identifier of the sharing device to the server, the server is instructed to send a battery compartment opening instruction to the sharing device corresponding to the device identifier, the detector can effectively judge whether the sharing device needs battery replacement through the battery replacement flag bit in the Bluetooth information packet, the efficiency of determining whether the sharing device needs battery replacement is improved, and when the sharing device needs battery replacement according to the battery replacement flag bit, the battery replacement request is sent to the server, and the server controls the sharing device to automatically open the battery compartment through the instruction, maintenance personnel are not required to find the sharing equipment needing to replace the battery, and the maintenance personnel are not required to manually open the battery bin, so that the efficiency of replacing the sharing equipment battery is improved.
In some scenarios, the server may also verify the validity of the identity of the detector that sent the power swapping request. In one embodiment, the power swapping request further includes a communication authentication code of the detector; the communication authentication code is used for indicating the server to verify whether the identity of the detector is legal or not through the communication authentication code.
Specifically, the power swapping request sent by the detector to the server also comprises a communication authentication code of the detector; the communication authentication code is used for indicating the server to verify whether the identity of the detector is legal or not through the communication authentication code. Optionally, the server may pre-establish a correspondence between the communication authentication code of the detector and the identity validity of the detector, and after receiving the battery swapping request sent by the detector, the server verifies whether the identity of the detector sending the battery swapping request is valid according to the pre-established correspondence through the communication authentication code included in the received battery swapping request. Optionally, the communication authentication code of the detector may be 0 or 1, and in this case, the correspondence between the communication authentication code of the detector and the identity validity of the detector, which is pre-established by the server, may be: if the communication authentication code of the detector is 1, it indicates that the identity of the detector is legal, and if the communication authentication code of the detector is 0, it indicates that the identity of the detector is illegal, for example, if the communication authentication code included in the battery swapping request received by the server is 1, the server confirms that the identity of the detector sending the battery swapping request is legal. Optionally, the communication authentication code of the detector may be an identity of the detector, and in this case, the correspondence between the communication authentication code of the detector and the identity validity of the detector, which is pre-established by the server, may be: if the communication authentication code of the detector is within the preset communication authentication code range, the server confirms that the identity of the detector sending the power swapping request is legal, for example, if the preset communication authentication code range is 70-90, and if the communication authentication code of the detector included in the power swapping request received by the server is 85, the server confirms that the identity of the detector sending the power swapping request is legal.
In this embodiment, the power swapping request sent by the detector to the server further includes a communication authentication code of the detector, and the communication authentication code can indicate the server to verify whether the identity of the detector is legal through the communication authentication code, so that it is ensured that the server is a battery compartment opening instruction issued according to the power swapping request sent by the legal detector, and the accuracy and reliability of the battery compartment opening instruction issued by the server are further improved.
In the foregoing scenario that the battery swap flag of the shared device indicates that battery swap is required, in an embodiment, if the value of the battery swap flag bit is the first value, the battery swap flag bit indicates that battery swap is required; and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required.
Specifically, if the value of the battery swapping flag bit of the shared device is a first value, the battery swapping flag bit indicates that the shared device needs to swap batteries; and if the value of the battery replacement flag bit of the shared device is a second value, the battery replacement flag indicates that the shared device does not need to replace the battery. For example, the first value may be 1, the second value may be 0, if the battery swap flag bit of the shared device received by the detector is 1, the battery swap flag bit indicates that the shared device needs to swap battery, and if the battery swap flag bit of the shared device received by the detector is 0, the battery swap flag indicates that the shared device does not need to swap battery. Optionally, the value of the battery replacement flag of the sharing device is determined by the sharing device according to the current remaining power of the battery.
Optionally, in this embodiment, the value of the battery replacement flag of the sharing device may be determined by the sharing device according to the current remaining power of the battery and a preset power threshold, or may be determined by the sharing device according to a preset ratio and a ratio between the current remaining power of the battery and the total capacity of the battery, and the following detailed description describes a specific implementation manner that the two methods are adopted:
the first method comprises the following steps: if the value of the battery swapping flag bit of the sharing device is determined by the sharing device according to the current remaining power of the battery and the preset power threshold, the determining of the value of the battery swapping flag bit by the sharing device according to the current remaining power of the battery includes:
and step A, if the current residual electric quantity of the battery is smaller than a preset electric quantity threshold value, the value of the battery replacement flag bit is a first value.
Specifically, if the current remaining power of the battery of the sharing device is smaller than the preset power threshold, the value of the battery replacement flag is the first value. For example, if the preset power threshold is 5 degrees, the current remaining power of the battery of the sharing device is 2 degrees, and the current remaining power of the battery of the sharing device is smaller than the preset power threshold, the sharing device determines that the value of the battery replacement flag is the first value.
And step B, if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is a second value.
Specifically, if the current remaining power of the shared device battery is greater than or equal to the preset power threshold, the value of the battery replacement flag is the second value. Illustratively, continuing to describe with the preset power threshold as 5 degrees as an example, if the current remaining power of the battery of the sharing device is 8 degrees and the current remaining power of the battery of the sharing device is greater than the preset power threshold, the sharing device determines that the value of the battery replacement flag is the second value.
And the second method comprises the following steps: if the value of the battery replacement flag bit of the sharing device is determined by the sharing device according to the preset ratio and the ratio of the current residual capacity of the battery to the total capacity of the battery, the value of the battery replacement flag bit is determined by the sharing device according to the current residual capacity of the battery, and the method includes:
and step C, if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is a first value.
Specifically, if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is smaller than the preset ratio, the value of the battery replacement flag of the sharing device is the first value. Illustratively, the preset ratio is 2/5, and if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is 1/5 and the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is smaller than the preset ratio, the sharing device determines that the value of the battery swap flag is the first value.
And D, if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to a preset ratio, the value of the battery replacement flag bit is a second value.
Specifically, if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is greater than or equal to the preset ratio, the value of the battery replacement flag of the sharing device is the second value. Illustratively, continuing to take the preset ratio of 2/5 as an example, if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is 4/5, and the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is greater than the preset ratio, the sharing device determines that the value of the battery replacement flag is the second value.
In this embodiment, if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required, and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required, the sharing device sends the bluetooth packet including the battery replacement flag bit to the detector, so that whether the sharing device sending the bluetooth packet needs to replace battery can be quickly and accurately determined by the detector, and then the detector can quickly and accurately send a battery replacement request including a device identifier of the sharing device to the server according to the indication of the battery replacement flag bit, and instruct the server to issue a battery compartment opening instruction to the sharing device corresponding to the device identifier, thereby improving accuracy and efficiency of opening a battery compartment of the sharing device.
In the scene that the detector receives the Bluetooth information packet sent by the sharing device, the detector can receive the Bluetooth information packet sent by the sharing device after starting the scanning mode. In one embodiment, as shown in fig. 3, the method further comprises:
s301, receiving a starting instruction triggered by a scanning switch on the detector by a user.
Specifically, the detector receives an on command triggered by a user through a scan switch on the detector. Optionally, the scan switch may be a push button switch or a toggle switch. Illustratively, when the scanning switch is a button switch, the opening instruction is triggered when the user presses the scanning switch on the detector; when the scanning switch is a wave switch, the opening instruction is triggered when the scanning switch on the detector is turned by a user.
And S302, controlling the detector to start a scanning mode according to the starting instruction.
Specifically, the detector controls the detector to start the scanning mode according to a starting instruction triggered by a user through the scanning switch. The above S201 includes: and in the scanning mode, receiving a Bluetooth information packet sent by the sharing device. It can be understood that, when the scanning mode is started by the detector, the detector will scan the surrounding shared devices and receive the bluetooth information packet sent by the shared devices, and then when the battery replacement flag bit included in the bluetooth information packet indicates that battery replacement is required, a battery replacement request including the device identifier of the shared devices is sent to the server, so that the detector can start all battery replacement flag bits within the bluetooth coverage of the detector as the battery compartment of the shared devices requiring battery replacement, and along with the movement of the detector, the battery replacement flag bit on the moving route of the detector can be started as the battery compartment of the shared devices requiring battery replacement. And when the scanning mode of the detector is not started, the detector cannot receive the Bluetooth information packet sent by the sharing equipment, and the battery bin of the sharing equipment cannot be started.
In this embodiment, the detector can receive the start instruction that the user triggered through the scanning switch on the detector, and then opens scanning mode according to opening instruction control detector, can make the detector just receive the bluetooth information package that shared device sent under scanning mode like this, when scanning mode is not opened, the bluetooth information package that shared device sent will not be received to the detector, can reduce the consumption of detector like this, only just scan when scanning mode of detector is opened, resources are saved, the wasting of resources has been avoided.
In the scene that the detector controls the detector to start the scanning mode according to the starting instruction, the detector needs to perform safety authentication on the identity of the user, and the detector is controlled to start the scanning mode according to the starting instruction under the condition that the authentication is successful. In one embodiment, as shown in fig. 4, the method further includes:
s401, obtaining the identity authentication information of the user.
Specifically, the detector obtains authentication information of the user. Optionally, the authentication information of the user includes an authentication password and/or biometric information of the user. Optionally, in the case that the authentication information of the user is an authentication password, the detector may obtain the authentication information of the user through a touch screen thereof; under the condition that the identity authentication information of the user is the biological characteristic information of the user, the detector can acquire the identity authentication information of the user through a camera of the detector.
S402, performing security authentication on the identity of the user according to the identity authentication information.
Specifically, the detector performs security authentication on the identity of the user according to the acquired identity authentication information of the user, and if the authentication is successful, the step of controlling the detector to start the scanning mode according to the start instruction is executed. Optionally, the detector may compare the acquired authentication information of the user with the authentication information of the user in the preset database, so as to perform security authentication on the authentication information of the user. For example, taking the authentication information of the user as the authentication password, the detector may compare the received authentication password with the password stored in the preset database, and if the authentication password is consistent, the authentication is successful, and if the authentication password is inconsistent, the authentication is unsuccessful.
In this embodiment, the detector obtains the authentication information of the user, and performs security authentication on the identity of the user according to the authentication information of the user, thereby ensuring the validity of the identity of the user triggering the start instruction of the detector, ensuring that even if the detector is lost or stolen, the scan mode of the detector cannot be triggered by an illegal user through a scan switch on the detector to start the scan mode of the detector, and further ensuring that the battery compartment of the sharing device cannot be illegally started.
In one embodiment, as shown in fig. 5, a battery compartment unlocking method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
s501, receiving a power swapping request which is sent by a detector and carries the equipment identifier of the shared equipment; the battery replacement request is generated by the detector according to a battery replacement flag bit in a Bluetooth information packet broadcasted by the sharing device.
Specifically, the server receives a power swapping request which is sent by the detector and carries the device identifier of the shared device. The battery replacement request is generated by the detector according to a battery replacement identification bit in a Bluetooth information packet broadcasted by the sharing device. Exemplarily, assuming that the battery swapping flag bit of the shared device includes two types of values, 1 and 0, where 1 indicates that battery swapping is needed, and 0 indicates that battery swapping is not needed, if the battery swapping flag bit in the bluetooth information packet received by the detector is 1, it indicates that the shared device corresponding to the bluetooth information packet needs to swap battery, and then the detector generates the battery swapping request according to the battery swapping flag bit, and sends the generated battery swapping request to the server. Optionally, the detector may be connected to the server through a network, and the detector may send a power swapping request carrying a device identifier of the shared device that needs power swapping to the server through a network channel with the server.
And S502, issuing a battery bin opening instruction to the sharing equipment corresponding to the equipment identifier.
Specifically, the server issues a battery compartment opening instruction to the shared device corresponding to the device identifier of the shared device carried in the battery swapping request. Optionally, the server may issue the battery compartment opening instruction to the sharing device corresponding to the device identifier through a communication channel between the server and the sharing device. Optionally, the server may respectively issue a battery compartment opening instruction to each shared device that needs to be powered, or may issue a battery compartment opening instruction to a shared device that needs to be powered in a broadcast manner, which is not limited in the embodiment of the present disclosure.
In the battery compartment unlocking method, the server receives a battery replacement request which is sent by the detector and carries the equipment identifier of the shared equipment, then a battery compartment opening instruction is issued to the shared equipment corresponding to the equipment identifier carried in the battery replacement request, because the battery replacement request is generated by the detector according to the battery replacement flag bit in the Bluetooth information packet broadcasted by the shared equipment, the detector can quickly and effectively judge whether the shared equipment needs to replace the battery through the battery replacement flag bit in the Bluetooth information packet, the efficiency of determining whether the shared equipment needs to replace the battery is improved, the efficiency of generating the battery replacement request by the detector according to the battery replacement flag bit is further improved, thus the server can timely receive the battery replacement request of the equipment identifier carrying the shared equipment and timely issue the battery compartment opening instruction to the shared equipment corresponding to the equipment identifier carried in the battery replacement request, and further, the efficiency of replacing the shared equipment battery is improved.
In some scenarios, the power swapping request sent by the detector to the server further includes a communication authentication code of the detector, and the server can verify the identity validity of the detector sending the power swapping request according to the communication authentication code of the detector. In one embodiment, the power swapping request further includes a communication authentication code of the detector; the method further comprises the following steps: and verifying whether the identity of the detector is legal or not through the communication authentication code.
Specifically, the power swapping request sent by the detector to the server further includes a communication authentication code of the detector, and the server verifies whether the identity of the detector is legal or not through the communication authentication code. Optionally, the server may pre-establish a correspondence between the communication authentication code of the detector and the identity validity of the detector, and after receiving the battery swapping request sent by the detector, the server verifies whether the identity of the detector sending the battery swapping request is valid according to the pre-established correspondence through the communication authentication code included in the received battery swapping request. Optionally, the communication authentication code of the detector may be 0 or 1, and in this case, the correspondence between the communication authentication code of the detector and the identity validity of the detector, which is pre-established by the server, may be: if the communication authentication code of the detector is 1, it indicates that the identity of the detector is legal, and if the communication authentication code of the detector is 0, it indicates that the identity of the detector is illegal, for example, if the communication authentication code included in the battery swapping request received by the server is 1, the server confirms that the identity of the detector sending the battery swapping request is legal. Optionally, the communication authentication code of the detector may be an identity of the detector, and in this case, the correspondence between the communication authentication code of the detector and the identity validity of the detector, which is pre-established by the server, may be: if the communication authentication code of the detector is within the preset communication authentication code range, the server confirms that the identity of the detector sending the power swapping request is legal, for example, if the preset communication authentication code range is 70-90, and if the communication authentication code of the detector included in the power swapping request received by the server is 85, the server confirms that the identity of the detector sending the power swapping request is legal.
In this embodiment, the power change request sent by the detector and received by the server further includes the communication authentication code of the detector, so that the server can verify whether the identity of the detector is legal through the communication authentication code, thereby ensuring that the server is a battery compartment opening instruction issued according to the power change request sent by the legal detector, and further improving the accuracy of the battery compartment opening instruction issued by the server.
In the foregoing scenario that the battery swap flag of the shared device indicates that battery swap is required, in an embodiment, if the value of the battery swap flag bit is the first value, the battery swap flag bit indicates that battery swap is required; and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required.
Specifically, if the value of the battery swapping flag bit of the shared device is a first value, the battery swapping flag bit indicates that the shared device needs to swap batteries; and if the value of the battery replacement flag bit of the shared device is a second value, the battery replacement flag indicates that the shared device does not need to replace the battery. For example, the first value may be 1, the second value may be 0, if the battery swap flag bit of the shared device received by the detector is 1, the battery swap flag bit indicates that the shared device needs to swap battery, and if the battery swap flag bit of the shared device received by the detector is 0, the battery swap flag indicates that the shared device does not need to swap battery.
Optionally, in this embodiment, the value of the battery replacement flag of the sharing device may be determined by the sharing device according to the current remaining power of the battery and a preset power threshold, or may be determined by the sharing device according to a ratio between the current remaining power of the battery and the total capacity of the battery and a preset ratio.
In this embodiment, if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required, and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required, the sharing device sends a bluetooth packet including the battery replacement flag bit to the detector, and the detector can quickly and accurately determine whether the sharing device sending the bluetooth packet needs to replace battery according to the battery replacement flag bit, so that the detector can quickly and accurately send a battery replacement request including a device identifier of the sharing device to the server according to the indication of the battery replacement flag bit, and instruct the server to issue a battery compartment opening instruction to the sharing device corresponding to the device identifier, thereby improving accuracy and efficiency of opening a battery compartment of the sharing device.
In one embodiment, as shown in fig. 6, a battery compartment unlocking method is provided, which is described by taking the method as an example for being applied to the sharing device in fig. 1, and includes the following steps:
s601, receiving a battery compartment opening instruction issued by a server; the battery compartment opening instruction is generated by the server according to the battery replacement request sent by the detector; the battery replacement request is generated by the detector according to the battery replacement flag bit of the shared device.
Specifically, the sharing device receives a battery compartment opening instruction issued by the server. The battery bin opening instruction is generated by the server according to a battery replacement request sent by the detector; the battery replacement request is generated by the detector according to the battery replacement flag bit of the shared device. Optionally, the sharing device may receive a battery compartment opening instruction issued by the server through a communication channel with the server. Optionally, the battery compartment opening instruction issued by the server may be issued by the server to each sharing device requiring battery replacement, or may be issued by the server to the sharing device requiring battery replacement in a broadcast manner. Optionally, in this embodiment, if the value of the battery swap flag bit of the shared device is the first value, the battery swap flag bit indicates that the shared device needs to swap batteries; and if the value of the battery replacement flag bit of the shared device is a second value, the battery replacement flag indicates that the shared device does not need to replace the battery. For example, the first value may be 1, the second value may be 0, if the battery swap flag bit of the shared device received by the detector is 1, the battery swap flag bit indicates that the shared device needs to swap battery, and if the battery swap flag bit of the shared device received by the detector is 0, the battery swap flag indicates that the shared device does not need to swap battery.
S602, opening the battery compartment according to the battery compartment opening instruction, and outputting prompt information; the prompting message is used for prompting that the battery of the sharing equipment needs to be replaced.
Specifically, the sharing device starts a battery compartment of the sharing device according to a battery compartment starting instruction issued by the server, and outputs prompt information; wherein, the prompt message is used for prompting that the shared battery needs to be replaced. Optionally, the prompt message may include a light message and/or an audio message. It can be understood that the prompt information output by the sharing device enables the operation and maintenance personnel to quickly find the sharing device needing to replace the battery, so that the operation and maintenance personnel can replace the battery of the sharing device in time.
In the battery compartment unlocking method, a battery compartment opening instruction received by the sharing device and sent by the server is generated by the server according to a battery replacing request sent by the detector, the battery replacing request is generated by the detector according to a battery replacing flag bit in a Bluetooth information packet broadcasted by the sharing device, the detector can quickly and effectively judge whether the sharing device needs to replace the battery through the battery replacing flag bit in the Bluetooth information packet, the efficiency of determining whether the sharing device needs to replace the battery is improved, the efficiency of generating the battery replacing request by the detector according to the battery replacing flag bit is further improved, thus the server can receive the battery replacing request carrying the device identifier of the sharing device in time and send the battery compartment opening instruction to the sharing device corresponding to the device identifier carried in the battery replacing request in time, and the sharing device can receive the battery compartment opening instruction in time, the efficiency of replacing the shared equipment battery is improved; in addition, the sharing equipment opens the battery compartment according to the battery compartment opening instruction, and the output prompt information enables operation and maintenance personnel to replace the battery of the sharing equipment in time, so that the efficiency of replacing the battery of the sharing equipment is improved.
In the scene that the detector changes the battery flag bit according to the battery of the sharing device, the sharing device is required to determine the value of the battery change flag bit of the sharing device, and a bluetooth information packet is generated according to the device identifier of the sharing device and the battery change flag bit and sent to the detector. In one embodiment, as shown in fig. 7, the method further includes:
and S701, determining the value of a battery replacement flag bit according to the current residual capacity of the battery.
Specifically, the sharing device determines the value of the battery replacement flag bit according to the current remaining capacity of the battery of the sharing device. Optionally, in this embodiment, the value of the battery replacement flag of the sharing device may be determined by the sharing device according to the current remaining power of the battery and a preset power threshold, or may be determined by the sharing device according to a preset ratio and a ratio between the current remaining power of the battery and the total capacity of the battery, and the following detailed description describes a specific implementation manner that the two methods are adopted:
the first method comprises the following steps: if the value of the battery swapping flag bit of the sharing device is determined by the sharing device according to the current remaining power of the battery and the preset power threshold, the determining of the value of the battery swapping flag bit by the sharing device according to the current remaining power of the battery includes:
and E, if the current residual electric quantity of the battery is smaller than a preset electric quantity threshold value, determining that the value of the battery replacement flag bit is a first value.
Specifically, if the current remaining power of the battery of the sharing device is smaller than the preset power threshold, the sharing device determines that the value of the battery replacement flag bit of the sharing device is the first value. For example, if the preset power threshold is 5 degrees, the current remaining power of the battery of the sharing device is 2 degrees, and the current remaining power of the battery of the sharing device is smaller than the preset power threshold, the sharing device determines that the value of the battery replacement flag is the first value.
And F, if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, determining that the value of the battery replacement flag bit is a second value.
Specifically, if the current remaining power of the battery of the sharing device is greater than or equal to the preset power threshold, the sharing device determines that the value of the battery replacement flag bit of the sharing device is the second value. Illustratively, continuing to describe with the preset power threshold as 5 degrees as an example, if the current remaining power of the battery of the sharing device is 8 degrees and the current remaining power of the battery of the sharing device is greater than the preset power threshold, the sharing device determines that the value of the battery replacement flag is the second value.
And the second method comprises the following steps: if the value of the battery replacement flag bit of the sharing device is determined by the sharing device according to the preset ratio and the ratio of the current residual capacity of the battery to the total capacity of the battery, the value of the battery replacement flag bit is determined by the sharing device according to the current residual capacity of the battery, and the method includes:
and G, if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, determining that the value of the battery replacement flag bit is a first value.
Specifically, if the ratio of the current remaining power of the battery of the sharing device to the total capacity of the battery is smaller than the preset ratio, the sharing device determines that the value of the battery replacement flag of the sharing device is the first value. Illustratively, the preset ratio is 2/5, and if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is 1/5 and the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is smaller than the preset ratio, the sharing device determines that the value of the battery swap flag is the first value.
And H, if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to a preset ratio, determining that the value of the battery replacement flag bit is a second value.
Specifically, if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is greater than or equal to the preset ratio, the sharing device determines that the value of the battery replacement flag bit of the sharing device is the second value. Illustratively, continuing to take the preset ratio of 2/5 as an example, if the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is 4/5, and the ratio of the current remaining capacity of the battery of the sharing device to the total capacity of the battery is greater than the preset ratio, the sharing device determines that the value of the battery replacement flag is the second value.
S702, generating a Bluetooth information packet according to the own equipment identification and the value of the battery replacement flag bit, and broadcasting the Bluetooth information packet.
Specifically, the sharing device generates a bluetooth information packet according to the device identifier of the sharing device and the determined value of the battery replacement flag bit, and broadcasts the bluetooth information packet. It can be understood that the bluetooth packet generated by the sharing device includes the device identifier and the battery replacement flag bit of the sharing device. Optionally, the sharing device may also directionally transmit the generated bluetooth packet to the probe through a communication channel with the probe.
In this embodiment, the sharing device can quickly and accurately determine the value of the battery replacement flag according to the current remaining circuit of the battery of the sharing device, and then can quickly and accurately generate the bluetooth information packet according to the device identifier of the sharing device and the value of the battery replacement flag, and broadcast the bluetooth information packet, so that the detector can timely receive the bluetooth information packet, and further can quickly and accurately send a battery replacement request including the device identifier of the sharing device to the server according to the indication of the battery replacement flag in the bluetooth information packet, and instruct the server to issue a battery compartment opening instruction to the sharing device corresponding to the device identifier, thereby improving the accuracy and efficiency of opening the battery compartment of the sharing device.
To facilitate understanding by those skilled in the art, the battery compartment unlocking method provided by the present disclosure is described in detail below, and as shown in fig. 8, the method may include:
and S801, the sharing equipment determines the value of the battery replacement flag bit according to the current residual capacity of the battery.
S802, the sharing equipment generates a Bluetooth information packet according to the equipment identification of the sharing equipment and the value of the battery replacement flag bit, and broadcasts the Bluetooth information packet.
And S803, the detector receives an opening instruction triggered by a user through a scanning switch on the detector.
S804, the detector acquires the identity authentication information of the user; the authentication information includes an authentication password and/or biometric information of the user.
And S805, the detector performs security authentication on the identity of the user according to the identity authentication information.
And S806, if the identity authentication of the user by the detector is successful, the detector controls the detector to start the scanning mode according to the starting instruction.
S807, the detector receives the Bluetooth information packet sent by the sharing equipment in a scanning mode; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit;
s808, if the battery replacement flag bit indicates that battery replacement is needed, the detector sends a battery replacement request comprising the equipment identifier to the server; and the battery swapping request is used for indicating the server to issue a battery bin opening instruction to the shared equipment corresponding to the equipment identifier.
S809, the server receives a power swapping request which is sent by the detector and carries the equipment identifier of the shared equipment; the battery replacement request is generated by the detector according to a battery replacement flag bit in a Bluetooth information packet broadcasted by the sharing device.
And S810, the server verifies whether the identity of the detector is legal or not through the communication authentication code of the detector included in the battery swapping request.
And S811, the server issues a battery bin opening instruction to the sharing equipment corresponding to the equipment identifier.
S812, the sharing equipment receives a battery compartment opening instruction issued by the server; the battery compartment opening instruction is generated by the server according to the battery replacement request sent by the detector; the battery replacement request is generated by the detector according to the battery replacement flag bit of the shared device.
S813, the sharing equipment opens the battery compartment according to the battery compartment opening instruction and outputs prompt information; the prompting information is used for prompting that the battery of the sharing equipment needs to be replaced; the prompt message includes light information and/or audio information.
In the step of determining, by the sharing device, the value of the battery swapping flag according to the current remaining capacity of the battery in S801, the value of the battery swapping flag of the sharing device may be determined by the sharing device according to the current remaining capacity of the battery and a preset capacity threshold, or may be determined by the sharing device according to a preset ratio and a ratio between the current remaining capacity of the battery and a total capacity of the battery, and a specific implementation manner of the two methods is described in detail below:
the first method comprises the following steps: if the value of the battery swapping flag bit of the sharing device is determined by the sharing device according to the current remaining power of the battery and the preset power threshold, the determining of the value of the battery swapping flag bit by the sharing device according to the current remaining power of the battery includes:
d1, if the current remaining power of the battery is less than the preset power threshold, the value of the battery replacement flag is the first value.
And D2, if the current remaining capacity of the battery is greater than or equal to the preset capacity threshold, the value of the battery replacement flag bit is a second value.
And the second method comprises the following steps: if the value of the battery replacement flag bit of the sharing device is determined by the sharing device according to the preset ratio and the ratio of the current residual capacity of the battery to the total capacity of the battery, the value of the battery replacement flag bit is determined by the sharing device according to the current residual capacity of the battery, and the method includes:
i1, if the ratio of the current remaining capacity of the battery to the total capacity of the battery is smaller than the preset ratio, the value of the battery replacement flag is the first value.
And I2, if the ratio of the current remaining capacity of the battery to the total capacity of the battery is greater than or equal to a preset ratio, the value of the battery replacement flag bit is a second value.
It should be noted that, for the descriptions in the above S801 to S813, D1 to D2, and I1 to I2, reference may be made to the related descriptions in the above embodiments, and the effects thereof are similar, and no further description is given here.
It should be understood that although the various steps in the flow charts of fig. 2-8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-8 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 9, there is provided a battery compartment unlocking system, including a probe, a server and a sharing device, the server being in communication connection with the probe and the sharing device, respectively;
a detector for performing the battery compartment unlocking method as described above in the embodiments of fig. 2-4;
a server for executing the battery compartment unlocking method as described in the embodiment of fig. 5 above;
and the sharing device is used for executing the battery compartment unlocking method in the embodiment of the figures 6 to 7.
The implementation principle and technical effect of the battery compartment unlocking system are similar to those of the method embodiment, and are not described herein again.
In one embodiment, as shown in fig. 10, there is provided a battery compartment unlocking device including: a first receiving module 10 and a sending module 11, wherein:
a first receiving module 10, configured to receive a bluetooth packet sent by a sharing device; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit.
The sending module 11 is configured to send a battery swap request including the device identifier to the server if the battery swap flag bit indicates that battery swap is required; and the battery swapping request is used for indicating the server to issue a battery bin opening instruction to the shared equipment corresponding to the equipment identifier.
Optionally, the power swapping request further includes a communication authentication code of the detector; the communication authentication code is used for indicating the server to verify whether the identity of the detector is legal or not through the communication authentication code.
Optionally, if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required.
Optionally, the value of the battery replacement flag is determined by the sharing device according to the current remaining power of the battery.
Optionally, the determining, by the sharing device, the value of the battery replacement flag according to the current remaining power of the battery includes:
if the current residual electric quantity of the battery is smaller than a preset electric quantity threshold value, the value of the battery replacement flag bit is a first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is a second value.
Optionally, the determining, by the sharing device, the value of the battery replacement flag according to the current remaining power of the battery includes:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is a first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to a preset ratio, the value of the battery replacement flag bit is a second value.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
On the basis of the embodiment shown in fig. 10, as shown in fig. 11, optionally, the apparatus further includes: a second receiving module 12 and a control module 13, wherein:
the second receiving module 12 is configured to receive an opening instruction triggered by a scanning switch on the detector;
the control module 13 is used for controlling the detector to start a scanning mode according to the starting instruction;
the first receiving module 10 is configured to receive a bluetooth packet sent by a sharing device in a scan mode.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
On the basis of the embodiment shown in fig. 11, as shown in fig. 12, optionally, the apparatus further includes: an acquisition module 14 and an authentication module 15, wherein:
an obtaining module 14, configured to obtain authentication information of a user;
the authentication module 15 is used for performing security authentication on the identity of the user according to the identity authentication information;
and the control module 13 is configured to control the detector to start the scanning mode according to the start instruction if the authentication is successful.
Optionally, the identity verification information includes an authentication password and/or biometric information of the user.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
For specific definition of the battery compartment unlocking device, reference may be made to the above definition of the battery compartment unlocking method, which is not described herein again. The modules in the battery compartment unlocking device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a processor in the detector or independent of the processor in the detector in a hardware form, and can also be stored in a memory in the detector in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 13, there is provided a battery compartment unlocking device including: a receiving module 20 and a sending module 21, wherein:
a receiving module 20, configured to receive a power swapping request that carries an apparatus identifier of a shared apparatus and is sent by a detector; the battery replacement request is generated by the detector according to a battery replacement flag bit in a Bluetooth information packet broadcasted by the sharing equipment;
and the issuing module 21 is configured to issue a battery compartment opening instruction to the shared device corresponding to the device identifier.
Optionally, if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required.
Optionally, the value of the battery replacement flag is determined by the sharing device according to the current remaining power of the battery.
Optionally, the determining, by the sharing device, the value of the battery replacement flag according to the current remaining power of the battery includes:
if the current residual electric quantity of the battery is smaller than a preset electric quantity threshold value, the value of the battery replacement flag bit is a first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is a second value.
Optionally, the determining, by the sharing device, the value of the battery replacement flag according to the current remaining power of the battery includes:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is a first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to a preset ratio, the value of the battery replacement flag bit is a second value.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
On the basis of the embodiment shown in fig. 13, as shown in fig. 14, optionally, the power swapping request further includes a communication authentication code of the detector, and the apparatus further includes: an authentication module 22, wherein:
and the verification module 22 is used for verifying whether the identity of the detector is legal or not through the communication authentication code.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
For specific definition of the battery compartment unlocking device, reference may be made to the above definition of the battery compartment unlocking method, which is not described herein again. The modules in the battery compartment unlocking device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the server, and can also be stored in a memory in the server in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 15, there is provided a battery compartment unlocking device including: a receiving module 30 and an opening module 31, wherein:
the receiving module 30 is used for receiving a battery compartment opening instruction issued by the server; the battery compartment opening instruction is generated by the server according to the battery replacement request sent by the detector; the battery replacement request is generated by the detector according to a battery replacement flag bit of the shared device;
the starting module 31 is used for starting the battery compartment according to the battery compartment starting instruction and outputting prompt information; the prompting message is used for prompting that the battery of the sharing equipment needs to be replaced.
Optionally, the prompt message includes a light message and/or an audio message.
Optionally, if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; and if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
On the basis of the embodiment shown in fig. 15, as shown in fig. 16, optionally, the apparatus further includes: a determination module 32 and a generation module 33, wherein:
the determining module 32 is configured to determine a value of a battery replacement flag according to the current remaining power of the battery;
and the generating module 33 is configured to generate a bluetooth information packet according to the device identifier of the generating module and the value of the battery replacement flag, and broadcast the bluetooth information packet.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
On the basis of the embodiment shown in fig. 16, as shown in fig. 17, optionally, the determining module 32 includes: a first determining unit 321 and a second determining unit 322, wherein:
the first determining unit 321 is configured to determine that a value of the battery replacement flag is a first value if the current remaining power of the battery is smaller than a preset power threshold.
The second determining unit 322 is configured to determine that the value of the battery replacement flag is a second value if the current remaining power of the battery is greater than or equal to the preset power threshold.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
On the basis of the embodiment shown in fig. 16, as shown in fig. 18, optionally, the determining module 32 includes: a third determining unit 323 and a fourth determining unit 324, wherein:
the third determining unit 323 is configured to determine that the value of the battery replacement flag is the first value if a ratio of the current remaining capacity of the battery to the total capacity of the battery is smaller than a preset ratio.
A fourth determining unit 324, configured to determine that the value of the battery replacement flag is a second value if a ratio of the current remaining capacity of the battery to the total capacity of the battery is greater than or equal to a preset ratio.
The battery compartment unlocking device provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and details are not repeated herein.
For specific definition of the battery compartment unlocking device, reference may be made to the above definition of the battery compartment unlocking method, which is not described herein again. The modules in the battery compartment unlocking device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the shared device, or can be stored in a memory in the shared device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 19 is a block diagram illustrating a detector 1300 according to an exemplary embodiment. For example, the probe 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 20, a detector 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316. Wherein the memory has stored thereon a computer program or instructions for execution on the processor.
The processing component 1302 generally controls overall operation of the electronic device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the method described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operation at the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1306 provides power to the various components of the electronic device 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 1300.
The multimedia component 1308 includes a touch-sensitive display screen that provides an output interface between the electronic device 1300 and a user. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the electronic device 1300. For example, the sensor assembly 1314 may detect an open/closed state of the electronic device 1300, the relative positioning of components, such as a display and keypad of the electronic device 1300, the sensor assembly 1314 may also detect a change in the position of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, orientation or acceleration/deceleration of the electronic device 1300, and a change in the temperature of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the electronic device 1300 and other devices in a wired or wireless manner. The electronic device 1300 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described battery compartment unlocking methods.
Fig. 20 is a block diagram illustrating a server 1400 in accordance with an example embodiment. Referring to fig. 20, server 1400 includes a processing component 1420, which further includes one or more processors, and memory resources, represented by memory 1422, for storing instructions or computer programs, e.g., applications, that are executable by processing component 1420. The application programs stored in memory 1422 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1420 is configured to execute instructions to perform the method of battery compartment unlocking described above.
The server 1400 may also include a power component 1424 configured to perform power management of the device 1400, a wired or wireless network interface 1426 configured to connect the device 1400 to a network, and an input/output (I/O) interface 1428. The server 1400 may operate based on an operating system stored in memory 1422, such as Window 1414 over, Mac O14 XTM, UnixTM, LinuxTM, FreeB14DTM, or the like.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the electronic device 1300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 1422 comprising instructions, executable by the processor of the server 1400 to perform the above-described method is also provided. The storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided by the embodiments of the disclosure may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express a few implementation modes of the embodiments of the present disclosure, and the description thereof is specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, variations and modifications can be made without departing from the concept of the embodiments of the present disclosure, and these are all within the scope of the embodiments of the present disclosure. Therefore, the protection scope of the patent of the embodiment of the disclosure should be subject to the appended claims.

Claims (41)

1. A method of unlocking a battery compartment, the method comprising:
under the condition that a scanning mode of the detector is started, the detector receives a Bluetooth information packet sent by sharing equipment within the Bluetooth coverage range of the detector; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit; the value of the battery replacement flag bit is actively issued to the sharing equipment by the server, or is determined by the sharing equipment; if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required;
if the battery replacement flag bit indicates that battery replacement is required, the detector sends a battery replacement request including the equipment identifier to the server; and the battery swapping request is used for indicating the server to issue a battery compartment opening instruction to the sharing equipment corresponding to the equipment identifier in a broadcasting mode.
2. The method of claim 1, wherein the power swapping request further comprises a communication authentication code of the probe; the communication authentication code is used for indicating the server to verify whether the identity of the detector is legal or not through the communication authentication code.
3. The method of claim 2, wherein the value of the battery swap flag is determined by the sharing device according to a current remaining power of a battery.
4. The method of claim 3, wherein the value of the battery swap flag is determined by the sharing device according to a current remaining power of a battery, and comprises:
if the current remaining power of the battery is smaller than a preset power threshold, the value of the battery replacement flag bit is the first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is the second value.
5. The method of claim 3, wherein the value of the battery swap flag is determined by the sharing device according to a current remaining power of a battery, and comprises:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is the first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to the preset ratio, the value of the battery replacement flag bit is the second value.
6. The method of claim 1, further comprising:
receiving a starting instruction triggered by a scanning switch on the detector by a user;
and controlling the detector to start a scanning mode according to the starting instruction.
7. The method of claim 6, wherein prior to said controlling said detector to turn on a scan mode in accordance with said turn-on command, said method further comprises:
acquiring identity authentication information of a user;
performing security authentication on the identity of the user according to the identity authentication information;
the controlling the detector to start the scanning mode according to the start instruction comprises:
and if the authentication is successful, executing the step of controlling the detector to start the scanning mode according to the starting instruction.
8. The method of claim 7, wherein the authentication information comprises an authentication password and/or biometric information of the user.
9. A method of unlocking a battery compartment, the method comprising:
the server receives a power change request which is sent by a detector and carries the equipment identifier of the shared equipment; the battery replacement request is generated by the detector receiving a Bluetooth information packet sent by shared equipment within the Bluetooth coverage range under the condition that the scanning mode is started and according to a battery replacement flag bit in the Bluetooth information packet; the value of the battery replacement flag bit is actively issued to the sharing device by the server, or is determined by the sharing device; if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required;
and the server sends a battery bin opening instruction to the sharing equipment corresponding to the equipment identification in a broadcasting mode.
10. The method of claim 9, wherein the power swapping request further includes a communication authentication code of the probe, and the method further includes:
and verifying whether the identity of the detector is legal or not through the communication authentication code.
11. The method of claim 10, wherein the value of the battery swap flag is determined by the sharing device according to a current remaining power of a battery.
12. The method of claim 11, wherein the value of the battery swap flag is determined by the sharing device according to a current remaining power of a battery, and comprises:
if the current remaining power of the battery is smaller than a preset power threshold, the value of the battery replacement flag bit is the first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is the second value.
13. The method of claim 11, wherein the value of the battery swap flag is determined by the sharing device according to a current remaining power of a battery, and comprises:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is the first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to the preset ratio, the value of the battery replacement flag bit is the second value.
14. A method of unlocking a battery compartment, the method comprising:
the sharing equipment receives a battery compartment opening instruction issued by a server in a broadcasting mode; the battery compartment opening instruction is generated by the server according to a battery replacement request sent by the detector; the battery replacement request is generated by the detector receiving a Bluetooth information packet sent by shared equipment within the Bluetooth coverage range under the condition that the scanning mode is started and according to a battery replacement flag bit in the Bluetooth information packet; the value of the battery replacement flag bit is actively issued to the sharing device by the server, or is determined by the sharing device; if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required;
the sharing equipment starts the battery compartment according to the battery compartment starting instruction and outputs prompt information; the prompt message is used for prompting that the battery of the sharing device needs to be replaced.
15. The method of claim 14, wherein the prompting message comprises a light message and/or an audio message.
16. The method of claim 15, further comprising:
determining the value of the battery replacement flag bit according to the current residual electric quantity of the battery;
and generating a Bluetooth information packet according to the own equipment identification and the value of the battery replacement flag bit, and broadcasting the Bluetooth information packet.
17. The method of claim 16, wherein the determining the value of the battery swap flag bit according to the current remaining power of the battery comprises:
if the current residual electric quantity of the battery is smaller than a preset electric quantity threshold value, determining that the value of the battery replacement flag bit is the first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, determining that the value of the battery replacement flag bit is the second value.
18. The method of claim 16, wherein the determining the value of the battery swap flag bit according to the current remaining power of the battery comprises:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, determining that the value of the battery replacement flag bit is the first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to the preset ratio, determining that the value of the battery replacement flag bit is the second value.
19. A battery compartment unlocking system is characterized by comprising a detector, a server and a sharing device; the server is in communication connection with the detector and the sharing device respectively;
the detector for performing the battery compartment unlocking method according to any one of claims 1 to 8;
the server, configured to perform the battery compartment unlocking method according to any one of claims 9 to 13;
the sharing device, configured to perform the battery compartment unlocking method according to any one of claims 14 to 18.
20. A battery compartment unlocking device is applied to a detector and is characterized by comprising:
the first receiving module is used for receiving a Bluetooth information packet sent by the sharing equipment in the Bluetooth coverage range of the detector under the condition that the scanning mode of the detector is started; the Bluetooth information packet comprises a device identifier of the sharing device and a battery replacement flag bit; the value of the battery replacement flag bit is actively issued to the sharing equipment by the server, or is determined by the sharing equipment; if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required;
the sending module is used for sending a battery replacement request including the equipment identifier to the server if the battery replacement flag bit indicates that battery replacement is required; and the battery swapping request is used for indicating the server to issue a battery compartment opening instruction to the sharing equipment corresponding to the equipment identifier in a broadcasting mode.
21. The battery compartment unlocking device according to claim 20, wherein the battery replacement request further includes a communication authentication code of the detector; the communication authentication code is used for indicating the server to verify whether the identity of the detector is legal or not through the communication authentication code.
22. The battery compartment unlocking device according to claim 21, wherein the value of the battery swapping flag is determined by the sharing device according to the current remaining capacity of the battery.
23. The battery compartment unlocking device according to claim 22, wherein the value of the battery replacement flag is determined by the sharing device according to the current remaining capacity of the battery, and includes:
if the current remaining power of the battery is smaller than a preset power threshold, the value of the battery replacement flag bit is the first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is the second value.
24. The battery compartment unlocking device according to claim 22, wherein the value of the battery replacement flag is determined by the sharing device according to the current remaining capacity of the battery, and includes:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is the first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to the preset ratio, the value of the battery replacement flag bit is the second value.
25. The battery compartment unlocking device according to claim 20, further comprising:
the second receiving module is used for receiving an opening instruction triggered by a scanning switch on the detector;
and the control module is used for controlling the detector to start the scanning mode according to the starting instruction.
26. The battery compartment unlocking device according to claim 25, further comprising:
the acquisition module is used for acquiring the identity authentication information of the user;
the authentication module is used for carrying out safety authentication on the identity of the user according to the identity authentication information;
and the control module is used for controlling the detector to start the scanning mode according to the starting instruction if the authentication is successful.
27. The battery compartment unlocking apparatus according to claim 26, wherein the authentication information includes an authentication password and/or biometric information of the user.
28. A battery compartment unlocking device is applied to a server, and is characterized by comprising:
the receiving module is used for receiving a power swapping request which is sent by the detector and carries the equipment identifier of the shared equipment; the battery replacement request is generated by the detector receiving a Bluetooth information packet sent by shared equipment within the Bluetooth coverage range under the condition that the scanning mode is started and according to a battery replacement flag bit in the Bluetooth information packet; the value of the battery replacement flag bit is actively issued to the sharing device by the server, or is determined by the sharing device; if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required;
and the issuing module is used for issuing a battery bin opening instruction to the sharing equipment corresponding to the equipment identifier in a broadcasting mode.
29. The battery compartment unlocking device of claim 28, wherein the battery replacement request further includes a communication authentication code of the detector, and the device further includes:
and the verification module is used for verifying whether the identity of the detector is legal or not through the communication authentication code.
30. The battery compartment unlocking device according to claim 29, wherein the value of the battery swapping flag is determined by the sharing device according to the current remaining capacity of the battery.
31. The battery compartment unlocking device according to claim 30, wherein the value of the battery swapping flag is determined by the sharing device according to the current remaining capacity of the battery, and includes:
if the current remaining power of the battery is smaller than a preset power threshold, the value of the battery replacement flag bit is the first value;
and if the current residual electric quantity of the battery is greater than or equal to the preset electric quantity threshold value, the value of the battery replacement flag bit is the second value.
32. The battery compartment unlocking device according to claim 30, wherein the value of the battery swapping flag is determined by the sharing device according to the current remaining capacity of the battery, and includes:
if the ratio of the current residual capacity of the battery to the total capacity of the battery is smaller than a preset ratio, the value of the battery replacement flag bit is the first value;
and if the ratio of the current residual capacity of the battery to the total capacity of the battery is greater than or equal to the preset ratio, the value of the battery replacement flag bit is the second value.
33. A battery compartment unlocking device is applied to shared equipment, and is characterized by comprising:
the receiving module is used for receiving a battery compartment opening instruction issued by the server in a broadcasting mode; the battery compartment opening instruction is generated by the server according to a battery replacement request sent by the detector; the battery replacement request is generated by the detector receiving a Bluetooth information packet sent by shared equipment within the Bluetooth coverage range under the condition that the scanning mode is started and according to a battery replacement flag bit in the Bluetooth information packet; the value of the battery replacement flag bit is actively issued to the sharing device by the server, or is determined by the sharing device; if the value of the battery replacement flag bit is a first value, the battery replacement flag bit indicates that battery replacement is required; if the value of the battery replacement flag bit is a second value, the battery replacement flag bit indicates that battery replacement is not required;
the starting module is used for starting the battery compartment according to the battery compartment starting instruction and outputting prompt information; the prompt message is used for prompting that the battery of the sharing device needs to be replaced.
34. The battery compartment unlocking device according to claim 33, wherein the prompt message includes a light message and/or an audio message.
35. The battery compartment unlocking device according to claim 33, further comprising:
the determining module is used for determining the value of the battery replacement flag bit according to the current residual electric quantity of the battery;
and the generating module is used for generating a Bluetooth information packet according to the own equipment identifier and the value of the battery replacement flag bit and broadcasting the Bluetooth information packet.
36. The battery compartment unlocking apparatus according to claim 35, wherein the determination module includes:
a first determining unit, configured to determine that a value of the battery swapping flag is the first value if the current remaining power of the battery is smaller than a preset power threshold;
and the second determining unit is used for determining that the value of the battery replacement flag bit is the second value if the current remaining power of the battery is greater than or equal to the preset power threshold.
37. The battery compartment unlocking apparatus according to claim 35, wherein the determination module includes:
a third determining unit, configured to determine that the value of the battery swapping flag is the first value if a ratio of a current remaining power of the battery to a total capacity of the battery is smaller than a preset ratio;
a fourth determining unit, configured to determine that the value of the battery replacement flag is the second value if a ratio of a current remaining power of the battery to a total capacity of the battery is greater than or equal to the preset ratio.
38. A probe comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 8 are implemented when the computer program is executed by the processor.
39. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 9 to 13 are implemented by the processor when executing the computer program.
40. A shared device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 14 to 18 when executing the computer program.
41. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 18.
CN202010695580.6A 2020-07-17 2020-07-17 Battery compartment unlocking method, system, device, equipment and storage medium Active CN111942210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010695580.6A CN111942210B (en) 2020-07-17 2020-07-17 Battery compartment unlocking method, system, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010695580.6A CN111942210B (en) 2020-07-17 2020-07-17 Battery compartment unlocking method, system, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111942210A CN111942210A (en) 2020-11-17
CN111942210B true CN111942210B (en) 2021-11-12

Family

ID=73340559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010695580.6A Active CN111942210B (en) 2020-07-17 2020-07-17 Battery compartment unlocking method, system, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111942210B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113077302B (en) * 2021-03-12 2024-01-23 深圳市智莱科技股份有限公司 Processing method, system, equipment and storage medium of battery exchange cabinet
CN114379414A (en) * 2021-12-31 2022-04-22 武汉小安科技有限公司 Battery changing method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2988506B1 (en) * 2012-03-20 2014-04-18 Jcdecaux Sa AUTOMATIC METHOD AND SYSTEM FOR PROVIDING CYCLES.
CN107331060B (en) * 2017-06-28 2023-08-15 一键联数字科技(苏州)有限公司 Charging management method for paid charging, electronic equipment, storage medium and system
CN107886405A (en) * 2017-11-27 2018-04-06 北京蜜蜂出行科技有限公司 A kind of electric power vehicle timesharing leasing system and method for running
KR102131287B1 (en) * 2018-01-30 2020-07-07 재상전자주식회사 Battery exchange system for electric two-wheeled vehicle
CN108466559A (en) * 2018-02-05 2018-08-31 浙江齐享科技有限公司 A kind of the battery pack replacing options and system of shared Moped Scooter
CN109859009B (en) * 2019-01-21 2021-04-13 武汉小安科技有限公司 Method, device and equipment for replacing shared bicycle battery and storage medium
CN110154997A (en) * 2019-04-15 2019-08-23 深圳市高斯拓普科技有限公司 A kind of battery change method, system and the server of shared electric vehicle
CN210554310U (en) * 2019-10-10 2020-05-19 浙江飞神车业有限公司 Battery control device of shared scooter

Also Published As

Publication number Publication date
CN111942210A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
US10178214B2 (en) Methods and apparatuses for binding with device
US9769667B2 (en) Methods for controlling smart device
JP6374517B2 (en) Authority verification method and apparatus
US11485320B2 (en) Method and apparatus for vehicle function control, and storage medium
US10291608B2 (en) Method and device for establishing wireless connection
RU2637466C2 (en) Method, device and system for obtaining access to network
CN111942210B (en) Battery compartment unlocking method, system, device, equipment and storage medium
CN109204231B (en) Vehicle unlocking method and device
US20210274432A1 (en) Method and device for reporting resource sensing result, user equipment, and storage medium
CN105188027A (en) Nearby user searching method and device
CN112954661B (en) Sharing apparatus, bluetooth control method, storage medium, and computer program product
US20220240247A1 (en) A time domain configuration method, device, and storage media
CN111726747A (en) Prompting method and device for vehicle state, electronic equipment and storage medium
CN105657676B (en) Information reminding method and device
CN111862410A (en) Intelligent lock control method, device, equipment and storage medium
US10091236B2 (en) Methods apparatuses, and storage mediums for acquiring legitimate installation packages
CN111724537B (en) Vehicle control method, device, electronic device and storage medium
CN115734161A (en) Method and device for detecting parking state, spike device and storage medium
CN111724536A (en) Vehicle unlocking method and device, electronic equipment and storage medium
CN111629045A (en) Device wake-up method, system, apparatus, device and storage medium
CN113178906A (en) Charging method, charging device, electronic device and storage medium
CN108011882B (en) Method, device and system for data synchronization
CN112636402A (en) Charging method and device and electronic equipment
CN113079494B (en) Method, device, equipment and storage medium for communicating with shared object
CN116546502B (en) Relay attack detection method, device 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220316

Address after: 100089 No.203, 2nd floor, building 34, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee after: Beijing Qisheng Technology Co.,Ltd.

Patentee after: HANGZHOU QINGQI SCIENCE AND TECHNOLOGY Co.,Ltd.

Patentee after: Xiamen Qiwen Technology Co.,Ltd.

Address before: 100089 No.203, 2nd floor, building 34, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee before: Beijing Qisheng Technology Co.,Ltd.