A mode switching method, device, system and storage medium

By switching the working mode according to conditions such as Bluetooth connection status, CAN network status and positioning method in the Bluetooth key system, the problem of increased vehicle static power consumption and power failure risk caused by positioning accuracy error in critical areas is solved, thus achieving the effect of reducing power consumption and improving reliability.

CN115866523BActive Publication Date: 2025-12-05GREAT WALL MOTOR CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211482435.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-24
Publication Date
2025-12-05
Estimated Expiration
2042-11-24

AI Technical Summary

Technical Problem

Bluetooth keys can increase vehicle static power consumption and raise the risk of battery depletion due to positioning accuracy errors within a preset critical area.

Method used

By comprehensively considering working conditions such as Bluetooth connection status, CAN network status, and positioning method, the working mode is switched within the critical area to avoid vehicle network wake-up due to positioning accuracy errors.

Benefits of technology

It reduces the risk of vehicle power failure, decreases static power consumption, and improves vehicle reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115866523B_ABST
    Figure CN115866523B_ABST
Patent Text Reader

Abstract

The application discloses a mode switching method, device, system and storage medium, and is applied to the field of automobile Bluetooth key. The method comprises the following steps: when the connection distance between a mobile phone and a vehicle is lower than a preset threshold, the current working condition and a first working mode are acquired. The first working mode is used for indicating the working mode of the current Bluetooth BLE system. The first switching relationship between the working condition and the working mode in the first working mode is determined. According to the current working condition, the first working mode is switched to a second working mode based on the first switching relationship. In this way, the Bluetooth BLE system is switched in the working mode when the preset switching condition and the distance from the vehicle are satisfied. The technical problem that the vehicle network is constantly woken up due to the influence of the positioning accuracy of only using the distance from the vehicle is avoided, and the risk of vehicle power supply is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of automobile Bluetooth key, in particular to a mode switching method, device, system and storage medium. BACKGROUND

[0002] With the high intelligence of the automobile market, digital key, especially Bluetooth key, has become an important part of vehicle configuration due to its portability. Among them, multi-node Bluetooth key (1 Bluetooth master module + multiple Bluetooth antenna composed Bluetooth key), because it can realize positioning function through Bluetooth signal strength, has become the key to the development of Bluetooth key.

[0003] However, the Bluetooth signal strength is easily disturbed by human body and environment and other factors, resulting in positioning accuracy error. Due to the error influence, the Bluetooth key will constantly wake up the whole vehicle network in the preset critical area, such as within 50m from the vehicle, resulting in increased vehicle static power consumption and increased vehicle power supply risk. SUMMARY

[0004] Therefore, the present application provides a mode switching method, device, system and storage medium, which aims to comprehensively consider the preset working condition and the distance from the vehicle to switch the working mode, so as to reduce the positioning accuracy error and the problem of high vehicle power supply risk in the critical area.

[0005] In a first aspect, the present application provides a mode switching method applied to a Bluetooth low energy (BLE) system of a vehicle, the method comprising:

[0006] In response to the connection distance between the mobile phone and the vehicle being lower than a preset threshold, obtaining a current working condition and a first working mode; the first working mode is used to indicate the current working mode of the Bluetooth BLE system;

[0007] According to the first working mode, determining a preset working condition and working mode first switching relationship; the first switching relationship is the switching relationship in the first working mode;

[0008] According to the current working condition, the first working mode is switched to a second working mode based on the first switching relationship.

[0009] Optionally, the first working mode is one of a first pre-working mode, a second pre-working mode, a normal working mode, a low power consumption mode, or a sleep waiting mode;

[0010] The first pre-working mode, the second pre-working mode, the normal working mode, the low power consumption mode, and the sleep waiting mode are obtained by dividing the whole working process of the BLE system according to the Bluetooth connection state, the positioning mode and the CAN network state.

[0011] Optionally, when the first working mode is the first pre-working mode, the first switching relationship between the preset working condition and the working mode comprises:

[0012] When the preset working condition is a safe connection condition, the first pre-working mode is switched to a second pre-working mode;

[0013] When the preset working condition is a first sleep waiting condition, the first pre-working mode is switched to a sleep waiting mode.

