Control method, system and device of Bluetooth routing equipment and storage medium
By introducing a status control mechanism in Bluetooth routing devices, optimizing power consumption usage, it solves the problem that devices are difficult to achieve low-power operation, extends usage time and improves user experience.
Patent Information
- Application Number
- CN202311030522.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-15
- Publication Date
- 2025-02-21
AI Technical Summary
When existing Bluetooth routing devices achieve high-precision parking requirements, it is difficult to achieve low-power operation, resulting in insufficient battery power to meet the needs of long-term outdoor use.
By responding to preset conditions, the Bluetooth routing device is controlled to enter different states to optimize power consumption usage. In the first state, the power consumption is less than the threshold value to achieve low power consumption operation; in the second state, the device broadcasts at a preset broadcast interval time or scans the central control Bluetooth at a preset heartbeat interval time to satisfy the Demand for the return area.
It realizes low-power operation of Bluetooth routing equipment, extends the device's usage time, meets its needs for long-term use outdoors, and improves user experience and satisfaction.
Smart Images

Figure CN119497057A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of shared vehicle technology, and in particular to a control method, system, device and storage medium for a Bluetooth routing device. Background Art
[0002] As the demand for shared vehicles to park at designated locations becomes increasingly strong, shared vehicles are beginning to use Bluetooth ground spikes to detect when they are parked in a parking lot. At present, different regions have different requirements for ground spikes and their performance, and when adapting vehicles, the performance requirements for shared vehicle Bluetooth vary. Therefore, some shared vehicles will consider placing a Bluetooth router on the vehicle to scan ground spikes in the return area to achieve higher-precision parking requirements. In order to facilitate the installation of Bluetooth routers on the vehicle, Bluetooth routers mostly use wireless solutions, so the battery power needs to maintain its long-term working and operating requirements.
[0003] Therefore, it is necessary to provide a control method, system, device and storage medium for a Bluetooth routing device, which can achieve low-power operation while assisting in returning the vehicle, so as to meet the needs of long-term outdoor use. Summary of the invention
[0004] One of the embodiments of the present specification provides a control method for a Bluetooth routing device. The control method for the Bluetooth routing device includes: in response to a first preset condition being met, controlling the Bluetooth routing device of a shared vehicle to enter a first state, in which the power consumption of the Bluetooth routing device is less than a power consumption threshold; in response to a second preset condition being met, controlling the Bluetooth routing device to enter a second state, in which the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval.
[0005] In some embodiments, in the second state, the method further includes: in response to the user sending an instruction to return the vehicle, the user's terminal device scans the broadcast information of the Bluetooth routing device to connect to the Bluetooth routing device and sends an instruction to scan the ground nails to the Bluetooth routing device.
[0006] In some embodiments, the Bluetooth routing device broadcasts at a preset broadcast interval, including: the Bluetooth routing device broadcasts for a long time; in response to the shared vehicle being in a locked state, the Bluetooth routing device broadcasts at a first broadcast interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device broadcasts at a second broadcast interval, and the second broadcast interval is less than the first broadcast interval.
[0007] In some embodiments, the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval, including: the Bluetooth routing device maintains a long connection with the central control Bluetooth; in response to the shared vehicle being in a locked state, the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval.
[0008] In some embodiments, the Bluetooth routing device includes a vibration awakening device, the first preset condition is that the vibration awakening device does not vibrate, and the second preset condition is that the vibration awakening device vibrates.
[0009] In some embodiments, the first preset condition is that the current moment is in a preset sleep time period, and the second preset condition is that the current moment is not in the preset sleep time period. Determining the preset sleep time period includes: determining the preset sleep time period based on historical switch lock data.
[0010] In some embodiments, the shared vehicle is in an unlocked state, and the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval, including: in response to the riding time not exceeding the predicted riding time, the Bluetooth routing device broadcasts at a first broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the riding time exceeding the predicted riding time, the Bluetooth routing device broadcasts at a second broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval; wherein, determining the predicted riding time includes: determining the predicted riding time based on the user's historical riding data.
[0011] One of the embodiments of the present specification provides a control system for a Bluetooth routing device, including: a first control module, used to control the Bluetooth routing device of a shared vehicle to enter a first state in response to satisfying a first preset condition, in which the power consumption of the Bluetooth routing device is less than a power consumption threshold; a second control module, used to control the Bluetooth routing device to enter a second state in response to satisfying a second preset condition, in which the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval.
[0012] One of the embodiments of the present specification provides a control device for a Bluetooth router device, including a processor, and the processor is used to execute a control method for the Bluetooth router device.
[0013] One of the embodiments of the present specification provides a computer-readable storage medium, the storage medium stores computer instructions, and when a computer reads the computer instructions in the storage medium, the computer executes a control method for a Bluetooth routing device. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0015] Figure 1 It is a schematic diagram of an application scenario of a control system of a Bluetooth routing device according to some embodiments of this specification;
[0016] Figure 2 is an exemplary module diagram of a processor for controlling a Bluetooth routing device according to some embodiments of this specification;
[0017] Figure 3 is an exemplary flow chart of a control method of a Bluetooth routing device according to some embodiments of this specification;
[0018] Figure 4 is an exemplary flow chart of a control method of a Bluetooth routing device in a second state according to some other embodiments of this specification;
[0019] Figure 5 It is a schematic diagram of the process of connecting a Bluetooth routing device to a central control Bluetooth according to some embodiments of this specification. DETAILED DESCRIPTION
[0020] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0021] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0022] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0023] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0024] Figure 1 1 is a schematic diagram of an application scenario of a control system 100 of a Bluetooth routing device according to some embodiments of this specification. In some embodiments, the application scenario of the control system 100 of the Bluetooth routing device may include a shared vehicle 110, a parking space 120, a ground nail 130, and a processor 140. In some embodiments, the application scenario of the control system 100 of the Bluetooth routing device may also include a network, Bluetooth, a server, a terminal device, and / or a storage device (not shown in the figure).
[0025] The shared vehicle 110 may be any type of shared vehicle, including a bicycle, an electric motorcycle, a car, etc. In some embodiments, the shared vehicle 110 may be integrated with a Bluetooth routing device 111 and a central control 112 .
[0026] The Bluetooth routing device 111 is a device that uses Bluetooth technology to transmit data packets between different Bluetooth devices. The Bluetooth routing device 111 scans the ground nails 130 and returns the scan results to the central control or mobile phone, and then reports the results to the server to determine whether the shared vehicle 110 is in the parking space 120, and assists the shared vehicle 110 to park in the parking space 120, thereby achieving the effect of fixed-point parking. In some embodiments, the Bluetooth routing device 111 can broadcast at a preset broadcast interval. For example, the Bluetooth routing device 111 can broadcast specific device names, media access control addresses (MAC) addresses, and other Bluetooth signal data at a preset broadcast interval. In some embodiments, the Bluetooth routing device 111 can scan the central control Bluetooth 112-1 at a preset heartbeat interval.
[0027] In some embodiments, the Bluetooth routing device 111 may be integrated with the shared vehicle 110. Figure 1 As shown, the Bluetooth routing device 111 can be integrated and installed under the pedal of the shared vehicle 110 .
[0028] The central control 112 refers to the central control system of the shared vehicle 110. In some embodiments, the central control 112 may have functions such as 4G Bluetooth vehicle borrowing and returning, battery compartment lock, helmet monitoring, controller communication, BMS communication, headlight control, voice prompt, positioning and orientation, mileage calculation, status monitoring, abnormal warning, OTA upgrade, etc.
[0029] In some embodiments, the central control 112 may be integrated with the shared vehicle 110. For example, Figure 1 As shown, the central control 112 can be integrated and installed below the front panel of the shared vehicle 110.
[0030] In some embodiments, the central control 112 may include a central control Bluetooth 112-1. In some embodiments, the Bluetooth routing device 111 is a master device and the central control 112 is a slave device. In order for the Bluetooth routing device to receive the instruction from the central control 112 to scan the ground nails 130, the central control Bluetooth 112-1 may maintain a long connection with the Bluetooth routing device 111.
[0031] The parking space 120 refers to a standard parking position for the shared vehicle 110. In some embodiments, a plurality of ground spikes 130 may be installed on the parking space 120 according to certain rules (eg, interval arrangement) for parking management of the shared vehicle 110.
[0032] The ground spike 130 refers to a device installed close to the ground for assisting the return of the vehicle. In some embodiments, the ground spike 130 may be square, rectangular, circular, oval, etc. In some embodiments, the ground spike 130 may broadcast Bluetooth signal data such as a specific device name, MAC address, Universally Unique Identifier (UUID), etc. Since the ground spike 130 is installed according to certain rules, multiple ground spikes 130 may form an invisible electronic fence.
[0033] The processor 140 can be used to process data related to the control system 100 of the Bluetooth routing device. For example, in response to satisfying the first preset condition, the processor 140 can control the Bluetooth routing device of the shared vehicle to enter a first state, in which the power consumption of the Bluetooth routing device 111 is less than the power consumption threshold. For another example, in response to satisfying the second preset condition, the processor 140 can control the Bluetooth routing device 111 to enter a second state, in which the Bluetooth routing device 111 broadcasts at a preset broadcast interval, or the Bluetooth routing device 111 scans the central control Bluetooth 112-1 at a preset heartbeat interval. In some embodiments, the processor 140 can be integrated or installed on the central control 112. In some embodiments, the processor 140 can be integrated or installed on the Bluetooth routing device 111.
[0034] In some embodiments, the processor 140 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), a microprocessor, etc., or any combination of the above.
[0035] In some embodiments, the application scenario of the control system 100 of the Bluetooth routing device may also include some or more other devices, such as a network, Bluetooth, a server, a terminal device and / or a storage device.
[0036] In some embodiments, the network may include any suitable wired or wireless network that can facilitate information and / or data exchange. For example, the central control 112 may obtain the routing solution configuration in the server through the network.
[0037] In some embodiments, the Bluetooth routing device 111 and the central control Bluetooth 112-1 can transmit information and / or data via Bluetooth. In some embodiments, the Bluetooth routing device 111 and the ground nail 130 can transmit information and / or data via Bluetooth.
[0038] In some embodiments, the server can be used to process information and / or data related to the control system 100 of the Bluetooth routing device. In some embodiments, the server can be used to determine a preset sleep time period based on historical switch lock data. In some embodiments, the server can be used to determine a preset riding duration based on the user's historical riding data. The server can be an independent server or a server group. The server group can be centralized or distributed. In some embodiments, the server can be regional or remote. For example, the server can communicate with the central control 112 via a network. In some embodiments, the server can be executed on a cloud platform. For example, the cloud platform may include one or any combination of a private cloud, a public cloud, a hybrid cloud, a community cloud, a decentralized cloud, an internal cloud, etc.
[0039] The terminal device may include a mobile device, a tablet computer, a laptop computer, etc., or any combination thereof. In some embodiments, the user may input a return instruction through the terminal device. In some embodiments, the user may scan and unlock the vehicle through the terminal device.
[0040] The storage device may store data, instructions, and / or any other information. In some embodiments, the storage device may store data and / or instructions related to the control system 100 of the Bluetooth routing device. For example, the storage device may store historical switch lock data. For another example, the storage device may store historical riding data of a user.
[0041] In some embodiments, the storage device can be connected to a network to communicate with one or more other components in the application scenario of the control system 100 of the Bluetooth routing device (e.g., vehicle 110, Bluetooth routing device 111, central control 112, central control Bluetooth 112-1, ground nail 130 and / or processor 140, etc.). One or more components in the application scenario of the control system 100 of the Bluetooth routing device can access data or instructions stored in the storage device through the network. In some embodiments, the storage device can be part of a server.
[0042] It should be noted that the above description is provided for illustrative purposes only and is not intended to limit the scope of the application. For those of ordinary skill in the art, under the guidance of the content of the present application, various changes and modifications can be made. The features, structures, methods and other features of the exemplary embodiments described in this application can be combined in various ways to obtain additional and / or alternative exemplary embodiments. However, these changes and modifications will not deviate from the scope of the application.
[0043] Figure 2 is an exemplary module diagram of a processor for controlling a Bluetooth routing device according to some embodiments of this specification. The processor 200 may be Figure 1 A specific implementation of the processor 140 is shown in FIG.
[0044] In some embodiments, the processor 200 may include a first control module 210 and a second control module 220 .
[0045] The first control module 210 can be used to control the Bluetooth routing device of the shared vehicle to enter a first state in response to satisfying a first preset condition. In the first state, the power consumption of the Bluetooth routing device is less than a power consumption threshold.
[0046] The second control module 220 can be used to control the Bluetooth routing device to enter a second state in response to satisfying a second preset condition. In the second state, the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval.
[0047] In some embodiments, in the second state, the second control module 220 can be further used to respond to the user sending an instruction to return the vehicle, and the user's terminal device scans the broadcast information of the Bluetooth routing device to connect to the Bluetooth routing device and send an instruction to scan the ground nails to the Bluetooth routing device.
[0048] In some embodiments, the second control module 220 can be further used for the Bluetooth routing device to perform long broadcasts; in response to the shared vehicle being in a locked state, the Bluetooth routing device broadcasts at a first broadcast interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device broadcasts at a second broadcast interval, and the second broadcast interval is less than the first broadcast interval.
[0049] In some embodiments, the second control module 220 can be further used to maintain a long connection between the Bluetooth routing device and the central control Bluetooth; in response to the shared vehicle being in a locked state, the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval.
[0050] In some embodiments, the shared vehicle is in an unlocked state, and the second control module 220 can be further used to respond to the riding time not exceeding the preset riding time, the Bluetooth routing device broadcasts at a first broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the riding time exceeding the preset riding time, the Bluetooth routing device broadcasts at a second broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval; wherein, determining the preset riding time includes: determining the preset riding time based on the user's historical riding data.
[0051] In some embodiments, the Bluetooth routing device includes a vibration awakening device, the first preset condition is that the vibration awakening device does not vibrate, and the second preset condition is that the vibration awakening device vibrates.
[0052] In some embodiments, the first preset condition is that the current moment is in a preset sleep time period, and the second preset condition is that the current moment is not in the preset sleep time period. Determining the preset sleep time period includes: determining the preset sleep time period based on historical switch lock data.
[0053] For more details about the first control module 210 and the second control module 220, see Figure 3-Figure 5 and its related description.
[0054] It should be understood that Figure 2 The system and its modules shown can be implemented in various ways. It should be noted that the above description of the module diagram of the control system of the Bluetooth routing device is only for the convenience of description and cannot limit this specification to the scope of the embodiments. It is understandable that for those skilled in the art, after understanding the principle of the system, it is possible to arbitrarily combine the modules or form a subsystem to connect with other modules without deviating from this principle. In some embodiments, Figure 2The first control module 210 and the second control module 220 disclosed in the specification can be different modules in a system, or one module can realize the functions of two or more modules. For example, each module can share a storage module, or each module can have its own storage module. Such variations are all within the protection scope of this specification.
[0055] Figure 3 is an exemplary flow chart of a control method of a Bluetooth routing device according to some embodiments of this specification. Figure 3 As shown, process 300 includes the following steps. In some embodiments, Figure 3 One or more operations of the process 300 shown may be performed in Figure 1 The control system 100 of the Bluetooth router device shown in the figure is implemented in the application scenario. For example, Figure 3 The process 300 shown may be stored in a storage device in the form of instructions and called and / or executed by the processor 140 .
[0056] Step 310 , in response to satisfying the first preset condition, controlling the vehicle's Bluetooth routing device to enter a first state, in which the power consumption of the Bluetooth routing device is less than a power consumption threshold. In some embodiments, step 310 may be performed by the first control module 210 .
[0057] The first preset condition refers to a preset condition that needs to be met to enter the first state. In some embodiments, the first preset condition may be that the current moment is in a preset sleep time period.
[0058] The preset sleep time period refers to the preset time period when the Bluetooth routing device enters sleep. For example, the preset sleep time period may be 3-6 am, 1-5 am, 2-4 am, etc. In some embodiments, the preset sleep time period may be a time period when the frequency of use of the shared vehicle is less than the preset frequency threshold. Among them, the preset frequency threshold can be set manually. The frequency of use of a shared bicycle may be the number of times a shared bicycle is used per unit time. For example, at 2-3 am in a certain area, the total number of uses of 1,000 shared bicycles is 2 times, then the frequency of use of shared bicycles in this area is 2÷1000÷1=0.002 times / (vehicle.h).
[0059] In some embodiments, the server may determine a preset sleep time period based on historical lock opening and closing data, wherein the historical lock opening and closing data refers to unlocking and / or locking data before the current time period.
[0060] In some embodiments, the server can obtain historical switch lock data within a certain historical time period of the target area, calculate the usage frequency of shared vehicles in the area, and determine the time period when the usage frequency of shared vehicles is less than a preset frequency threshold as a preset sleep time period. For example, the server can calculate that the average usage frequency of shared vehicles per hour within one month is: 0.002 times / (vehicle.h) from 1 to 2 o'clock, 0.002 times / (vehicle.h) from 2 to 3 o'clock, 0.001 times / (vehicle.h) from 3 to 4 o'clock, 0.004 times / (vehicle.h) from 4 to 5 o'clock, 0.006 times / (vehicle.h) from 5 to 6 o'clock, 0.2 times / (vehicle.h) from 6 to 7 o'clock, 0.8 times / (vehicle.h) from 7 to 8 o'clock... 0.01 times / (vehicle.h) from 22 to 23 o'clock, 0.008 times / (vehicle.h) from 23 to 24 o'clock, and the preset frequency threshold is 0.005 times / (vehicle.h). The server can determine the time periods 1-2 o'clock, 2-3 o'clock, 3-4 o'clock and 4-5 o'clock, that is, the time period 1-5 o'clock, where the average usage frequency is less than the preset frequency threshold, as the preset sleep time period.
[0061] In some embodiments, the server may use a first model to process historical switch lock data to obtain a preset sleep time period. For example, the server may input the historical switch lock data into the first model, and the first model may output the preset sleep time period. The first model may be a convolutional neural network (CNN), a deep neural network (DNN), or a neural network model (NN). The server may use the historical switch lock data samples as training data to train the first model, so that the first model can output its corresponding preset sleep time period based on the historical switch lock data. The label corresponding to the training data may be determined by manual judgment or by the above-mentioned calculation method.
[0062] The first state refers to the state that the Bluetooth router device is in when the first preset condition is met. In the first state, the power consumption of the Bluetooth router device is less than the power consumption threshold.
[0063] The power consumption of the Bluetooth routing device is less than the power consumption threshold value, which means that the Bluetooth routing device enters sleep mode, that is, the Bluetooth routing device will not broadcast at the preset broadcast interval, and the Bluetooth routing device will not scan the status of the central control Bluetooth at the preset heartbeat interval.
[0064] In some embodiments of the present specification, by controlling the Bluetooth routing device of a shared vehicle to enter a first state when a first preset condition is met, the power consumption of the Bluetooth routing device can be made less than a power consumption threshold when idle, thereby achieving the purpose of low-power operation to meet the needs of long-term outdoor use.
[0065] Step 310, in response to satisfying the second preset condition, control the Bluetooth routing device to enter the second state, in which the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval. In some embodiments, step 320 can be performed by the second control module 220.
[0066] The second preset condition refers to a preset condition that needs to be met to enter the second state. In some embodiments, the second preset condition may be that the current moment is not in a preset sleep time period.
[0067] The second state refers to the state of the Bluetooth routing device when the second preset condition is met. In the second state, the Bluetooth routing device can broadcast at a preset broadcast interval, or the Bluetooth routing device can scan the state of the central control Bluetooth at a preset heartbeat interval.
[0068] The following is an explanation of the situation in which the Bluetooth router device broadcasts at a preset broadcast interval in the second state:
[0069] The preset broadcast interval time refers to the preset interval time between two adjacent broadcasts of the Bluetooth routing device. In some embodiments, the preset broadcast interval time may include a first broadcast interval time and a second broadcast interval time.
[0070] In some embodiments, in response to the user sending an instruction to return the car, the user's terminal device can scan the broadcast information of the Bluetooth routing device to connect to the Bluetooth routing device and send an instruction to scan the ground nail to the Bluetooth routing device. In some embodiments, the broadcast information may include Bluetooth signal data such as device name and MAC address. For example, the Bluetooth routing device broadcasts the device name and MAC address of the Bluetooth routing device at a preset broadcast interval. When the user clicks to return the car through the terminal device, the user's terminal device can scan the broadcast information of the Bluetooth routing device to connect to the Bluetooth routing device. When the connection is successful, the user terminal can send an instruction to scan the ground nail to the Bluetooth routing device. After the Bluetooth routing device scans the ground nail, it transmits the scan result to the terminal device. The terminal device reports the scan result to the server to determine whether the shared vehicle is in the parking space, that is, it meets the prescribed parking requirements.
[0071] In some embodiments, the Bluetooth routing device performs a long broadcast; in response to the shared vehicle being in a locked state, the Bluetooth routing device may broadcast at a first broadcast interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device may broadcast at a second broadcast interval, wherein the second broadcast interval is shorter than the first broadcast interval.
[0072] Long broadcast means that the Bluetooth router device broadcasts continuously. The Bluetooth router device broadcasts at a preset broadcast interval, that is, the Bluetooth router device broadcasts once via Bluetooth at every preset broadcast interval.
[0073] The shared vehicle is in a locked state, which means that the shared vehicle is not in use, that is, no user is using the shared vehicle. The shared vehicle is in an unlocked state, which means that the shared vehicle is in use, that is, a user is using the shared vehicle.
[0074] The first broadcast interval refers to the broadcast interval of the Bluetooth routing device when the shared vehicle is in a locked state. The second broadcast interval refers to the broadcast interval of the Bluetooth routing device when the shared vehicle is in an unlocked state. The second broadcast interval is less than the first broadcast interval. For example, the first broadcast interval may be 1s, and the second broadcast interval may be 200ms. For another example, the first broadcast interval may be 2s, and the second broadcast interval may be 400ms. The broadcast interval is inversely proportional to the power consumption. For example, when the first broadcast interval is 2s, the power consumption is 20uA; the second broadcast interval may be 400ms, and the power consumption is 90uA.
[0075] In response to the shared vehicle being in a locked state, the Bluetooth routing device broadcasts at a first broadcast interval time, which continues until the shared vehicle is in an unlocked state. The shared vehicle is in a locked state when the user does not ride the shared vehicle. At this time, the user will not send a return instruction, and the response timeliness can be low. Therefore, the preset broadcast interval time can be set to be larger. In this embodiment, in order to enable the Bluetooth routing device to receive the instruction that the shared vehicle is in an unlocked state sent by the terminal device and broadcast it at a smaller preset broadcast interval time, the preset broadcast interval time cannot be set too large.
[0076] In response to the shared vehicle being in an unlocked state, the Bluetooth routing device broadcasts at a second broadcast interval until the shared vehicle is locked. The shared vehicle is in an unlocked state, corresponding to the user riding the shared vehicle. At this time, when the user sends a command to return the vehicle, the Bluetooth routing needs to scan the ground nails in time to reduce the user's waiting time and improve the user experience. The response timeliness needs to be high, so the preset broadcast interval can be set to a larger value.
[0077] In some embodiments of this specification, when the shared vehicle is locked, the preset broadcast interval is set to a longer interval to reduce power consumption. When the shared vehicle is unlocked, the preset broadcast interval is set to a shorter interval, so that when the user sends a return instruction, a quick response can be made to improve user experience and user satisfaction.
[0078] The following is an explanation of how the Bluetooth router can scan the central control Bluetooth at a preset heartbeat interval in the second state:
[0079] The preset heartbeat interval time refers to the preset interval time between two consecutive scans of the central control Bluetooth by the Bluetooth routing device. In some embodiments, the preset heartbeat interval time may include a first heartbeat interval time and a second heartbeat interval time.
[0080] In some embodiments, the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval, and the Bluetooth routing device maintains a long connection with the central control Bluetooth. In response to the shared vehicle being in a locked state, the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval. The second heartbeat interval is less than the first heartbeat interval.
[0081] Long connection means that the Bluetooth router device and the central control Bluetooth maintain a continuous connection. The Bluetooth router device scans the central control Bluetooth at a preset heartbeat interval, that is, the Bluetooth router device sends a command to confirm the connection status via Bluetooth every preset heartbeat interval, and the central control Bluetooth replies with an acknowledgement character (ACK). Since the Bluetooth router device is the master device and the central control is the slave device, in order for the Bluetooth router device to receive the command from the central control to scan the ground nails, the central control Bluetooth needs to maintain a long connection with the Bluetooth router device.
[0082] In some embodiments, in response to the user sending an instruction to return the car, the central control Bluetooth can send an instruction to scan the ground nail to the Bluetooth routing device. For example, the Bluetooth routing device maintains a long connection with the central control Bluetooth. When the user clicks to return the car through the terminal device, the central control Bluetooth can send an instruction to scan the ground nail to the Bluetooth routing device. After the Bluetooth routing device scans the ground nail, it transmits the scanning result to the central control Bluetooth. The central control reports the scanning result to the server to determine whether the shared vehicle is in the parking space, that is, it meets the prescribed parking requirements.
[0083] The first heartbeat interval refers to the heartbeat interval of the Bluetooth routing device when the shared vehicle is in a locked state. The second heartbeat interval refers to the heartbeat interval of the Bluetooth routing device when the shared vehicle is in an unlocked state. The second heartbeat interval is less than the first heartbeat interval. For example, the first heartbeat interval may be 4s, and the second heartbeat interval may be 1s. For another example, the first heartbeat interval may be 5s, and the second heartbeat interval may be 1s. The heartbeat interval is inversely proportional to the power consumption. For example, when the first heartbeat interval is 5s, the power consumption is 20uA; the second heartbeat interval may be 1s, and the power consumption is 44uA.
[0084] In response to the shared vehicle being in a locked state, the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval until the shared vehicle is in an unlocked state. The shared vehicle is in a locked state when the user does not ride the shared vehicle. At this time, the user will not send a return instruction, and the response timeliness can be low. Therefore, the preset heartbeat interval can be set to be larger. In this embodiment, the Bluetooth routing device is the master device and the central control is the slave device. In order for the Bluetooth routing device to receive the instruction from the central control that the shared vehicle is in an unlocked state and scan the central control Bluetooth at a smaller preset heartbeat interval, the preset heartbeat interval cannot be set too large.
[0085] In response to the shared vehicle being in an unlocked state, the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval until the shared vehicle is locked. The shared vehicle is in an unlocked state when the user rides the shared vehicle. At this time, when the user sends a command to return the vehicle, the Bluetooth routing needs to scan the ground nails in time to reduce the user's waiting time and improve the user experience. The response timeliness needs to be high, so the preset heartbeat interval can be set to a larger value.
[0086] In some embodiments of this specification, when the shared vehicle is locked, the preset heartbeat interval is set to a larger interval to reduce power consumption. When the shared vehicle is unlocked, the preset heartbeat interval is set to a smaller interval, so that when the user sends a return instruction, a quick response can be made to improve user experience and user satisfaction.
[0087] When broadcasting at a preset broadcast interval, the Bluetooth routing device only needs to perform a long broadcast and does not need to maintain a long connection with the central control Bluetooth as in the method of scanning the central control Bluetooth at a preset heartbeat interval. When the preset heartbeat interval is the same as the preset broadcast interval, maintaining a long connection consumes more energy than maintaining a long broadcast. Therefore, the method of broadcasting at a preset broadcast interval consumes less energy.
[0088] In some embodiments of the present specification, the Bluetooth routing device is controlled to enter a sleep state in a first state; in a second state, it broadcasts at a suitable preset broadcast interval, or scans the central control Bluetooth at a suitable preset heartbeat interval, thereby improving customer satisfaction while achieving the purpose of low-power operation to meet the needs of long-term outdoor use.
[0089] It should be noted that the above description of the control method of the process Bluetooth routing device is only for example and illustration, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the control of the process Bluetooth routing device under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.
[0090] In some embodiments, the Bluetooth routing device may include a vibration wake-up device.
[0091] The vibration awakening device refers to a device for detecting whether the shared vehicle moves. In some embodiments, the vibration awakening device may include an acceleration sensor, a speed sensor, a displacement sensor, etc. The vibration awakening device can monitor the vibration signal of the Bluetooth routing device in real time.
[0092] In some embodiments, when the Bluetooth routing device includes a vibration wake-up device, the first preset condition may be that the vibration wake-up device does not vibrate, and the second preset condition may be that the vibration wake-up device vibrates. When the vibration wake-up device detects that no vibration occurs, the shared vehicle does not move, and the Bluetooth routing device can determine that the first preset condition is met, and control the Bluetooth routing device of the shared vehicle to enter a first state. In the first state, the power consumption of the Bluetooth routing device is less than the power consumption threshold. When the vibration wake-up device detects that vibration occurs, the shared vehicle moves, and the Bluetooth routing device can determine that the second preset condition is met, and control the Bluetooth routing device to enter a second state. In the second state, the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval.
[0093] In some embodiments, in the second state, the Bluetooth routing device may broadcast at a fixed preset broadcast interval, or the Bluetooth routing device may scan the central control Bluetooth at a fixed preset heartbeat interval. Since when the vibration awakening device detects vibration, the shared vehicle has moved and may be in an unlocked state, a smaller preset broadcast interval or a smaller preset heartbeat interval may be set, so that when the user sends a return instruction, a quick response can be made to improve the user experience and user satisfaction.
[0094] In some embodiments, in the second state, in response to the shared vehicle being in a locked state, the Bluetooth routing device broadcasts at a first broadcast interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device broadcasts at a second broadcast interval, and the second broadcast interval is less than the first broadcast interval. In some embodiments, in the second state, in response to the shared vehicle being in a locked state, the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the shared vehicle being in an unlocked state, the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval.
[0095] In some embodiments of this specification, by setting a vibration wake-up device on the Bluetooth routing device, it is possible to determine whether each shared vehicle has moved, thereby more accurately determining whether the Bluetooth routing device of each shared vehicle is in the first state or the second state. When the vibration wake-up device does not vibrate, it will be in the first state even if it is not in the preset sleep time period, and the power consumption of the Bluetooth routing device is less than the power consumption threshold, further reducing the operating power consumption; when the vibration wake-up device vibrates, it will be in the second state even in the preset sleep time period, and the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval, and can respond to the user's return vehicle instruction in a timely manner.
[0096] In some embodiments, when the shared vehicle is in an unlocked state, in response to the riding time not exceeding the preset riding time, the Bluetooth routing device broadcasts at a first broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; in response to the riding time exceeding the preset riding time, the Bluetooth routing device broadcasts at a second broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval.
[0097] The preset riding time refers to the predicted duration of the current riding. For example, the preset riding time of user A is 10 minutes.
[0098] In some embodiments, the server may determine the preset riding duration based on the user's historical riding data, wherein the user's historical riding data refers to the user's riding data such as the start riding time, end riding time, and riding route of the historical riding orders before the current start riding time.
[0099] In some embodiments, the server may obtain the user's riding data in a certain historical time period and calculate the average riding time of the user in the specific time period. For example, the server calculates that user A rides from point A to point B from 7:00 to 8:00 every weekday, and the average riding time is 10 minutes. The server may determine that the preset riding time of the user at the current starting riding time (Tuesday, 7:30) is 10 minutes.
[0100] In some embodiments, the server may use a second model to process the user's historical riding data and the current start riding time to obtain a preset riding duration. For example, the server may input the user's historical riding data and the current start riding time into a second model, and the second model may output the preset riding duration. The second model may be a CNN, a DNN, or a NN, etc. The server may use the user's historical riding data before the historical moment and the start riding time of the historical moment as training data to train the second model, so that the second model can output its corresponding preset riding duration based on the user's historical riding data and the current start riding time. The label corresponding to the training data may be the actual historical riding duration of the historical moment.
[0101] In some embodiments of the present specification, by determining the predicted riding time, the unlocking state can be divided into two time periods: the riding time does not exceed the predicted riding time and the riding time exceeds the riding time. During the time period where the riding time does not exceed the predicted riding time, the Bluetooth routing device broadcasts with a larger preset broadcast interval (i.e., the first broadcast interval), or the Bluetooth routing device scans the central control Bluetooth with a larger preset heartbeat interval (i.e., the first heartbeat interval), thereby further reducing the operating power consumption.
[0102] Figure 4 FIG. 1 is an exemplary flow chart of a control method of a Bluetooth router device in a second state according to some other embodiments of this specification. Figure 4 As shown, process 400 includes the following steps. In some embodiments, Figure 4 One or more operations of the process 400 shown may be performed in Figure 1 The control system 100 of the Bluetooth router device shown in the figure is implemented in the application scenario. For example, Figure 4 The process 400 shown may be stored in a storage device in the form of instructions and called and / or executed by the processor 140 .
[0103] Step 410: Turn on the Bluetooth routing device.
[0104] Step 420: The Bluetooth router self-checks whether a connection is established with the central control Bluetooth. For more information about the process of the Bluetooth router self-checking whether a connection is established with the central control Bluetooth, see Figure 5 and its related description.
[0105] Step 430: The central control detects the server-side routing solution configuration.
[0106] The routing scheme configuration may include scheme A and scheme B. Scheme A refers to a scheme in which the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval in the second state. Scheme B refers to a scheme in which the Bluetooth routing device broadcasts at a preset broadcast interval in the second state.
[0107] Step 440: Is it plan A?
[0108] The central control can determine whether the routing scheme configuration is scheme A. In response to the scheme configuration being scheme A, step 450 is executed; in response to the scheme configuration not being scheme A, that is, scheme B, step 4130 is executed.
[0109] Step 450: Maintain a long connection with the central control Bluetooth.
[0110] In response to the scheme being configured as Scheme A, the Bluetooth routing device may scan the central control Bluetooth at a preset heartbeat interval, so that the Bluetooth routing device may maintain a long connection with the central control.
[0111] Step 460: Failed to connect to the central control Bluetooth after 3 attempts.
[0112] When the Bluetooth routing device maintains a long connection with the central control and fails to connect to the central control via Bluetooth three times, execute step 470.
[0113] Step 470: Confirm the fault information report according to the buried point.
[0114] Step 480: The heartbeat interval is 4s.
[0115] When the Bluetooth routing device maintains a long connection with the central control and there is no failure in the Bluetooth connection with the central control, the Bluetooth routing device can set the preset heartbeat interval to 4s (i.e., the first heartbeat interval) and scan the central control Bluetooth with a heartbeat interval of 4s.
[0116] Step 490: Is it in unlocked state?
[0117] The central control determines whether the shared vehicle is in an unlocked state. In response to the shared vehicle being in an unlocked state, step 4100 is executed; in response to the shared vehicle not being in an unlocked state (i.e., in a locked state), step 480 is continued, i.e., the preset heartbeat interval is maintained at 4s.
[0118] Step 4100: The heartbeat interval is 1s.
[0119] The Bluetooth routing device can set the preset heartbeat interval to 1s (ie, the second heartbeat interval), and scan the central control Bluetooth at a heartbeat interval of 1s.
[0120] Step 4110: Whether a user clicks to return the car.
[0121] When the Bluetooth router scans the central control Bluetooth with a heartbeat interval of 1 second, the central control can determine whether a user clicks to return the car. In response to a user clicking to return the car, step 4120 is executed; in response to no user clicking to return the car, step 4100 is continued, i.e., the preset heartbeat interval is maintained at 1 second.
[0122] Step 4120: Start the road spike scanning and return the scanning results to the central control.
[0123] In response to a user clicking "return the car", the Bluetooth routing device starts scanning for road studs, and the scanning result is returned to the central control. Then, step 4250 is executed.
[0124] Step 4130: Perform a long broadcast.
[0125] In response to the scheme being configured as scheme B, the Bluetooth routing device may perform long broadcasting at a preset broadcasting interval.
[0126] Step 4140: The broadcast interval is 1s.
[0127] The Bluetooth routing device may set the preset broadcast interval to 1 s (ie, the first broadcast interval), and broadcast at a broadcast interval of 1 s.
[0128] Step 4150: Check whether a user has scanned to unlock the door.
[0129] The user's mobile phone can determine whether there is a user scanning to unlock. In response to a user scanning to unlock, step 4160 is executed; in response to no user scanning to unlock, step 4140 is continued, that is, the broadcast interval is kept at 1 second.
[0130] Step 4160: The user's mobile phone is connected to the Bluetooth routing device.
[0131] In response to a user scanning to unlock the door, the user's mobile phone connects to the Bluetooth routing device.
[0132] Step 4170: Whether the connection is successful.
[0133] The Bluetooth routing device determines whether it is successfully connected to the mobile phone. In response to a successful connection, step 4180 is executed; in response to an unsuccessful connection, step 4230 is executed.
[0134] Step 4180: The broadcast interval is 200ms, and the mobile phone connection is disconnected.
[0135] In response to the successful connection, the shared vehicle is in an unlocked state, and the Bluetooth routing device can set the preset broadcast interval to 200 ms (ie, the second broadcast interval) and broadcast at a broadcast interval of 200 ms.
[0136] Step 4190: Whether a user clicks to return the vehicle.
[0137] During the process of the Bluetooth router device broadcasting at a broadcast interval of 200ms, the user's mobile phone can determine whether a user clicks to return the car. In response to a user clicking to return the car, step 4200 is executed; in response to no user clicking to return the car, step 4180 is continued, that is, the preset broadcast interval is kept set to 200ms.
[0138] Step 4200: The APP opens the mobile phone to scan the Bluetooth routing device and initiate a connection.
[0139] In response to a user clicking to return the car, the APP turns on the mobile phone to scan for Bluetooth routing devices and initiates a connection with the Bluetooth routing device.
[0140] Step 4210: Is the connection successful?
[0141] The Bluetooth router device determines whether it is successfully connected to the mobile phone. In response to a successful connection, step 4220 is executed; in response to an unsuccessful connection, step 4240 is executed, that is, the fault information is reported according to the buried point confirmation.
[0142] Step 4220: Start the road spike scanning and return the scanning results to the mobile phone.
[0143] In response to a user clicking "return the car", the Bluetooth routing device starts scanning for road spikes, and the scanning result is returned to the mobile phone. Then, step 4250 is executed.
[0144] Step 4230: Retry 3 times to see if it is successful.
[0145] In response to the user's mobile phone failing to connect to the Bluetooth router, retry three times and determine whether it is successful. In response to success, execute step 4180; in response to failure, execute step 4240.
[0146] Step 4240: Confirm the fault information report according to the tracking point.
[0147] Step 4250: The scanning result is reported to the server to determine the vehicle return result.
[0148] The central control or mobile phone reports the scanning results to the server, and the server determines the return result, that is, whether the shared vehicle is in the parking space and meets the prescribed parking requirements.
[0149] Step 4260: End.
[0150] It should be noted that the above description of the control method of the process Bluetooth routing device in the second state is only for example and illustration, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the control method of the process Bluetooth routing device in the second state under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.
[0151] Figure 5 It is a schematic diagram of the process of connecting a Bluetooth routing device to a central control Bluetooth according to some embodiments of this specification.
[0152] In some embodiments, after the Bluetooth routing device is turned on, it can determine whether to bind the MAC address. When the judgment is no, the Bluetooth routing device ends the connection with the central control Bluetooth; when the judgment is yes, it actively initiates the connection with the central control Bluetooth and starts the reconnection timer. The central control Bluetooth determines whether the connection request is received. When the judgment result is yes, the Bluetooth routing device is successfully connected to the central control Bluetooth, and reports the central control connection success event. Then, the Bluetooth routing device determines whether the connection is successful. When the judgment result is yes, the reconnection timer is turned off, the status is updated to connected, and the authentication operation is initiated. Then, the Bluetooth routing device transmits data to the central control Bluetooth. After the central control receives the authentication instruction, it forwards it to the server through the 4G network. The server determines the authentication result, replies with the authentication result, and transmits data to the central control Bluetooth. Finally, the central control Bluetooth device determines whether the authentication is successful based on the transparent transmission data. When the judgment result is yes, the Bluetooth routing device establishes a connection with the central control Bluetooth and ends; when the judgment result is no, the connection is disconnected.
[0153] In some embodiments, the control device of the Bluetooth routing device includes a processor and a memory; the memory is used to store instructions, and when the instructions are executed by the processor, the device causes the device to implement the control method of the Bluetooth routing device.
[0154] In some embodiments, a computer-readable storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer runs the control method of the Bluetooth routing device.
[0155] The beneficial effects that may be brought about by the embodiments of this specification include but are not limited to: (1) By controlling the Bluetooth routing device of the shared vehicle to enter the first state when the first preset condition is met, the power consumption of the Bluetooth routing device can be made less than the power consumption threshold when idle, thereby achieving the purpose of low-power operation to meet the needs of long-term outdoor use. (2) By setting the preset broadcast interval time to a larger interval time when the shared vehicle is in a locked state, the power consumption can be reduced. When the shared vehicle is in an unlocked state, the preset broadcast interval time is set to a smaller interval time, and when the user sends a return vehicle instruction, a quick response can be made to improve the user experience and improve user satisfaction. (3) By setting the preset heartbeat interval time to a larger interval time when the shared vehicle is in a locked state, the power consumption can be reduced. When the shared vehicle is in an unlocked state, the preset heartbeat interval time is set to a smaller interval time, and when the user sends a return vehicle instruction, a quick response can be made to improve the user experience and improve user satisfaction. (4) By controlling the Bluetooth routing device of the shared vehicle to enter the first state when the first preset condition is met, the power consumption of the Bluetooth routing device can be made less than the power consumption threshold when idle, thereby achieving the purpose of low-power operation to meet the needs of long-term outdoor use. (5) By setting a vibration wake-up device on the Bluetooth router device, it is possible to determine whether each shared vehicle has moved, thereby more accurately determining whether the Bluetooth router device of each shared vehicle is in the first state or the second state. When the vibration wake-up device does not vibrate, it will be in the first state even if it is not in the preset sleep time period, and the power consumption of the Bluetooth router device is less than the power consumption threshold, further reducing the operating power consumption; when the vibration wake-up device vibrates, it will be in the second state even in the preset sleep time period, and the Bluetooth router device broadcasts at the preset broadcast interval time, or the Bluetooth router device scans the central control Bluetooth at the preset heartbeat interval time, and can respond to the user's return instruction in time. (6) By determining the predicted riding time, the unlocking state can be divided into two time periods: the riding time does not exceed the predicted riding time and the riding time exceeds the riding time. In the time period when the riding time does not exceed the predicted riding time, the Bluetooth router device broadcasts at a larger preset broadcast interval time (i.e., the first broadcast interval time), or the Bluetooth router device scans the central control Bluetooth at a larger preset heartbeat interval time (i.e., the first heartbeat interval time), further reducing the operating power consumption.
[0156] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0157] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0158] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0159] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0160] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0161] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0162] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A method for controlling a Bluetooth routing device, characterized in that: The method comprises: In response to satisfying a first preset condition, controlling a Bluetooth routing device of the shared vehicle to enter a first state, in which the power consumption of the Bluetooth routing device is less than a power consumption threshold; In response to satisfying the second preset condition, the Bluetooth routing device is controlled to enter a second state. In the second state, the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval.
2. The method according to claim 1, characterized in that In the second state, the method further includes: In response to the user sending an instruction to return the car, the user's terminal device scans the broadcast information of the Bluetooth routing device to connect to the Bluetooth routing device and sends an instruction to scan the ground nails to the Bluetooth routing device.
3. The method according to claim 2, characterized in that The Bluetooth routing device broadcasts at a preset broadcast interval time including: The Bluetooth routing device performs long broadcasting; In response to the shared vehicle being in a locked state, the Bluetooth routing device broadcasts at a first broadcast interval; In response to the shared vehicle being in an unlocked state, the Bluetooth routing device broadcasts at a second broadcast interval, where the second broadcast interval is smaller than the first broadcast interval.
4. The method according to claim 1, characterized in that The Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval time, including: The Bluetooth routing device maintains a long connection with the central control Bluetooth; In response to the shared vehicle being in a locked state, the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; In response to the shared vehicle being in an unlocked state, the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is smaller than the first heartbeat interval.
5. The method according to claim 1, characterized in that The Bluetooth routing device includes a vibration awakening device, the first preset condition is that the vibration awakening device does not vibrate, and the second preset condition is that the vibration awakening device vibrates.
6. The method according to claim 1, characterized in that The first preset condition is that the current moment is in a preset sleep time period, and the second preset condition is that the current moment is not in the preset sleep time period. Determining the preset sleep time period includes: The preset sleep time period is determined based on historical switch lock data.
7. The method according to claim 1, characterized in that The shared vehicle is in an unlocked state, the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval, including: In response to the riding time not exceeding the predicted riding time, the Bluetooth routing device broadcasts at a first broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a first heartbeat interval; In response to the riding time exceeding the predicted riding time, the Bluetooth routing device broadcasts at a second broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a second heartbeat interval, and the second heartbeat interval is less than the first heartbeat interval; Wherein, determining the predicted riding time includes: The predicted riding duration is determined based on the user's historical riding data.
8. A control system for a Bluetooth routing device, characterized in that: include: A first control module, configured to control a Bluetooth routing device of a shared vehicle to enter a first state in response to satisfying a first preset condition, wherein the power consumption of the Bluetooth routing device is less than a power consumption threshold value in the first state; The second control module is used to control the Bluetooth routing device to enter a second state in response to satisfying a second preset condition. In the second state, the Bluetooth routing device broadcasts at a preset broadcast interval, or the Bluetooth routing device scans the central control Bluetooth at a preset heartbeat interval.
9. A control device for a Bluetooth routing device, comprising a processor, wherein the processor is used to execute the control method for the Bluetooth routing device according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the control method of the Bluetooth routing device according to any one of claims 1 to 7.