Disclosure of Invention
In view of the above, the invention provides a door lock control method for a shared automobile, an automobile machine and a shared automobile, which can realize the function of a vehicle key by using a mobile terminal carried by a user, and can realize the opening and starting of the shared automobile by using the mobile terminal without the need of the user to go to a car renting place of the shared automobile to fetch the vehicle key, so that the user can conveniently and quickly rent the shared automobile, and more humanized intelligent experience is provided for the user.
The invention provides a door lock control method of a shared automobile, which is applied to a vehicle machine and comprises the following steps: reading NFC tag information in a mobile terminal close to a door in a shared automobile; judging whether the shared automobile has a vehicle key and a starting authority corresponding to the mobile terminal according to the label information; when the shared automobile has a vehicle key and a starting right corresponding to the mobile terminal, generating a vehicle door unlocking control signal; and controlling the automatic unlocking of the doors of the shared automobile according to the door unlocking control signal.
Specifically, after the step of controlling the automatic unlocking of the doors of the shared automobile according to the door unlocking control signal, the method further comprises the following steps: generating a start signal when the mobile terminal is proximate to a start button in the shared automobile; and controlling the shared automobile to start according to the starting signal.
Specifically, after the step of determining whether the shared automobile has the automobile key and the starting permission corresponding to the mobile terminal according to the tag information, the method further includes: when the shared automobile does not have the automobile key and the starting right corresponding to the mobile terminal, generating prompt information; and sending the prompt information to the mobile terminal through the NFC controller in the vehicle door so that the mobile terminal pops up a vehicle rental client and displays the prompt information.
Specifically, the step of sending the prompt information to the mobile terminal through the NFC controller in the vehicle door so that the mobile terminal pops up a vehicle rental client and displays the prompt information further includes: sending the tag information to a cloud server; receiving verification information returned by the cloud server after responding to the tag information; when the verification information is that the verification passes, rental information corresponding to the shared automobile is generated; and sending the lease information to the mobile terminal so as to display the lease information on the mobile terminal.
Specifically, after the step of receiving the verification information returned by the cloud server after responding to the tag information, the method further includes: when the verification information is that the verification fails, generating rented information corresponding to the shared automobile; and sending the rented information to the mobile terminal so as to display the rented information at the mobile terminal.
Specifically, the sending the lease information to the mobile terminal further includes, after the step of displaying the lease information by the mobile terminal: receiving vehicle key and starting permission information sent by the cloud server after the cloud server responds to the mobile terminal to complete payment order information; and updating and storing the vehicle key and the starting authority information.
The present invention also provides a vehicle machine, comprising: a memory for storing executable program code; and a processor for calling the executable program code in the memory to implement the door lock control method of the shared automobile.
Specifically, the car machine is in communication connection with a car door lock of the shared car and an NFC controller arranged on the car door.
The invention further provides a shared automobile which comprises the automobile machine.
Specifically, according to the door lock control method of the shared automobile, the automobile machine and the shared automobile provided by this embodiment, by reading NFC tag information in the mobile terminal close to the door of the shared automobile, it is determined whether the shared automobile has a vehicle key and a start permission corresponding to the mobile terminal according to the tag information, and a door unlock control signal is generated when the shared automobile has the vehicle key and the start permission corresponding to the mobile terminal, so as to control the automatic unlocking of the door of the shared automobile according to the door unlock control signal, so that the function of the vehicle key can be realized by using the mobile terminal carried by the user, the user does not need to go to a car rental place of the shared automobile to pick up the vehicle key, the opening and starting of the shared automobile can be realized by using the mobile terminal, the user can conveniently and quickly realize the car rental, and more humanized intelligent experience can be provided for the user.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the predetermined objects, the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.
Fig. 1 is a flowchart illustrating a method for controlling a door lock of a shared vehicle according to a first embodiment of the present invention. The embodiment is a door lock control method of a shared automobile executed by a vehicle machine. As shown in fig. 1, the method for controlling a door lock of a shared vehicle according to the present embodiment may include the steps of:
step S11: tag information of NFC in a mobile terminal proximate to a door in a shared automobile is read.
In particular, in an embodiment, the mobile terminal may be, but is not limited to, a smartphone, for example, the mobile terminal may also be a smart wearable device, such as a smart watch, and the like. Specifically, the mobile terminal is provided with a Near Field Communication (NFC) function. The automobile door sharing system comprises a vehicle and a sharing automobile, wherein the vehicle door sharing system comprises a CAN bus, a vehicle machine and a vehicle-mounted machine, the vehicle-mounted machine is connected with the vehicle-mounted machine through the CAN bus, and the vehicle-mounted machine is connected with door locks of all vehicle doors of the sharing automobile in a communication mode. Specifically, the car machine may be, but is not limited to be, communicatively connected with the door lock through a CAN bus.
Specifically, in one embodiment, when the user wants to rent a shared automobile, the mobile terminal may be close to the door of the shared automobile, and the NFC controller on the door of the shared automobile reads the NFC tag information in the mobile terminal close to the door and transmits the tag information to the car machine. Specifically, the tag information includes hardware information and tag content of NFC in the mobile terminal.
Step S12: and judging whether the shared automobile has the automobile key and the starting authority corresponding to the mobile terminal according to the label information.
Specifically, in an embodiment, the car machine determines whether the shared car has a car key and a start authority corresponding to the mobile terminal according to the tag information. Specifically, the car machine identifies the NFC in the mobile terminal according to the hardware information, and judges whether the shared car has a car key and a starting authority corresponding to the mobile terminal according to the tag content.
Step S13: when the shared automobile has the automobile key and the starting authority corresponding to the mobile terminal, a door unlocking control signal is generated.
Specifically, in one embodiment, when the shared automobile has a vehicle key and a start right corresponding to the mobile terminal, the car machine generates a door unlocking control signal. For example, in a time period of renting a car, the user can use the mobile terminal to open a door or start a shared car, so that the user can conveniently rent the car, and the user experience is improved. Specifically, the car machine may send a door unlocking control signal to the car body manager, but not limited to, to control the automatic unlocking of the door. For example, in another embodiment, the car machine CAN also directly send a car door unlocking control signal to a door lock on the car door through the CAN bus so as to control the car door to be automatically unlocked.
Step S14: and controlling the doors of the shared automobile to be automatically unlocked according to the door unlocking control signal.
Specifically, in an embodiment, the car machine controls the automatic unlocking of the car door of the shared car according to the car door unlocking control signal, the mobile terminal carried by the user can be used for realizing the function of the car key, the user does not need to go to the car renting place of the shared car to fetch the car key, the door opening and starting of the shared car can be realized by using the mobile terminal, the user can conveniently and quickly rent the shared car, and more humanized intelligent experience is provided for the user.
Referring to fig. 2, fig. 2 is a flowchart illustrating a door lock control method for a shared vehicle according to a second embodiment of the present invention. As shown in fig. 1 and fig. 2, the method for controlling a door lock of a shared automobile according to the present embodiment further includes the following steps after the step of controlling the automatic unlocking of the doors of the shared automobile according to the door unlocking control signal:
step S21: the activation signal is generated when the mobile terminal is proximate to an activation button in the shared automobile.
Specifically, in an embodiment, when the user brings the mobile terminal close to a start button of the shared automobile, for example, when the user places the mobile terminal on a vehicle-mounted terminal bracket, the vehicle-mounted device generates a start signal, so that the user can start the shared automobile conveniently.
Step S22: and controlling the shared automobile to start according to the starting signal.
Specifically, in an embodiment, the car machine controls the shared car to start according to the start signal, and specifically, the user can start the shared car operation after placing the mobile terminal on the vehicle-mounted terminal support, so that the user does not need to go to a car renting place alone to get a car key, the user can conveniently use the mobile terminal to realize the opening and starting of the shared car, the user can conveniently and quickly rent the shared car, and more humanized intelligent experience is provided for the user.
Referring to fig. 3, fig. 3 is a flowchart illustrating a door lock control method for a shared vehicle according to a third embodiment of the present invention. As shown in fig. 1 and fig. 3, the method for controlling a door lock of a shared automobile according to this embodiment further includes the following steps after the step of determining whether the shared automobile has a vehicle key corresponding to the mobile terminal and a start authority according to the tag information:
step S31: when the shared automobile does not have the automobile key and the starting right corresponding to the mobile terminal, prompt information is generated.
Specifically, in an embodiment, when the shared automobile does not have the vehicle key and the start authority corresponding to the mobile terminal, for example, the mobile terminal does not complete the rental order information for the shared automobile, or the shared automobile already has the vehicle key and the start authority of another mobile terminal, and the validity of the vehicle key and the start authority is not terminated, the vehicle-mounted device generates a prompt message to prompt the user that the mobile terminal does not rent the shared automobile, and the like.
Step S32: and sending the prompt information to the mobile terminal through the NFC controller in the vehicle door so that the mobile terminal pops up the vehicle rental client and displays the prompt information.
Specifically, in an embodiment, the car machine may transmit the prompt message to the NFC controller on the car door through the CAN bus, but not limited to, so as to send the prompt message to the mobile terminal through the NFC controller. Specifically, after receiving the prompt message, the mobile terminal automatically pops up the automobile leasing client to display the prompt message on an interface of the automobile leasing client. Specifically, in one embodiment, the prompt information may include, but is not limited to, mileage, current remaining capacity, usage cost per unit time, current rental status, and the like of the shared automobile, so that the user can know detailed information of the shared automobile to make a decision on whether to rent the shared automobile, thereby improving user experience.
Referring to fig. 4, fig. 4 is a flowchart illustrating a door lock control method for a shared vehicle according to a fourth embodiment of the present invention. As shown in fig. 3 and 4, the method for controlling a door lock of a shared vehicle according to this embodiment further includes the following steps after the step of sending the prompt message to the mobile terminal through the NFC controller in the vehicle door, so that the mobile terminal pops up the vehicle rental client and displays the prompt message:
step S41: and sending the tag information to a cloud server.
Specifically, in an embodiment, the car machine transmits the tag information corresponding to the NFC in the mobile terminal to the TBOX or the car networking terminal through the CAN bus, and the TBOX or the car networking terminal sends the received tag information to the cloud server. Specifically, the cloud server verifies the identity information of the user according to the received tag information, and verifies whether the shared automobile can be rented.
Step S42: and receiving verification information returned after the cloud server responds to the tag information.
Specifically, in an embodiment, the cloud server verifies the identity information of the user in response to the tag information, and verifies whether the shared automobile can be rented, so as to determine whether the user is matched with the shared automobile, determine whether the shared automobile can be rented, and generate verification information according to a verification result. The cloud server returns the verification information to the TBOX or the vehicle networking terminal, and the TBOX or the vehicle networking terminal transmits the received verification information to the vehicle machine through the CAN bus.
Step S43: and when the verification information is that the verification passes, generating leasing information corresponding to the shared automobile.
Specifically, in an embodiment, when the verification information is that the verification passes, the car machine generates rental information corresponding to the shared car. Specifically, the rental information may be, but is not limited to, a time period during which the shared automobile is rentable.
Step S44: and sending the leasing information to the mobile terminal so as to display the leasing information on the mobile terminal.
Specifically, in one embodiment, the car machine transmits the lease information to the TBOX or the car networking terminal through the CAN bus, and the TBOX or the car networking terminal sends the received lease information to the mobile terminal. The mobile terminal displays the received lease information on an interface of the automobile lease client so as to facilitate the user to input the lease time period and further generate order information corresponding to the shared automobile.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for controlling a door lock of a shared vehicle according to a fifth embodiment of the present invention. As shown in fig. 4 and 5, the method for controlling a door lock of a shared vehicle according to this embodiment further includes the following steps after the step of receiving the verification information returned by the cloud server after responding to the tag information:
step S51: and if the verification information is that the verification fails, generating rented information corresponding to the shared automobile.
Specifically, in one embodiment, when the verification information is that the verification fails, the car machine generates rented information corresponding to the shared car. Specifically, the rented information may include, but is not limited to, that the shared automobile is being rented, has been rented for a certain period of time, or is in a maintenance state, etc.
Step S52: and sending the rented information to the mobile terminal so as to display the rented information at the mobile terminal.
Specifically, in one embodiment, the car machine transmits the rented information to the TBOX or the car networking terminal, and the TBOX or the car networking terminal sends the received rented information to the mobile terminal. The mobile terminal displays the received rented information on an interface of the automobile rental client so that a user can conveniently and quickly know the current renting state of the shared automobile and the like.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for controlling a door lock of a shared vehicle according to a sixth embodiment of the present invention. As shown in fig. 4 and fig. 6, the method for controlling a door lock of a shared vehicle according to this embodiment sends rental information to a mobile terminal, so that after the step of displaying the rental information by the mobile terminal, the method further includes the following steps:
step S61: and receiving the vehicle key and the starting permission information which are sent by the cloud server after the cloud server responds to the mobile terminal to complete the payment of the order information.
Specifically, in an embodiment, when the user places an order for the shared automobile through the mobile terminal, the cloud server receives order placing information sent by the mobile terminal, and the cloud server generates order information according to the order placing information and returns the order information to the mobile terminal. Specifically, after the mobile terminal carries out payment order information and completes payment order information, the cloud server generates a vehicle key and starting authority information corresponding to the mobile terminal and the time period. Specifically, the cloud server sends the vehicle key and the starting authority information to the TBOX or the Internet of vehicles terminal of the shared vehicle. And the TBOX or the vehicle networking terminal transmits the received vehicle key and the starting authority information to the vehicle machine through the CAN bus.
Step S62: and updating and storing the vehicle key and the starting authority information.
Specifically, in an embodiment, the car machine updates and stores the received car key and the start permission information into the car key client, so that the user can open the car door of the shared car and start the car by using the mobile terminal in a corresponding time period without getting the car key from the car renting place of the shared car, the user can conveniently use the mobile terminal to open the door and start the shared car, the user can conveniently and quickly rent the shared car, and more humanized intelligent experience is provided for the user.
Referring to fig. 7, fig. 7 is a block diagram illustrating a vehicle 100 according to a seventh embodiment of the present invention. As shown in fig. 7, the car machine 100 provided in this embodiment is used for executing a door lock control method of a shared car, and the car machine 100 provided in this embodiment includes a memory 110 and a processor 120.
Specifically, in the present embodiment, the memory 110 is used to store executable program code. The processor 120 is configured to call the executable program code in the memory to implement the door lock control method for the shared automobile, and the steps executed by the processor include: reading NFC tag information in a mobile terminal close to a door in a shared automobile; judging whether a vehicle key and a starting authority corresponding to the mobile terminal exist in the shared vehicle or not according to the label information; when the shared automobile has the automobile key and the starting right corresponding to the mobile terminal, generating an automobile door unlocking control signal; and controlling the doors of the shared automobile to be automatically unlocked according to the door unlocking control signal.
Specifically, in one embodiment, the processor 120, after executing the step of controlling the automatic unlocking of the doors of the shared automobile according to the door unlocking control signal, further executes the steps of: generating a start signal when the mobile terminal is proximate to a start button in the shared automobile; and controlling the shared automobile to start according to the starting signal.
Specifically, in an embodiment, the step executed by the processor 120 after the step of determining whether the shared automobile has the vehicle key corresponding to the mobile terminal and the start authority according to the tag information includes: when the shared automobile does not have the automobile key and the starting right corresponding to the mobile terminal, generating prompt information; and sending the prompt information to the mobile terminal through the NFC controller in the vehicle door so that the mobile terminal pops up the vehicle rental client and displays the prompt information.
Specifically, in an embodiment, the step executed by the processor 120 after the step of sending the prompt message to the mobile terminal through the NFC controller in the vehicle door so that the mobile terminal pops up the car rental client and displays the prompt message includes: sending the tag information to a cloud server; receiving verification information returned after the cloud server responds to the tag information; when the verification information is that the verification passes, rental information corresponding to the shared automobile is generated; and sending the leasing information to the mobile terminal so as to display the leasing information on the mobile terminal.
Specifically, in an embodiment, the steps executed by the processor 120 after the step of receiving the verification information returned by the cloud server after responding to the tag information include: when the verification information is that the verification fails, generating rented information corresponding to the shared automobile; and sending the rented information to the mobile terminal so as to display the rented information at the mobile terminal.
Specifically, in an embodiment, the step of sending the rental information to the mobile terminal by the processor 120, so that the step of displaying the rental information by the mobile terminal is further performed after the step of: receiving vehicle key and starting permission information sent by a cloud server after responding to the mobile terminal to complete payment order information; and updating and storing the vehicle key and the starting authority information.
Specifically, in one embodiment, the car machine 100 is communicatively connected to a door lock of the shared car and an NFC controller disposed on the door of the shared car.
For the specific process of implementing each function of each functional unit of the vehicle machine 100 in this embodiment, please refer to the specific contents described in the embodiments shown in fig. 1 to fig. 6, which is not described herein again.
Referring to fig. 8, fig. 8 is a block diagram of a shared vehicle 200 according to an eighth embodiment of the present invention. As shown in fig. 8, the shared automobile 200 provided in this embodiment includes an automobile machine 210. Specifically, please refer to the description of the vehicle machine 100 in the embodiment shown in fig. 7 for a specific structure of the vehicle machine 210, which is not repeated herein.
Specifically, according to the door lock control method of the shared automobile, the automobile machine and the shared automobile provided by this embodiment, by reading NFC tag information in the mobile terminal close to the door of the shared automobile, it is determined whether the shared automobile has a vehicle key and a start permission corresponding to the mobile terminal according to the tag information, and a door unlock control signal is generated when the shared automobile has the vehicle key and the start permission corresponding to the mobile terminal, so as to control the automatic unlocking of the door of the shared automobile according to the door unlock control signal, so that the function of the vehicle key can be realized by using the mobile terminal carried by the user, the user does not need to go to a car rental place of the shared automobile to pick up the vehicle key, the opening and starting of the shared automobile can be realized by using the mobile terminal, the user can conveniently and quickly realize the car rental, and more humanized intelligent experience can be provided for the user.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, in which computer-executable instructions are stored, where the computer-readable storage medium is, for example, a non-volatile memory such as an optical disc, a hard disc, or a flash memory. The computer-executable instructions are used for causing a computer or a similar computing device to complete various operations in the door lock control method of the shared automobile.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the terminal class embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant points, reference may be made to part of the description of the method embodiment.