[0014] Optionally, when the first working mode is the second pre-working mode, the first switching relationship between the preset working condition and the working mode comprises:

[0015] When the preset working condition is a second sleep waiting condition, the second pre-working mode is switched to the sleep waiting mode;

[0016] When the preset working condition is a first normal working condition, the second pre-working mode is switched to the normal working mode;

[0017] When the preset working condition is a first return condition, the second pre-working mode is switched to the first pre-working mode.

[0018] Optionally, when the first working mode is the normal working mode, the first switching relationship between the preset working condition and the working mode comprises:

[0019] When the preset working condition satisfies a third sleep waiting condition, the normal working mode is switched to the sleep waiting mode;

[0020] When the preset working condition satisfies the first return condition, the normal working mode is switched to the first pre-working mode.

[0021] Optionally, when the first working mode is the sleep waiting mode, the first switching relationship between the preset working condition and the working mode comprises:

[0022] When the preset working condition satisfies a second return condition, the sleep waiting mode is switched to the first pre-working mode;

[0023] When the preset working condition satisfies a second normal working condition, the sleep waiting mode is switched to the normal working mode;

[0024] When the preset working condition satisfies a low power consumption condition, the sleep waiting mode is switched to a low power consumption mode.

[0025] Optionally, when the first working mode is the low-power-consumption mode, the first switching relationship between the preset working condition and the working mode comprises:

[0026] When the preset working condition is a Bluetooth wake-up condition, the low-power-consumption mode is switched to the first working mode.

[0027] In a second aspect, a mode switching device is applied to a Bluetooth low energy (BLE) system of a vehicle, and the device comprises:

[0028] a response unit configured to acquire a current working condition and a first working mode in response to a connection distance between a mobile phone and the vehicle being lower than a preset threshold, the first working mode being used to indicate a current working mode of the Bluetooth BLE system;

[0029] a determination unit configured to determine a first switching relationship between a preset working condition and the working mode according to the first working mode, the first switching relationship being a switching relationship in the first working mode;

[0030] a switching unit configured to switch the first working mode to a second working mode according to the current working condition and based on the first switching relationship.

[0031] In a third aspect, the application provides a vehicle system comprising the mode switching device according to the second aspect.

[0032] In a fourth aspect, the application provides a computer storage medium having code stored therein, and when the code is executed, a device executing the code implements the method according to any one of the first aspect.

[0033] The application discloses a mode switching method, device, system and storage medium, and is applied to the field of automobile Bluetooth keys. When the method is executed, first, when a connection distance between a mobile phone and a vehicle is lower than a preset threshold, a current working condition and a first working mode are acquired. The first working mode is used to indicate a current working mode of a Bluetooth BLE system. A first switching relationship between the working condition and the working mode in the first working mode is determined. The first working mode is switched to a second working mode according to the current working condition and based on the first switching relationship. In this way, the Bluetooth BLE system is switched between working modes when the preset switching condition and the distance from the vehicle are both satisfied. The influence of the positioning accuracy on the distance from the vehicle is avoided, the influence of the constant wake-up of the vehicle network is avoided, and the risk of power supply of the vehicle is reduced. BRIEF DESCRIPTION OF DRAWINGS

[0034] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The same or similar components have the same or similar reference labels. It should be understood that the drawings are schematic and elements are not necessarily drawn to scale.

[0035] Figure 1 An application scenario of a mode switching method provided by an embodiment of the present application is shown in the figure;

[0036] Figure 2 A mode switching method provided by an embodiment of the present application is shown in the figure;

[0037] Figure 3 A division of a functional area provided by an embodiment of the present application is shown in the figure;

[0038] Figure 4 A mode switching relationship provided by an embodiment of the present application is shown in the figure;

[0039] Figure 5 A mode switching device structure provided by an embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0040] The term "comprising" and variations thereof as used herein are used inclusively, that is, "comprising but not limited to." The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment." The term "another embodiment" means "at least one additional embodiment." The term "some embodiments" means "at least some embodiments." Related definitions of other terms will be given in the description below.

[0041] It should be noted that the terms "first", "second", and the like in the present disclosure are merely used to distinguish different devices, modules or units, and do not limit the functions performed by these devices, modules or units.

