Login method, login system, vehicle-mounted terminal and computer-readable storage medium
Technical Field
The invention belongs to the technical field of information, and particularly relates to a login method, a login system, a vehicle-mounted terminal and a computer-readable storage medium.
Background
With the development of society, information security and information privacy are more and more emphasized by people, and with the rapid development of science and technology, people can store information in various terminals or servers, wherein the terminals or servers usually set login accounts and/or login passwords to ensure the relevance and privacy of information and users, so that people can input the login accounts and/or login passwords to the terminals or servers to log in folders or servers of the terminals and obtain the information stored in the terminals or servers.
However, the method of manually inputting the login account and/or the login password to log in the folder or the server of the terminal is cumbersome, and when the login account and/or the login password are manually input, an error may be inadvertently input, and after the user logs in the folder or the server of the terminal through the login account and/or the login password, the user is required to perform a cumbersome log-out operation when the user needs to log out.
In view of the above problems, those skilled in the art have sought solutions.
Disclosure of Invention
In view of the above, the present invention provides a login method, a login system, a vehicle-mounted terminal and a computer-readable storage medium, and aims to provide a convenient and fast login and login quit manner, so as to improve the user experience.
The invention is realized by the following steps:
the invention provides a login method, which comprises the following steps: the NFC label of the first terminal is read for the first time to obtain login information in the NFC label of the first terminal, wherein the login information comprises folder login information and/or server login information. And logging in the own folder and/or server according to the login information to acquire the data information which is stored in the own folder and/or server and is associated with the login information. And when the NFC label of the first terminal is read again, logging out of the folder and/or the server.
Further, before the step of reading the NFC tag of the first terminal for the first time to obtain the login information in the NFC tag of the first terminal, the method includes: the first terminal logs in the account management server to obtain login information stored in the account management server. And the first terminal writes the login information into the NFC label of the first terminal.
Further, before the step of reading the NFC tag of the first terminal for the first time to obtain the login information in the NFC tag of the first terminal, the method includes: the first terminal acquires authentication information input by a user and/or biological characteristic information of the user, and triggers the NFC tag to be in a readable state when the authentication information and/or the biological characteristic information are matched with preset authentication information and/or preset biological characteristic information stored in the first terminal.
Further, the login method is applied to the vehicle, and the first terminal is a mobile terminal. After the step of logging in the folder and/or the server of the user according to the login information to obtain the data information which is stored in the folder and/or the server of the user and is associated with the login information, the method comprises the following steps: and correspondingly controlling the vehicle-mounted equipment according to the vehicle individual setting information and/or the historical setting information in the data information, wherein the vehicle-mounted equipment comprises a vehicle-mounted playing device, a vehicle-mounted air conditioner, a vehicle lamp inside/outside the vehicle and an electronic seat.
Further, after the step of logging in the server according to the login information to obtain the data information stored in the server and associated with the login information, the method includes: and when the identification of the data in the data information is inconsistent with the identification of the data stored by the server, receiving and storing the data which is not synchronized by the server, and/or sending the data which is not synchronized by the server to the server.
Further, the login method is applied to a vehicle. After the step of logging in the folder and/or the server of the user according to the login information to obtain the data information which is stored in the folder and/or the server of the user and is associated with the login information, the method comprises the following steps: and sending the automatic driving control information in the data information to an automatic driving module so that the automatic driving module selects a destination and a driving route according to the automatic driving control information to control the vehicle to automatically drive, wherein the automatic driving control information comprises destination selection information and driving route selection information.
The present invention also provides a login system, comprising: vehicle-mounted terminal and mobile terminal. The vehicle-mounted terminal is used for reading the NFC label of the mobile terminal for the first time to obtain login information in the NFC label of the mobile terminal, and logging in a folder and/or a server of the vehicle-mounted terminal according to the login information to obtain data information which is stored in the folder and/or the server and is associated with the login information, wherein the login information comprises the folder login information and/or the server login information. And the vehicle-mounted terminal is also used for logging out of the folder and/or the server when the NFC label of the mobile terminal is read again.
Further, the vehicle-mounted terminal comprises an NFC module used for reading the NFC label of the mobile terminal. The installation position of the NFC module of the vehicle-mounted terminal comprises at least one of the back of a seat in the vehicle, a center console of the vehicle and a door handle in the vehicle.
The present invention also provides a vehicle-mounted terminal, including: a memory and a processor. The processor is adapted to execute a computer program stored in the memory to implement the steps of the login method as described above.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the login method as described above.
The invention provides a login method, a login system, a vehicle-mounted terminal and a computer readable storage medium, wherein the login method comprises the following steps: the NFC label of the first terminal is read for the first time to obtain login information in the NFC label of the first terminal, wherein the login information comprises folder login information and/or server login information. And logging in the own folder and/or server according to the login information to acquire the data information which is stored in the own folder and/or server and is associated with the login information. When the NFC label of the first terminal is read again, the file folder and/or the server logs out, so that when the login information in the NFC label of the first terminal is read for the first time, the user can conveniently, quickly and accurately log in the file folder and/or the server according to the login information to obtain the data information which is stored in the file folder and/or the server and is associated with the login information, and when the NFC label of the first terminal is read again, the user can conveniently and quickly log out the file folder and/or the server, therefore, the invention provides a convenient and quick login and login logging-out mode, and the use experience of the user can be improved.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a schematic flowchart of a login method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a login system according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a vehicle-mounted terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The first embodiment is as follows:
fig. 1 is a flowchart illustrating a login method according to an embodiment of the present invention. For a clear description of the login method provided in the first embodiment of the present invention, please refer to fig. 1.
The login method provided by the embodiment of the invention comprises the following steps:
and S11, reading the NFC label of the first terminal for the first time to acquire login information in the NFC label of the first terminal, wherein the login information comprises folder login information and/or server login information.
In one embodiment, the folder login information or the server login information may include a login account number, a login password, and/or biometric information of the user, among others. Such as fingerprints, voice prints, faces, pupils, etc.
In one embodiment, at step S11: the first reading of the NFC tag of the first terminal to obtain the login information in the NFC tag of the first terminal may include, but is not limited to: the first terminal logs in the account management server to obtain login information stored in the account management server. And the first terminal writes the login information into the NFC label of the first terminal. The first terminal logs in the account management server, for example, the first terminal logs in the account management server through account management software installed in the first terminal. Therefore, in the login method provided by this embodiment, the login information is stored in the account management server, and the first terminal can obtain the login information from the account management server, so that the situation that the login method provided by this embodiment cannot be implemented after the first terminal is lost or the first terminal is not replaced can be avoided.
In one embodiment, at step S11: the first reading of the NFC tag of the first terminal to obtain the login information in the NFC tag of the first terminal may include, but is not limited to: the first terminal acquires authentication information input by a user and/or biometric information of the user, and triggers the NFC tag to be in a readable state when the authentication information and/or the biometric information is matched with preset authentication information and/or preset biometric information stored in the first terminal. Such as fingerprints, voice prints, faces, pupils, etc. The authentication information includes, for example, a password for unlocking NFC, answer authentication for an unlocking question, and authentication information. Therefore, in the login method provided by this embodiment, the first terminal may verify the identity of the user through the verification information input by the user and/or the biometric information of the user, and may enable the NFC tag when the identity verification is qualified, so that the NFC tag is in a readable state, thereby improving the security of using the login method provided by this embodiment.
And S12, logging in the own folder and/or server according to the login information to acquire the data information which is stored in the own folder and/or server and is associated with the login information.
In an embodiment, after logging in the server according to the login information to obtain the data information stored in the server and associated with the login information in step S12, the method may include, but is not limited to: and when the identification of the data in the data information is inconsistent with the identification of the data stored by the server, receiving and storing the data which is not synchronized by the server, and/or sending the data which is not synchronized by the server to the server. Therefore, the login method provided by the embodiment can realize the function of data synchronization with the server.
In one embodiment, in step S12, the step of logging in the own folder according to the login information to obtain the data information stored in the own folder and associated with the login information may include, but is not limited to: and automatically establishing wireless communication connection with the first terminal according to the read communication authentication parameter information in the NFC tag of the first terminal, wherein the communication authentication parameter information comprises communication identification information (such as Bluetooth identification information, WiFi identification information and the like) and a communication connection password (such as Bluetooth connection password, WiFi connection password and the like) of the first terminal. The method comprises the steps of logging in a self folder according to login information to obtain data information which is stored in the self folder and is related to the login information, obtaining the identification of data which is stored in the folder of the first terminal and corresponds to the folder in the first terminal, and receiving and storing self unsynchronized data sent by the first terminal and/or sending the unsynchronized data of the first terminal to the first terminal when the identification of the data in the data information is inconsistent with the identification of the data stored in the first terminal. Therefore, the login method provided by the embodiment can realize the function of data synchronization with the first terminal.
In an embodiment, the login method provided by this embodiment may be applied to, but is not limited to, web page login, and specifically, according to login information, a server corresponding to the web page may be logged in to obtain web page data information stored in the server and associated with the login information.
In an embodiment, the login method provided in this embodiment may be applied to a vehicle, and the first terminal may be a mobile terminal (e.g., a mobile phone, a smart watch, a computer, a tablet computer, and the like). After logging in the own folder and/or server according to the login information to obtain the data information associated with the login information stored in the own folder and/or server at step S12, the steps may include, but are not limited to: and correspondingly controlling the vehicle-mounted equipment according to the vehicle individual setting information and/or the historical setting information in the data information, wherein the vehicle-mounted equipment comprises a vehicle-mounted playing device, a vehicle-mounted air conditioner, vehicle lamps inside/outside the vehicle, an electronic seat and the like. For example, according to the vehicle personalized setting information in the data information, the vehicle-mounted playing device, the vehicle-mounted air conditioner and the in-vehicle effect lamp are started, and according to the historical setting information, the vehicle-mounted playing device is controlled to play the song played last time by the user corresponding to the login information, and the height of the electronic seat and the inclination of the chair back are controlled to be consistent with the previous adjustment of the user corresponding to the login information.
In an embodiment, the login method provided in this embodiment may be applied to a vehicle-mounted terminal, and the vehicle-mounted terminal may include a vehicle body control module, so that the vehicle-mounted terminal may control a vehicle-mounted device. In other embodiments, the vehicle-mounted terminal may also be electrically connected to the vehicle body control module, so as to implement corresponding control on the vehicle-mounted device.
In one embodiment, the login method provided by the embodiment can be applied to a vehicle. After logging in the own folder and/or server according to the login information to obtain the data information associated with the login information stored in the own folder and/or server at step S12, the steps may include, but are not limited to: and sending the automatic driving control information in the data information to an automatic driving module so that the automatic driving module selects a destination and a driving route according to the automatic driving control information to control the vehicle to automatically drive, wherein the automatic driving control information comprises destination selection information and driving route selection information. Among them, the automatic driving control information in the data information in the own folder or in the server, for example, (1) monday to friday; 8-9 am, the destination is company, and the route passes through early dinning; at 6-8 pm, the destination is home, and the route passes through the dish market; (2) saturday; 9 am-10 am, destined for a gymnasium, the route passing through a premature restaurant. Therefore, the login method provided by the embodiment can realize intelligent automatic driving of the vehicle, and further improves the experience of the user.
In one embodiment, the automatic driving control information in the data information in the server may be, but is not limited to, the automatic driving control information that is set by the user via the first terminal and then transmitted to the server.
And S13, logging out of the folder and/or the server when the NFC label of the first terminal is read again.
In one embodiment, the reading of the NFC tag of the first terminal again is continuous with the reading of the NFC tag of the first terminal for the first time, that is, there is no case that the NFC tags of other terminals are read during the period. In other embodiments, the login to the folder and/or the server may be, but is not limited to, automatically logged out when the NFC tag of the other terminal is read.
The login method provided by the embodiment of the invention comprises the following steps: the NFC label of the first terminal is read for the first time to obtain login information in the NFC label of the first terminal, wherein the login information comprises folder login information and/or server login information. And logging in the own folder and/or server according to the login information to acquire the data information which is stored in the own folder and/or server and is associated with the login information. When the NFC label of the first terminal is read again, the file folder and/or the server logs out, so that when the login information in the NFC label of the first terminal is read for the first time, the user can conveniently, quickly and accurately log in the file folder and/or the server according to the login information to obtain the data information which is stored in the file folder and/or the server and is associated with the login information, and when the NFC label of the first terminal is read again, the user can conveniently and quickly log out the file folder and/or the server, therefore, the embodiment of the invention provides a convenient and quick login and login logging-out mode, and the use experience of the user can be improved.
Example two:
fig. 2 is a schematic structural diagram of a login system according to a second embodiment of the present invention. For a clear description of the login system provided in the second embodiment of the present invention, please refer to fig. 2.
Referring to fig. 3, a login system provided in the second embodiment of the present invention includes: a vehicle-mounted terminal 1 and a mobile terminal 2.
The vehicle-mounted terminal 1 may be configured to read the NFC tag of the mobile terminal 2 for the first time to obtain login information in the NFC tag of the mobile terminal 2, and log in the folder and/or the server 3 according to the login information to obtain data information associated with the login information stored in the folder and/or the server 3, where the login information may include, but is not limited to, folder login information and/or server login information. In one embodiment, the folder login information may be, but is not limited to being, consistent with the server login information.
The in-vehicle terminal 1 may also be configured to log out of the folder and/or the server 3 when the NFC tag of the mobile terminal 2 is read again.
In an embodiment, the in-vehicle terminal 1 may include, but is not limited to, an NFC module for reading an NFC tag of the mobile terminal 2. In an embodiment, the NFC module may be externally connected to the in-vehicle terminal 1, and the installation location of the NFC module of the in-vehicle terminal 1 may include at least one of a back portion of a seat back of a seat in the vehicle, a center console of the vehicle, and a door handle in the vehicle. It should be understood that the mounting location of the NFC module includes, but is not limited to, on the back of the seat in the vehicle, on the center console of the vehicle, in the door handle in the vehicle.
In one embodiment, the in-vehicle terminal 1 may be configured to receive and store self-unsynchronized data sent by the server 3 and/or send the unsynchronized data of the server 3 to the server 3 when the identification of the data in the data information is not consistent with the identification of the self-stored data. Therefore, the login system provided in the present embodiment can realize the function of data synchronization with the server 3.
In an embodiment, the in-vehicle terminal 1 may be configured to automatically establish a wireless communication connection with the mobile terminal 2 according to the read communication authentication parameter information in the NFC tag of the mobile terminal 2, where the communication authentication parameter information includes communication identification information (e.g., bluetooth identification information, WiFi identification information, etc.) and a communication connection password (e.g., bluetooth connection password, WiFi connection password, etc.) of the mobile terminal 2.
In an embodiment, the in-vehicle terminal 1 may be configured to log in its folder according to the login information to obtain the data information stored in its folder and associated with the login information, and obtain the identifier of the data stored in the folder of the mobile terminal 2 corresponding to the folder in the mobile terminal 2, and when the identifier of the data in the data information is not consistent with the identifier of the data stored in the mobile terminal 2, receive and store the self-unsynchronized data sent by the mobile terminal 2, and/or send the unsynchronized data of the mobile terminal 2 to the mobile terminal 2. Therefore, the login system provided by the present embodiment can realize the function of data synchronization with the mobile terminal 2.
In one embodiment, the vehicle-mounted terminal 1 may be configured to perform corresponding control on vehicle-mounted devices according to vehicle personality setting information and/or history setting information in the data information, wherein the vehicle-mounted devices are, for example, vehicle-mounted playing devices, vehicle-mounted air conditioners, vehicle lights inside/outside the vehicle, electronic seats and the like. For example, according to the vehicle personalized setting information in the data information, the vehicle-mounted playing device, the vehicle-mounted air conditioner and the in-vehicle effect lamp are started, and according to the historical setting information, the vehicle-mounted playing device is controlled to play the song played last time by the user corresponding to the login information, and the height of the electronic seat and the inclination of the chair back are controlled to be consistent with the previous adjustment of the user corresponding to the login information.
In an embodiment, the in-vehicle terminal 1 may include a body control module, and thus the in-vehicle terminal 1 may control the in-vehicle device. In other embodiments, the in-vehicle terminal 1 may be electrically connected to the vehicle body control module to perform corresponding control on the in-vehicle device.
In an embodiment, the vehicle-mounted terminal 1 may be configured to send the automatic driving control information in the data information to the automatic driving module, so that the automatic driving module selects a destination and a driving route according to the automatic driving control information to control the vehicle to perform automatic driving, where the automatic driving control information includes the destination selection information and the driving route selection information. Among them, the automatic driving control information in the folder of itself or the data information in the server 3, for example, (1) monday to friday; 8-9 am, the destination is company, and the route passes through early dinning; at 6-8 pm, the destination is home, and the route passes through the dish market; (2) saturday; 9 am-10 am, destined for a gymnasium, the route passing through a premature restaurant. Therefore, the login system provided by the embodiment can realize intelligent automatic driving of the vehicle, and further improves the experience of the user.
In one embodiment, the mobile terminal 2 may be, but is not limited to, a mobile phone, a smart phone, a tablet computer, a computer, etc.
In one embodiment, the mobile terminal 2 may be configured to log in to the account management server to obtain login information stored in the account management server. And the mobile terminal 2 may also be configured to write the login information into its own NFC tag. Therefore, in the login system provided in this embodiment, the login information is stored in the account management server, and the mobile terminal 2 can acquire the login information from the account management server, so that the situation that the login system provided in this embodiment cannot be implemented after the mobile terminal 2 is lost or the mobile terminal 2 is not replaced can be avoided.
In an embodiment, the mobile terminal 2 may be configured to obtain authentication information input by the user and/or biometric information of the user, and trigger the NFC tag to be in a readable state when the authentication information and/or the biometric information matches with preset authentication information and/or preset biometric information stored in the mobile terminal. Such as fingerprints, voice prints, faces, pupils, etc. The authentication information includes, for example, a password for unlocking NFC, answer authentication for an unlocking question, and authentication information.
The login system provided by the second embodiment of the invention comprises the vehicle-mounted terminal 1 and the mobile terminal 2, wherein the vehicle-mounted terminal 1 can be used for reading the NFC tag of the mobile terminal 2 for the first time to acquire login information in the NFC tag of the mobile terminal 2, and logging in the folder and/or the server 3 according to the login information to acquire data information which is stored in the folder and/or the server 3 and is related to fine login, and the login information can include, but is not limited to, folder login information and/or server login information. The in-vehicle terminal 1 may also be configured to log out of the folder and/or the server 3 when the NFC tag of the mobile terminal 2 is read again. Therefore, the embodiment provides a convenient and fast login and login quitting mode, and the use experience of the user can be improved.
Example three:
fig. 3 is a schematic diagram of a vehicle-mounted terminal according to a third embodiment of the present invention. For a clear description of the vehicle-mounted terminal provided by the third embodiment of the present invention, please refer to fig. 3.
The vehicle-mounted terminal provided by the third embodiment of the invention comprises: a processor a101 and a memory a201, wherein the processor a101 is configured to execute the computer program a6 stored in the memory a201 to implement the steps of the login method as described in the first embodiment.
In an embodiment, the in-vehicle terminal 1 provided in this embodiment may include at least one processor a101 and at least one memory a 201. Wherein, at least one processor A101 may be referred to as a processing unit A1, and at least one memory A201 may be referred to as a memory unit A2. Specifically, the storage unit a2 stores a computer program a6, and when the computer program a6 is executed by the processing unit a1, the in-vehicle terminal 1 provided by the present embodiment implements the steps of the login method as described above, for example, step S12 shown in fig. 1, of logging in its own folder and/or server according to login information to acquire data information associated with the login information stored in its own folder and/or server.
In one embodiment, the in-vehicle terminal 1 provided in the present embodiment includes a plurality of memories a201 (referred to simply as storage unit A2), and the storage unit A2 may include, for example, a Random Access Memory (RAM) and/or a cache memory and/or a Read Only Memory (ROM), and the like.
In one embodiment, the in-vehicle terminal 1 further includes a bus connecting different components (e.g., the processor a101 and the memory a201, the touch display screen A3, the NFC module a7, and the like).
In an embodiment, the in-vehicle terminal 1 in this embodiment may further include a communication interface (e.g., an I/O interface a4), and the communication interface may be used for communicating with an external device, for example, the NFC module a7 may be externally connected via the communication interface.
In one embodiment, when the vehicle-mounted terminal is externally connected with the NFC module a7 through the communication interface, the mounting position of the NFC module a7 on the vehicle may include at least one of the back of the seat in the vehicle, the center console of the vehicle, and the door handle in the vehicle. It should be understood that the mounting location of NFC module a7 includes, but is not limited to, mounting on the back of the seat back of a seat in a vehicle, on the center console of a vehicle, at the door handle in a vehicle, etc. Therefore, in the login method of the present embodiment, the mobile terminal can log in the folder and/or the server of the in-vehicle terminal by making contact with the NFC module a7 at any location or a certain location in the vehicle.
In one embodiment, the in-vehicle terminal 1 provided in this embodiment may further include a communication device a 5.
The vehicle-mounted terminal 1 provided by the third embodiment of the present invention includes a memory a101 and a processor a201, and the processor a101 is configured to execute the computer program a6 stored in the memory a201 to implement the steps of the login method described in the first embodiment, so that the vehicle-mounted terminal 1 provided by the third embodiment of the present invention can implement convenient and fast login and log out of a login folder and/or a server, and further can improve the use experience of a user.
The third embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program a6, where the computer program a6, when executed by the processor a101, implements the steps of the login method in the first embodiment, for example, the steps shown in fig. 1 are S11 to S13.
In an embodiment, the computer readable storage medium provided by the embodiment may include any entity or device capable of carrying computer program code, a recording medium, such as ROM, RAM, magnetic disk, optical disk, flash memory, and the like.
When executed by the processor a101, the computer program a6 stored in the computer-readable storage medium provided by the third embodiment of the present invention can implement convenient and fast login and logout to a folder and/or a server of the user, and further can improve the user experience.
The present invention is not limited to the above preferred embodiments, and any modification, equivalent replacement or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.