Configuration method, device, equipment and storage medium of Bluetooth key working mode
By detecting the vehicle status and switching the working mode of the Bluetooth key, and using the trigger button or induction wake-up function instead of scheduled wake-up, the problem of power consumption of the Bluetooth key is solved, the battery life is extended and the functions are enriched.
Patent Information
- Application Number
- CN202410148032.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-02-01
AI Technical Summary
The scheduled wake-up function of existing Bluetooth keys before the vehicle leaves the factory or is sold is not only useless, but also causes unnecessary consumption of Bluetooth key power and shortens battery life.
Provides a method for configuring the working mode of a Bluetooth key. By detecting the vehicle status, if it is in an unsold state, it switches to factory mode or transportation mode, and uses the trigger button wake-up or induction wake-up function to replace the scheduled wake-up function to save power.
It effectively extends the battery life of the Bluetooth key, and flexibly configures the wake-up function according to different states, enriches the functions of the Bluetooth key, and reduces battery energy consumption.
Smart Images

Figure CN117939451B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a configuration method, device, equipment and storage medium for a Bluetooth key working mode. Background Art
[0002] Currently, the Bluetooth key is configured with a timed Bluetooth wake-up function and a button-activated Bluetooth wake-up function by default. However, before the vehicle leaves the factory or is sold, the timed Bluetooth wake-up function is not only useless, but also causes unnecessary consumption of the Bluetooth key's power, shortening the battery life of the Bluetooth key. Summary of the invention
[0003] In view of the above problems, the present application provides a method, apparatus, device and storage medium for configuring a Bluetooth key working mode, so as to configure an energy-saving Bluetooth wake-up function for the Bluetooth key before the vehicle is sold.
[0004] According to one aspect of the present application, a method for configuring a Bluetooth key working mode is provided, the method comprising: obtaining a current working mode of the Bluetooth key, and detecting whether the current working mode is the same as a target working mode; wherein the target working mode comprises a factory mode and a transport mode characterizing that a target vehicle is in an unsold state; the factory mode comprises a trigger button to wake up a Bluetooth function and an induction to wake up a Bluetooth function; the transport mode comprises a trigger button to wake up a Bluetooth function; if the detection result characterizes that the current working mode is different from the target working mode, the target working mode is sent to the Bluetooth key to switch the working mode of the Bluetooth key to the target working mode.
[0005] In an optional manner, before obtaining the current working mode of the Bluetooth key, the configuration method further includes: detecting whether the target vehicle is in an unsold state; if so, executing the step of obtaining the current working mode of the Bluetooth key.
[0006] In an optional manner, the detecting whether the target vehicle is in an unsold state further includes: if it is detected that the target vehicle is in a sold state, a user mode including a timed wake-up Bluetooth function is sent to the Bluetooth key, so that the Bluetooth key sends a Bluetooth signal according to a preset period to establish a Bluetooth connection with the target vehicle.
[0007] In an optional manner, before obtaining the current working mode of the Bluetooth key, the configuration method also includes: detecting whether a Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time period; if the Bluetooth signal is obtained, determining to establish a Bluetooth connection with the Bluetooth key, and executing the step of obtaining the current working mode of the Bluetooth key.
[0008] In an optional manner, before detecting whether the Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time period, the configuration method also includes: detecting whether a target working mode set by a user is received; if the target working mode is detected, turning on the Bluetooth signal acquisition function, and executing the step of detecting whether the Bluetooth signal corresponding to the Bluetooth key is obtained within the preset time period.
[0009] In an optional manner, the configuration method also includes: if the detection result indicates that the current working mode is the same as the target working mode, the target working mode is displayed on the target end so that the user knows that the current working mode of the Bluetooth key is the target working mode; wherein the target end includes a vehicle-mounted screen and a diagnostic instrument.
[0010] In an optional manner, the detection of whether the current working mode is the same as the target working mode further includes: matching the mode identifier corresponding to the current working mode with the target mode identifier corresponding to the target working mode; if the match is successful, a detection result is obtained indicating that the current working mode is the same as the target working mode; if the match fails, a detection result is obtained indicating that the current working mode is different from the target working mode.
[0011] According to another aspect of the present application, a configuration device for a Bluetooth key working mode is provided, the configuration device comprising: an acquisition detection module, used to acquire the current working mode of the Bluetooth key, and detect whether the current working mode is the same as the target working mode; wherein the target working mode comprises a factory mode and a transport mode characterizing that the target vehicle is in an unsold state; the factory mode comprises a trigger button to wake up the Bluetooth function and an induction to wake up the Bluetooth function; the transport mode comprises the trigger button to wake up the Bluetooth function; a configuration module, used to send the target working mode to the Bluetooth key if the detection result characterizes that the current working mode is different from the target working mode, so as to switch the working mode of the Bluetooth key to the target working mode.
[0012] According to one aspect of the present application, an electronic device is provided, including: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the above configuration method is executed.
[0013] According to one aspect of the present application, a computer-readable storage medium is also provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the above-mentioned configuration method.
[0014] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned configuration method.
[0015] This application configures a target working mode for the Bluetooth key according to real-time needs before the vehicle is sold, that is, using a trigger button to wake up the Bluetooth function and / or an induction to wake up the Bluetooth function, replacing the inherent timed wake-up Bluetooth function, to save the battery energy consumption of the Bluetooth key, thereby increasing the battery life of the Bluetooth key. Among them, the target working mode includes factory mode and transportation mode, not a single action mode, which can be flexibly selected according to actual needs, and different wake-up Bluetooth functions are configured according to the selection, so as to enrich the wake-up Bluetooth function of the Bluetooth key.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 It is a flowchart of a method for configuring a Bluetooth key working mode shown in an exemplary embodiment of the present application.
[0019] Figure 2 It is a schematic diagram of a process of configuring a Bluetooth key working mode for a target vehicle shown in an exemplary embodiment of the present application.
[0020] Figure 3 It is a schematic diagram of the process of configuring the Bluetooth key working mode of the diagnostic instrument shown in an exemplary embodiment of the present application.
[0021] Figure 4 It is a structural diagram of a device for configuring a Bluetooth key working mode according to an exemplary embodiment of the present application.
[0022] Figure 5 It is a schematic diagram of the structure of a computer system of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0023] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0024] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0025] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0026] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0027] The existing Bluetooth key is configured with a timed wake-up Bluetooth function and a button wake-up Bluetooth function by default. However, before the vehicle leaves the factory or is sold, the timed wake-up Bluetooth function is not only useless, but also causes unnecessary consumption of the Bluetooth key's power, resulting in a shortened battery life in the Bluetooth key. In addition, the existing Bluetooth key has a relatively single working mode, and the wake-up Bluetooth function in the corresponding working mode is relatively fixed, which cannot meet the needs of various actual scenarios.
[0028] To this end, one aspect of the present application provides a method for configuring a Bluetooth key working mode. Figure 1 , Figure 1 1 is a flowchart of a method for configuring a Bluetooth key working mode shown in an exemplary embodiment of the present application. The configuration method at least includes S110 to S120, which are described in detail as follows:
[0029] S110: Obtain the current working mode of the Bluetooth key, and detect whether the current working mode is the same as the target working mode; wherein the target working mode includes a factory mode and a transportation mode that characterize that the target vehicle is in an unsold state; the factory mode includes a trigger button to wake up the Bluetooth function and an induction to wake up the Bluetooth function; the transportation mode includes a trigger button to wake up the Bluetooth function.
[0030] The factory mode indicates that the target vehicle corresponding to the Bluetooth key is in a state that has not been shipped out of the factory, including the state in the vehicle manufacturing process, the vehicle off-line assembly process, and the state after assembly but not shipped out of the factory. The Bluetooth key in this mode is configured with a trigger button to wake up the Bluetooth function and an induction wake up Bluetooth function; among them, the wake up Bluetooth function mode can only be successfully awakened when the Bluetooth key is detected to be in a moving state. For example, pressing the target button or any button in the Bluetooth key can wake up the Bluetooth function of the Bluetooth key. Alternatively, the sensor in the Bluetooth key collects relevant data. If the Bluetooth key is in a moving state, the Bluetooth function of the Bluetooth key can be awakened, and a Bluetooth scan can be actively performed to establish a Bluetooth connection with the target vehicle.
[0031] The transport mode represents the state of the Bluetooth key being transported from the supplier to the vehicle manufacturer, the Bluetooth key being in the vehicle manufacturer, and the vehicle manufacturer transporting the Bluetooth key to the sales outlet. The Bluetooth key in this mode is equipped with a trigger button to wake up the Bluetooth function, which is currently the most energy-efficient wake-up function.
[0032] This embodiment can obtain the current working mode of the Bluetooth key in real time, determine whether the current working mode is the desired target working mode, and configure the corresponding Bluetooth wake-up function according to different target working modes.
[0033] S120: If the detection result indicates that the current working mode is different from the target working mode, the target working mode is sent to the Bluetooth key to switch the working mode of the Bluetooth key to the target working mode.
[0034] Exemplarily, if it is detected that the current working mode of the Bluetooth key is not the expected factory mode, the factory mode is sent to the Bluetooth key to configure the working mode of the Bluetooth key to the factory mode, so that it has the trigger button wake-up Bluetooth function and the induction wake-up Bluetooth function.
[0035] In another exemplary embodiment, if the detection result indicates that the current working mode is the same as the target working mode, the target working mode is displayed on the target end so that the user knows that the current working mode of the Bluetooth key is the target working mode; wherein the target end includes a vehicle-mounted screen and a diagnostic instrument.
[0036] For example, Figure 2 As shown, Figure 2This is a schematic diagram of the process of configuring the Bluetooth key working mode of the target vehicle shown in an exemplary embodiment of the present application. Among them, the digital key controller in the target vehicle is used as the execution subject to execute the configuration method shown in any exemplary embodiment of the present application, which is described in detail as follows:
[0037] The user selects the corresponding target working mode through the human-machine interface (such as the vehicle screen or the human-machine communication terminal) and sends it to the digital key controller. After receiving the target working mode, the digital key controller turns on the Bluetooth broadcast to pair with the Bluetooth key. After the Bluetooth pairing is successful, the current working mode of the Bluetooth key is obtained, and it is detected whether the current working mode is the same as the target working mode.
[0038] If the detection result indicates that the current working mode is different from the target working mode, the target working mode is sent to the Bluetooth key to switch the working mode of the Bluetooth key to the target working mode, and after receiving a successful response from the Bluetooth key, the target working mode is displayed on the human-machine interface to let the user know that the current working mode of the Bluetooth key is the target working mode.
[0039] If the detection result indicates that the current working mode is the same as the target working mode, the target working mode is displayed on the human-machine interface so that the user knows that the current working mode of the Bluetooth key is the target working mode.
[0040] Another exemplary example is, Figure 3 As shown, Figure 3 This is a schematic diagram of the process of configuring the Bluetooth key working mode of the diagnostic instrument shown in an exemplary embodiment of the present application. Among them, the diagnostic instrument is used as an execution subject to execute the configuration method shown in any exemplary embodiment of the present application, which is described in detail as follows:
[0041] The user selects the corresponding target working mode through the interactive interface of the diagnostic instrument, and the diagnostic instrument starts Bluetooth broadcasting to pair with the Bluetooth key. After the Bluetooth pairing is successful, the diagnostic instrument obtains the current working mode of the Bluetooth key and detects whether the current working mode is the same as the target working mode.
[0042] If the test result indicates that the current working mode is different from the target working mode, the target working mode will be sent to the Bluetooth key to switch the working mode of the Bluetooth key to the target working mode. After receiving a successful response from the Bluetooth key, the target working mode will be displayed on the interactive interface of the diagnostic instrument to let the user know that the current working mode of the Bluetooth key is the target working mode.
[0043] If the test result indicates that the current working mode is the same as the target working mode, the target working mode is displayed on the interactive interface of the diagnostic instrument to let the user know that the current working mode of the Bluetooth key is the target working mode.
[0044] This embodiment configures a target working mode for the Bluetooth key according to real-time needs before the vehicle is sold, that is, using a trigger button to wake up the Bluetooth function and / or an induction to wake up the Bluetooth function, replacing the inherent timed wake-up Bluetooth function, so as to save the battery energy consumption of the Bluetooth key, thereby increasing the battery life of the Bluetooth key. Among them, the target working mode includes a factory mode and a transport mode, not a single action mode, and can be flexibly selected according to actual needs, and different wake-up Bluetooth functions are configured according to the selection, so as to enrich the wake-up Bluetooth function of the Bluetooth key.
[0045] It is worth noting that the statistical results of the energy consumption of the Bluetooth chip indicate that the power consumption of the Bluetooth key when not in use is reduced by 48.5 microamperes, which is 86% energy-saving compared to the Bluetooth key that does not use the configuration method of this embodiment, thereby indicating that the configuration method of this embodiment can effectively improve the battery life of the Bluetooth key.
[0046] In another exemplary embodiment of the present application, the pre-steps for obtaining the current working mode of the Bluetooth key are described in detail. Figure 1 The S110 shown includes S10 to S11, which are described in detail as follows:
[0047] S10: Detect whether the target vehicle is in an unsold state.
[0048] The above-mentioned target working modes (i.e., factory mode and shipping mode) only exist before the vehicle is sold. After the vehicle is sold, the Bluetooth key can be prohibited from switching to this mode. According to the sales status of the target vehicle, the corresponding working mode is configured for its paired Bluetooth key in a targeted manner, so that the Bluetooth key can flexibly switch working modes. The Bluetooth key has different wake-up Bluetooth functions in different working modes, which enriches the wake-up Bluetooth functions of the Bluetooth key. In addition, since the target working mode does not involve a mode with a timed wake-up Bluetooth function, the energy consumption of the Bluetooth key corresponding to the target vehicle can be reduced before the target vehicle is sold, thereby improving the battery life of the Bluetooth key.
[0049] S11: If yes, execute the step of obtaining the current working mode of the Bluetooth key.
[0050] If it is detected that the target vehicle is in an unsold state, the current working step of the Bluetooth key is obtained, that is, S110 is executed.
[0051] If it is detected that the target vehicle is in a sold state, a user mode including a timed wake-up Bluetooth function is sent to the Bluetooth key, so that the Bluetooth key sends a Bluetooth signal according to a preset period to establish a Bluetooth connection with the target vehicle.
[0052] The scheduled wake-up Bluetooth function allows the Bluetooth key to be woken up periodically. For example, the preset period is 10 seconds. The Bluetooth key with the scheduled wake-up Bluetooth function can perform a Bluetooth scan every 10 seconds to determine whether there is a matching target vehicle or other Bluetooth-connectable device within the scanning range of the Bluetooth key.
[0053] This embodiment further illustrates that it is necessary to determine whether the target working mode can be configured for the Bluetooth key corresponding to the target vehicle according to the sales status of the target vehicle. The energy consumption of the Bluetooth key in the target working mode is reduced, which protects the battery in the Bluetooth key to a certain extent, thereby improving the battery life of the Bluetooth key.
[0054] In another exemplary embodiment of the present application, another pre-step of obtaining the current working mode of the Bluetooth key is described in detail. Figure 1 The S110 shown includes S12 to S13, which are described in detail as follows:
[0055] S12: Detecting whether a Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time period.
[0056] The preset duration is a preset parameter that can be adjusted according to actual conditions, and this application does not limit its specific numerical value.
[0057] If the Bluetooth signal is continuously acquired without interruption, the detection resources of the execution entity will be continuously consumed. In order to optimize the detection resources and reduce unnecessary detection steps of the execution entity, this embodiment introduces a preset duration to control the detection time, thereby optimizing the detection resources.
[0058] S13: If a Bluetooth signal is obtained, it is determined to establish a Bluetooth connection with the Bluetooth key, and a step of obtaining a current working mode of the Bluetooth key is executed.
[0059] For example, the preset duration is 3 seconds. If the Bluetooth signal corresponding to the Bluetooth key is detected and obtained within 3 seconds, the execution subject will establish a Bluetooth connection with the Bluetooth key to facilitate data transmission between the two ends. When the Bluetooth connection is established at both ends, the execution subject can obtain the current working mode of the Bluetooth key.
[0060] If the Bluetooth signal corresponding to the Bluetooth key is not obtained within 3 seconds, the execution subject and the Bluetooth key cannot establish a Bluetooth connection, that is, the Bluetooth pairing between the two fails; if it is necessary to try to establish a Bluetooth connection again, the execution subject needs to restart a new round of Bluetooth signal detection process.
[0061] This embodiment provides a Bluetooth pairing method between an execution subject and a Bluetooth key, by detecting whether a Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time length, so as to determine whether the execution subject can complete Bluetooth pairing with the Bluetooth key. This embodiment introduces a preset time length to control the detection time, so as to avoid the execution subject continuously obtaining Bluetooth signals, and to a certain extent reduce the consumption of detection resources, thereby optimizing the detection resources.
[0062] Further, in another exemplary embodiment of the present application, the pre-step of detecting whether the Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time period is described in detail, that is, the configuration method of this embodiment further includes S1 to S2 before S12, which are described in detail as follows:
[0063] S1: Detect whether the target working mode set by the user is received.
[0064] S2: If the target working mode is detected, the Bluetooth signal acquisition function is turned on, and a step of detecting whether a Bluetooth signal corresponding to the Bluetooth key is acquired within a preset time period is executed.
[0065] If the target working mode is received, it indicates that the working mode expected by the user for the Bluetooth key is not the target working mode, and the Bluetooth signal acquisition function needs to be turned on to acquire the Bluetooth signal corresponding to the Bluetooth key within a preset time.
[0066] This embodiment further illustrates that the execution subject needs to receive the target working mode set by the user before turning on the Bluetooth signal acquisition function to trigger subsequent execution steps.
[0067] In another exemplary embodiment of the present application, how to detect whether the current working mode is the same as the target working mode is described in detail, that is, the configuration method of this embodiment further includes S111 to S113 in S110, which are described in detail as follows:
[0068] S111: Matching a mode identifier corresponding to the current working mode with a target mode identifier corresponding to the target working mode.
[0069] Different modes correspond to different mode identifiers, that is, the mode identifier is unique. If the mode identifiers corresponding to two working modes are the same, it indicates that the two working modes are the same.
[0070] Exemplarily, the identifier of each position in the pattern identifier is matched with the preset identifier of the corresponding position in the target pattern identifier. If the identifiers of all positions of the two are the same, it indicates that the match is successful.
[0071] S112: If the match is successful, a detection result is obtained indicating that the current working mode is the same as the target working mode.
[0072] S113: If the matching fails, a detection result indicating that the current working mode is different from the target working mode is obtained.
[0073] This embodiment introduces a method of identification matching, which can accurately determine whether the current working mode is the same as the target working mode. In the identification matching process, only simple number or character matching is required, without other complex detection processes, so that this embodiment can quickly determine whether the current working mode is the same as the target working mode.
[0074] Another aspect of the present application also provides a configuration device for a Bluetooth key working mode, such as Figure 4 As shown, Figure 4 400 is a schematic diagram of a configuration device for a Bluetooth key working mode according to an exemplary embodiment of the present application. The configuration device 400 includes:
[0075] The acquisition detection module 410 is used to obtain the current working mode of the Bluetooth key and detect whether the current working mode is the same as the target working mode; wherein the target working mode includes a factory mode and a transportation mode characterizing that the target vehicle is in an unsold state; the factory mode includes triggering a button to wake up the Bluetooth function and an induction to wake up the Bluetooth function; the transportation mode includes triggering a button to wake up the Bluetooth function.
[0076] The first configuration module 430 is configured to send the target working mode to the Bluetooth key if the detection result indicates that the current working mode is different from the target working mode, so as to switch the working mode of the Bluetooth key to the target working mode.
[0077] In an optional manner, the configuration device 400 further includes:
[0078] The state detection module is used to detect whether the target vehicle is in an unsold state.
[0079] The execution module is used to execute the step of obtaining the current working mode of the Bluetooth key if the answer is yes.
[0080] In an optional manner, the state detection module further includes:
[0081] The mode sending unit is used to send the user mode including the timed wake-up Bluetooth function to the Bluetooth key if it is detected that the target vehicle is in the sold state, so that the Bluetooth key sends the Bluetooth signal according to the preset period and establishes a Bluetooth connection with the target vehicle.
[0082] In an optional manner, the configuration device 400 further includes:
[0083] The Bluetooth signal acquisition module is used to detect whether the Bluetooth signal corresponding to the Bluetooth key is acquired within a preset time period.
[0084] The Bluetooth association module is used to determine to establish a Bluetooth connection with the Bluetooth key if a Bluetooth signal is obtained, and execute the step of obtaining the current working mode of the Bluetooth key.
[0085] In an optional manner, the configuration device 400 further includes:
[0086] The receiving detection module is used to detect whether the target working mode set by the user is received.
[0087] The execution module is turned on to turn on the Bluetooth signal acquisition function if the target working mode is detected, and execute the step of detecting whether the Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time.
[0088] In an optional manner, the configuration device 400 further includes:
[0089] The second configuration module is used to display the target working mode on the target end if the detection result indicates that the current working mode is the same as the target working mode, so that the user knows that the current working mode of the Bluetooth key is the target working mode; wherein the target end includes a vehicle-mounted screen and a diagnostic instrument.
[0090] In an optional manner, the acquisition detection module 410 further includes:
[0091] The matching unit is used to match the mode identifier corresponding to the current working mode with the target mode identifier corresponding to the target working mode.
[0092] The matching success unit is used to obtain a detection result indicating that the current working mode is the same as the target working mode if the matching is successful.
[0093] The matching failure unit is used to obtain a detection result indicating that the current working mode is different from the target working mode if the matching fails.
[0094] The configuration device of this application configures the target working mode for the Bluetooth key according to real-time needs before the vehicle is sold, that is, the Bluetooth function is awakened by triggering the button and / or the Bluetooth function is awakened by induction, replacing the inherent timed awakening Bluetooth function, so as to save the battery energy consumption of the Bluetooth key, thereby increasing the battery life of the Bluetooth key. Among them, the target working mode includes factory mode and transportation mode, not a single action mode, which can be flexibly selected according to actual needs, and different awakening Bluetooth functions are configured according to the selection, so as to enrich the awakening Bluetooth function of the Bluetooth key.
[0095] It should be noted that the configuration device provided in the above embodiment and the configuration method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here.
[0096] Another aspect of the present application provides an electronic device, including: a controller; a memory for storing one or more programs, and when the one or more programs are executed by the controller, the above-mentioned configuration method is executed.
[0097] See also Figure 5 , Figure 5 1 is a schematic diagram of the structure of a computer system of an electronic device shown in an exemplary embodiment of the present application, which shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application.
[0098] It should be noted that Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0099] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, ROM 502 and RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0100] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0101] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0102] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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 present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0103] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0105] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the configuration method as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0106] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the configuration method provided in each of the above embodiments.
[0107] According to one aspect of an embodiment of the present application, a computer system is also provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. In RAM, various programs and data required for system operation are also stored. CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0108] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0109] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A method for configuring a Bluetooth key working mode, characterized in that: The configuration method comprises: Obtain the current working mode of the Bluetooth key, and detect whether the current working mode is the same as the target working mode; wherein the target working mode includes a factory mode and a transportation mode indicating that the target vehicle is in an unsold state; the factory mode includes a trigger button wake-up Bluetooth function and an induction wake-up Bluetooth function; the transportation mode includes the trigger button wake-up Bluetooth function; wherein the induction wake-up Bluetooth function mode can be successfully awakened only when it is detected that the Bluetooth key is in a moving state; If the detection result indicates that the current working mode is different from the target working mode, the target working mode is sent to the Bluetooth key to switch the working mode of the Bluetooth key to the target working mode.
2. The configuration method according to claim 1, characterized in that: Before obtaining the current working mode of the Bluetooth key, the configuration method further includes: Detect whether the target vehicle is in an unsold state; If yes, the step of obtaining the current working mode of the Bluetooth key is executed.
3. The configuration method according to claim 2, characterized in that: The detecting whether the target vehicle is in an unsold state further comprises: If it is detected that the target vehicle is in a sold state, a user mode including a timed wake-up Bluetooth function is sent to the Bluetooth key, so that the Bluetooth key sends a Bluetooth signal according to a preset period to establish a Bluetooth connection with the target vehicle.
4. The configuration method according to claim 1, characterized in that: Before obtaining the current working mode of the Bluetooth key, the configuration method further includes: Detecting whether a Bluetooth signal corresponding to the Bluetooth key is obtained within a preset time period; If the Bluetooth signal is acquired, it is determined to establish a Bluetooth connection with the Bluetooth key, and the step of acquiring the current working mode of the Bluetooth key is performed.
5. The configuration method according to claim 4, characterized in that: Before detecting whether the Bluetooth signal corresponding to the Bluetooth key is obtained within the preset time period, the configuration method further includes: Detect whether the target working mode set by the user is received; If the target working mode is detected, the Bluetooth signal acquisition function is turned on, and the step of detecting whether the Bluetooth signal corresponding to the Bluetooth key is acquired within a preset time period is performed.
6. The configuration method according to any one of claims 1 to 5, characterized in that: The configuration method further includes: If the detection result indicates that the current working mode is the same as the target working mode, the target working mode is displayed on the target end so that the user knows that the current working mode of the Bluetooth key is the target working mode; wherein the target end includes a vehicle-mounted screen and a diagnostic instrument.
7. The configuration method according to any one of claims 1 to 5, characterized in that: The detecting whether the current working mode is the same as the target working mode further includes: Matching the mode identifier corresponding to the current working mode with the target mode identifier corresponding to the target working mode; If the match is successful, a detection result is obtained indicating that the current working mode is the same as the target working mode; If the match fails, a detection result is obtained indicating that the current operating mode is different from the target operating mode.
8. A device for configuring a Bluetooth key working mode, characterized in that: The configuration device comprises: The acquisition detection module is used to acquire the current working mode of the Bluetooth key and detect whether the current working mode is the same as the target working mode; wherein the target working mode includes a factory mode and a transportation mode indicating that the target vehicle is in an unsold state; the factory mode includes a trigger button wake-up Bluetooth function and an induction wake-up Bluetooth function; the transportation mode includes the trigger button wake-up Bluetooth function; wherein the induction wake-up Bluetooth function mode in the factory mode can only be successfully awakened when it is detected that the Bluetooth key is in a moving state; The configuration module is used for sending the target working mode to the Bluetooth key if the detection result indicates that the current working mode is different from the target working mode, so as to switch the working mode of the Bluetooth key to the target working mode.
9. An electronic device, characterized in that: include: Controller; A memory for storing one or more programs, which, when executed by a controller, enables the controller to implement the configuration method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the configuration method according to any one of claims 1 to 7.