[0042] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise explicitly stated in the context, it should be understood as "one or more".

[0043] As described above, the current multi-node Bluetooth key (a Bluetooth key composed of one Bluetooth master module and multiple Bluetooth antennas) realizes positioning through the strength of the Bluetooth signal, but the strength of the Bluetooth signal is disturbed by factors such as human bodies and the environment, and the positioning accuracy has errors. At present, the positioning accuracy has a deviation range of 1-5m. This leads to the Bluetooth key constantly waking up the vehicle network in the preset critical area, such as within a range of 50m from the vehicle, resulting in an increase in the static power consumption of the vehicle, thereby increasing the risk of power supply to the vehicle.

[0044] Based on the above problems, the preset critical region is considered comprehensively in combination with other working conditions, such as a Bluetooth connection state, a CAN network, a positioning mode and the like, so that the working mode is switched according to different working conditions in the critical region, thereby avoiding the influence of the positioning accuracy on the condition of using the preset critical region and the influence of the need to constantly wake up the vehicle network. In this way, the risk of vehicle power supply is reduced.

[0045] In order to better illustrate the embodiments of the present application, first, the application scenario of the mode switching method provided by the present application is introduced.

[0046] Referring to Figure 1 The application scenario of the mode switching method provided by the present application is shown in the figure. In the embodiments of the present application, the mode switching method is applied to a Bluetooth low energy (BLE) system. The BLE system includes:

[0047] A mobile phone 103 on the mobile phone side, a vehicle control unit 101 on the vehicle side, a Bluetooth module 102, and a Bluetooth antenna. In the embodiments of the present application, the number of Bluetooth antennas is 3, which is only illustrative, and can be adjusted as needed.

[0048] The vehicle control unit 101 transmits data with the Bluetooth module 102 through CAN communication, and combines the Bluetooth antenna to jointly complete the positioning of the vehicle by the mobile phone through 2.4G Bluetooth communication.

[0049] In the embodiments of the present application, the Bluetooth module includes a Bluetooth master chip and a security chip, wherein the Bluetooth master chip is used to wake up the Bluetooth work, and the security chip is used to determine the security connection of the Bluetooth. The CAN communication is completed through the CAN bus. In the embodiments of the present application, the CAN bus includes a release state and a request state. The release state indicates that the CAN bus has no communication, and the request state indicates that the CAN bus is in communication. The Bluetooth module 102 wakes up the vehicle network through CAN communication, and the vehicle control unit 102 performs mobile phone positioning through CAN communication.

[0050] In the embodiments of the present application, the mobile phone 103 and the Bluetooth module 102 communicate with each other through 2.4G high-frequency communication to realize mobile phone positioning. The 2.4G high-frequency communication can be adjusted as needed.

[0051] The mode switching method provided by the present application is introduced below in combination with the BLE system. Referring to Figure 2 The mode switching method provided by the present application includes the following steps:

[0052] S201: When the connection distance of the mobile phone from the vehicle is lower than a preset threshold, the current working condition and the first working mode are obtained.

[0053] In the embodiment of the present application, when the vehicle BLE system acquires the connection distance of the mobile phone from the vehicle, the relationship between the connection distance and the preset threshold is determined. When the connection distance is lower than the preset threshold, the BLE system acquires the current working condition and the current working mode, i.e., the first working mode.

[0054] In a possible implementation, the vehicle is provided with a radar, and the radar acquires the connection distance of the mobile phone from the vehicle through a radar signal and sends the connection distance to the BLE system.

[0055] Exemplary illustration: assuming that the preset threshold is 50 m, when the connection distance acquired by the BLE system is 10 m, which is lower than the preset threshold, the BLE system acquires the current working condition and the first working mode.

[0056] In the embodiment of the present application, the current working condition involves the current Bluetooth connection state, the positioning method, the CAN network state, etc. Among them, the Bluetooth connection state includes whether the pairing is successful, whether the Bluetooth identity authentication is passed, etc., the positioning method includes the functional area where the mobile phone is located, the time when the mobile phone is located in the functional area, and whether the positioning changes in the functional area, etc. The CAN network includes whether the CAN is in the release state or in the request state, etc.

[0057] For the division of the functional area, see Figure 3 , which will not be discussed here.

