CN115396842A - Control method, control system, equipment and medium for vehicle Bluetooth key - Google Patents
Control method, control system, equipment and medium for vehicle Bluetooth key Download PDFInfo
- Publication number
- CN115396842A CN115396842A CN202210988820.0A CN202210988820A CN115396842A CN 115396842 A CN115396842 A CN 115396842A CN 202210988820 A CN202210988820 A CN 202210988820A CN 115396842 A CN115396842 A CN 115396842A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- key
- base station
- service layer
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0248—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention provides a control method of a vehicle Bluetooth key, which comprises the following processes: judging whether the corresponding scene meets the awakening condition or not, and if so, awakening the Bluetooth base station; after the Bluetooth base station is awakened, a key finding request is sent to trigger the Bluetooth base station to find a key; establishing Bluetooth connection with a Bluetooth key through the Bluetooth base station, and confirming the authority of the Bluetooth key; after the authority of the Bluetooth key is confirmed, the corresponding vehicle control work is carried out according to the corresponding authority of the Bluetooth key, the Bluetooth base station is awakened after the corresponding scene is judged to meet the awakening condition, the Bluetooth key does not need to be positioned continuously or regularly, the Bluetooth positioning is activated through the judgment of the awakening condition of the base station, the positioning is more timely, the Bluetooth module does not need to monitor the Bluetooth key continuously, and the power consumption of the whole vehicle can be reduced.
Description
Technical Field
The application relates to the technical field of automobile Bluetooth keys, in particular to a control method, a control system, equipment and a medium of an automobile Bluetooth key.
Background
The key point of the conventional keyless Entry starting system (PEPS-Passive Entry Passive Start) is that the intelligent key and a base station of a vehicle detect the field intensity value of the intelligent key relative to each antenna through the arrangement mode of a plurality of antennas on the vehicle, so as to determine the relative distance, and then calibrate according to the actual condition of the vehicle, so as to realize the accurate positioning of the intelligent key relative to the position of the vehicle by a plurality of groups of antennas, and the performance of the system can at least distinguish the requirements of identifying different positions inside and outside the vehicle. The functions of entering the vehicle or starting the engine by one key can be realized without operating a remote controller.
Along with the development of bluetooth low energy technique, most intelligent mobile terminal has all configured bluetooth function, including classic bluetooth and bluetooth low energy for the user is under the prerequisite of obtaining the authorization and information security assurance, based on bluetooth low energy technique, can install APP (being the cell-phone key) on intelligent mobile terminal, realizes intelligent key's function. The PEPS scheme based on the Bluetooth technology combines the positioning technology based on the Bluetooth communication with the PEPS system, so that the vehicle owner can realize the functions of entering and starting the vehicle by one key only by carrying Bluetooth terminals such as a mobile phone without carrying a vehicle key.
The method for triggering the Bluetooth positioning based on the timing time has the problems of untimely Bluetooth positioning and large power consumption. In the existing positioning scheme of the Bluetooth key, the Bluetooth module needs to continuously monitor or regularly search and position the Bluetooth key, so that the power consumption of the whole vehicle is increased, and particularly, after the whole vehicle is flamed out and enters a sleep mode, if the Bluetooth module still continuously or periodically works, the static current of the whole vehicle is too high, and the problem of battery feeding can be seriously caused. It is therefore desirable to provide a control method, a control system, a device, and a medium for a bluetooth key of a vehicle to solve the above-mentioned problems.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present invention provides a control method, a control system, a device and a medium for a bluetooth key of a vehicle, so as to solve the technical problem that the power consumption of the entire vehicle is large due to the need of positioning the bluetooth key continuously or periodically in a timed manner in the prior art.
The invention provides a control method of a vehicle Bluetooth key, which comprises the following steps:
judging whether the corresponding scene meets the awakening condition or not, and if so, awakening the Bluetooth base station;
after the Bluetooth base station is awakened, a key finding request is sent to trigger the Bluetooth base station to find a key;
establishing Bluetooth connection with a Bluetooth key through the Bluetooth base station, and confirming the authority of the Bluetooth key;
and after the authority of the Bluetooth key is confirmed, carrying out corresponding vehicle control work according to the corresponding authority of the Bluetooth key.
In an embodiment of the present invention, performing the corresponding vehicle control operation according to the corresponding authority of the bluetooth key includes:
the Bluetooth awakening identification, the key finding request and the Bluetooth permission query request are packaged and then sent to the Bluetooth base station, and are forwarded to the Bluetooth key through the Bluetooth base station;
receiving corresponding feedback information of the Bluetooth base station, and controlling corresponding vehicle elements to act according to the feedback information; and the corresponding feedback information is generated by the Bluetooth key according to the Bluetooth awakening identification, the key finding request and the Bluetooth permission query request.
In an embodiment of the present invention, the control method is applied to a vehicle adopting an SOA architecture, where the SOA architecture includes: a scene service layer, a business service layer, a basic service layer and a capability service layer which are mutually connected and communicated from top to bottom; the scene service layer calls a Bluetooth authority and position service module of the service layer according to a corresponding scene, the Bluetooth authority and position service module calls a Bluetooth awakening identification service module in the basic service layer, and the Bluetooth base station is awakened through the Bluetooth awakening identification service module; the capability service layer is used for sending and receiving signals between the Bluetooth base station and the Bluetooth key.
In an embodiment of the present invention, the basic service layer includes a key finding request module for sending key finding request information and a bluetooth key authority inquiry module for inquiring bluetooth key authority; the service layer sequentially calls the key finding request module and the Bluetooth key authority inquiry module, and the capability service layer encapsulates the Bluetooth awakening identification, the key finding request information and the Bluetooth authority inquiry service information called by the basic service layer into an SPI message and sends the SPI message to the Bluetooth base station; the Bluetooth base station sends the received Bluetooth signal to the capability service layer through the SPI, and the Bluetooth SPI receiving service of the capability service layer receives an SPI message and sends the SPI message to the basic service layer; the basic service layer analyzes the SPI message and sends the key position and the corresponding authority to a service layer, the service layer sends the key position and the corresponding authority to the scene service layer, and the scene service layer carries out corresponding hardware control operation according to the key position and the corresponding authority.
In an embodiment of the present invention, whether a corresponding scene meets an awakening condition is determined; if the awakening condition is met, awakening the Bluetooth base station comprises the following steps:
judging whether the Bluetooth base station and a Bluetooth key meet connection conditions; if the Bluetooth key meets the connection condition, judging whether a vehicle body control unit of the vehicle receives a trigger signal; when the vehicle body control unit receives the trigger signal, the Bluetooth key is enabled to be positioned, and the Bluetooth base station is awakened.
In an embodiment of the invention, the triggering signal includes one or more of any doorknob button state changing signal, any door switch state changing signal, any door lock state changing signal, start button opening signal, brake treading signal, clutch treading signal, window state changing signal, skylight state changing signal, and signal sent when the variation amplitude of the bluetooth field intensity is greater than a set threshold.
In an embodiment of the present invention, before determining whether the bluetooth base station and the bluetooth key satisfy the connection condition, the method further includes determining whether the vehicle is in a dormant state, and if the vehicle is in the dormant state, determining whether the bluetooth base station and the bluetooth key satisfy the connection condition; and if the vehicle is not in the dormant state, the Bluetooth key is not enabled for positioning.
In an embodiment of the present invention, a control system for a bluetooth key of a vehicle includes:
the Bluetooth base station awakening module is used for judging whether the corresponding scene meets the awakening condition or not, and awakening the Bluetooth base station if the corresponding scene meets the awakening condition;
the key finding request module is used for sending a key finding request after the Bluetooth base station is awakened and triggering the Bluetooth base station to find the key;
the Bluetooth key connection and permission confirmation module is used for establishing Bluetooth connection with a Bluetooth key through the Bluetooth base station and confirming the permission of the Bluetooth key;
and the vehicle control module is used for carrying out corresponding vehicle control work according to the corresponding Bluetooth key authority after the Bluetooth key authority is confirmed.
In an embodiment of the present invention, an electronic device is characterized in that the electronic device includes: one or more processors; a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the control method of any of the above.
In an embodiment of the present invention, a computer-readable storage medium is characterized by storing a computer program thereon, which, when executed by a processor of a computer, causes the computer to execute any one of the control methods described above.
According to the control method, the control system, the equipment and the medium of the vehicle Bluetooth key, the Bluetooth base station is awakened after the corresponding scene is judged to meet the awakening condition, the Bluetooth key does not need to be positioned continuously or regularly, the Bluetooth positioning is activated through the judgment of the awakening condition of the base station, the positioning is more timely, the Bluetooth module does not need to monitor the Bluetooth key continuously, and the power consumption of the whole vehicle can be reduced.
Furthermore, the control method can further adopt a service-based layered architecture, the architecture is clear, the functions of each layer of service software and the positions of the service software in the software layering are defined, the reuse is easy, and the development speed and the development efficiency of new software are improved. The software can be dynamically deployed to different controllers of the whole vehicle according to the needs, so that the usability is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic diagram illustrating a vehicle Bluetooth Key control method in an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram illustrating determining a wake-up condition according to an exemplary embodiment of the present application;
FIG. 3 is a software architecture diagram of a service-based Bluetooth Key as shown in an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of an implementation environment of a vehicle Bluetooth key control method according to an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a vehicle Bluetooth Key control System in another exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer system used for implementing an electronic device according to an embodiment of the present application.
Description of the element reference
100. A mobile terminal;
101. a Bluetooth module;
200. a target vehicle;
201. a Bluetooth base station;
202. a vehicle body control unit;
203. a door handle button module;
204. a door status module;
205. a vehicle door lock status module;
206. starting a button module;
207. a brake state module;
208. a clutch state module;
209. a window status module;
210. a skylight state module;
500. a vehicle bluetooth key control system;
501. a Bluetooth base station awakening module;
502. a key finding request module;
503. the Bluetooth key is connected with the authority confirmation module;
504. a vehicle control module.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure herein, wherein the embodiments of the present invention are described in detail with reference to the accompanying drawings and preferred embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are illustrative of the invention only and are not limiting upon the scope of the invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than being drawn according to the number, shape and size of the components in actual implementation, and the type, amount and proportion of each component in actual implementation can be changed freely, and the layout of the components can be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
It should be noted first that an SOA (Service-Oriented Architecture) is a set of design principles used in computer software, which splits functions into different functional units or services that developers can access over a network in order to allow them to be re-used in applications, and which can package the functions into interoperable Service components that can be used in multiple independent systems.
The CAN (Controller Area Network) bus is equivalent to the central nervous system of an automobile, and is a communication protocol in the automobile. The CAN bus is divided into a CAN high line and a CAN low line and is used for connecting a plurality of control units in the automobile together to realize information synchronization, communication and data transmission. The CAN bus connects a plurality of Control units such as an automobile instrument, a gearbox, an auxiliary brake system, an ECU (Electronic Control Unit), a Control module, various sensors and the like together to realize real-time synchronization of information. The CAN bus system simplifies the circuit layout of the vehicle body, but increases the functions. Great convenience is brought in the maintenance process.
A Local Interconnect Network (LIN) bus is a low-cost serial communication Network defined for an automobile distributed electronic system, is a supplement to other automobile multi-path networks such as a Controller Area Network (CAN) and the like, and is suitable for application with low requirements on Network bandwidth, performance or fault tolerance. The LIN bus is based on a UART (Universal Asynchronous Receiver/Transmitter Asynchronous serial communication) data format, adopts a single master controller/multiple slave device mode, and is a special case of the UART.
Bluetooth is an open global specification for wireless data and voice communications, and is a special short-range wireless technology connection that establishes a communication environment for fixed and mobile devices based on a low-cost short-range wireless connection.
Referring to fig. 1, the present invention provides a control method for a bluetooth key of a vehicle, where the control method wakes up a bluetooth base station only after determining that a corresponding scene meets a wake-up condition, and does not need to continuously or periodically locate the bluetooth key, and activates bluetooth location by determining the wake-up condition of the base station, so that location is more timely, and a bluetooth module does not need to continuously monitor the bluetooth key, which can reduce power consumption of the entire vehicle, and solve the technical problem in the prior art that the power consumption of the entire vehicle is large because the bluetooth key needs to be continuously or periodically located.
Referring to fig. 1, in the control method of the vehicle bluetooth key, the software architecture of the control method may not be limited, and may be any suitable software architecture suitable for the vehicle-mounted system, but considering the advantage of the SOA architecture, the SOA architecture is preferably used to explain the control method of the present invention in the present application.
Referring to fig. 3, the SOA architecture includes: the system comprises a scene service layer, a business service layer, a basic service layer and a capability service layer which are connected with each other from top to bottom and are communicated with each other; referring to fig. 1, the method for controlling a bluetooth key of a vehicle according to the present invention includes the following steps:
s1: and judging whether the corresponding scene meets the awakening condition or not, and if so, awakening the Bluetooth base station. In the process, when the vehicle is in a specific application scene, for example, when the bluetooth PS starts the engine, the bluetooth PS engine in the scene service layer operates to call the bluetooth permission and location service in the service layer. The service layer of blue tooth authority and position firstly calls the basic service layer of blue tooth waking up mark service to wake up the blue tooth base station.
S2: and after the Bluetooth base station is awakened, sending a key finding request to trigger the Bluetooth base station to find the key. In the process, the basic service layer reads the relevant information of the Bluetooth awakening identification service, and if the Bluetooth base station is awakened, the key finding request module is further triggered to send a key finding request.
S3: and establishing Bluetooth connection with a Bluetooth key through the Bluetooth base station, and confirming the authority of the Bluetooth key. In the process, the vehicle establishes Bluetooth connection with a Bluetooth key through a key finding request and calls a Bluetooth key authority inquiry/authentication feedback/control feedback module of a basic service layer; to confirm the authority of the bluetooth key.
S4: and after the Bluetooth key authority is confirmed, carrying out corresponding vehicle control work according to the corresponding Bluetooth key authority. In an embodiment of the present invention, the basic service layer includes a key finding request module and a bluetooth key authority query module; the service layer sequentially calls the key finding request module and the Bluetooth key authority inquiry module, and the capability service layer encapsulates the Bluetooth awakening identifier, the key finding request information and the Bluetooth authority inquiry service information called by the basic service layer into an SPI (Serial Peripheral Interface) message and sends the SPI message to the Bluetooth base station; the Bluetooth base station sends the received Bluetooth signal to the capability service layer through the SPI, and the Bluetooth SPI receiving service of the capability service layer receives an SPI message and sends the SPI message to the basic service layer; the basic service layer analyzes the SPI message and sends the key position and the corresponding authority to the service layer, and the service layer combines the Bluetooth position and the authority and informs corresponding services of the scene service layer upwards, so that the scene service layer acquires the position and the authority of the Bluetooth key and can perform subsequent actions of starting a corresponding engine.
Referring to fig. 2, in an embodiment of the present invention, step S1 determines whether a corresponding scene meets an awakening condition; if the wake-up condition is satisfied, waking up the bluetooth base station comprises:
s11, judging whether the vehicle is in a dormant state or not, and if the vehicle is in the dormant state, judging whether the connection condition with the Bluetooth key is met or not; in this process, if the vehicle is not in the sleep state, the subsequent work is not performed.
S12, judging whether the connection condition with the Bluetooth key is met; and if the connection condition is met, judging whether a vehicle body control unit of the vehicle receives a trigger signal. In the process, the Bluetooth connection state is acquired from the Bluetooth link service of the basic service layer, when the Bluetooth connection state is met, whether the vehicle body control unit of the vehicle receives the trigger signal is judged, and if not, the vehicle body control unit returns to continue waiting.
And S13, when the vehicle body control unit receives the trigger signal, the Bluetooth base station is awakened through positioning enabling of a Bluetooth key. In the process, if the vehicle body control unit does not receive the trigger signal, the Bluetooth key is not enabled for positioning, and the Bluetooth base station is not awakened. The triggering signal comprises one or more of any door handle button state changing signal, any door switch state changing signal, any door lock state changing signal, starting button opening signal, braking treading signal, clutch treading signal, vehicle window state changing signal, skylight state changing signal and signal which is sent out when the variation amplitude of the Bluetooth field intensity is larger than a set threshold value.
Referring to fig. 2, in an embodiment of the present invention, the triggering signal includes a feedback process of a plurality of signals, and when the body control unit receives the triggering signal, waking up the bluetooth base station through bluetooth key positioning enabling includes:
s131, the switch detection service of the basic service layer acquires the state of the doorknob button, when any doorknob button is monitored to be pressed from not being pressed, the Bluetooth key positioning enabling is executed, and otherwise, other conditions are continuously monitored. The door handle buttons are used for monitoring a main driver, a secondary driver, a back row left side door handle button, a back row right side door handle button and a trunk door button.
S132, acquiring the door switch state from the switch detection service of the basic service layer, executing the Bluetooth key positioning enabling when any door switch state is monitored from non-open state to closed state or closed state to open state, and otherwise, continuously monitoring other conditions. Wherein the door opening and closing state needs to monitor the main driver, the auxiliary driver, the left side of the back row, the right side of the back row, the trunk door and the front cabin cover.
And S133, acquiring the door lock state of the vehicle door from the switch detection service of the basic service layer, executing Bluetooth key positioning enabling when any door lock state is detected from unlocking without locking or locking, and otherwise, continuously monitoring other conditions. Wherein the lock state needs to monitor the main driver, the auxiliary driver, the rear row left side lock, the rear row right side lock, the trunk lock and the front cover lock.
S134, acquiring the state of the starting button from the switch detection service of the basic service layer, executing the Bluetooth key positioning enabling when the starting button is monitored to be pressed from not pressing, and otherwise, continuously monitoring other conditions.
And S135, obtaining the brake switch state from the switch detection service of the basic service layer, executing the Bluetooth key positioning enabling when the brake is monitored to be stepped from the non-stepped state, and otherwise, continuously monitoring other conditions.
And S136, acquiring a clutch switch state from the switch detection service of the basic service layer, executing Bluetooth key positioning enabling when the clutch is monitored to be stepped from non-stepped state to stepped state, and otherwise, continuously monitoring other conditions.
And S137, acquiring the opening and closing states of the car window from the switch detection service of the basic service layer, executing Bluetooth key positioning enabling when any car window state is monitored to be opened to be closed or closed to be opened, and otherwise, continuously monitoring other conditions. The vehicle window state needs to monitor main driving, auxiliary driving, rear row left side and rear row right side vehicle windows.
S138, acquiring a skylight opening and closing state from the switch detection service of the basic service layer, executing Bluetooth key positioning enabling when the skylight state is monitored to be opened to be closed or closed to be opened, and otherwise, continuously monitoring other conditions.
And S139, when the monitored field intensity variation amplitude of the Bluetooth is larger than a threshold value, executing Bluetooth key positioning enabling, otherwise, executing Bluetooth key positioning disabling.
It should be noted that, when the bluetooth key location enabling state is enabled, the service layer may invoke the bluetooth wakeup identification service and the key finding request service of the basic service layer to perform the key finding operation.
Referring to fig. 5, in an embodiment of the present invention, the present invention further provides a control system 500 for a bluetooth key of a vehicle, including:
and a bluetooth base station awakening module 501, configured to acquire bluetooth permission and location service information according to the corresponding scene, and awaken the bluetooth base station.
A key finding request module 502, configured to send a key finding request after the bluetooth base station is awakened, and trigger the bluetooth base station to find a key;
a bluetooth key connection and permission confirmation module 503, configured to establish a bluetooth connection with a bluetooth key through the bluetooth base station, and confirm the permission of the bluetooth key;
and the vehicle control module 504 is configured to perform corresponding vehicle control work according to the corresponding bluetooth key authority after the bluetooth key authority is confirmed.
Referring to fig. 6, in an embodiment of the present invention, an electronic apparatus is further provided, where the electronic apparatus includes: one or more processors; a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the control method of any of the above. The computer system 600 of the electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
The computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for system operation are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An Input/Output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output section 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted into the storage section 608 as necessary.
In an embodiment of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor of a computer, the computer program causes the computer to execute any one of the control methods described above.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: 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), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied 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 foregoing.
Referring to fig. 4, a schematic diagram of an implementation environment of a bluetooth key control method according to an embodiment of the present invention is described, where the implementation environment may include a mobile terminal 100 and a target vehicle 200. The bluetooth module 101 is installed in the user terminal 100. The bluetooth base station 201, the vehicle body control unit 202, the doorknob button module 203, the door state module 204, the door lock state module 205, the start button module 206, the brake state module 207, the clutch state module 208, the window state module 209, and the sunroof state module 210 are installed in the target vehicle 200. The bluetooth base station 201 is configured to perform bluetooth communication with the mobile terminal 100, and after the mobile terminal 100 and the bluetooth base station 201 establish a connection, the mobile terminal 100 may obtain information of the bluetooth base station 201 through the bluetooth module 101, and the bluetooth base station 201 may locate the bluetooth module 101 according to the information of the mobile terminal 100. The door handle button module 203, the door state module 204, the door lock state module 205, the start button module 206, the brake state module 207, the clutch state module 208, the window state module 209, and the sunroof state module 210 are used for providing a door handle button pressing state, a door opening/closing state, a door lock state, a start button state, a brake opening/closing state, a clutch opening/closing state, a window opening/closing state, and a sunroof opening/closing state for the vehicle body control unit 202, and performing a bluetooth positioning condition determination.
Specifically, the mobile terminal 100 may include smart devices equipped with a bluetooth module, such as a smart phone, a tablet computer, a notebook computer, and a smart wearable device.
Referring to fig. 3, the SOA architecture in the figure includes six software layers, namely a capability service layer, a basic service layer, a business service layer, a scene service layer, and an application service layer. At the hardware level, there are: the system comprises an SPI transceiver, a doorknob button, a car door state switch, a car door lock state switch, a starting button, a brake switch, a gift box switch, a car window switch and a skylight switch; the capability service layer comprises: bluetooth SPI sending (ID 0x 01), bluetooth SPI receiving (ID 0x 07) and switch acquisition; the basic service layer comprises: the method comprises the following steps of (1) awakening identification by Bluetooth, key finding request, authority inquiry/authentication feedback/control feedback of a Bluetooth key, key finding request feedback, digital key control and authentication and Bluetooth connection; the business service layer comprises: bluetooth authority and position, bluetooth remote control instruction and feedback, and Bluetooth state; the scene service layer comprises: the Bluetooth switch suitcase, the Bluetooth unblocking, the Bluetooth vehicle control, the Bluetooth searching vehicle, the Bluetooth remote control engine, the Bluetooth PS engine and the Bluetooth electric empennage control.
According to the control method, the control system, the equipment and the medium of the vehicle Bluetooth key, the Bluetooth base station is awakened after the corresponding scene is judged to meet the awakening condition, the Bluetooth key does not need to be positioned continuously or regularly, the Bluetooth positioning is activated through the judgment of the awakening condition of the base station, the positioning is more timely, the Bluetooth module does not need to monitor the Bluetooth key continuously, and the power consumption of the whole vehicle can be reduced. Meanwhile, the invention is based on the layered architecture of the service, has clear architecture, defines the functions of each layer of service software and the positions of the service software in the software layering, is easy to reuse, and improves the development speed and the development efficiency of new software. The software can be dynamically deployed to different controllers of the whole vehicle according to the needs, so that the usability is improved.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
The foregoing embodiments are merely illustrative of the principles of the present invention and its efficacy, and are not to be construed as limiting the invention. Those skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (10)
1. A control method of a bluetooth key for a vehicle, characterized by comprising the processes of:
judging whether the corresponding scene meets the awakening condition or not, and if so, awakening the Bluetooth base station;
after the Bluetooth base station is awakened, sending a key finding request to trigger the Bluetooth base station to find a key;
establishing Bluetooth connection with a Bluetooth key through the Bluetooth base station, and confirming the authority of the Bluetooth key;
and after the authority of the Bluetooth key is confirmed, carrying out corresponding vehicle control work according to the corresponding authority of the Bluetooth key.
2. The control method according to claim 1, wherein performing the corresponding vehicle control work according to the authority of the corresponding bluetooth key comprises:
the Bluetooth awakening identification, the key finding request and the Bluetooth permission query request are packaged and then sent to the Bluetooth base station, and are forwarded to the Bluetooth key through the Bluetooth base station;
receiving corresponding feedback information of the Bluetooth base station, and controlling corresponding vehicle elements to act according to the feedback information; and the corresponding feedback information is generated by the Bluetooth key according to the Bluetooth awakening identification, the key finding request and the Bluetooth permission query request.
3. The control method according to claim 2, applied to a vehicle employing an SOA architecture including: a scene service layer, a business service layer, a basic service layer and a capability service layer which are mutually connected and communicated from top to bottom; the scene service layer calls a Bluetooth authority and position service module of the service layer according to a corresponding scene, the Bluetooth authority and position service module calls a Bluetooth awakening identification service module in the basic service layer, and awakens the Bluetooth base station through the Bluetooth awakening identification service module; the capability service layer is used for sending and receiving signals between the Bluetooth base station and the Bluetooth key.
4. The control method according to claim 3, wherein the basic service layer comprises a key finding request module for sending key finding request information and a bluetooth key authority inquiry module for inquiring bluetooth key authority; the service layer sequentially calls the key finding request module and the Bluetooth key authority inquiry module, and the capability service layer encapsulates the Bluetooth awakening identification, the key finding request information and the Bluetooth authority inquiry service information called by the basic service layer into an SPI message and sends the SPI message to the Bluetooth base station; the Bluetooth base station sends the received Bluetooth signal to the capability service layer through the SPI, and the Bluetooth SPI receiving service of the capability service layer receives an SPI message and sends the SPI message to the basic service layer; the basic service layer analyzes the SPI message and sends the key position and the corresponding authority to a service layer, the service layer sends the key position and the corresponding authority to the scene service layer, and the scene service layer performs corresponding hardware control operation according to the key position and the corresponding authority.
5. The control method according to claim 1, wherein it is determined whether the corresponding scene satisfies a wake-up condition; if the wake-up condition is satisfied, waking up the bluetooth base station comprises:
judging whether the Bluetooth base station and a Bluetooth key meet connection conditions or not;
if the Bluetooth key meets the connection condition, judging whether a vehicle body control unit of the vehicle receives a trigger signal;
when the vehicle body control unit receives the trigger signal, the Bluetooth key is enabled to be positioned, and the Bluetooth base station is awakened.
6. The control method according to claim 5, wherein the trigger signal comprises one or more of any door handle button state change signal, any door switch state change signal, any door lock state change signal, start button open signal, brake pedal signal, clutch pedal signal, window state change signal, skylight state change signal, and signal emitted when the variation amplitude of Bluetooth field intensity is larger than a set threshold value.
7. The control method of claim 5, wherein before determining whether the Bluetooth base station and the Bluetooth key satisfy the connection condition, the method further comprises determining whether the vehicle is in a sleep state, and if the vehicle is in the sleep state, determining whether the connection condition with the Bluetooth key is satisfied; and if the vehicle is not in the dormant state, the Bluetooth key is not enabled for positioning.
8. A control system of a vehicle Bluetooth key, comprising:
the Bluetooth base station awakening module is used for judging whether the corresponding scene meets the awakening condition or not, and awakening the Bluetooth base station if the corresponding scene meets the awakening condition;
the key finding request module is used for sending a key finding request and triggering the Bluetooth base station to find a key after the Bluetooth base station is awakened;
the Bluetooth key connection and permission confirmation module is used for establishing Bluetooth connection with a Bluetooth key through the Bluetooth base station and confirming the permission of the Bluetooth key;
and the vehicle control module is used for carrying out corresponding vehicle control work according to the corresponding Bluetooth key authority after the Bluetooth key authority is confirmed.
9. An electronic device, characterized in that the electronic device comprises: one or more processors; storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the control method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the control method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210988820.0A CN115396842A (en) | 2022-08-17 | 2022-08-17 | Control method, control system, equipment and medium for vehicle Bluetooth key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210988820.0A CN115396842A (en) | 2022-08-17 | 2022-08-17 | Control method, control system, equipment and medium for vehicle Bluetooth key |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115396842A true CN115396842A (en) | 2022-11-25 |
Family
ID=84121650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210988820.0A Pending CN115396842A (en) | 2022-08-17 | 2022-08-17 | Control method, control system, equipment and medium for vehicle Bluetooth key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115396842A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116142129A (en) * | 2022-12-19 | 2023-05-23 | 重庆长安汽车股份有限公司 | Vehicle non-inductive unlocking system and method, vehicle and storage medium |
-
2022
- 2022-08-17 CN CN202210988820.0A patent/CN115396842A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116142129A (en) * | 2022-12-19 | 2023-05-23 | 重庆长安汽车股份有限公司 | Vehicle non-inductive unlocking system and method, vehicle and storage medium |
CN116142129B (en) * | 2022-12-19 | 2024-04-26 | 重庆长安汽车股份有限公司 | Vehicle non-inductive unlocking system and method, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10055917B2 (en) | User proximity detection for activating vehicle convenience functions | |
CN104464040B (en) | Car keyless entry system based on smart phone | |
US10475267B2 (en) | Vehicle finder card with a thin film battery | |
US9110772B2 (en) | Mobile device-activated vehicle functions | |
CN106553617B (en) | Control method for vehicle, sharing method and device | |
KR101177660B1 (en) | Vehicle management system through radio relay of vehicle remote controller | |
CN102547002B (en) | Vehicle data service based on low-power FM transmission | |
CN101131772B (en) | Wireless key and door remote control system | |
US11932199B2 (en) | Transportation vehicle, electronic vehicle radio key and system for passive access to a transportation vehicle and methods therefor | |
WO2019150898A1 (en) | Authentication system for vehicle and vehicle-mounted apparatus | |
CN104875716A (en) | Method for automatically controlling safety lock and smart terminal | |
CN106740679A (en) | Vehicle key-free enters startup control method and system | |
KR20190020908A (en) | System and method for vehicle control | |
CN106846563A (en) | Control method for vehicle and system, car key, vehicle and Vehicular system | |
CN103332170A (en) | Intelligent automobile-key system based on bluetooth communication and control method thereof | |
CN110838762B (en) | Vehicle-mounted wireless charging control system and method based on CAN communication | |
WO2015040835A1 (en) | Vehicle control device | |
US9685014B1 (en) | Remote control system using different types of carrier waves for polling signals | |
CN115396842A (en) | Control method, control system, equipment and medium for vehicle Bluetooth key | |
CN113830027A (en) | Vehicle control method based on digital key system | |
CN111086482A (en) | Vehicle control system, method, device, vehicle and storage medium | |
CN116170785A (en) | Key function self-defining method and device | |
KR20070063208A (en) | System for automatic door lock and controlling stolen vehicles using the zigbee | |
CN114187687A (en) | Vehicle key control method and system with preset reservation function | |
CN209401078U (en) | A kind of Bluetooth remote control key and Bluetooth remote control Lock-Picking Devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |