Disclosure of Invention
The application aims to provide a screen projection method and a mobile terminal, which can enable a screen projection interface to be simpler and reduce the display load of a vehicle-mounted terminal.
In order to solve the above technical problem, the present application provides a screen projection method applied to a mobile terminal, including:
when a screen projection instruction is received, extracting the characteristic information of the current interface;
generating screen projection display data of the current interface according to the extracted characteristic information;
and sending the screen projection display data to a vehicle-mounted terminal so that the vehicle-mounted terminal can display the screen projection interface of the current interface.
Wherein, the extracting the characteristic information of the current interface comprises:
acquiring the interface type of a current interface and display information of the current interface;
and extracting characteristic information from the display information according to the interface type.
Wherein the extracting feature information from the display information according to the interface type includes:
when the interface type is a navigation interface, extracting route indication information from the display information as characteristic information;
and when the interface type is a vehicle control interface, extracting function indication information from the display information as characteristic information.
The generating of the screen projection display data of the current interface according to the extracted feature information includes:
simplifying the extracted feature information according to a preset rule;
and generating screen projection display data of the current interface according to the processing result.
Wherein, the simplifying process is carried out to the extracted feature information according to the preset rule, and comprises the following steps:
matching the extracted feature information with preset display data one by one;
acquiring preset display data corresponding to the successfully matched feature information as first display data;
deleting the characteristics of the characteristic information which fails to be matched to obtain second display data;
and acquiring the first display data and the second display data as processing results.
Wherein, the method further comprises:
and when the mobile terminal is in a screen projection state, the screen of the mobile terminal is extinguished.
Wherein, the method further comprises:
and when receiving an incoming call or communication information in a state that the screen of the mobile terminal is off, sending corresponding prompt information to the vehicle-mounted terminal so that the vehicle-mounted terminal displays the prompt information.
Wherein, the method further comprises:
acquiring voice data for recognition;
and executing a corresponding virtual click event on the current interface according to the identification result to generate a control instruction.
The application also provides a mobile terminal, which comprises a memory and a processor, wherein the memory stores at least one program instruction, and the processor loads and executes the at least one program instruction to realize the screen projection method.
The application also provides a screen projection method, which comprises the following steps:
when receiving a screen projection instruction, the mobile terminal extracts feature information of a current interface, generates screen projection display data of the current interface according to the feature information, and sends the screen projection display data to the vehicle-mounted terminal;
and the vehicle-mounted terminal displays the screen projection interface of the current interface according to the screen projection display data.
According to the screen projection method and the mobile terminal, when the mobile terminal receives a screen projection instruction, the characteristic information of the current interface is extracted, screen projection display data of the current interface are generated according to the extracted characteristic information, and the screen projection display data are sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can display the screen projection interface of the current interface. By the mode, the screen projection interface is simpler and the display load of the vehicle-mounted terminal is reduced.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical means of the present application more clearly understood, the present application 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 application more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Detailed Description
To further illustrate the technical means and effects of the present application for achieving the purpose of subscribing applications, the following detailed description is provided with reference to the accompanying drawings and preferred embodiments for specific implementation manners, methods, steps, structures, features and effects of the positioning method of the mobile terminal, the vehicle-mounted terminal and the mobile terminal according to the present application.
The foregoing and other technical matters, features and effects of the present application will be apparent from the following detailed description of preferred embodiments, which is to be read in connection with the accompanying drawings. While the present application is susceptible to particular embodiments and features, it is to be understood that various changes, modifications and substitutions may be made therein without departing from the spirit and scope of the present application.
Fig. 1 is a flowchart illustrating a screen projection method according to a first embodiment. Referring to fig. 1, the screen projection method of the present embodiment is applied to a mobile terminal, and includes:
and step 110, when a screen projection instruction is received, extracting the characteristic information of the current interface.
The screen projection instruction is used for triggering the mobile terminal to send screen projection display data to the vehicle-mounted terminal so as to display screen contents of the mobile terminal through a screen of the vehicle-mounted terminal. The user can trigger a screen projection instruction by clicking a key on the mobile terminal, or input the screen projection instruction to the mobile terminal through voice.
The mobile terminal and the vehicle-mounted terminal can be in communication connection through wifi, USB (Universal Serial Bus), bluetooth and other modes to transmit data, including transmission of information stream, video stream, audio stream and control stream, a screen of the vehicle-mounted terminal is connected with a vehicle machine of the vehicle-mounted terminal through an LVDS (Low-Voltage Differential Signaling) interface, and the vehicle machine is used for receiving screen projection display data and controlling the screen display screen projection interface of the vehicle-mounted terminal according to the screen projection display data.
In this embodiment, the process of extracting feature information of the current interface includes:
acquiring the interface type of the current interface and the display information of the current interface;
and extracting characteristic information from the display information according to the interface type.
The interface type is related to the function realized by the current interface, and may be divided into a navigation interface and a vehicle control interface, for example, where the navigation interface is used to display the contents such as route information, and the vehicle control interface is used to display the contents such as control function information.
Different types of interfaces have different contents to be focused on by users, and the related display data of the contents to be focused on by the users is also the characteristic information of the current interface. When the interface type is a navigation interface, extracting route indication information as characteristic information including an electronic map picture, a route, guide information and the like from display information, when the interface type is a vehicle control interface, extracting function indication information as the characteristic information including a key name, function state information and the like from the display information, and when the interface type is a desktop, extracting application icon information as the characteristic information including an icon name, an icon graph and the like from the display information. The extracted feature information is divided according to the display layout of the current interface, for example, the electronic map picture, the route and the guide information are respectively different feature information, and different icon information is different feature information.
And 120, generating screen projection display data of the current interface according to the extracted characteristic information.
The screen projection display data are generated by extracting the characteristic information, so that the data volume of the screen projection display data relative to the original display data can be reduced, and information which does not need to be concerned, such as interface design frames, backgrounds, lines, irrelevant labels and the like, can be filtered during display, so that the screen projection interface is simpler.
In this embodiment, generating the screen projection display data of the current interface according to the extracted feature information includes:
simplifying the extracted feature information according to a preset rule;
and generating screen projection display data of the current interface according to the processing result.
In this embodiment, the simplifying processing of the extracted feature information according to the preset rule includes:
matching the extracted feature information with preset display data one by one;
acquiring preset display data corresponding to the successfully matched feature information as first display data;
deleting the characteristics of the characteristic information which fails to be matched to obtain second display data;
and acquiring the first display data and the second display data as processing results.
The projection screen display data is obtained by simplifying the extracted characteristic information. As an implementation manner, concise and intuitive display data of some common icons, keys and indication marks can be stored in advance as preset display data, for example, display data of a seat adjusting function, an air conditioning function, a rising indication, a falling indication, a position indication and the like can be stored in advance. After extracting the feature information, matching the extracted feature information with preset display data one by one, regarding the feature information which is successfully matched, using the corresponding preset display data as display data during screen projection, regarding the feature information which is failed in matching, performing feature deletion on the feature information to obtain the display data during screen projection, and finally, combining the two types of display data corresponding to all the feature information according to the display layout of the current interface or according to a specific display layout to obtain the screen projection display data.
When the screen projection display data are obtained according to the specific display layout, the screen projection interface can be similar to the interface of the intelligent watch through the corresponding window layout for displaying and combining, the interface is concise and has strong visibility, and therefore the transmission and display of the screen projection display data can be carried out by using a protocol similar to the intelligent watch.
And step 130, sending the screen projection display data to the vehicle-mounted terminal so that the vehicle-mounted terminal can display the screen projection interface of the current interface.
The vehicle-mounted terminal receives the screen projection display data, and then controls a screen display screen projection interface of the vehicle-mounted terminal according to the screen projection display data.
Referring to fig. 2, in the screen projection interface of the navigation interface, information on the electronic map screen is deleted, the position icon is highlighted, and the indication information is simplified, so that the navigation screen after screen projection is more concise, and a user can quickly obtain route guidance information.
Referring to fig. 3, in the screen projection interface of the vehicle control interface, the key icons are replaced, and the functional status indication is simplified, so that the control interface after screen projection is simpler, and a user can quickly know the current vehicle status.
In one embodiment, when the screen is in the screen projection state, the screen of the mobile terminal is extinguished, so that power consumption is reduced. In the screen-off state, the user can turn on the screen again through a physical key such as a screen-locking key.
In one embodiment, when the mobile terminal receives an incoming call or communication information in a state that the screen is off, the mobile terminal sends corresponding prompt information to the vehicle-mounted terminal, so that the vehicle-mounted terminal displays the prompt information. Therefore, the user can acquire information through the screen of the vehicle-mounted terminal all the time in the screen projection process without paying attention to a plurality of interfaces simultaneously.
In one embodiment, a user may operate a mobile terminal in a voice mode, and the implementation process includes:
the mobile terminal acquires voice data for recognition;
and executing a corresponding virtual click event on the current interface according to the recognition result to generate a control instruction.
The voice data is data generated when the user performs voice input, for example, if the user says "start car", a section of voice data is correspondingly generated.
The voice data can be acquired directly by a voice receiving device configured on the mobile terminal, or the voice data can be acquired by the vehicle-mounted terminal through the voice receiving device configured on the vehicle-mounted terminal and then sent to the mobile terminal. In practical implementation, when the mobile terminal and the vehicle-mounted terminal are in a connected state, the vehicle-mounted terminal may preferably collect voice data through a voice receiving device configured in the vehicle-mounted terminal and send the noise reduction voice packet to the mobile terminal.
After the mobile terminal acquires the voice data, the voice data can be locally identified to obtain an identification result, or the voice data can be sent to the cloud server to be identified and the identification result sent by the cloud server is received. The user can set network configuration when speech recognition determines whether cloud recognition or local recognition is carried out, and the recognition accuracy rate of the cloud recognition is higher than that of the local recognition.
When the voice recognition is performed, firstly, the voice content corresponding to the voice data is recognized, that is, the user speaks "start the car", the corresponding recognized voice content is "start the car", and then, the voice content is subjected to semantic analysis and word segmentation to obtain "start" and "car".
And when voice recognition is carried out, the mobile terminal sends the recognition result to the vehicle-mounted terminal in real time for display.
And the mobile terminal acquires the user intention according to the recognition result, and then executes a corresponding virtual click event on the vehicle control application according to the user intention so as to control the instruction. The user intention is obtained by analyzing and matching the recognition result, for example, if the recognition result is "start" or "car", the user intention is to start the car engine, if the recognition result is "skylight" or "close", the user intention is to close the skylight, and if the recognition result is "temperature" or "raise", the user intention is to raise the air conditioner temperature.
The name of a key on the current interface is the name of a control, the mobile terminal reads the interface information of the current interface to obtain the name of each control in the current interface, the name of the control is searched according to the intention of a user to determine the corresponding target control in the preset application, and then the virtual click event aiming at the target control is executed to generate the corresponding vehicle control instruction. For example, taking a control vehicle as an example, if the virtual click button "locks the door", the corresponding vehicle control command is generated to start the door lock, if the virtual click button "defrosts", the corresponding vehicle control command is generated to start the defroster, and if the virtual click button "opens the sunroof", the corresponding vehicle control command is generated to open the sunroof. In addition, a control for lighting the screen may also be set in the mobile terminal, for example, if the user wants to light the screen of the mobile terminal, the control may also be triggered to be virtually clicked in a voice manner, so as to light the screen. When the user needs to answer the incoming call, the virtual click answering key can be triggered by direct voice, so that the call can be answered.
The operation of clicking the screen by the user is realized through software simulation, the user only needs to speak out the intention of the user, and the control instruction can be input without any pressing or clicking operation, so that the operation is simple and safe.
According to the screen projection method, when the mobile terminal receives a screen projection instruction, the characteristic information of the current interface is extracted, screen projection display data of the current interface are generated according to the extracted characteristic information, and the screen projection display data are sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can display the screen projection interface of the current interface. By the mode, the screen projection interface is simpler and the display load of the vehicle-mounted terminal is reduced. In addition, the process of generating the screen projection display data is carried out on the mobile terminal, so that the powerful computing capacity of the mobile terminal can be applied, and the configuration cost of the vehicle-mounted terminal is reduced.
Fig. 4 is a schematic structural diagram of a mobile terminal according to a second embodiment. Referring to fig. 4, the terminal of the present application includes a memory 210 and a processor 220, where the memory 210 is configured to store at least one program instruction, and the processor 220 is configured to implement a screen projection method implemented by loading and executing the at least one program instruction, and includes:
when a screen projection instruction is received, extracting the characteristic information of the current interface;
generating screen projection display data of the current interface according to the extracted characteristic information;
and sending the screen projection display data to the vehicle-mounted terminal so that the vehicle-mounted terminal can display the screen projection interface of the current interface.
In one embodiment, the processor 220 performs a process of extracting feature information of the current interface, including:
acquiring the interface type of the current interface and the display information of the current interface;
and extracting characteristic information from the display information according to the interface type.
In one embodiment, the processor 220 performs a process of extracting feature information from the display information according to the interface type, including:
when the interface type is a navigation interface, extracting route indication information from the display information as characteristic information;
when the interface type is the vehicle control interface, function instruction information is extracted from the display information as feature information.
In one embodiment, the processor 220 executes a process of generating the screen projection display data of the current interface according to the extracted feature information, including:
simplifying the extracted feature information according to a preset rule;
and generating screen projection display data of the current interface according to the processing result.
In one embodiment, the processor 220 performs a simplified processing procedure on the extracted feature information according to a preset rule, including:
matching the extracted feature information with preset display data one by one;
acquiring preset display data corresponding to the successfully matched feature information as first display data;
deleting the characteristics of the characteristic information which fails to be matched to obtain second display data;
and acquiring the first display data and the second display data as processing results.
In one embodiment, the processor 220 is further configured to perform the following steps:
and when the mobile terminal is in the screen projection state, the screen of the mobile terminal is extinguished.
In one embodiment, the processor 220 is further configured to perform the following steps:
and when receiving the incoming call or the communication information under the state that the screen of the mobile terminal is off, sending the corresponding prompt information to the vehicle-mounted terminal so that the vehicle-mounted terminal displays the prompt information.
In one embodiment, the processor 220 is further configured to perform the following steps:
acquiring voice data for recognition;
and executing a corresponding virtual click event on the current interface according to the recognition result to generate a control instruction.
The specific process of the processor 220 in this embodiment to execute the above steps is described in detail in the related description of the first embodiment, and is not described herein again.
According to the mobile terminal, when the screen projection instruction is received, the characteristic information of the current interface is extracted, screen projection display data of the current interface are generated according to the extracted characteristic information, and the screen projection display data are sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can display the screen projection interface of the current interface. By the mode, the screen projection interface is simpler and the display load of the vehicle-mounted terminal is reduced. In addition, the process of generating the screen projection display data is carried out on the mobile terminal, so that the powerful computing capacity of the mobile terminal can be applied, and the configuration cost of the vehicle-mounted terminal is reduced.
Fig. 5 is a flowchart illustrating a screen projection method according to a third embodiment. Referring to fig. 5, the screen projection method of the present embodiment includes:
step 310, when receiving a screen projection instruction, the mobile terminal extracts feature information of a current interface, generates screen projection display data of the current interface according to the feature information, and sends the screen projection display data to the vehicle-mounted terminal;
and 320, displaying the screen projection interface of the current interface by the vehicle-mounted terminal according to the screen projection display data.
In one embodiment, extracting feature information of the current interface includes:
acquiring the interface type of the current interface and the display information of the current interface;
and extracting characteristic information from the display information according to the interface type.
In one embodiment, extracting feature information from the display information according to the interface type includes:
when the interface type is a navigation interface, extracting route indication information from the display information as characteristic information;
when the interface type is the vehicle control interface, function instruction information is extracted from the display information as feature information.
In one embodiment, generating the screen projection display data of the current interface according to the extracted feature information includes:
simplifying the extracted feature information according to a preset rule;
and generating screen projection display data of the current interface according to the processing result.
In one embodiment, the simplifying processing of the extracted feature information according to a preset rule includes:
matching the extracted feature information with preset display data one by one;
acquiring preset display data corresponding to the successfully matched feature information as first display data;
deleting the characteristics of the characteristic information which fails to be matched to obtain second display data;
and acquiring the first display data and the second display data as processing results.
In one embodiment, the screen projection method further includes:
and when the mobile terminal is in a screen projection state, the screen of the mobile terminal is extinguished.
In one embodiment, the screen projection method further includes:
when receiving an incoming call or communication information in a state that a screen of the mobile terminal is off, sending corresponding prompt information to the vehicle-mounted terminal;
and the vehicle-mounted terminal displays the prompt message.
In one embodiment, the screen projection method further includes:
the mobile terminal acquires voice data for recognition;
and executing a corresponding virtual click event on the current interface according to the recognition result to generate a control instruction.
The specific implementation process of the screen projection method of this embodiment is described in detail in the related description of the first embodiment, and is not described herein again.
According to the screen projection method, when the mobile terminal receives a screen projection instruction, the characteristic information of the current interface is extracted, screen projection display data of the current interface are generated according to the characteristic information, the screen projection display data are sent to the vehicle-mounted terminal, and the vehicle-mounted terminal displays the screen projection interface of the current interface according to the screen projection display data. By the mode, the screen projection interface is simpler and the display load of the vehicle-mounted terminal is reduced. In addition, the process of generating the screen projection display data is carried out on the mobile terminal, so that the powerful computing capacity of the mobile terminal can be applied, and the configuration cost of the vehicle-mounted terminal is reduced.
Although the present application has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the application, and all changes, substitutions and alterations that fall within the spirit and scope of the application are to be understood as being included within the following description of the preferred embodiment.