[0058] The first working mode is the working mode of the current BLE system. In the embodiment of the present application, the BLE system works from sleep to normal work to sleep, and its working mode can be subdivided into five working modes according to the Bluetooth connection state, the positioning method, and the CAN network, including the first pre-working mode, the second pre-working mode, the normal mode, the low-power mode, and the sleep waiting mode. The specific conditions of the first pre-working mode, the second pre-working mode, the normal working mode, the low-power mode, and the sleep waiting mode are shown in Table 1 below. Here, they will not be discussed.

[0059] S202: determining the first switching relationship between the preset working condition and the working mode according to the first working mode.

[0060] In the embodiment of the present application, the BLE system pre-sets the corresponding relationship between the working mode and the switching relationship, and the switching relationship is the switching relationship between the preset working condition and the working mode. According to the first working mode and the corresponding relationship between the preset working mode and the switching relationship, the first switching relationship corresponding to the first working model is determined. That is, the first switching relationship between the preset working condition and the working mode is determined.

[0061] In a possible implementation, when the first working mode is the low-power mode, the first switching relationship is that, when the preset working condition is a Bluetooth wake-up condition, such as vehicle power-on or other Bluetooth wake-up conditions, the low-power mode is switched to the first preset working mode.

[0062] In a possible implementation, when the first working mode is the first preset working mode, the first switching relationship is that, if the preset working condition is a safe connection condition, such as Bluetooth authentication, the first preset working mode is switched to the second preset working mode. When the preset working condition is a first sleep waiting condition, such as an illegal Bluetooth connection and a CAN network in a release state, a Bluetooth wake-up time exceeding a preset time threshold, and the like, the first preset working mode is switched to the sleep waiting mode.

[0063] In a possible implementation, when the first working mode is the second preset working mode, the first switching relationship is that, if the preset working condition is a second sleep waiting condition, such as a legal Bluetooth connection and a Bluetooth wake-up time exceeding a preset time threshold, but the CAN network is in a release state, the second preset working mode is switched to the sleep waiting mode; if the preset working condition meets a first normal working condition, such as a CAN network in a request state, the second preset working mode is switched to the normal working mode. When the preset working condition is a first return condition, such as the Bluetooth not being in a safe connection state, the second preset working mode is switched to the first preset working mode.

[0064] In a possible implementation, when the first working mode is the normal working mode, the first switching relationship is that, if the preset working condition meets a third sleep waiting condition, such as the normal working mode lasting more than 1 s, the normal working mode is switched to the sleep waiting mode. When the preset working condition meets the first return condition, the normal working mode is switched to the first preset working mode.

[0065] In a possible implementation, when the first working mode is the sleep waiting mode, the first switching relationship is that, if the preset working condition meets a second return condition, such as Bluetooth wake-up and not being in a node mode, the sleep waiting mode is switched to the first preset working mode. If the preset working condition meets a second normal working condition, such as a legal Bluetooth access and Bluetooth authentication, and the CAN network is in a request state, the sleep waiting mode is switched to the normal working mode. If the preset working condition meets a low-power condition, the sleep waiting mode is switched to the low-power mode.

[0066] In the embodiment of the application, the process of switching the sleep waiting mode to the low-power mode is irreversible, and when the low-power mode is switched to the sleep waiting mode, the BLE system needs to be reset.

[0067] S203: Switching the first working mode to the second working mode based on the first switching relationship according to the current working condition.

[0068] In the embodiments of the present application, for the current working condition satisfying the safe connection condition and the first working mode being the first pre-working mode, the second working mode is the second pre-working mode. For the current working condition satisfying the first sleep waiting condition and the first working mode being the first pre-working mode, the second working mode is the sleep waiting mode. For the first working mode being other working modes, such as the second pre-working mode, the normal working mode, etc., the second working mode is obtained according to the switching relationship of step S202.

[0069] Table 1 BLE system working mode division table

[0070]

[0071] Referring to Table 1, a BLE system working mode division table provided in the embodiments of the present application is provided. The first pre-working mode is that the main module is in an awake state, there is a Bluetooth connection, but no safe connection is established (at this time, the security chip is in a normal working state), and no CAN message is actively sent (the CAN is in a released state), at this time, the Bluetooth antenna is closed.

