Method and electronic device for controlling vehicle
Through the short-range communication connection between the mobile terminal and the vehicle, information in the passive NFC device is read and processed, vehicle control without user operation is realized, and the problem of poor user experience in the prior art is solved, and the reliability and safety of the vehicle control system are improved.
Patent Information
- Application Number
- CN202010932361.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-04
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2040-09-04
AI Technical Summary
The existing method of controlling cars through mobile phones requires users to operate on the mobile phone interface, and the user experience needs to be enhanced.
A short-range communication connection with the vehicle is established through a mobile terminal, information in the passive NFC device on the vehicle is read, control information is generated and sent to control the vehicle, and the mobile phone can be in a screen-off state throughout the process.
It enhances the user's experience, and the vehicle does not need to be equipped with active NFC devices, reduces vehicle costs and improves the reliability and safety of the vehicle control system.
Smart Images

Figure CN114222270B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a method and electronic device for controlling a vehicle. Background Art
[0002] With the increasing intelligence of cars, digital keys (DK) have emerged. Users can use mobile terminals such as mobile phones or wearable devices to realize the functions of DK. For example, users can control the car to unlock, lock, and start the engine through their mobile phones, thereby enhancing the user experience.
[0003] One method of controlling a car through a mobile phone is to establish a Bluetooth connection between the mobile phone and the car, and then send instructions to the car through the Bluetooth connection based on the user's operation on the mobile phone interface to control the car to achieve specific functions. For example, if the user clicks the open door icon on the mobile phone interface, the mobile phone sends an instruction to open the door to the car through the Bluetooth connection to control the car to open the door. This method requires the user to operate on the mobile phone interface, and the user experience needs to be enhanced. Summary of the invention
[0004] The present application provides a method and electronic device for controlling a vehicle, which can enhance the user experience.
[0005] In a first aspect, a method for controlling a vehicle is provided, comprising: a mobile terminal establishing a short-range communication connection with the vehicle; the mobile terminal reading vehicle information from a passive near field communication (NFC) device on the vehicle; the mobile terminal generating control information based on the vehicle information; and the mobile terminal sending the control information to the vehicle via the short-range communication connection.
[0006] The passive NFC device is, for example, an NFC tag, and the mobile terminal is, for example, a mobile phone. The user can control the mobile phone to approach the NFC tag, and the NFC module of the mobile phone emits electromagnetic waves to stimulate the NFC tag to work, receives the signal emitted by the NFC tag, and decodes the signal to obtain vehicle information. When the vehicle information includes task information for opening the door, the control information may include an instruction to open the door; when the vehicle information includes task information for opening the trunk, the control information may include an instruction to open the trunk. In the process of controlling the vehicle, the mobile phone can be in an off-screen state throughout the process, without the user having to operate on the interface of the mobile phone, thereby enhancing the user experience. In addition, the vehicle does not need to be installed with an active NFC device, which reduces the vehicle cost and improves the reliability of the vehicle control system.
[0007] Optionally, the vehicle information includes task information, the task information is associated with a position of the passive NFC device on the vehicle, and the task information is used to generate the control information.
[0008] For example, the task information in the NFC tag on the car door is to open the car door, and the mobile phone can generate the instructions required to open the car door based on the task information; the task information in the NFC tag on the trunk is to open the trunk, and the mobile phone can generate the instructions required to open the trunk based on the task information. Users can complete specific tasks without operating on the mobile phone, thereby enhancing the user experience.
[0009] Optionally, the task information is random identification information, and the control information includes the random identification information.
[0010] For example, the vehicle saves a task mapping table, which includes the mapping relationship between random identification information and tasks to be executed. The vehicle-side DK authentication system can query the task mapping table after the Bluetooth connection is established, and determine that the random identification information corresponding to the task of opening the front door is "2". The vehicle-side DK authentication system writes the random identification information "2" into the NFC tag on the front door; since the random identification information is written to the NFC tag after the Bluetooth connection is established, the NFC reader cannot obtain the random identification information corresponding to the task in advance, thereby enhancing the security of the vehicle control system.
[0011] Optionally, the vehicle information includes an identification of the vehicle, and / or the vehicle information includes an identification of an application (APP) corresponding to the vehicle information.
[0012] When a user owns multiple cars, the vehicle information including the vehicle identification can help the mobile phone determine which car the vehicle information comes from, without the need to light up the screen to prompt the user to select. When the vehicle information includes the identification of the corresponding APP, the NFC tag distribution system can directly forward the vehicle information to the APP without lighting up the screen to prompt the user to select. Therefore, this embodiment can control the vehicle without the user noticing, enhancing the user experience.
[0013] Optionally, the control information is information encrypted by a session key.
[0014] The mobile phone can perform security verification on the short-distance communication connection and generate a session key after the security verification passes. The control information encrypted based on the session key can enhance the security of the vehicle control system.
[0015] In a second aspect, another method for controlling a vehicle is provided, including: an on-board electronic device establishing a short-range communication connection with a mobile terminal; the on-board electronic device receiving control information from the mobile terminal through the short-range communication connection, the control information being generated by the mobile terminal based on vehicle information, the vehicle information being information in a passive NFC device on the vehicle where the on-board electronic device is located; the on-board electronic device controlling the vehicle according to the control information.
[0016] The passive NFC device is, for example, an NFC tag, and the mobile terminal is, for example, a mobile phone. The user can control the mobile phone to approach the NFC tag, and the NFC module of the mobile phone emits electromagnetic waves to stimulate the NFC tag to work, receives the signal emitted by the NFC tag, and decodes the signal to obtain vehicle information. When the vehicle information includes task information for opening the door, the control information may include an instruction to open the door; when the vehicle information includes task information for opening the trunk, the control information may include an instruction to open the trunk. In the process of controlling the vehicle, the mobile phone can be in an off-screen state throughout the process, without the user having to operate on the interface of the mobile phone, thereby enhancing the user experience. In addition, the vehicle does not need to be installed with an active NFC device, which reduces the vehicle cost and improves the reliability of the vehicle control system.
[0017] Optionally, the vehicle information includes task information, the task information is associated with a position of the passive NFC device on the vehicle, and the task information is used to generate the control information.
[0018] For example, the task information in the NFC tag on the car door is to open the car door, and the mobile phone can generate the instructions required to open the car door based on the task information; the task information in the NFC tag on the trunk is to open the trunk, and the mobile phone can generate the instructions required to open the trunk based on the task information. Users can complete specific tasks without operating on the mobile phone, thereby enhancing the user experience.
[0019] Optionally, the task information is random identification information, and the control information includes the random identification information.
[0020] For example, the vehicle saves a task mapping table, which includes the mapping relationship between random identification information and tasks to be executed. The vehicle-side DK authentication system can query the task mapping table after the Bluetooth connection is established, and determine that the random identification information corresponding to the task of opening the front door is "2". The vehicle-side DK authentication system writes the random identification information "2" into the NFC tag on the front door; since the random identification information is written to the NFC tag after the Bluetooth connection is established, the NFC reader cannot obtain the random identification information corresponding to the task in advance, thereby enhancing the security of the vehicle control system.
[0021] Optionally, the vehicle information includes an identification of the vehicle, and / or the vehicle information includes an identification of an application corresponding to the vehicle information.
[0022] When a user owns multiple cars, the vehicle information including the vehicle identification can help the mobile phone determine which car the vehicle information comes from, without the need to light up the screen to prompt the user to select. When the vehicle information includes the identification of the corresponding APP, the NFC tag distribution system can directly forward the vehicle information to the APP without lighting up the screen to prompt the user to select. Therefore, this embodiment can control the vehicle without the user noticing, enhancing the user experience.
[0023] Optionally, the control information is information encrypted by a session key.
[0024] The mobile phone can perform security verification on the short-distance communication connection and generate a session key after the security verification passes. The control information encrypted based on the session key can enhance the security of the vehicle control system.
[0025] Optionally, the vehicle information is information written into the passive NFC device after the short-range communication connection is established.
[0026] Since the communication distance of a short-range communication connection is short, once the connection is established, it means that the user is close to the vehicle. At this time, writing the vehicle information into the NFC tag can prevent the vehicle information from being read by unauthorized NFC devices, thereby enhancing the security of the vehicle control system.
[0027] In a third aspect, a device for controlling a vehicle is provided, comprising a unit composed of software and / or hardware, wherein the unit is used to execute any one of the methods in the technical solution described in the first aspect.
[0028] In a fourth aspect, another device for controlling a vehicle is provided, comprising a unit composed of software and / or hardware, wherein the unit is used to execute any one of the methods in the technical solution described in the second aspect.
[0029] In a fifth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the electronic device executes any one of the methods in the technical solution described in the first aspect.
[0030] In a sixth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the electronic device executes any one of the methods in the technical solution described in the second aspect.
[0031] In a seventh aspect, a computer-readable medium is provided, wherein the computer-readable medium stores a program code, and when the computer program code runs on an electronic device, the electronic device executes any one of the methods in the technical solution described in the first aspect.
[0032] In an eighth aspect, a computer-readable medium is provided, wherein the computer-readable medium stores a program code, and when the computer program code runs on an electronic device, the electronic device executes any one of the methods in the technical solution described in the second aspect.
[0033] In a ninth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on an electronic device, the electronic device executes any one of the methods in the technical solution described in the first aspect.
[0034] In a tenth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on an electronic device, the electronic device executes any one of the methods in the technical solution described in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a schematic diagram of a vehicle control system provided by the present application;
[0036] Figure 2 is a schematic diagram of a method for controlling a vehicle provided by the present application;
[0037] Figure 3 is a schematic diagram of a method for controlling a vehicle door provided by the present application;
[0038] Figure 4 is a schematic diagram of another method for controlling a vehicle provided by the present application;
[0039] Figure 5 is a schematic diagram of another method for controlling a vehicle provided by the present application;
[0040] Figure 6 is a schematic diagram of another vehicle control system provided by the present application;
[0041] Figure 7 is a schematic diagram of another method for controlling a vehicle provided by the present application;
[0042] Figure 8 It is a schematic diagram of an electronic device for controlling a vehicle provided by the present application. DETAILED DESCRIPTION
[0043] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0044] Figure 1 is a schematic diagram of a vehicle control system suitable for the present application.
[0045] The mobile phone 110 is a mobile device with an active NFC function, and can send and receive data through an NFC module.
[0046] The vehicle 120 is a device having a passive NFC function. The passive NFC function may be implemented by an NFC tag that can send data without using a power source; the passive NFC function may also be implemented by an active NFC device emulating an NFC tag.
[0047] When the mobile phone 110 and the vehicle 120 work together, the NFC module of the mobile phone 110 emits electromagnetic waves, and the NFC tag uses the energy of the electromagnetic waves to send data, so that the NFC module of the mobile phone 110 receives the data. In this working mode, the mobile phone 110 is equivalent to a card reader and can read the data in the NFC tag. Therefore, this working mode can also be called a card reader mode.
[0048] The NFC tag can be located at any location outside or inside the vehicle 120, and information related to the location can be written. For example, if NFC tag 1 is located at the front door of the vehicle 120, the information in NFC tag 1 can include the front door identification and task information related to the front door operation, and the task information is used to generate instructions (such as instructions to open the front door); if NFC tag 2 is located at the rear door of the vehicle 120, the information in NFC tag 2 can include the rear door identification and task information related to the rear door operation, and the task information is used to generate instructions (such as instructions to open the rear door). The vehicle 120 can also use an NFC device to simulate an NFC tag.
[0049] In addition to communicating via NFC, the mobile phone 110 and the vehicle 120 may also communicate via other short-range communication technologies.
[0050] For example, if both the mobile phone 110 and the vehicle 120 include Bluetooth modules, a Bluetooth connection can be established between the mobile phone 110 and the vehicle 120 , and the mobile phone 110 can send data to the vehicle 120 via the Bluetooth connection, and the vehicle 120 can also send data to the mobile phone 110 via the Bluetooth connection.
[0051] In addition to communicating via Bluetooth connection, the mobile phone 110 and the vehicle 120 can also communicate via ultrawide band (UWB) technology, ZigBee technology or wireless fidelity (Wi-Fi) technology. This application does not limit the short-range communication technology in the vehicle control system. In addition, the vehicle control system including the mobile phone 110 and the vehicle 120 is an example applicable to this application. The mobile phone 110 can also be other mobile devices with active NFC function, such as smart watches, smart bracelets and other wearable devices; the vehicle 120 can also be other vehicles with passive NFC function, such as motorcycles and bicycles.
[0052] Below, the method for controlling a vehicle provided by the present application is described in detail by taking the mobile phone 110 controlling the vehicle 120 as an example. Figure 2 As shown, the method includes:
[0053] S210 , the mobile phone 110 establishes a short-range communication connection with the vehicle 120 .
[0054] The short-range communication connection is, for example, a Bluetooth connection. The mobile phone 110 and the vehicle 120 may first establish a physical layer channel through steps such as creating a connection, a connection request, and setting up a complete connection. The physical layer channel may also be referred to as a physical link, which is a concept in the baseband protocol and includes an asynchronous link (ACL) and a synchronous link (SCO). ACL may be used to transmit data with low latency requirements, such as packet data; SCO may be used to transmit data with high latency requirements, such as voice data.
[0055] After the physical layer channel is established, the mobile phone 110 and the vehicle 120 need to establish a logical link control and adaptation protocol (L2CAP) connection so that the application layer of the mobile phone 110 and the application layer of the vehicle 120 can communicate. The L2CAP connection belongs to a logical channel, and the endpoint of the logical channel can be represented by a channel identifier (CID). Each application (profile) instance of the Bluetooth device needs to obtain the CID to establish an application layer connection.
[0056] Optionally, after establishing the physical layer channel, the mobile phone 110 can also perform an authentication step with the vehicle 120, perform a two-way authentication based on the DK business key, and generate a session key. The session key can be stored in a secure storage environment of the mobile phone 110, such as a secure element (SE), a trusted execution environment (TEE), or a secure white box.
[0057] After authentication, the mobile phone 110 establishes an association between the session key, the Bluetooth connection life cycle, and the DK application, such as a digital wallet. The Bluetooth connection life cycle is the duration of the Bluetooth connection. When the Bluetooth connection is disconnected, the Bluetooth life cycle ends and the session key becomes invalid.
[0058] After the vehicle 120 passes the authentication, the vehicle information is written into the NFC tag through the vehicle-side DK authentication system. Since the communication distance of the short-distance communication connection is short, after the connection is established, it means that the user is close to the vehicle. At this time, writing the vehicle information into the NFC tag can prevent the vehicle information from being read by unauthorized NFC devices, thereby enhancing the security of the vehicle control system. Optionally, the vehicle information can also be preset in the NFC tag.
[0059] The vehicle information may include task information, which is associated with the position of the NFC tag on the vehicle 120 and is used to generate instructions required for the task to be performed. Since the components at different positions of the vehicle 120 can perform different tasks, for example, the door can perform the task of opening the door or closing the door, and the trunk can perform the task of opening the trunk or closing the trunk; the task information is used to indicate the task to be performed, so the task information in the NFC tags attached to different positions of the vehicle 120 is also different, and the "association relationship" can also be interpreted as: the content of the task information changes with the change of the position of the NFC tag on the vehicle. For example, the task information in the NFC tag located on the door is to open the door, and the mobile phone 110 can generate the instructions required to open the door based on the task information; the task information in the NFC tag located on the trunk is to open the trunk, and the mobile phone 110 can generate the instructions required to open the trunk based on the task information; wherein, opening the door and opening the trunk are the tasks to be performed.
[0060] The above-mentioned task information can be random identification information. For example, the vehicle 120 stores a task mapping table, which includes a mapping relationship between random identification information and tasks to be performed. The vehicle-side DK authentication system can query the task mapping table after the Bluetooth connection is established, and determine that the random identification information corresponding to the task of opening the front door is "2". Then the vehicle-side DK authentication system writes the random identification information "2" into the NFC tag 1; since the random identification information is written into the NFC tag after the Bluetooth connection is established, the NFC card reader cannot obtain the random identification information corresponding to the task in advance, thereby enhancing the security of the vehicle control system. In the above example, the mapping relationship between the random identification information and the tasks to be performed is fixed. Optionally, the random identification information associated with the tasks to be performed can also be dynamically generated, that is, the random identification information written to the same NFC tag each time is randomly generated.
[0061] The vehicle information may also include an application identifier, which may be, for example, an identifier of a digital wallet. The digital wallet may register its own identifier in the NFC tag distribution system. When the application identifier in the vehicle information enters the NFC tag distribution system, the NFC tag distribution system may transmit the vehicle information to the digital wallet.
[0062] The NFC tag distribution system can distribute vehicle information in the following ways.
[0063] When the vehicle information indicates a specific APP, the NFC tag distribution system sends the vehicle information to the specific APP. For example, when the vehicle information includes uniform resource locator (URL) and / or multipurpose internet mail extensions (MIME) type data, which indicates a clear APP, the NFC distribution system can directly send the vehicle information to the APP indicated by the URL and / or MIME type data.
[0064] When the vehicle information does not indicate a specific APP, the NFC tag distribution system broadcasts the vehicle information. For example, if the data in the vehicle information cannot be mapped to a URL or MIME type of data, the NFC distribution system can broadcast the vehicle information.
[0065] The vehicle information may also include other information, such as a vehicle identification, so that the mobile phone 110 can distinguish between multiple vehicles belonging to the user. For example, two vehicles (vehicle 1 and vehicle 2) of the user are parked in the same garage, and the mobile phone 110 establishes short-range communication connections with the two vehicles respectively. The user controls the mobile phone 110 to read the NFC tag on vehicle 1. The vehicle information in the NFC tag contains the vehicle identification "vehicle 1". The mobile phone 110 generates control information for controlling vehicle 1 based on the vehicle identification, thereby avoiding misoperation of vehicle 2. The present application does not limit the specific content of the vehicle information.
[0066] Then, the mobile phone 110 may perform the following steps.
[0067] S220 , the mobile phone 110 reads vehicle information from the passive NFC device on the vehicle 120 .
[0068] The passive NFC device is, for example, an NFC tag. The user can control the mobile phone 110 to approach the NFC tag. The NFC module of the mobile phone 110 emits electromagnetic waves to stimulate the NFC tag to work, receives the signal emitted by the NFC tag, and decodes the signal to obtain the vehicle information.
[0069] The passive NFC device may also be an NFC tag simulated by an active NFC device. In the present application, a passive NFC device refers to a device with a passive NFC function, that is, an NFC device that can transmit signals using the electromagnetic field provided by the mobile phone 110 as energy, or an NFC device that can be read by the mobile phone 110 in the card reader mode.
[0070] S230, the mobile phone 110 generates control information based on the vehicle information.
[0071] For example, when the vehicle information includes task information for opening a door, the control information may include an instruction for opening the door; when the vehicle information includes task information for opening a trunk, the control information may include an instruction for opening the trunk. When the task information is random identification information, the control information may include the random identification information so that the vehicle 120 determines the task to be performed based on the random identification information.
[0072] Optionally, the mobile phone 110 may display a user interface (UI) for the user to select specific control information to be generated.
[0073] The UI displayed on mobile phone 110 is as follows Figure 3As shown, the vehicle 120 has four doors, namely door 1, door 2, door 3 and door 4, wherein door 1 is the door next to the driver's seat. The vehicle information obtained by the mobile phone 110 from the NFC tag includes the task information of opening the door, but does not include the identification of the door. Then the mobile phone 110 can display the four doors on the UI, prompting the user to select the door to be opened. When the user wants to open the door next to the driver's seat, he can click the icon of door 1 on the UI, and the mobile phone 110 generates control information for opening door 1, so as to control the vehicle 120 to open the door next to the driver's seat, thereby meeting the personalized needs of the user.
[0074] Optionally, the mobile phone 110 may encrypt the control information based on the session key to generate encrypted control information to enhance the security of the vehicle control system.
[0075] S240 , the mobile phone 110 sends control information to the vehicle 120 .
[0076] The control information may be a specific instruction, such as an instruction to control the door to open. After receiving the instruction, the vehicle 120 directly executes the operation of opening the door. The control information may also be an indication information, such as a value "1". After receiving the value "1", the vehicle 120 determines that the instruction corresponding to the value "1" is an instruction to turn on the player based on the locally stored "value-instruction" mapping table, and then executes the operation of turning on the music player. This application does not limit the specific form of the control information.
[0077] The mobile phone 110 can send control information to the vehicle 120 via a Bluetooth connection. The control information can be carried in a protocol data unit (PDU) of a Bluetooth data packet. This application does not limit the specific method of sending the control information.
[0078] S250 , the vehicle 120 controls the vehicle based on the control information.
[0079] For example, when the control information is an instruction to open a door, the vehicle 120 opens the door based on the instruction; when the control information is an instruction to open a trunk, the vehicle 120 opens the trunk based on the instruction.
[0080] Figure 2 In the method shown, after the user turns on the NFC function of the mobile phone 110, the user only needs to control the mobile phone 110 to approach the NFC tag to control the vehicle 120. During the process of controlling the vehicle 120, the mobile phone 110 can be in an off-screen state throughout the process, and the user does not need to operate on the interface of the mobile phone 110, thereby enhancing the user experience.
[0081] The mobile phone 110 may also generate a registration table including the vehicle identification and / or the application identification. After reading the vehicle identification from the NFC tag, if the vehicle identification or the application identification corresponding to the vehicle identification is found in the registration table, S230 and S240 are executed in the screen-off state; if the vehicle identification or the application identification corresponding to the vehicle identification is not found in the registration table, the screen is turned on to prompt the user to confirm whether to execute S230 and S240; thereby, the security of the vehicle control system can be improved. In addition, in the vehicle control system, the vehicle 120 does not need to be equipped with an active NFC device, which reduces the vehicle cost.
[0082] Next, combine Figure 4 The method for controlling a vehicle provided by the present application is further introduced.
[0083] The Bluetooth module 121 of the vehicle 120 and the Bluetooth module 111 of the mobile phone 110 may be paired in advance. When the distance between the mobile phone 110 and the vehicle 120 meets the Bluetooth communication distance requirement, the mobile phone 110 establishes a Bluetooth connection with the vehicle 120 and generates a session key.
[0084] Optionally, the vehicle-side DK authentication system 122 can write vehicle information in the NFC tag 123 after establishing a Bluetooth connection. The vehicle information includes, for example, a uniform resource locator (URL), random identification information, and business data. The URL is used to indicate an application corresponding to the vehicle information. The random identification information is associated with the task to be performed. The business data includes, for example, vehicle identification, Bluetooth connection identification information, Bluetooth connection life cycle and other data.
[0085] After the user controls the mobile phone 110 to approach the NFC tag 123 , the NFC controller 112 of the mobile phone 110 reads the vehicle information from the NFC tag 123 .
[0086] The NFC controller 112 transmits the vehicle information to the NFC tag distribution system 113. The NFC tag distribution system 113 parses the URL in the vehicle information and determines that the application corresponding to the vehicle information is the digital wallet 114. The vehicle information can be encapsulated in an intent message and transmitted to the digital wallet 114. The digital wallet 114 is an exemplary application for processing vehicle information. The mobile phone 110 can also process vehicle information through other applications.
[0087] The digital wallet 114 obtains random identification information from the vehicle information and sends the random identification information to the secure element (SE) 115. The SE 115 uses the session key to encrypt the random identification information to generate control information. Subsequently, the digital wallet 114 obtains the control information from the SE 115, encapsulates the control information in a Bluetooth message, and sends it out through the Bluetooth module 111.
[0088] After receiving the above Bluetooth message, the Bluetooth module 121 of the vehicle 120 parses the control information from the Bluetooth message and transmits the control information to the vehicle-side DK authentication system 122. The vehicle-side DK authentication system 122 verifies the control information using the session key; after the verification passes, the task to be executed corresponding to the random identification information in the control information is executed, for example, opening the door.
[0089] In the above embodiment, the vehicle information includes specific task information (such as random identification information), and the mobile phone 110 can generate clear control information based on the task information. If the vehicle information does not include specific task information, the mobile phone 110 can prompt the user to select a task to be performed.
[0090] For example, the vehicle information obtained by the mobile phone 110 includes the task information of starting the vehicle, but does not include the vehicle identification, and the mobile phone 110 stores the information of two vehicles of the user, then the mobile phone 110 can display the following information: Figure 5 The UI shown; if the user clicks on the icon of vehicle 1 (for example, vehicle 120), the mobile phone 110 can generate control information for starting vehicle 1, encrypt the control information using a session key, and then send the control information to vehicle 1, thereby meeting the user's personalized needs.
[0091] In addition, the user can also use smart watch controls to interact with the vehicle 120. Figure 6 As shown, the smart watch 130 includes a Bluetooth module and an active NFC module, and the vehicle 120 includes an NFC tag 3 and an NFC tag 4. The NFC tag 3 is attached to the steering wheel and includes vehicle information for starting the steering wheel heating; the NFC tag 4 is attached to the center console and includes vehicle information for starting the ventilation function.
[0092] After the smart watch 130 establishes a Bluetooth connection with the vehicle 120, the smart watch 130 is brought close to the smart watch 130 and the NFC tag 3 and the NFC tag 4, and the vehicle information in the NFC tag 3 and the NFC tag 4 may be read at the same time. Since the vehicle ventilation may cause the steering wheel heating effect to be poor, the smart phone 130 can light up the screen and display Figure 7 The UI shown prompts the user to choose whether to heat and ventilate the steering wheel at the same time.
[0093] The user can click the steering wheel heating switch icon to start the steering wheel heating function, and the smart watch 130 generates an instruction to start the steering wheel heating based on the vehicle information in the NFC tag 3, and sends the instruction to the vehicle 120 through the Bluetooth connection. The user can also click the ventilation function switch icon to turn off the ventilation function, and the smart watch 130 discards the vehicle information in the NFC tag 4, thereby meeting the user's personalized needs.
[0094] The above describes in detail an example of a method for controlling a vehicle provided by the present application. It is understandable that, in order to implement the above functions, the corresponding device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0095] The present application can divide the device for controlling the vehicle into functional units according to the above method example. For example, each function can be divided into each functional unit, or two or more functions can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0096] Figure 8 The schematic diagram of the structure of an electronic device for controlling a vehicle provided by the present application is shown. The device 800 can be used to implement the method described in the above method embodiment. The device 800 can be a terminal device or a chip.
[0097] The device 800 includes one or more processors 801, which can support the device 800 to implement the method in the method embodiment. The processor 801 can be a general-purpose processor or a special-purpose processor. For example, the processor 801 can be a central processing unit (CPU). The CPU can be used to control the device 800, execute software programs, and process data of software programs. The device 800 can also include a transceiver 805 to implement input (reception) and / or output (transmission) of signals (such as vehicle information).
[0098] For example, the device 800 may be a chip, and the transceiver 805 may be an input and / or output circuit of the chip, or the transceiver 805 may be a communication interface of the chip, and the chip may be a component of a terminal device or other electronic device.
[0099] For another example, the device 800 may be a terminal device, and the transceiver 805 may be a transceiver circuit of the terminal device.
[0100] The device 800 may also include one or more memories 802, on which a program 804 is stored. The program 804 can be executed by the processor 801 to generate instructions 803, so that the processor 801 performs the method described in the above method embodiment according to the instructions 803. Optionally, data (such as vehicle information) may also be stored in the memory 802. Optionally, the processor 801 may also read the data stored in the memory 802, and the data may be stored at the same storage address as the program 804, or the data may be stored at a different storage address from the program 804.
[0101] The processor 801 and the memory 802 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0102] When the device 800 is a mobile terminal, the transceiver 805 is used to: establish a short-range communication connection with a vehicle; read vehicle information from a passive NFC device on the vehicle; the processor 801 is used to: generate control information based on the vehicle information; the transceiver 805 is also used to: send the control information to the vehicle via the short-range communication connection.
[0103] When the device 800 is a vehicle-mounted electronic device, the transceiver 805 is used to: establish a short-range communication connection with a mobile terminal; receive control information from the mobile terminal through the short-range communication connection, wherein the control information is generated by the mobile terminal based on vehicle information, and the vehicle information is information in a passive near-field communication NFC device on the vehicle where the vehicle-mounted electronic device is located; the processor 801 is used to: control the vehicle according to the control information.
[0104] The specific manner in which the device 800 executes the method embodiment and the beneficial effects produced can refer to the relevant description in the method embodiment.
[0105] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or a software-based instruction in the processor 801. The processor 801 can be a CPU, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0106] The present application also provides a computer program product, which, when executed by the processor 801, implements the method described in any method embodiment of the present application.
[0107] The computer program product may be stored in the memory 802 , for example, a program 804 , which is finally converted into an executable target file that can be executed by the processor 801 after preprocessing, compiling, assembling, and linking.
[0108] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.
[0109] The computer-readable storage medium is, for example, a memory 802. The memory 802 may be a volatile memory or a nonvolatile memory, or the memory 802 may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0110] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.
[0111] In several embodiments provided in the present application, the disclosed systems, devices and methods can be implemented in other ways. For example, some features of the method embodiments described above can be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is only a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the above coupling includes electrical, mechanical or other forms of connection.
[0112] In various embodiments of the present application, the size of the serial number does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0113] In addition, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0114] In short, the above is only a preferred embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made within the principles of this application should be included in the protection scope of this application.
Claims
1. A method for controlling a vehicle, characterized in that: include: The mobile terminal establishes a short-range communication connection with the vehicle; The mobile terminal reads vehicle information from a passive near field communication (NFC) device on the vehicle, the vehicle information being information written into the passive NFC device by the vehicle-mounted electronic device of the vehicle after the short-range communication connection passes a security check, the vehicle information including task information, the task information being associated with a position of the passive NFC device on the vehicle, and the task information being used to generate control information; The mobile terminal generates the control information according to the vehicle information; The mobile terminal sends the control information to the vehicle through the short-range communication connection.
2. The method according to claim 1, characterized in that The task information is random identification information, and the control information includes the random identification information.
3. The method according to claim 1 or 2, characterized in that: The vehicle information includes an identification of the vehicle, and / or the vehicle information includes an identification of an application corresponding to the vehicle information.
4. The method according to claim 1 or 2, characterized in that: The control information is information encrypted by a session key.
5. The method according to claim 1 or 2, characterized in that: The short-range communication connection is a Bluetooth connection, an ultra-wideband UWB connection, a ZigBee connection or a wireless fidelity Wi-Fi connection.
6. A method for controlling a vehicle, characterized in that: include: The vehicle-mounted electronic device establishes a short-range communication connection with the mobile terminal; After the short-range communication connection passes the security verification, the on-board electronic device writes vehicle information into a passive near-field communication NFC device on the vehicle where the on-board electronic device is located, wherein the vehicle information includes task information, and the task information is associated with the position of the passive NFC device on the vehicle; The in-vehicle electronic device receives control information from the mobile terminal through the short-range communication connection, where the control information is generated by the mobile terminal based on the vehicle information; The in-vehicle electronic device controls the vehicle according to the control information.
7. The method according to claim 6, characterized in that The task information is random identification information, and the control information includes the random identification information.
8. The method according to claim 6 or 7, characterized in that: The vehicle information includes an identification of the vehicle, and / or the vehicle information includes an identification of an application corresponding to the vehicle information.
9. The method according to claim 6 or 7, characterized in that: The control information is information encrypted by a session key.
10. The method according to claim 6 or 7, characterized in that: The vehicle information is information written into the passive NFC device after the short-range communication connection is established.
11. The method according to claim 6 or 7, characterized in that: The short-range communication connection is a Bluetooth connection, an ultra-wideband UWB connection, a ZigBee connection or a wireless fidelity Wi-Fi connection.
12. An electronic device for controlling a vehicle, characterized in that: Including processor and transceiver, The transceiver is used to: establish a short-range communication connection with a vehicle; read vehicle information from a passive near-field communication NFC device on the vehicle, the vehicle information being information written into the passive NFC device by the vehicle's onboard electronic device after the short-range communication connection passes a security check, the vehicle information including task information, the task information being associated with a position of the passive NFC device on the vehicle, and the task information being used to generate control information; The processor is used to: generate the control information according to the vehicle information; The transceiver is further configured to send the control information to the vehicle via the short-range communication connection.
13. The electronic device according to claim 12, characterized in that: The task information is random identification information, and the control information includes the random identification information.
14. The electronic device according to claim 12 or 13, characterized in that: The vehicle information includes an identification of the vehicle, and / or the vehicle information includes an identification of an application corresponding to the vehicle information.
15. The electronic device according to claim 12 or 13, characterized in that: The control information is information encrypted by a session key.
16. The electronic device according to claim 12 or 13, characterized in that: The short-range communication connection is a Bluetooth connection, an ultra-wideband UWB connection, a ZigBee connection or a wireless fidelity Wi-Fi connection.
17. An electronic device for controlling a vehicle, characterized in that: Including processor and transceiver, The transceiver is used to: establish a short-range communication connection with a mobile terminal; The processor is used to: after the short-range communication connection passes the security check, write vehicle information into a passive near-field communication NFC device on the vehicle where the electronic device is located, wherein the vehicle information includes task information, and the task information is associated with the position of the passive NFC device on the vehicle; The transceiver is further used to: receive control information from the mobile terminal through the short-range communication connection, the control information being generated by the mobile terminal based on the vehicle information; The processor is further configured to: control the vehicle according to the control information.
18. The electronic device according to claim 17, characterized in that: The task information is random identification information, and the control information includes the random identification information.
19. The electronic device according to claim 17 or 18, characterized in that: The vehicle information includes an identification of the vehicle, and / or the vehicle information includes an identification of an application corresponding to the vehicle information.
20. The electronic device according to claim 17 or 18, characterized in that: The control information is information encrypted by a session key.
21. The electronic device according to claim 17 or 18, characterized in that: The vehicle information is information written into the passive NFC device after the short-range communication connection is established.
22. The electronic device according to claim 17 or 18, characterized in that: The short-range communication connection is a Bluetooth connection, an ultra-wideband UWB connection, a ZigBee connection or a wireless fidelity Wi-Fi connection.
23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 5.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 6 to 11.
Citation Information
Patent Citations
Methods of controlling vehicle interfaces using device motion and near field communications
CN103825630A
System and method for controlling vehicle using smart phone
WO2018186512A1
Cited By
Vehicle control method and electronic device
WO2022048456A1