Disclosure of Invention
The invention aims to provide a method, a system, a storage medium and a terminal for a mobile terminal screen-casting vehicle-mounted terminal, so as to improve screen casting of a vehicle-mounted terminal and a mobile phone.
In order to solve the technical problem, the technical scheme of the invention provides a method for a screen-projecting vehicle-mounted terminal of a mobile terminal, which comprises the following steps: acquiring NFC information of a vehicle-mounted terminal, wherein the NFC information of the vehicle-mounted terminal comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, information of starting interconnection application, an interconnection application download address and a screen projection instruction; starting an interconnection application based on the NFC information of the vehicle-mounted terminal; establishing communication connection with a vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal; and establishing screen projection on the vehicle-mounted terminal based on the communication connection.
Correspondingly, the technical scheme of the invention also provides a system for the screen projection vehicle-mounted terminal of the mobile terminal, which comprises the following steps: the NFC module is used for storing NFC information of the vehicle-mounted terminal, and the NFC information of the vehicle-mounted terminal comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, interconnection application starting information, an interconnection application downloading address and a screen projection instruction; the mobile terminal acquires the NFC information of the vehicle-mounted terminal from the NFC module; starting an interconnection application based on the NFC information of the vehicle-mounted terminal; establishing communication connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal; and establishing screen projection on the vehicle-mounted terminal based on the communication connection.
Correspondingly, the technical scheme of the invention also provides a storage medium, wherein computer instructions are stored on the storage medium, and the computer instructions execute the steps of the method when running.
Correspondingly, the technical solution of the present invention further provides a terminal, which includes a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the computer instructions to execute the steps of the method.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
one object of the application is to provide a method for screen-projecting of a mobile terminal for a vehicle-mounted terminal, wherein by acquiring NFC information of the vehicle-mounted terminal, the NFC information of the vehicle-mounted terminal comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, startup interconnection application information, an interconnection application download address and a screen projecting instruction, connection is established with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal, and after the connection is established, a screen can be projected at the vehicle-mounted terminal. The method has the advantages that after the mobile terminal reads the data in the NFC information of the vehicle-mounted terminal, relevant steps in the data, such as Bluetooth connection, WIFI connection and data transmission, can be automatically executed according to the data in the NFC information of the vehicle-mounted terminal, so that the screen projection process of the vehicle-mounted terminal can be simplified, the activity of a user is improved, the time is saved, and the user experience is optimized.
Further, the vehicle-mounted terminal NFC information includes: and (4) internet application download address. Therefore, after the mobile terminal reads the data in the NFC information of the vehicle-mounted terminal, if the mobile terminal is not provided with the interconnection application, the interconnection application can be downloaded according to the interconnection application download address in the NFC information of the vehicle-mounted terminal, so that the screen projection process of the vehicle-mounted terminal can be simplified, the user activity is improved, the time is saved, and the user experience is optimized.
An object of this application is to provide a system of screen vehicle mounted terminal is thrown to mobile terminal, through the vehicle mounted terminal that corresponds with vehicle mounted terminal NFC information establish the connection, can throw the screen at vehicle mounted terminal after establishing the connection. The method has the advantages that the screen projection process at the vehicle-mounted terminal can be simplified, the user activity is improved, the time is saved, and the user experience is optimized.
Detailed Description
As described in the background art, the screen projection of the car and mobile phones is still complicated.
Specifically, currently, wireless screen projection is used in a project, and at least three steps are required. Firstly, opening our internet application, secondly, clicking a wireless screen projection button, and finally, selecting a vehicle needing screen projection from a screen projection search list. This requires the user to perform multiple operations on the screen interface of the car or mobile phone, which is tedious in operation mode, complex in flow and poor in user experience.
In order to solve the problems, the technical scheme of the invention provides a method, a system, a storage medium and a terminal for a mobile terminal screen-casting vehicle-mounted terminal, wherein the vehicle-mounted terminal NFC information is acquired and comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, starting interconnection application information, an interconnection application download address and a screen-casting instruction, the vehicle-mounted terminal corresponding to the vehicle-mounted terminal NFC information is connected, and screen casting can be carried out on the vehicle-mounted terminal after the connection is established. Therefore, after the mobile terminal reads the data in the NFC information of the vehicle-mounted terminal, relevant steps in the data, such as Bluetooth connection, WIFI connection and data transmission, can be automatically executed according to the data in the NFC information of the vehicle-mounted terminal, the screen projection process at the vehicle-mounted terminal can be simplified, and user experience is optimized.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
FIG. 1 is a flowchart of a method for a mobile terminal to screen a vehicle-mounted terminal in an embodiment of the present invention.
Referring to fig. 1, the method for the mobile terminal to screen the vehicle-mounted terminal includes the following steps:
s101: acquiring NFC information of a vehicle-mounted terminal, wherein the NFC information of the vehicle-mounted terminal comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, information of starting interconnection application, an interconnection application download address and a screen projection instruction;
s102: starting the interconnection application based on the NFC information of the vehicle-mounted terminal;
s103: establishing communication connection with a vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal;
s104: and establishing screen projection on the vehicle-mounted terminal based on the communication connection.
After the mobile terminal reads the data in the NFC information of the vehicle-mounted terminal, relevant steps in the data, such as Bluetooth connection, WIFI connection and data transmission, can be automatically executed according to the data in the NFC information of the vehicle-mounted terminal, so that the screen projection process at the vehicle-mounted terminal can be simplified, and the user experience is optimized.
The steps will now be described analytically.
Before executing step S101, the method further includes: and generating the NFC information of the vehicle-mounted terminal.
At this moment, when the vehicle leaves the factory, the NFC tag is not provided for the vehicle owner, data needs to be written into the NFC tag, and vehicle-mounted terminal NFC information is generated.
In one embodiment, a user writes data into the NFC tag by oneself to generate NFC information of the vehicle-mounted terminal.
The process of generating the NFC information of the vehicle-mounted terminal comprises the following steps: acquiring an initial vehicle-mounted terminal NFC signal, entering a guidance page, and acquiring vehicle-mounted terminal WIFI information; and writing the WIFI information of the vehicle-mounted terminal into the NFC signal of the initial vehicle-mounted terminal to generate the NFC information of the vehicle-mounted terminal.
The method for acquiring the WIFI information of the vehicle-mounted terminal comprises the following steps: searching for WIFI signals of nearby vehicle machines; and acquiring the WIFI information of the vehicle-mounted terminal according to the selected confirmation information of the WIFI information of the vehicle-mounted terminal.
The process of generating the NFC information of the vehicle-mounted terminal further comprises the following steps: entering a guide page, and acquiring Bluetooth information of the vehicle-mounted terminal; and writing the Bluetooth information of the vehicle-mounted terminal into the NFC signal of the initial vehicle-mounted terminal to generate the NFC information of the vehicle-mounted terminal.
The method for acquiring the Bluetooth information of the vehicle-mounted terminal comprises the following steps: searching nearby Bluetooth signals of the vehicle; and acquiring the Bluetooth information of the vehicle-mounted terminal according to the acquired selection confirmation information of the Bluetooth information of the vehicle-mounted terminal.
After the data is written into the NFC label, the NFC information in the NFC label can be modified, namely, the process is repeated, and the NFC information in the NFC label can be modified.
In another embodiment, the popularization personnel writes the data into the NFC label to generate the NFC information of the vehicle-mounted terminal. At the moment, after acquiring the mobile phone number of the user, the popularization personnel inquires and obtains the vehicle information of the user in the database according to the mobile phone number; and writing data such as vehicle information and the like into the NFC label, and then giving the label to a user.
Step S101 is executed: and acquiring NFC information of the vehicle-mounted terminal, wherein the NFC information of the vehicle-mounted terminal comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, information of starting interconnection application, an interconnection application download address and a screen projection instruction.
The information of the started internet application prompts the mobile terminal to start the internet application; when the mobile terminal is not provided with the internet application, the mobile terminal downloads the internet application according to the internet application downloading address; the screen projection instruction comprises a screen projection instruction which needs to be established between the mobile terminal and the vehicle-mounted terminal.
The vehicle-mounted terminal NFC information comprises: and (4) an internet application download address. Therefore, after the mobile terminal reads the data in the NFC information of the vehicle-mounted terminal, if the vehicle-mounted terminal is not provided with the interconnection application, the interconnection application can be downloaded according to the interconnection application download address in the NFC information of the vehicle-mounted terminal, the screen projection process at the vehicle-mounted terminal can be simplified, and the user experience is optimized.
Step S102 is executed: and starting the interconnection application based on the NFC information of the vehicle-mounted terminal.
The step of starting the interconnection application based on the NFC information of the vehicle-mounted terminal comprises the following steps: and after acquiring the NFC information of the vehicle-mounted terminal and acquiring the confirmation information based on the request of the interconnection application, opening the interconnection application.
The confirmation information based on the internet application request is obtained by the mobile terminal from the user, and the internet application can be opened based on the authorization of the user after the user authorizes the mobile terminal.
Before the opening of the interconnection application, the method further comprises the following steps: judging whether the mobile terminal is provided with the interconnection application or not; if the mobile terminal does not install the internet application, sending an application downloading request; after the confirmation information based on the application downloading request is obtained, jumping to an internet application downloading address, and downloading the internet application.
And after the user authorizes the mobile terminal, jumping to an internet application downloading address to download the internet application.
Step S103 is executed: and establishing communication connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal.
The communication connection mode comprises one or two of Bluetooth connection and WIFI connection.
In one embodiment, the mobile terminal establishes WIFI connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal.
The step of establishing WIFI connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal comprises the following steps: after an authorization request based on the interconnection authorization request information is agreed, acquiring WIFI information corresponding to the vehicle-mounted terminal from NFC information of the vehicle-mounted terminal, judging whether the mobile terminal is authorized to be connected with the WIFI of the vehicle-mounted terminal or not according to the WIFI information of the vehicle-mounted terminal, if so, connecting the WIFI of the vehicle-mounted terminal, and if not, authorizing to be connected with the WIFI of the vehicle-mounted terminal.
The step of authorizing the WIFI of the vehicle-mounted terminal comprises the following steps: the interconnection application sends a WIFI authorization request; and after the confirmation information based on the WIFI authorization request is acquired, the mobile terminal establishes WIFI connection with the vehicle-mounted terminal.
And the confirmation information of the WIFI authorization request is acquired by the mobile terminal from a user, and after the user authorizes the mobile terminal and the vehicle-mounted terminal to establish WIFI connection.
In another embodiment, the mobile terminal establishes WIFI connection and Bluetooth connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal.
The step of establishing WIFI connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal comprises the following steps of: after an authorization request based on the interconnection authorization request information is agreed, acquiring WIFI information corresponding to the vehicle-mounted terminal from NFC information of the vehicle-mounted terminal, judging whether the mobile terminal is authorized to be connected with the WIFI of the vehicle-mounted terminal or not according to the WIFI information of the vehicle-mounted terminal, if so, connecting the WIFI of the vehicle-mounted terminal, and if not, authorizing to be connected with the WIFI of the vehicle-mounted terminal.
The step of authorizing the WIFI connected with the vehicle-mounted terminal comprises the following steps: the interconnection application sends a WIFI authorization request; and after the confirmation information based on the WIFI authorization request is acquired, the mobile terminal and the vehicle-mounted terminal establish WIFI connection.
And the confirmation information of the WIFI authorization request is acquired by the mobile terminal from a user, and after the user is authorized, the mobile terminal establishes WIFI connection with the vehicle-mounted terminal.
The step of establishing connection with the vehicle-mounted terminal corresponding to the vehicle-mounted terminal NFC information further comprises the following steps: acquiring Bluetooth information corresponding to the vehicle-mounted terminal; and judging whether the mobile terminal is authorized to be connected with the Bluetooth of the vehicle-mounted terminal or not according to the Bluetooth information of the vehicle-mounted terminal, if so, connecting the Bluetooth of the vehicle-mounted terminal, and if not, authorizing to be connected with the Bluetooth of the vehicle-mounted terminal.
The step of authorizing the Bluetooth connection of the vehicle-mounted terminal comprises the following steps: the interconnection application sends a Bluetooth authorization request; and after the confirmation information based on the Bluetooth authorization request is acquired, the mobile terminal establishes Bluetooth connection with the vehicle-mounted terminal.
And the confirmation information of the Bluetooth authorization request is acquired by the mobile terminal from the user, and after the user is authorized, the mobile terminal establishes Bluetooth connection with the vehicle-mounted terminal.
Step S104 is executed: and establishing screen projection on the vehicle-mounted terminal based on the communication connection.
According to the screen projection instruction, the mobile terminal establishes screen projection on the vehicle-mounted terminal, and the screen projection content comprises: music, call, navigation, etc.
After the mobile terminal is projected to the vehicle-mounted terminal, a user can operate the mobile terminal on the vehicle-mounted terminal, and user experience can be improved.
In an embodiment, the screen projection is established after the vehicle-mounted terminal based on the WIFI connection, further including: and transmitting the image signal and the sound signal to the vehicle-mounted terminal through the WIFI connecting channel.
In another embodiment, the screen projection is established after the vehicle-mounted terminal is connected based on the WIFI connection and the bluetooth connection, and the method further includes: image signals are transmitted through the WIFI connecting channel, and sound signals are transmitted to the vehicle-mounted terminal through the Bluetooth connecting channel.
According to the method, the NFC information of the vehicle-mounted terminal is acquired, the NFC information of the vehicle-mounted terminal comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, startup interconnection application information, an interconnection application download address and a screen projection instruction, connection is established with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal, and a screen can be projected on the vehicle-mounted terminal after the connection is established. Therefore, after the mobile terminal reads the data in the NFC information of the vehicle-mounted terminal, relevant steps in the data, such as Bluetooth connection, WIFI connection and data transmission, can be automatically executed according to the data in the NFC information of the vehicle-mounted terminal, the screen projection process at the vehicle-mounted terminal can be simplified, the user activity is improved, the time is saved, and the user experience is optimized.
Fig. 2 is a schematic system structure diagram of the mobile terminal screen projection vehicle-mounted terminal in the embodiment of the invention.
Referring to fig. 2, the system of the mobile terminal screen-projection vehicle-mounted terminal includes:
theNFC module 200 is used for storing vehicle-mounted terminal NFC information, and the vehicle-mounted terminal NFC information comprises at least one message of WIFI information corresponding to the vehicle-mounted terminal, bluetooth information corresponding to the vehicle-mounted terminal, interconnection application starting information, an interconnection application downloading address and a screen projection instruction;
themobile terminal 300 acquires the NFC information of the vehicle-mounted terminal from the NFC module; starting an interconnection application based on the NFC information of the vehicle-mounted terminal; establishing communication connection with the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal; and establishing screen projection on the vehicle-mounted terminal based on the communication connection.
And establishing connection through the vehicle-mounted terminal corresponding to the NFC information of the vehicle-mounted terminal, and then throwing a screen at the vehicle-mounted terminal after the connection is established. Therefore, the screen projection process at the vehicle-mounted terminal can be simplified, the user activity is improved, the time is saved, and the user experience is optimized.
Accordingly, an embodiment of the present invention further provides a storage medium having computer instructions stored thereon, where the computer instructions are executed to perform the steps of the method in fig. 1.
Correspondingly, the embodiment of the present invention further provides a terminal, which includes a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the computer instructions to perform the steps of the method in fig. 1.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected by one skilled in the art without departing from the spirit and scope of the invention, as defined in the appended claims.