[0072] The second pre-working mode is that the main module is in an awake state, there is a legal mobile phone Bluetooth connection, i.e., the pairing is successful, and a safe connection is established (at this time, the security chip is in a normal working state), at this time, the Bluetooth antenna is opened, but no CAN message is actively sent. At this time, no mobile phone positioning is performed.

[0073] The normal mode is that the main module is in an awake state, there is a legal mobile phone Bluetooth connection, the Bluetooth antenna is opened, the CAN communication is started, and the mobile phone is positioned through multiple Bluetooth antennas.

[0074] The low-power mode is that the main module is in a low-power state, at this time, no CAN message is actively sent. At this time, according to the Bluetooth safe connection state, it is determined whether the security chip is in a normal working state, and the Bluetooth antenna is closed.

[0075] The sleep waiting mode is that the system notifies the Bluetooth main module to enter a low-power state, and waits for several seconds to ensure that the Bluetooth is in a low-power state. At this time, no CAN message is actively sent, and the Bluetooth antenna state is consistent with the previous state. At this time, according to the Bluetooth safe connection state, it is determined whether the security chip is in a normal working state.

[0076] Referring to Figure 3Fig. 1 is a schematic diagram of the division of the functional area provided by the embodiment of the present application. Among them, region 1 is the in-vehicle area, region 2 is the main driver passive unlocking and automatic unlocking area, region 3 is the co-driver passive unlocking and automatic unlocking area, region 6 is the rear door passive unlocking area, and region 7 is the wake-up area, including regions 2, 3 and 6.

[0077] Other areas are all areas except regions 1 and 7, and Bluetooth unconnected areas.

[0078] Among them, region 2 is the area within 1.5m from the main driver door of the vehicle; region 3 is the area within 1.5m from the co-driver door of the vehicle; and region 6 is the area within 1.5m from the rear door of the vehicle.

[0079] The mode switching method disclosed by the present application first acquires the current working condition and the first working mode when the distance between the mobile phone and the vehicle is lower than the preset threshold. The first working mode is used to indicate the working mode of the Bluetooth BLE system. The switching relationship between the working condition and the working mode in the first working mode is determined. According to the current working condition, the first working mode is switched to the second working mode based on the switching relationship. In this way, the Bluetooth BLE system is switched when the preset switching condition and the distance from the vehicle are met. The influence of the positioning accuracy on the distance from the vehicle is avoided, the influence of the constant wake-up of the vehicle network is avoided, and the risk of vehicle power supply is reduced.

[0080] In order to switch the Bluetooth module between different working modes through software adjustment, the present application embodiment counts the specific working conditions involved in the BLE system working, and designs the following working mode switching relationship diagram according to the specific working conditions.

[0081] Table 2 Working condition table

[0082]

[0083] Referring to Table 2, the working condition table provided by the present application embodiment. Among them, the working condition includes at least one of A, B, C, D, E, G, H, J, K, L, N, P, Q, R, S or T conditions. The above conditions are specifically shown in Table 2, which will not be discussed here.

[0084] According to Table 2, the logical relationship between the BLE system built-in working condition and the working mode switching. Referring to Figure 4 A schematic diagram of the working mode switching relationship provided by the embodiment of the present application. That is, by constructing the above working table and the switching relationship of the working mode, and embedding the above switching relationship in the BLE system, so that the BLE system determines the current working mode switching mode according to the current working condition and the current corresponding relationship.

[0085] As Figure 4 shown, when the Bluetooth module is in low power consumption mode, and the condition!E||N||G||J (i.e. Bluetooth wake-up condition) is met, including CAN being in request state, or Bluetooth wake-up, or receiving Bluetooth operation control instruction, or Bluetooth identity verification passing, the Bluetooth module will be woken up, and the BLE system will enter the first pre-working mode.

[0086] When the BLE system is in the first pre-working mode, if the condition A&L (safe connection condition) is met, i.e. Bluetooth pairing is successful, and Bluetooth identity verification is passed, the BLE system enters the second pre-working mode. If the condition!A&K&E||R&E (i.e. first sleep waiting condition) is met, the first sleep waiting time includes two cases, one is that pairing is not successful, the master module is started or woken up for more than 5s, and the CAN is in BUS SLEEP or BUS OFF condition, and the other is that the CAN signal of receiving node mode signal is not in normal working mode, and the CAN is in BUS SLEEP or BUS OFF condition. At this time, the BLE system enters the sleep waiting mode.

[0087] When the Bluetooth module is in the second pre-working mode, if the Bluetooth module meets the condition A&L&D&K&E||R&E (i.e. second sleep waiting condition), i.e. including two cases, one is that pairing is successful, and Bluetooth identity verification is passed, and the mobile phone is in other area for more than 10 min, and the MCU is started or woken up for more than 5s, and the CAN is in BUS SLEEP or BUS OFF condition. The second is that pairing is successful, and Bluetooth identity verification is passed, and the mobile phone is in other area for more than 10 min, and the CAN signal of receiving node mode signal is not in normal working mode, and the CAN is in BUS SLEEP or BUS OFF condition. At this time, the BLE system enters the sleep waiting mode.

[0088] If the condition A&L&(B||G) (i.e. first normal working condition) is met, including pairing is successful, and Bluetooth identity verification is passed, and the mobile phone is in any one of 1 / 2 / 3 / 6 area, or receiving Bluetooth operation control instruction. At this time, the BLE system enters the normal working mode.

[0089] If the condition!A||!L (i.e. first return condition) is met, i.e. pairing is not successful, or Bluetooth identity verification is not passed, the Bluetooth module returns to the first pre-working mode.

[0090] When the BLE system is in the sleep waiting mode, if the condition E||(N&S) (i.e., the second return condition) is met, i.e., the CAN NM is in the request state, or the Bluetooth is woken up and is not in the node mode, the BLE system enters the first pre-working mode. When the condition A&L&(Q&S||G) (i.e., the second normal working condition) is met, i.e., the pairing is successful, and the Bluetooth identity authentication is passed, and the positioning of the mobile phone in any one of 1 / 2 / 3 / 6 areas changes, and the mobile phone is not in the node mode, or the pairing is successful, and the Bluetooth identity authentication is passed, and the positioning of the mobile phone in any one of 1 / 2 / 3 / 6 areas changes, and a Bluetooth operation control instruction is received, the BLE system enters the normal working mode.

[0091] If the low-power consumption condition is met, i.e., P (a BLE sleep response is received or 10 s is timed out), the BLE system enters the low-power consumption condition.

[0092] In the embodiment of the application, the Bluetooth module is switched between different working modes through software adjustment without changing the whole vehicle architecture, so that the whole vehicle power consumption is reduced, and the vehicle reliability is improved. Relying on the normal use habit of the vehicle owner, the product is optimized as much as possible under the premise of meeting the driving demand of the vehicle owner through software adjustment.

[0093] In addition, the embodiment of the application further provides a mode switching device. Referring to Figure 5 A mode switching device 500 provided by the embodiment of the application is shown in FIG. 5. The device 500 includes:

[0094] A response unit 501 is configured to acquire a current working condition and a first working mode in response to the connection distance between the mobile phone and the vehicle being lower than a preset threshold value; the first working mode is used to indicate the current working mode of the Bluetooth BLE system.

[0095] A determination unit 502 is configured to determine a preset switching relationship between the working condition and the working mode according to the first working mode; the switching relationship is a switching relationship in the first working mode.

[0096] A switching unit 503 is configured to switch the first working mode to a second working mode based on the switching relationship according to the current working condition.

[0097] The first working mode is one of a first pre-working mode, a second pre-working mode, a normal working mode, a low-power consumption mode, or a sleep waiting mode.

[0098] The first pre-working mode, the second pre-working mode, the normal working mode, the low-power consumption mode, and the sleep waiting mode are obtained by dividing the whole working process of the BLE system according to the Bluetooth connection state, the positioning mode, and the CAN network state.

[0099] Optionally, the determining unit 502 is specifically configured to: when the preset working condition is the safe connection condition, the switching relationship is to switch the first preset working mode to the second preset working mode.

[0100] When the preset working condition is the first sleep waiting condition, the switching relationship is to switch the first preset working mode to the sleep waiting mode.

[0101] Optionally, the determining unit 502 is specifically configured to: when the preset working condition is the second sleep waiting condition, the switching relationship is to switch the second preset working mode to the sleep waiting mode.

[0102] When the preset working condition is the first normal working condition, the switching relationship is to switch the second preset working mode to the normal working mode.

[0103] When the preset working condition is the first return condition, the second preset working mode is switched to the first preset working mode.

[0104] Optionally, the determining unit 502 is specifically configured to: when the preset working condition meets the third sleep waiting condition, the switching relationship is to switch the normal working mode to the sleep waiting mode.

[0105] When the preset working condition meets the first return condition, the switching relationship is to switch the normal working mode to the first preset working mode.

[0106] Optionally, the determining unit 502 is specifically configured to: when the preset working condition meets the second return condition, the switching relationship is to switch the sleep waiting mode to the first preset working mode.

[0107] When the preset working condition meets the second normal working condition, the switching relationship is to switch the sleep waiting mode to the normal working mode.

[0108] When the preset working condition meets the low-power consumption condition, the switching relationship is to switch the sleep waiting mode to the low-power consumption mode.

[0109] Optionally, the determining unit 502 is specifically configured to: when the preset working condition is the Bluetooth wake-up condition, the switching relationship is to switch the low-power consumption mode to the first preset working mode.

[0110] The mode switching device disclosed in the application comprises a response unit 501, a determination unit 502 and a switching unit 503. The response unit 501 is configured to acquire a current working condition and a first working mode when a distance between the mobile phone and the vehicle is less than a preset threshold. The first working mode is used to indicate a working mode of the Bluetooth BLE system. The determination unit 502 is configured to determine a switching relationship between the working condition and the working mode in the first working mode. The switching unit 503 is configured to switch the first working mode to a second working mode based on the switching relationship and the current working condition. In this way, the Bluetooth BLE system is switched in the working mode when the preset switching condition and the distance from the vehicle are satisfied, thereby avoiding the influence of the positioning accuracy on the distance from the vehicle, avoiding the influence of the constant wake-up of the vehicle network, and reducing the risk of power supply of the vehicle.

[0111] The application further provides a vehicle system comprising the mode switching device.

[0112] The application further provides a corresponding device and a computer readable storage medium for implementing the scheme provided in the application.

[0113] The device comprises a memory and a processor. The memory is configured to store instructions or codes. The processor is configured to execute the instructions or codes, so that the device executes the mode switching method provided in any embodiment of the application.

[0114] In actual application, the computer readable storage medium can adopt any combination of one or more computer readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiment, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component.

[0115] A computer readable signal medium can include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal can take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium can be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate or transport programming for use by or in connection with an instruction execution system, apparatus, or device.

[0116] Program code embodied on a computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0117] Computer program code for carrying out operations for aspects of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In an embodiment, electronic program guide data can be provided to a user's computer from a remote computer through the Internet.

[0118] It is also noted that the illustrative or exemplary aspects described herein can be implemented in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or a system that includes a processor or processing device that can fetch instructions from a computer-readable medium and execute the instructions, for executing logic, or steps in any form.

[0119] The above merely provides one specific embodiment of the present application, but the protection scope of the present application is not limited thereto, any changes or replacements within the technical scope disclosed by the present application, which can be easily thought by any person skilled in the art, should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A mode switching method, characterized in that, The method for a Bluetooth Low Energy (BLE) system applied to vehicles includes: In response to the connection distance between the mobile phone and the vehicle falling below a preset threshold, the system acquires the current operating conditions and a first operating mode. The first operating mode indicates the current operating mode of the BLE system. The current operating conditions include Bluetooth connection status, positioning method, and CAN network status. The Bluetooth connection status includes whether pairing was successful and Bluetooth authentication was passed. The positioning method includes the functional area where the mobile phone is located, the time spent in the functional area, and whether the positioning has changed within the functional area. The CAN network status includes either a release state or a request state. Based on the first working mode, a first switching relationship between preset working conditions and working mode is determined; the first switching relationship is the switching relationship under the first working mode; the preset working conditions are determined by Bluetooth connection status, positioning method and CAN network status. Based on the current working conditions and the first switching relationship, the first working mode is switched to the second working mode; The first working mode is one of the following: a first pre-working mode, a second pre-working mode, a normal working mode, a low-power mode, and a sleep waiting mode; the second working mode is one of the following: a first pre-working mode, a second pre-working mode, a normal working mode, a low-power mode, and a sleep waiting mode; the first working mode and the second working mode are different working modes; in the first pre-working mode, the Bluetooth antenna is off and no Bluetooth secure connection is established, while in the second pre-working mode, the Bluetooth antenna is on and a Bluetooth antenna connection is established. The first pre-working mode, the second pre-working mode, the normal working mode, the low power mode, and the sleep waiting mode are obtained by dividing the entire working process of the BLE system according to the Bluetooth connection status, positioning method, and CAN network status.

2. The method according to claim 1, characterized in that, When the first working mode is the first pre-working mode, determining the first switching relationship between the preset working conditions and the working mode includes: When the preset working condition is a secure connection condition, the first pre-working mode is switched to the second pre-working mode; When the preset working condition is the first sleep waiting condition, the first pre-working mode is switched to the sleep waiting mode.

3. The method according to claim 1, characterized in that, When the first working mode is the second pre-working mode, determining the first switching relationship between the preset working conditions and the working mode includes: When the preset working condition is the second sleep waiting condition, the second pre-working mode is switched to the sleep waiting mode; When the preset working conditions are the first normal working conditions, the second pre-working mode is switched to the normal working mode; When the preset working condition is the first return condition, the second pre-working mode is switched to the first pre-working mode.

4. The method according to claim 2 or 3, characterized in that, When the first working mode is the normal working mode, determining the first switching relationship between the preset working conditions and the working mode includes: When the preset working conditions meet the third sleep waiting condition, the normal working mode is switched to the sleep waiting mode; When the preset working conditions meet the first return condition, the normal working mode is switched to the first pre-working mode.

5. The method according to claim 2 or 3, characterized in that, When the first working mode is a sleep waiting mode, determining the first switching relationship between the preset working conditions and the working mode includes: When the preset working conditions meet the second return condition, the sleep waiting mode is switched to the first pre-working mode; When the preset working conditions meet the second normal working conditions, the sleep waiting mode is switched to the normal working mode; When the preset working conditions meet the low power consumption conditions, the sleep waiting mode is switched to the low power consumption mode.

6. The method according to claim 2 or 3, characterized in that, When the first operating mode is a low-power mode, determining the first switching relationship between the preset operating conditions and the operating mode includes: When the preset working condition is Bluetooth wake-up condition, the low power mode is switched to the first pre-working mode.

7. A mode switching device, characterized in that, A Bluetooth Low Energy system for vehicles, the device comprising: A response unit is used to obtain the current working conditions and a first working mode in response to the connection distance between the mobile phone and the vehicle being lower than a preset threshold; the first working mode is used to indicate the current working mode of the Bluetooth Low Energy system; the current working conditions include Bluetooth connection status, the positioning method of the mobile phone, and CAN network status; The determining unit is configured to determine a first switching relationship between preset working conditions and the working mode based on the first working mode; the first switching relationship is a switching relationship under the first working mode; the preset working conditions are determined by Bluetooth connection status, positioning method and CAN network status. The switching unit is used to switch the first working mode to the second working mode based on the first switching relationship according to the current working conditions; The first working mode is one of the following: a first pre-working mode, a second pre-working mode, a normal working mode, a low-power mode, and a sleep waiting mode; the second working mode is one of the following: a first pre-working mode, a second pre-working mode, a normal working mode, a low-power mode, and a sleep waiting mode; the first working mode and the second working mode are different working modes; in the first pre-working mode, the Bluetooth antenna is off and no Bluetooth secure connection is established, while in the second pre-working mode, the Bluetooth antenna is on and a Bluetooth antenna connection is established. The first pre-working mode, the second pre-working mode, the normal working mode, the low power mode, and the sleep waiting mode are obtained by dividing the entire working process of the Bluetooth Low Energy system according to the Bluetooth connection status, positioning method, and CAN network status.

8. A vehicle system comprising the mode switching device as described in claim 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores code that, when executed, performs the steps of the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Mode processing method and device of vehicle-mounted communication module, medium, equipment and vehicle

    CN114885292A