WO2024078337A1 - 一种显示屏选择方法及电子设备 - Google Patents

一种显示屏选择方法及电子设备 Download PDF

Info

Publication number
WO2024078337A1
WO2024078337A1 PCT/CN2023/121964 CN2023121964W WO2024078337A1 WO 2024078337 A1 WO2024078337 A1 WO 2024078337A1 CN 2023121964 W CN2023121964 W CN 2023121964W WO 2024078337 A1 WO2024078337 A1 WO 2024078337A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
display screen
target
screen
indication information
Prior art date
Application number
PCT/CN2023/121964
Other languages
English (en)
French (fr)
Inventor
刘成
周星辰
李英浩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024078337A1 publication Critical patent/WO2024078337A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the technical field of electronic equipment, and in particular to a display screen selection method and electronic equipment.
  • the smart cockpit system usually uses a one-chip multi-screen control mechanism to manage the display screen in the smart cockpit.
  • the electronic device projects the screen to the display screen in the smart cockpit, it is limited by the hardware of one-chip multi-screen and can only choose to project the screen to the smart cockpit.
  • the smart cockpit system defaults to displaying the projected content from the mobile device on the main screen, such as the central control screen. Therefore, this method has poor flexibility in selecting the projection receiving end, resulting in low projection efficiency, and may be difficult to meet the diverse projection needs of users.
  • the present application provides a display screen selection method and an electronic device, which are used to achieve the effect of arbitrarily selecting a display screen to receive screen projection from multiple display screens, thereby improving the flexibility of selecting the screen projection receiving end and improving the screen projection efficiency.
  • the present application provides a display screen selection method, which is applied to a first electronic device, the method comprising: in response to a received first operation, sending a first request to a second electronic device; wherein the second electronic device is used to manage multiple display screens, and the first request is used to request screen projection; receiving first indication information from the second electronic device; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs; displaying first information according to the first indication information; wherein the first information is used to indicate the multiple display screens; in response to a received second operation, sending second indication information to the second electronic device; wherein the second operation is used to select a first target display screen from the multiple display screens, the second indication information is used to indicate the first target display screen and the first target electronic device to which the first target display screen belongs, and the first target display screen is used as the display screen to receive screen projection.
  • the first electronic device after the first electronic device sends a screen projection request to the second electronic device, it can determine the multiple display screens managed by the second electronic device and the electronic devices to which each display screen belongs based on the first indication information returned by the second electronic device. Then the first electronic device can provide multiple display screens for the user to choose from. When the user selects a display screen to receive the screen projection, the first electronic device can indicate the display screen selected by the user and the electronic device to which it belongs to to the second electronic device through the second indication information, so that the second electronic device can determine the specific display screen for receiving the screen projection.
  • this method can support the user to select any display screen from the display screens managed by the second electronic device as the display screen to receive the screen projection of the first electronic device, so it can meet the user's diverse screen projection needs, and the method has strong flexibility in selecting the screen projection receiving end, and the user can arbitrarily select the screen projection receiving end from the candidate display screens, so it can facilitate the screen projection process to a certain extent, thereby improving the screen projection efficiency.
  • the method before receiving the first indication information from the second electronic device, the method further includes: establishing a wireless communication connection with the second electronic device based on a first communication protocol; wherein the first communication protocol is a Digital Living Network Alliance DLNA screen casting protocol or wireless screen casting protocol; the receiving of the first indication information from the second electronic device includes: receiving a first message sent by the second electronic device using the first communication protocol; wherein the first message includes a first target field for carrying the first indication information; determining the first indication information according to the first target field in the first message; the sending of the second indication information to the second electronic device includes: sending a second message to the second electronic device using the first communication protocol; wherein the second message includes a second target field for carrying the second indication information.
  • the first communication protocol is a Digital Living Network Alliance DLNA screen casting protocol or wireless screen casting protocol
  • the receiving of the first indication information from the second electronic device includes: receiving a first message sent by the second electronic device using the first communication protocol; wherein the first message includes a first target field for carrying the first indication information;
  • the first electronic device and the second electronic device can communicate based on a wireless communication protocol, and can carry information indicating a display screen and the electronic device to which it belongs in a specific field in a wireless communication protocol message. Therefore, the first electronic device and the second electronic device can transmit information about different display screens and the electronic devices to which they belong through information interaction, so that the first electronic device can distinguish between multiple different display screens and can select any display screen from them as the screen projection receiving end. Therefore, this method can support screen projection with the display screen as the granularity, thereby improving the flexibility of selecting the screen projection receiving end and improving the screen projection efficiency.
  • the method before receiving the first indication information from the second electronic device, the method also includes: establishing a wired communication connection with the second electronic device based on a first transmission line; the receiving the first indication information from the second electronic device includes: receiving the first indication information sent by the second electronic device via the first transmission line; the sending the second indication information to the second electronic device includes: sending the second indication information to the second electronic device via the first transmission line.
  • the first electronic device and the second electronic device can communicate based on wired communication, so that the second electronic device can send information about different display screens and the electronic devices to which they belong directly to the first electronic device.
  • the first electronic device can then distinguish between multiple different display screens and can select any display screen from them as the screen projection receiving end. Therefore, this method can support screen projection based on the granularity of the display screen, thereby improving the flexibility of selecting the screen projection receiving end and improving the screen projection efficiency.
  • the multiple display screens belong to the second electronic device; or, the multiple display screens include: at least one display screen of the second electronic device, and a display screen of at least one other electronic device that establishes a communication connection with the second electronic device.
  • the display screen managed by the second electronic device includes at least the display screen of the second electronic device itself, and may also include the display screens of other electronic devices. It has high flexibility and can also expand the range of the screen projection receiving end, thereby supporting screen projection needs in more scenarios and achieving richer and more diverse screen projection effects.
  • the first indication information includes the correspondence between the display screen indication information and the display screen identification information of each of the multiple display screens; wherein the display screen indication information of any display screen is used to indicate the display screen, and the display screen identification information of any display screen is used to indicate the display screen and the electronic device to which the display screen belongs; the second indication information includes the display screen identification information of the first target display screen.
  • the display screen can be identified based on the display screen indication information, so the display screen indication information can be used as information provided to the user, so that the user can select the display screen according to the display screen indication information.
  • the display screen and the electronic device to which the display screen belongs can be identified based on the display screen identification information. Therefore, based on the display screen identification information, not only can the display screens of different electronic devices be distinguished, but also different display screens of the same electronic device can be distinguished. Therefore, the display screen identification information can be used as the basis information for identifying different display screens between the first electronic device and the second electronic device, thereby supporting the selection of the screen projection receiving end based on the granularity of the display screen, which can improve the flexibility of selecting the screen projection receiving end and improve the screen projection efficiency.
  • the method before sending a first request to a second electronic device in response to a received first operation, the method also includes: displaying first content on a first display screen; after sending second indication information to the second electronic device in response to a received second operation, the method also includes: not displaying the first content on the first display screen; sending the first content to the second electronic device; wherein the first content is used by the first target electronic device to display the first content on the first target display screen; or, sending first address information to the second electronic device; wherein the first address information is used to indicate an address for obtaining the first content, and the address of the first content is used by the first target electronic device to obtain the first content and display the first content on the first target display screen.
  • the first electronic device can use the first content as the projection content and send the first content directly to the second electronic device, which can easily and quickly transmit the projection content, thereby improving the projection efficiency.
  • the first electronic device can also use the first content as the projection content and indicate the address information corresponding to the address for obtaining the first content to the second electronic device, so that the second electronic device obtains the first content according to the address information.
  • This method can reduce the amount of data transmitted by the first electronic device, thereby reducing the processing pressure of the first electronic device and improving the processing efficiency of the first electronic device.
  • the method further includes: displaying a second content on the first display screen in response to a received third operation. information; wherein the second information is used to indicate at least one display screen; the at least one display screen includes display screens other than the first target display screen among the multiple display screens; in response to the received fourth operation, third indication information is sent to the second electronic device; wherein the fourth operation is used to select a second target display screen from the at least one display screen, the third indication information is used to indicate switching to displaying the first content on the second target display screen, and the third indication information is also used to indicate the second target display screen and the second target electronic device to which the second target display screen belongs.
  • the first electronic device selects the display screen to receive the projection and indicates the projection content to the second electronic device, it can switch the display screen to receive the projection and indicate it to the second electronic device. Therefore, the flexibility of screen projection based on this method is relatively high.
  • the method after receiving the first indication information from the second electronic device, the method also includes: displaying the first information in response to a received fifth operation; sending third indication information to the second electronic device in response to a received sixth operation; wherein the sixth operation is used to select a third target display screen from the multiple display screens, the third indication information is used to indicate the third target display screen and the third target electronic device to which the third target display screen belongs, and the third target display screen is used as a display screen for receiving screen projection.
  • the first electronic device can project the screen to the first target display screen managed by the second electronic device while also projecting the screen to the third target display screen managed by the second electronic device. Therefore, the effect of projecting the screen from a single device to multiple displays can be achieved, which has high flexibility and can achieve richer and more diverse projection effects.
  • the method also includes: in response to a received seventh operation, sending a second request to a third electronic device; wherein the third electronic device is used to manage multiple display screens, and the second request is used to request screen projection; receiving fourth indication information from the third electronic device; wherein the fourth indication information is used to indicate the multiple display screens managed by the third electronic device and the electronic device to which each display screen belongs; displaying third information according to the fourth indication information; wherein the third information is used to indicate the multiple display screens managed by the third electronic device; in response to a received eighth operation, sending fifth indication information to the third electronic device; wherein the eighth operation is used to select a fourth target display screen from the multiple display screens managed by the third electronic device, the fifth indication information is used to indicate the fourth target display screen and the fourth target electronic device to which the fourth target display screen belongs, and the fourth target display screen is used as the display screen to receive screen projection.
  • the first electronic device can project the screen to the first target display screen managed by the second electronic device while also projecting the screen to the fourth target display screen managed by the third electronic device. Therefore, it is possible to achieve the effect of projecting the screen of a single device to multiple displays managed by multiple devices. It has high flexibility and can achieve richer and more diverse projection effects.
  • the second electronic device is an electronic device located in a vehicle cabin; and/or the first target electronic device is an electronic device located in a vehicle cabin.
  • the second electronic device and/or the first target electronic device are located in the vehicle cabin, and thus can support the effect of projecting the screen of the first electronic device onto the cabin display screen, thereby satisfying the user's screen projection needs in the cabin as much as possible and achieving flexible and diverse screen projection effects in the cabin scene.
  • the present application provides a display screen selection method, which is applied to a second electronic device, the method comprising: receiving a first request from a first electronic device; wherein the second electronic device is used to manage multiple display screens, and the first request is used to request screen projection; in response to the first request, sending first indication information to the first electronic device; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs; receiving second indication information from the first electronic device; wherein the second indication information is used to indicate a first target display screen and a first target electronic device to which the first target display screen belongs, and the first target display screen is used as the display screen to receive screen projection.
  • the second electronic device after receiving the screen projection request from the first electronic device, can return the first indication information to the first electronic device, so that the first electronic device can determine the multiple display screens managed by the second electronic device and the electronic devices to which each display screen belongs according to the first indication information, and can arbitrarily select the display screen to receive the screen projection from the multiple display screens.
  • the second electronic device can determine the display screen selected by the first electronic device side and the electronic device to which it belongs according to the second indication information from the first electronic device, and the second electronic device can determine the specific display screen for receiving the screen projection.
  • the method can support the selection of any display screen among the display screens managed by the second electronic device as the display screen to which the first electronic device projects the screen, so it can meet the diverse screen projection needs, and the method has strong flexibility in selecting the screen projection receiving end, and the first electronic device side can arbitrarily select the screen projection receiving end from the candidate display screens provided by the second electronic device, so it can facilitate the screen projection process to a certain extent, thereby improving the screen projection efficiency.
  • the method before receiving the first request from the first electronic device, the method further includes: establishing a wireless communication connection with the first electronic device based on a first communication protocol; wherein the first communication protocol is a DLNA screen projection protocol or a wireless screen projection protocol; and sending the first indication information to the first electronic device includes: using the first communication protocol to send the first indication information to the first electronic device.
  • the second electronic device and the first electronic device can communicate based on a wireless communication protocol, and can carry information indicating a display screen and the electronic device to which it belongs in a specific field in a wireless communication protocol message. Therefore, the second electronic device and the first electronic device can transmit information of different display screens through information interaction, so that the first electronic device can distinguish between multiple different display screens and can select any display screen from them as the screen projection receiving end. Therefore, this method can support screen projection with display screen as the granularity, thereby improving the flexibility of selecting the screen projection receiving end and improving the screen projection efficiency.
  • the method before receiving a first request from a first electronic device, the method further includes: establishing a wired communication connection with the first electronic device based on a first transmission line; sending first indication information to the first electronic device includes: sending the first indication information to the first electronic device via the first transmission line; receiving second indication information from the first electronic device includes: receiving the second indication information sent by the first electronic device via the first transmission line.
  • the second electronic device and the first electronic device can communicate based on wired communication, so the second electronic device can send information about different display screens and the electronic devices to which they belong directly to the first electronic device, so that the first electronic device can distinguish between multiple different display screens and select any display screen as the screen projection receiving end. Therefore, this method can support screen projection with display screen as the granularity, thereby improving the flexibility of selecting the screen projection receiving end and improving the screen projection efficiency.
  • the multiple display screens belong to the second electronic device; or, the multiple display screens include: at least one display screen of the second electronic device, and a display screen of at least one other electronic device that establishes a communication connection with the second electronic device.
  • the display screen managed by the second electronic device includes at least the display screen of the second electronic device itself, and may also include the display screens of other electronic devices. It has high flexibility and can also expand the range of the screen projection receiving end, thereby supporting screen projection needs in more scenarios and achieving richer and more diverse screen projection effects.
  • the first indication information includes the correspondence between the display screen indication information and the display screen identification information of each of the multiple display screens; wherein the display screen indication information of any display screen is used to indicate the display screen, and the display screen identification information of any display screen is used to indicate the display screen and the electronic device to which the display screen belongs; the second indication information includes the display screen identification information of the first target display screen.
  • the display screen can be identified based on the display screen indication information, so the display screen indication information can be used as information provided to the user, so that the user can select the display screen according to the display screen indication information.
  • the display screen and the electronic device to which the display screen belongs can be identified based on the display screen identification information. Therefore, based on the display screen identification information, not only can the display screens of different electronic devices be distinguished, but also different display screens of the same electronic device can be distinguished. Therefore, the display screen identification information can be used as the basis information for identifying different display screens between the second electronic device and the first electronic device, thereby supporting the selection of the screen projection receiving end based on the display screen as the granularity, which can improve the flexibility of selecting the screen projection receiving end and improve the screen projection efficiency.
  • the method further includes: determining the first target display screen and the first target electronic device based on the second indication information; receiving first content from the first electronic device; wherein the first content is used by the first target electronic device to display the first content on the first target display screen; or, receiving first address information from the first electronic device; wherein the first address information is used to indicate an address for obtaining the first content, and the address of the first content is used by the first target electronic device to obtain the first content and display the first content on the first target display screen.
  • the second electronic device can use the first content from the first electronic device as the projection content, and can easily and quickly transmit the projection content, thereby improving the projection efficiency.
  • the second electronic device can also receive address information from the first electronic device, and can determine the projection content based on the address information. This method can reduce the amount of data transmitted between the second electronic device and the first electronic device, thereby reducing the processing pressure of the first electronic device and improving the processing efficiency of the first electronic device.
  • the method after receiving the first content from the first electronic device, the method further includes: when the first target electronic device is the second electronic device, displaying the first content on the first target display screen; or, when the first target electronic device is not the second electronic device, sending the first content to the first target electronic device and instructing the first target electronic device to display the first content on the first target display screen.
  • the second electronic device when the target end of the screen projection of the first electronic device is the display screen of the second electronic device itself, the second electronic device can directly The projection content from the first electronic device, namely the first content, is then displayed on the display screen.
  • the target end of the projection of the first electronic device is a display screen belonging to other electronic devices managed by the second electronic device, the second electronic device can directly instruct the other electronic devices to display the projection content from the first electronic device on the display screen. Therefore, this method can achieve the effect of projecting the content of the first electronic device to any display screen included in different electronic devices. It has strong flexibility and rich application scenarios. It can support projection needs in more scenarios and achieve richer and more diverse projection effects.
  • the method after receiving the first address information from the first electronic device, the method further includes: when the first target electronic device is the second electronic device, obtaining the first content according to the first address information, and displaying the first content on the first target display screen; or, when the first target electronic device is not the second electronic device, sending the first address information to the first target electronic device, and instructing the first target electronic device to obtain the first content according to the first address information and display the first content on the first target display screen.
  • this method when the target end of the screen projection of the first electronic device is the display screen of the second electronic device itself, the second electronic device itself can obtain the projection content, i.e., the first content, and display the projection content on the display screen; when the target end of the screen projection of the first electronic device is the display screen belonging to other electronic devices managed by the second electronic device, the second electronic device can instruct other electronic devices to obtain the projection content and display the projection content on the display screen. Therefore, this method can achieve the effect of projecting the content of the first electronic device to any display screen included in different electronic devices. It has strong flexibility and rich application scenarios. It can support projection needs in more scenarios and achieve richer and more diverse projection effects.
  • the method after receiving the first content from the first electronic device, or after receiving the first address information from the first electronic device, the method also includes: receiving third indication information from the first electronic device; wherein the third indication information is used to indicate switching to displaying the first content on a second target display screen, and the third indication information is also used to indicate the second target display screen and the second target electronic device to which the second target display screen belongs; in response to the third indication information, sending the first content to the second target electronic device, and instructing the second target electronic device to display the first content on the second target display screen; or, in response to the third indication information, sending the first address information to the second target electronic device, and instructing the second target electronic device to obtain the first content according to the first address information and display the first content on the second target display screen.
  • the second electronic device determines the target display screen for projection of the first electronic device, it can support switching the display screen that receives the projection, so the screen projection based on this method has high flexibility.
  • the method after sending the first indication information to the first electronic device, the method also includes: receiving third indication information from the first electronic device; wherein the third indication information is used to indicate a third target display screen and a third target electronic device to which the third target display screen belongs, and the third target display screen is used as a display screen for receiving screen projection.
  • the third target display screen managed by the second electronic device can also accept the screen projection of the first electronic device. Therefore, the effect of projecting the screen from a single device to multiple displays can be achieved, which has high flexibility and can achieve richer and more diverse screen projection effects.
  • the method also includes: receiving a second request from a fourth electronic device; wherein the second request is used to request screen projection; in response to the second request, sending the first indication information to the fourth electronic device; receiving fifth indication information from the fourth electronic device; wherein the fifth indication information is used to indicate a fourth target display screen and a fourth target electronic device to which the fourth target display screen belongs, and the fourth target display screen is used as a display screen for receiving screen projection.
  • the fourth target display screen managed by the second electronic device can also accept the screen projection of the fourth electronic device. Therefore, the effect of projecting screens of multiple devices to multiple displays managed by a single device can be achieved, which has high flexibility and can achieve richer and more diverse screen projection effects.
  • the second electronic device is an electronic device located in a vehicle cabin; and/or the first target electronic device is an electronic device located in a vehicle cabin.
  • the second electronic device and/or the first target electronic device are located in the vehicle cabin, and thus can support the effect of projecting the screen of the first electronic device onto the cabin display screen, thereby satisfying the user's screen projection needs in the cabin as much as possible and achieving flexible and diverse screen projection effects in the cabin scene.
  • the present application provides a display screen selection method, which is applied to a first electronic device, the method comprising: receiving a first request from a second electronic device; wherein the first electronic device is used to manage multiple display screens, and the first request is used to request screen projection; in response to the first request, obtaining first indication information; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs; displaying first information according to the first indication information, wherein the first information is used to for indicating the multiple display screens; receiving a first operation, wherein the first operation is used to select a first target display screen from the multiple display screens; determining the first target display screen according to the first operation; determining the first target electronic device to which the first target display screen belongs according to the first indication information; or, in response to the first request, obtaining first location information; wherein the first location information is used to indicate the location of a first user associated with the second electronic device; determining the first target display screen according to the first location information, wherein the
  • the first electronic device as a device for controlling the display screen used as the screen projection receiving end, can provide the function of selecting the screen projection receiving end.
  • the first electronic device can provide the managed multiple display screens to the user for selection.
  • the first electronic device can determine the display screen to receive the screen projection and the electronic device to which it belongs, so that the specific display screen for receiving the screen projection can be determined.
  • the second electronic device can support the user to select any display screen from the display screens managed by the second electronic device as the display screen to receive the screen projection of the first electronic device, so that the user's diverse screen projection needs can be met, and the method is very flexible in selecting the screen projection receiving end.
  • the user can arbitrarily select the screen projection receiving end from the candidate display screens, so that the screen projection process can be facilitated to a certain extent, thereby improving the screen projection efficiency.
  • the first electronic device as a device for controlling the display screen used as the screen projection receiving end, can determine the electronic device to which each managed display screen belongs, so that the screen projection control can be performed with the display screen as the granularity. After receiving a screen projection request from the second electronic device, the first electronic device can automatically determine the display screen to receive the projection based on the position of the first user associated with the second electronic device. Therefore, the user does not need to manually select the display screen to receive the projection, and screen projection can be achieved easily and quickly, thereby improving the efficiency of screen projection.
  • the multiple display screens belong to the first electronic device; or, the multiple display screens include: at least one display screen of the first electronic device, and a display screen of at least one other electronic device that establishes a communication connection with the first electronic device.
  • the display screen managed by the first electronic device includes at least the display screen of the first electronic device itself, and may also include the display screens of other electronic devices. It has high flexibility and can also expand the range of the screen projection receiving end, thereby supporting screen projection needs in more scenarios and achieving richer and more diverse screen projection effects.
  • the first indication information includes a correspondence between display screen indication information and display screen identification information of each of the multiple display screens; wherein the display screen indication information of any display screen is used to indicate the display screen, and the display screen identification information of any display screen is used to indicate the display screen and the electronic device to which the display screen belongs; determining the first target electronic device to which the first target display screen belongs according to the first indication information includes: determining the display screen identification information of the first target display screen according to the first indication information; and determining the first target electronic device according to the display screen identification information of the first target display screen.
  • the display screen and the electronic device to which the display screen belongs can be identified based on the display screen identification information. Therefore, based on the display screen identification information, not only can the display screens of different electronic devices be distinguished, but also different display screens of the same electronic device can be distinguished. Therefore, the display screen identification information can be used as the basis information for identifying different display screens, thereby supporting the selection of the screen projection receiving end based on the display screen as the granularity, which can improve the flexibility of selecting the screen projection receiving end and improve the screen projection efficiency.
  • obtaining the first location information includes: receiving the first location information from the second electronic device, wherein the first location information is determined by the second electronic device based on instructions of the first user.
  • the first electronic device by receiving the first location information indicated by the second electronic device, the first electronic device can easily and quickly determine the corresponding display screen used as the screen projection receiving end based on the first location information, thereby improving the screen projection speed and efficiency.
  • the method further includes: receiving first content from the second electronic device; wherein the first content is used by the first target electronic device to display the first content on the first target display screen; or, receiving first address information from the second electronic device; wherein the first address information is used to indicate an address for obtaining the first content; the address of the first content is used by the first target electronic device to obtain the first content and display the first content on the first target display screen.
  • the first electronic device can use the first content from the second electronic device as the projection content, and can easily and quickly transmit the projection content, thereby improving the projection efficiency.
  • the first electronic device can also receive address information from the second electronic device, and can determine the projection content based on the address information. This method can reduce the amount of data transmitted between the first electronic device and the second electronic device, thereby reducing the processing pressure of the second electronic device and improving the processing efficiency of the second electronic device.
  • the method further includes: when the first target electronic device is the first electronic device, displaying the first content on the first target display screen; or, when the first target electronic device is not the first electronic device, sending the first content to the first target electronic device and instructing the The first target electronic device displays the first content on the first target display screen.
  • this method when the target end of the screen projection of the second electronic device is the display screen of the first electronic device itself, the first electronic device can directly display the projection content from the second electronic device, that is, the second content, on the display screen; when the target end of the screen projection of the second electronic device is the display screen belonging to other electronic devices managed by the first electronic device, the first electronic device can directly instruct the other electronic devices to display the projection content from the second electronic device on the display screen. Therefore, this method can achieve the effect of projecting the content of the second electronic device to any display screen included in different electronic devices. It has strong flexibility and rich application scenarios. It can support projection needs in more scenarios and achieve richer and more diverse projection effects.
  • the method further includes: when the first target electronic device is the first electronic device, acquiring the first content according to the first address information, and displaying the first content on the first target display screen; or, when the first target electronic device is not the first electronic device, sending the first address information to the first target electronic device, and instructing the first target electronic device to acquire the first content according to the first address information and display the first content on the first target display screen.
  • the first electronic device when the target end of the screen projection of the second electronic device is the display screen of the first electronic device itself, the first electronic device itself can obtain the projection content, that is, the first content, and display the projection content on the display screen.
  • the target end of the screen projection of the second electronic device is the display screen belonging to other electronic devices managed by the first electronic device, the first electronic device can instruct other electronic devices to obtain the projection content and display the projection content on the display screen. Therefore, this method can achieve the effect of projecting the content of the second electronic device to any display screen included in different electronic devices. It has strong flexibility and rich application scenarios. It can support projection needs in more scenarios and achieve richer and more diverse projection effects.
  • the method after receiving the first content from the second electronic device, or after receiving the first address information from the second electronic device, the method also includes: displaying second information in response to a received second operation; wherein the second information is used to indicate at least one display screen; the at least one display screen includes a display screen other than the first target display screen among the multiple display screens; receiving a third operation; wherein the third operation is used to select a second target display screen from the at least one display screen and instruct to switch to displaying the first content on the second target display screen; determining the second target display screen according to the third operation, and determining the second target electronic device to which the second target display screen belongs according to the second target display screen; sending the first content to the second target electronic device, and instructing the second target electronic device to display the first content on the second target display screen; or, sending the first address information to the second target electronic device, and instructing the second target electronic device to obtain the first content according to the first address information and display the first content on the second target display screen.
  • the first electronic device determines the target display screen for projection by the second electronic device, it can support switching the display screen that receives the projection, so the screen projection based on this method has high flexibility.
  • the method further includes: receiving a second request from the second electronic device; wherein the second request is used to request screen projection; in response to the second request, displaying the first information; receiving a fourth operation; wherein the fourth operation is used to select a third target display screen from the multiple display screens; determining the third target display screen according to the fourth operation; determining the third target electronic device to which the third target display screen belongs according to the first indication information; or, in response to the second request, obtaining second location information; wherein the second location information is used to indicate the location of the first user associated with the second electronic device; determining the third target display screen according to the second location information, wherein the third target display screen is associated with the second location information; determining the third target electronic device to which the third target display screen belongs according to the first indication information.
  • the third target display screen is used as a display screen to receive screen projection.
  • the third target display screen managed by the first electronic device can also accept the screen projection of the second electronic device. Therefore, the effect of projecting the screen from a single device to multiple displays can be achieved, which has high flexibility and can achieve richer and more diverse projection effects.
  • the method also includes: receiving a third request from a third electronic device; wherein the third request is used to request screen projection; in response to the third request, displaying the first information; receiving a fifth operation; wherein the fifth operation is used to select a fourth target display screen from the multiple display screens; determining the fourth target display screen according to the fifth operation; determining the fourth target electronic device to which the fourth target display screen belongs according to the first indication information; or, in response to the third request, obtaining third location information; wherein the third location information is used to indicate the location of a second user associated with the third electronic device; determining a fourth target display screen according to the third location information, wherein the fourth target display screen is associated with the third location information; determining the fourth target electronic device to which the fourth target display screen belongs according to the first indication information; wherein the fourth target display screen is used as a display screen for receiving screen projection.
  • the fourth target display screen managed by the first electronic device can also accept the screen projection of the fourth electronic device. Therefore, the effect of projecting screens of multiple devices to multiple displays managed by a single device can be achieved, which has high flexibility and can achieve richer and more diverse screen projection effects.
  • the first electronic device is an electronic device located in a vehicle cabin; and/or the first target electronic device is an electronic device located in a vehicle cabin.
  • the first electronic device and/or the first target electronic device are located in the vehicle cabin, and thus can support the effect of projecting the screen of the second electronic device onto the cabin display screen, thereby satisfying the user's screen projection needs in the cabin as much as possible and achieving flexible and diverse screen projection effects in the cabin scene.
  • the present application provides an electronic device, comprising a display screen, a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the one or more processors, the electronic device executes the method described in the first aspect or any possible design of the first aspect, or executes the method described in the second aspect or any possible design of the second aspect, or executes the method described in the third aspect or any possible design of the third aspect.
  • the present application provides a computer-readable storage medium, which stores a computer program.
  • the computer program runs on a computer, the computer executes the method described in the first aspect or any possible design of the first aspect, or executes the method described in the second aspect or any possible design of the second aspect, or executes the method described in the third aspect or any possible design of the third aspect.
  • a computer program product comprising instructions is provided.
  • the electronic device executes the method described in the first aspect or any possible design of the first aspect, or executes the method described in the second aspect or any possible design of the second aspect, or executes the method described in the third aspect or any possible design of the third aspect.
  • a chip is provided.
  • the chip executes the method described in the first aspect or any possible design of the first aspect, or executes the method described in the second aspect or any possible design of the second aspect, or executes the method described in the third aspect or any possible design of the third aspect.
  • FIG1 is a schematic diagram of a hardware architecture of an electronic device provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application.
  • FIG3a is a schematic diagram of a display screen in a vehicle cockpit provided by an embodiment of the present application.
  • FIG3 b is a schematic diagram of a display screen discovery and management method provided by an embodiment of the present application.
  • FIG4 is a schematic diagram of a display screen selection and screen projection method provided in an embodiment of the present application.
  • FIG5a is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG5b is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG6a is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG6b is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG6c is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG6d is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG7a is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG7b is a schematic diagram of a screen projection interface in a cockpit provided in an embodiment of the present application.
  • FIG8a is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG8b is a schematic diagram of a screen projection interface in a cockpit provided in an embodiment of the present application.
  • FIG9a is a schematic diagram of a screen projection control interface provided in an embodiment of the present application.
  • FIG9b is a schematic diagram of a screen projection interface in a cockpit provided in an embodiment of the present application.
  • FIG10a is a schematic diagram of an interface to be projected provided in an embodiment of the present application.
  • FIG10b is a schematic diagram of a screen projection interface in a cockpit provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of a display screen selection method provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of a display screen selection method provided in an embodiment of the present application.
  • FIG13 is a schematic diagram of a display screen selection method provided in an embodiment of the present application.
  • FIG14 is a schematic diagram of a display screen selection method provided in an embodiment of the present application.
  • FIG. 15 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • An electronic device may be a device having an output display function and a communication function.
  • the electronic device may be a device having one or more display screens.
  • the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (e.g., a watch, a bracelet, a helmet, a headset, etc.), a vehicle-mounted terminal device, an augmented reality (AR)/virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc.
  • a portable device such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (e.g., a watch, a bracelet, a helmet, a headset, etc.), a vehicle-mounted terminal device, an augmented reality (AR)/virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc.
  • a portable device such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (
  • the electronic device may also be a smart home device (e.g., a smart TV, a smart speaker, etc.), a smart car, a smart robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, or a wireless terminal in smart home, a flying device (e.g., a smart robot, a hot air balloon, a drone, an airplane), etc.
  • a smart home device e.g., a smart TV, a smart speaker, etc.
  • a smart car e.g., a smart car, a smart robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, or a wireless terminal in smart home
  • a flying device e.g., a smart robot, a hot air balloon
  • the electronic device may also be a portable terminal device that also includes other functions such as a personal digital assistant and/or a music player.
  • Exemplary embodiments of the portable terminal device include but are not limited to: Or a portable terminal device with other operating systems.
  • the portable terminal device may also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel).
  • the electronic device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
  • URL Uniform resource locator
  • URL locates resources by providing an abstract identifier of the resource location.
  • URL is generally composed of a string of characters, which can be letters, numbers, special symbols, etc. After the system locates a resource, it may perform various operations on it. These operations can be abstracted as access, update, replacement, discovery of attributes, etc. In the process of performing these operations, resources need to be located according to the URL.
  • At least one refers to one or more
  • plural refers to two or more.
  • “And/or” describes the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
  • the character “/” generally indicates that the objects associated before and after are in an “or” relationship.
  • “At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items.
  • At least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
  • the smart cockpit system usually uses a one-chip multi-screen control mechanism to manage the display screen in the smart cockpit.
  • the electronic device projects the screen to the display screen in the smart cockpit, it is limited by the hardware of one-chip multi-screen and can only choose to project the screen to the smart cockpit.
  • the smart cockpit system defaults to displaying the projected content from the mobile device on the main screen, such as the central control screen. Therefore, this method has poor flexibility in selecting the projection receiving end, resulting in low projection efficiency, and may be difficult to meet the diverse projection needs of users.
  • the above problem will also cause the electronic device to only be able to project the screen to the fixed display screen in the smart cockpit, but not to other display screens in the smart cockpit.
  • other display screens can be set to mirror the main screen. After mirroring, the content displayed on the main screen and other display screens are exactly the same, and other operations cannot be performed separately on each display screen, so the practicality is low.
  • a series of window moving operations can be performed on the main screen to display the relevant content on any other display screen in the cockpit.
  • the current method of projecting the screen of an electronic device onto a display screen in a smart cockpit has problems such as complex execution process, low projection efficiency, and low practicality.
  • the embodiments of the present application provide a display screen selection method and an electronic device, which can achieve the effect of the source device arbitrarily selecting a display screen to receive screen projection from multiple screens in a multi-screen single-end (i.e., multiple display screens belong to the same device or control end) or multi-screen multi-end (i.e., multiple display screens belong to multiple different devices or control ends) environment, thereby improving the flexibility of screen projection, and can also easily and quickly achieve the effect of projecting the source device to the selected display screen, which can improve the screen projection efficiency and has no impact on the resource occupation of the source device.
  • a display screen selection method and an electronic device which can achieve the effect of the source device arbitrarily selecting a display screen to receive screen projection from multiple screens in a multi-screen single-end (i.e., multiple display screens belong to the same device or control end) or multi-screen multi-end (i.e., multiple display screens belong to multiple different devices or control ends) environment, thereby improving the flexibility of screen projection, and can also easily and quickly achieve the
  • the method provided in the embodiment of the present application can be applied to a screen projection system including multiple electronic devices, and the screen projection system includes at least a first electronic device and a second electronic device.
  • the second electronic device includes multiple display screens or the second electronic device is used to control and manage multiple display screens.
  • the first electronic device can be used as a device to initiate screen projection
  • the second electronic device can be used as a device to receive screen projection
  • the first electronic device can project the screen to any of the multiple display screens of the second electronic device.
  • the first electronic device may be a mobile electronic device, such as a mobile phone, a tablet, etc.
  • the second electronic device may be a vehicle or a cockpit system in a vehicle or a control device in a vehicle cockpit, etc., and the multiple display screens of the second electronic device may be display screens configured in the vehicle cockpit.
  • the screen projection system may further include a third electronic device, wherein the third electronic device includes at least one display screen or is used to control and manage at least one display screen.
  • the third electronic device can serve as a device that receives screen projection.
  • the first electronic device in the screen projection system, can project the screen to any of a plurality of candidate screens, wherein the plurality of candidate screens include a plurality of screens of the second electronic device and at least one screen of the third electronic device.
  • the first electronic device can project the same content to any of a plurality of candidate screens for display; the first electronic device can also project the same content to a plurality of different screens among a plurality of candidate screens for display; the first electronic device can also project different content to a plurality of different screens among a plurality of candidate screens for display.
  • the third electronic device may be a mobile electronic device in a vehicle cabin, such as a tablet carried by a user into the cabin, or a rear-mounted tablet in the cabin.
  • the third electronic device in a scenario where a third electronic device serves as a device receiving screen projection, the third electronic device may be a control device in a vehicle cockpit, and at least one display screen of the third electronic device may be a display screen configured in the vehicle cockpit.
  • the second electronic device and the third electronic device may be used to control and manage different display screens in the vehicle cockpit, respectively.
  • the second electronic device may be a device for managing display screens corresponding to the front seats in the vehicle cockpit
  • the third electronic device may be a device for managing display screens corresponding to the back seats in the vehicle cockpit.
  • the cockpit system may use a multi-core, multi-screen or multi-device mechanism to manage multiple display screens.
  • the third electronic device can be used as a device that initiates screen projection.
  • the third electronic device in addition to the first electronic device being able to project the screen to any of the multiple display screens of the second electronic device, the third electronic device can also project the screen to any of the multiple display screens of the second electronic device.
  • the third electronic device can project the same content to any display screen of the second electronic device for display, and the content can be the content on any display screen of the third electronic device; the third electronic device can also project the same content to multiple different display screens of the second electronic device for display; the third electronic device can also project different content to multiple different display screens of the second electronic device for display.
  • the different content can be different content on the same display screen of the third electronic device, or the different content can be the content on different display screens of the third electronic device.
  • the second electronic device when the first electronic device and the third electronic device are both projected to the same display screen of the second electronic device, the second electronic device can determine which electronic device's screen projection content is displayed on the display screen according to the set rules, for example, it can select which electronic device's screen projection is accepted according to the order of the projection time, the priority order of the projection device (i.e., the device that initiates the projection), and other rules, and there is no specific restriction in the embodiments of the present application.
  • the third electronic device in a scenario where a third electronic device is the device that initiates screen projection, the third electronic device may be a mobile electronic device.
  • the content projected by the first electronic device to the display screen of the second electronic device can be part of the content or all of the content displayed on the display screen of the first electronic device, and can also be the content to be displayed on the display screen of the first electronic device.
  • the third electronic device After the first electronic device or the third electronic device is projected to the second electronic device, the second electronic device can generate a projection window on the display screen, and display the content projected from the first electronic device in the projection window.
  • the second electronic device can also display the application window of the second electronic device itself on the display screen, and display the local content of the second electronic device in the application window.
  • the second electronic device can display the projection window in full screen/split screen/windowed.
  • the first electronic device and the second electronic device can communicate with each other in a wired manner or a wireless manner.
  • the first electronic device and the second electronic device can communicate after being connected via a data line such as a universal serial bus (USB) data line.
  • the first electronic device and the second electronic device can access the same local area network.
  • the first electronic device and the second electronic device can establish a wireless connection with the same wireless access point.
  • the first electronic device and the second electronic device can access the same wireless fidelity (Wi-Fi) hotspot.
  • Wi-Fi wireless fidelity
  • the first electronic device and the second electronic device can also access the same Bluetooth beacon through the Bluetooth protocol.
  • the first electronic device and the second electronic device can communicate through short-range wireless communication technologies such as Bluetooth and Wi-Fi.
  • the communication method between the third electronic device and the first electronic device or the second electronic device is similar and will not be described in detail.
  • each fifth electronic device can include at least one display screen.
  • the fourth electronic device can be used as a device for initiating screen projection
  • the multiple fifth electronic devices can be used as devices for receiving screen projection.
  • the fourth electronic device can project the screen to any of the multiple display screens included in the multiple fifth electronic devices.
  • the fourth electronic device can project the same content to any of the multiple display screens for display; the fourth electronic device can also project the same content to multiple different display screens in the multiple display screens for display; the fourth electronic device can also project different content to multiple different display screens in the multiple display screens for display.
  • the fourth electronic device in this scenario can refer to the above-mentioned first electronic device
  • the fifth electronic device in this scenario can refer to the above-mentioned second electronic device or the third electronic device as the screen projection receiving end, which will not be described in detail here.
  • the vehicle does not specifically refer to a certain type of transportation.
  • the vehicle may be a ground-based transportation, such as a car, a high-speed train, etc.
  • the vehicle may also be a water-based transportation, such as a ship, a submarine, etc.
  • the vehicle may also be an air transportation, such as an airplane, a helicopter, etc.
  • the above application scenarios are only illustrative descriptions of some scenarios where the display screen selection method provided in the embodiment of the present application is applicable, and do not limit the application scenarios of the display screen selection method provided in the embodiment of the present application.
  • the display screen selection method provided in the embodiment of the present application is introduced by taking the first electronic device as the device initiating screen projection and the second electronic device as the device receiving screen projection as an example.
  • FIG. 1 the structure of an electronic device to which the method provided in an embodiment of the present application is applicable is introduced.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor
  • the sensor module 180 may include a gyroscope sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, a bone conduction sensor, and the like.
  • the electronic device 100 shown in FIG. 1 is merely an example and does not constitute a limitation on the electronic device, and the electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations.
  • the various components shown in FIG. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (Neural-network Processing Unit, NPU), etc.
  • different processing units can be independent devices or integrated in one or more processors.
  • the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
  • the processor 110 may also include a memory for storing instructions and data.
  • the memory in the processor 110 may include a memory for storing instructions and data.
  • a high-speed cache memory The memory can store instructions or data that have just been used or are used cyclically by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
  • the execution of the display screen selection method provided in the embodiment of the present application can be controlled by the processor 110 or completed by calling other components, such as calling the processing program of the embodiment of the present application stored in the internal memory 121, or calling the processing program of the embodiment of the present application stored in a third-party device through the external memory interface 120, to control the wireless communication module 160 to communicate data with other devices, improve the intelligence and convenience of the electronic device 100, and enhance the user experience.
  • the processor 110 can include different devices. For example, when the CPU and GPU are integrated, the CPU and GPU can cooperate to execute the display screen selection method provided in the embodiment of the present application, such as part of the algorithm in the display screen selection method is executed by the CPU, and the other part of the algorithm is executed by the GPU to obtain faster processing efficiency.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the display screen 194 can be used to display information input by a user or information provided to a user and various graphical user interfaces (GUI).
  • GUI graphical user interfaces
  • the display screen 194 can display photos, videos, web pages, or files, etc.
  • the display screen 194 may be an integrated flexible display screen, or a spliced display screen consisting of two rigid screens and a flexible screen located between the two rigid screens.
  • the camera 193 (a front camera or a rear camera, or one camera can be used as both a front camera and a rear camera) is used to capture still images or videos.
  • the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor.
  • the image sensor generates an original image of the object to be photographed based on the light signal.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store the code of the operating system, application programs (such as the function of sharing content, etc.).
  • the data storage area may store data created during the use of the electronic device 100, etc.
  • the internal memory 121 may also store one or more computer programs corresponding to the algorithm for sharing content provided in the embodiment of the present application.
  • the one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110.
  • the one or more computer programs include instructions, which may be used to execute the various steps in the following embodiments.
  • the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • a non-volatile memory such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • the code of the algorithm for sharing content provided in the embodiment of the present application may also be stored in an external memory.
  • the processor 110 may run the code of the algorithm for sharing content stored in the external memory through the external memory interface 120 .
  • the sensor module 180 may include a gyro sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, and the like.
  • a touch sensor is also called a "touch panel”.
  • the touch sensor can be arranged on the display screen 194.
  • the touch sensor and the display screen 194 form a touch display screen, also called a "touch screen”.
  • the touch sensor is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the display screen 194 of the electronic device 100 displays a main interface, which includes icons of multiple applications (such as a camera application, a WeChat application, etc.).
  • the user clicks the icon of the camera application in the main interface through the touch sensor, triggering the processor 110 to start the camera application and turn on the camera 193.
  • the display screen 194 displays the interface of the camera application, such as a viewfinder interface.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
  • at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
  • the mobile communication module 150 can also be used to interact with other devices for information.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
  • the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the wireless communication module 160 is used to establish a connection with other electronic devices for data interaction.
  • the wireless communication module 160 may be used to access an access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the electronic device 100 can receive input from the key 190 and generate key signal input related to the user settings and function control of the electronic device 100.
  • the electronic device 100 can use the motor 191 to generate a vibration prompt (such as an incoming call vibration prompt).
  • the indicator 192 in the electronic device 100 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 195 in the electronic device 100 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195, to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may include more or fewer components than those shown in FIG. 1, and the embodiments of the present application are not limited thereto.
  • the illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the layered architecture divides the software into several layers, each with a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the software architecture can be divided into four layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime and system library, and the Linux kernel layer.
  • the application layer is the top layer of the operating system, including native applications of the operating system, such as camera, gallery, calendar, Bluetooth, music, video, information, etc.
  • the application involved in the embodiments of the present application is referred to as application, which is a software program that can realize one or more specific functions.
  • application is a software program that can realize one or more specific functions.
  • multiple applications can be installed in an electronic device.
  • the application mentioned below can be a system application installed when the electronic device leaves the factory, or it can be a third-party application downloaded from the Internet or obtained from other electronic devices by the user during the use of the electronic device.
  • applications can be developed using the Java language by calling the Application Programming Interface (API) provided by the application framework layer. Developers can interact with the underlying layer of the operating system (such as the kernel layer) through the application framework to develop their own applications.
  • API Application Programming Interface
  • the application framework layer provides application programming interfaces and programming frameworks for applications in the application layer.
  • the application framework layer may include some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, phone managers, resource Source Manager, Notification Manager, etc.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include files (such as documents, videos, images, audio), text and other information.
  • the view system includes visual controls, such as controls for displaying text, images, documents, etc.
  • the view system can be used to build applications.
  • the interface in the display window can be composed of one or more views.
  • the display interface including the SMS notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions for electronic devices.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.
  • the runtime includes the core library and the virtual machine.
  • the runtime is responsible for the scheduling and management of the system.
  • the core library of the system consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the system.
  • the application layer and the application framework layer run in the virtual machine. Taking Java as an example, the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager, media library, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), image processing library, etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports a variety of commonly used audio and video format playback and recording, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.564, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer provides the core system services of the operating system, such as security, memory management, process management, network protocol stack and driver model, which are all implemented based on the kernel layer.
  • the kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer has many drivers related to electronic devices, the main drivers are: display driver; keyboard driver as input device; Flash driver based on memory technology device; camera driver; audio driver; Bluetooth driver; WiFi driver, etc.
  • the implementation process of the solution provided in the embodiment of the present application can be mainly divided into two stages, namely the display screen discovery and management stage and the display screen selection and projection execution stage.
  • the methods corresponding to each stage are described in detail below.
  • the second electronic device can adopt a one-chip multi-screen mechanism to control multiple display screens.
  • the second electronic device in a vehicle cockpit scenario, may be an electronic device to which any group of display screens configured in the cockpit that adopt a one-core multi-screen control mechanism belong.
  • the second electronic device can be used to discover and manage all display screens configured in the cockpit that can be used as screen projection receivers.
  • the second electronic device can also be used to manage the display screen of the mobile electronic device.
  • the mobile electronic device includes at least one display screen.
  • the mobile electronic device can report the information of all its own display screens to the second electronic device, and the second electronic device can manage the display screen of the mobile electronic device based on the display screen information reported by the mobile electronic device.
  • the second electronic device and the mobile electronic device can be connected to the cockpit local area network and establish a communication connection based on the cockpit local area network.
  • the second electronic device may also be any mobile electronic device in the cockpit that can be used as a screen projection receiver.
  • the second electronic device can determine the display screen configured in the cockpit after accessing the cockpit local area network, and can be used to manage the display screen configured in the cockpit.
  • the second electronic device is an electronic device configured in the cockpit or a mobile electronic device in the cockpit, the second electronic device can be used to manage all display screens of all screen projection receiving devices in the cockpit.
  • the second electronic device can configure corresponding display screen tags and display screen indication information for the multiple display screens managed (including the multiple display screens of the second electronic device itself and the display screens of other mobile electronic devices in the cockpit), and establish and save the mapping relationship between the display screen tags and display screen indication information corresponding to each display screen.
  • the display screen tag can be used to identify the display screen and the electronic device to which the display screen belongs.
  • the display screen tag can be used as identification information for identifying the display screen and the device to which it belongs between different electronic devices or within the electronic device.
  • the display screen and the electronic device to which it belongs can be identified by the display screen tag between different electronic devices.
  • each electronic device can virtualize different display screens as devices (the display screen tag can be used as identification information of the virtual device), which is convenient for different electronic devices to distinguish different display screens of the same device, so that different electronic devices can interact with each other at the granularity of the display screen.
  • the display screen indication information can be used to indicate the display screen, and the display screen indication information can be used as information provided by the electronic device to the user to indicate the display screen.
  • the electronic device can indicate a specific display screen (such as the display screen managed by the second electronic device, etc.) to the user, so that the user can determine the corresponding display screen and distinguish different display screens.
  • the electronic device can display the display screen indication information corresponding to each currently existing display screen on the display screen, and the user can determine the currently existing display screen according to the display screen indication information, and the user can also select the target display screen by selecting the display screen indication information.
  • the display screen mark and display screen indication information can also be understood as follows: the display mark described in the embodiment of the present application is information used inside or between electronic devices to identify the display screen and the electronic device to which the display screen belongs, and the display screen indication information described in the embodiment of the present application is information presented to the user by the electronic device for identifying the display screen.
  • the display screen indication information may be information for identifying the display screen, such as the name of the display screen.
  • the display screen mark may include identification information of the display screen and identification information of the device to which the display screen belongs.
  • the identification information of the display screen may be information for uniquely identifying the display screen, such as the name, location, and display screen identification code (for example, a code assigned to the display screen by the second electronic device, etc.), and the identification information of the device to which the display screen belongs may be information such as the name of the device, the device identification code (for example, a code assigned to the device by the second electronic device, etc.).
  • FIG3a is a schematic diagram of a display screen in a vehicle cockpit provided in an embodiment of the present application.
  • the front row in the cockpit can be configured with three display screens using a one-core multi-screen control mechanism, and the display screen indication information of the three display screens can be the names of the three display screens, such as an instrument screen, a central control screen, and a co-pilot screen, wherein the central control screen is the main screen, and the instrument screen and the co-pilot screen are sub-screens.
  • the rear row in the cockpit can be configured with two display screens using a one-core multi-screen control mechanism, and the display screen indication information of the two display screens can be the names of the two display screens, such as the rear left screen and the rear right screen, wherein the rear left screen is the main screen and the rear right screen is the sub-screen.
  • the display screen indication information of the display screen can be the name of the display screen, such as a tablet display screen.
  • the names of the various display screens in the cockpit are not limited to the names of the above examples, and the display screen indication information can be a name assigned by the second electronic device, or a name manually set by the user, which is not specifically limited in the embodiment of the present application.
  • the second electronic device can be any electronic device among electronic devices 1 to 3.
  • the second electronic device can be electronic device 1, in which case the device identification information configured by electronic device 1 for electronic devices 1 to 3 can be identification codes 1, 2, and 3 respectively.
  • the display screen identification information configured by electronic device 1 for the central control screen, instrument screen, co-pilot screen, rear left screen, and rear right screen can be the names of the respective display screens, for example, they can be "central control screen”, “instrument screen”, “co-pilot screen”, “rear left screen”, and “rear right screen” respectively.
  • the display screen mark of the central control screen can be 1-central control screen
  • the display screen mark of the instrument screen can be 1-instrument screen
  • the display screen mark of the co-pilot screen can be 1-co-pilot screen
  • the display screen mark of the rear left screen can be 2-rear left screen
  • the display screen mark of the rear right screen can be 2-rear right screen.
  • the electronic device 1 can also assign display screen marks to the display screens configured in the cockpit according to the types and numbers of the main and sub-screens.
  • the display screen marks configured for the central control screen, instrument screen, co-pilot screen, rear left screen, and rear right screen of electronic device 1 can be 1-main screen, 1-secondary screen 1, 1-secondary screen 2, 2-main screen, and 2-secondary screen, respectively.
  • the display screen of electronic device 3 if electronic device 3 has only one display screen, the device identification information of electronic device 3 can be directly used as the display screen mark of the display screen; if electronic device 3 has multiple display screens, multiple display screens can be numbered as the identification information of the display screens, and then the display screen mark of the display screens can be obtained.
  • the display screen marks of the two display screens can be 3-display screen 1 and 3-display screen 2, respectively.
  • FIG3a is only an example and does not limit the scenario to which the method provided in the embodiment of the present application is applicable.
  • the division of the devices to which the display screen in the cockpit belongs, the configuration of the display screen markings, etc. can be flexibly set, and no specific restrictions are made in the embodiment of the present application.
  • the second electronic device can record information about multiple display screens in the space where it is located, that is, the cockpit, and call them when needed.
  • the saved mapping relationship is updated according to the addition and subtraction, so as to ensure that the saved mapping relationship corresponds to the actual display screen in the cockpit. For example, when a new electronic device that can be used for screen projection is added to the cockpit, the second electronic device can add the mapping relationship between the display screen indication information and the display screen mark of the display screen of the electronic device; when the display screens of some electronic devices are moved out of the cockpit, the second electronic device can delete the mapping relationship between the display screen indication information and the display screen mark of these display screens.
  • the second electronic device can provide the mapping relationship between the display indication information of multiple display screens and the display screen mark of the multiple display screens to the first electronic device that initiates the screen projection during the screen projection process, so that the first electronic device can provide the display indication information of the multiple display screens to the user for the user to select the target display screen to receive the screen projection.
  • the first electronic device can return the display screen mark of the target display screen to the second electronic device, so that the second electronic device determines the target display screen for receiving the screen projection.
  • the second electronic device can virtualize each display screen as an independent device and provide it to the first electronic device that initiates the screen projection, thereby supporting the user to arbitrarily select the display screen to receive the screen projection from the multiple display screens, thereby achieving the effect of the first electronic device projecting the screen to any of the multiple display screens.
  • the second electronic device can directly provide the display indication information of multiple display screens to the user based on the mapping relationship between the display indication information of the multiple display screens and the display mark, so that the user can select the target display screen on the second electronic device side to accept the screen projection of the first electronic device.
  • the target display screen is the display screen of other electronic devices
  • the second electronic device can determine the corresponding other electronic devices according to the corresponding display screen mark, and instruct the other electronic devices to accept the screen projection.
  • This method can also support users to arbitrarily select a display screen to accept the screen projection from multiple display screens, thereby achieving the effect of the first electronic device projecting the screen to any of the multiple display screens.
  • the second electronic device may include a screen projection unit, a multi-screen mapping unit and a display screen management unit.
  • the screen projection unit is used to control the screen projection process between the second electronic device and other electronic devices.
  • the multi-screen mapping unit is used to establish and maintain a mapping relationship between display screen indication information and display screen marks of multiple display screens, wherein the multiple display screens are used as screen projection receiving ends.
  • the display screen management unit is used to discover and manage all display screens configured in the cockpit that can be used as screen projection receiving ends.
  • a display screen discovery and management method provided by an embodiment of the present application may include:
  • the screen projection unit in the second electronic device requests the multi-screen mapping unit to obtain information about display screens in the cockpit.
  • the multi-screen mapping unit requests the display screen management unit to obtain information about the display screens in the cockpit.
  • the display screen management unit After determining the display screen of the second electronic device and the display screens of all electronic devices that have established communication connections with the second electronic device, the display screen management unit returns information of multiple display screens to the multi-screen mapping unit; wherein the multiple display screens include the display screen of the second electronic device and the display screens of all electronic devices that have established communication connections with the second electronic device.
  • the multi-screen mapping unit assigns a corresponding display screen mark to each of the multiple display screens, and establishes a mapping relationship between the display screen indication information of each display screen and the display screen mark; wherein the display screen mark is used to identify the display screen and the electronic device to which the display screen belongs.
  • the multi-screen mapping unit saves the mapping relationship corresponding to the multiple display screens.
  • the screen projection unit can query from the multi-screen mapping unit when the mapping relationship corresponding to the display screen is needed.
  • a display screen selection and screen projection method provided in an embodiment of the present application may include:
  • a first electronic device displays first content on a first display screen.
  • the first content may be content displayed in a system application or a third-party application installed in the first electronic device.
  • the first electronic device sends a first screen projection request to the second electronic device in response to the received first operation; wherein the second electronic device is used to manage multiple display screens, and the first operation is used to instruct the initiation of screen projection.
  • the display screen managed by the second electronic device may be a display screen belonging to the second electronic device or a display screen belonging to another electronic device.
  • the first screen projection request is used to request screen projection to the display screen managed by the second electronic device.
  • the first electronic device may be a mobile electronic device
  • the second electronic device may be a cockpit system, a cockpit central control, an electronic device in the cockpit, etc.
  • the first electronic device is in the cockpit.
  • the first electronic device and the second electronic device can use wireless communication or wired communication to realize screen projection.
  • the screen projection technology based on wireless communication can include digital living network alliance (DLNA) screen projection technology, wireless screen projection technology, etc.; the screen projection technology based on wired communication is wired screen projection technology.
  • DLNA digital living network alliance
  • the first electronic device and the second electronic device can Access the same local area network based on the same communication protocol and establish a communication connection.
  • the first electronic device and the second electronic device use wired communication to achieve screen projection, the first electronic device and the second electronic device can establish a communication connection after being connected by the same transmission line (such as a data line, etc.).
  • the first electronic device and the second electronic device may establish a communication connection before the first electronic device displays the first content; or, the first electronic device may establish a communication connection with the second electronic device after displaying the first content and before receiving the first operation.
  • the first electronic device may establish a communication connection with the second electronic device after receiving the first operation and before sending the first screen projection request to the second electronic device.
  • step S402 in a scenario where the first electronic device and the second electronic device use wireless communication to implement screen projection, the first electronic device can send a first screen projection request to the second electronic device through a network. In a scenario where the first electronic device and the second electronic device use wired communication to implement screen projection, the first electronic device can send a first screen projection request to the second electronic device through a transmission line between the first electronic device and the second electronic device.
  • the first electronic device when the first electronic device displays the first content on the first display screen, it can simultaneously display a screen projection control for triggering screen projection. When an operation acting on the screen projection control is received, the first electronic device determines to initiate screen projection. If the first electronic device determines that the second electronic device can accept the screen projection of the first electronic device, the first electronic device can send a first screen projection request to the second electronic device to request screen projection to the display screen managed by the second electronic device.
  • Example 1 Taking the first electronic device as a mobile phone as an example, as shown in Figure 5a, the first content displayed by the first electronic device may be video content.
  • the video application interface displayed by the first electronic device may include a screen projection control for triggering screen projection. When the user clicks on the screen projection control, the first electronic device may initiate screen projection of the video content.
  • the first electronic device after the first electronic device displays the first content on the first display screen, it can respond to the received operation for triggering the display of the projection control, display an interface including the projection control, and when the operation acting on the projection control is received, the first electronic device determines to initiate the projection. If the first electronic device determines that the second electronic device can accept the projection of the first electronic device, the first electronic device can send a first projection request to the second electronic device to request projection to the display screen managed by the second electronic device.
  • Example 2 Based on the scenario shown in Example 1 above, the user can also trigger the first electronic device to display the drop-down control interface shown in Figure 5b by operating on the display screen, which includes a screen projection control for initiating wireless screen projection.
  • the first electronic device can initiate the projection of the content in the previous interface (i.e., the video application interface).
  • the user after the first electronic device sends a first screen projection request to the second electronic device, the user also needs to select a target display screen from among multiple display screens managed by the second electronic device to accept the screen projection of the first electronic device.
  • the first electronic device and the second electronic device provide the multiple display screens managed by the second electronic device to the user so that the user can select the target display screen from among them to accept the screen projection of the first electronic device, any of the following methods can be used:
  • Mode 1 The first electronic device and the second electronic device cooperate to provide an experience of selecting a target display screen on the first electronic device.
  • the first electronic device can obtain multiple display screens managed by the second electronic device from the second electronic device and provide the multiple display screens to the user. After the user selects the target display screen to be projected by the first electronic device, the first electronic device indicates the target display screen to the second electronic device. Based on this method, the user can perform screen projection-related controls only on the first electronic device side, which is more convenient.
  • Mode 2 The second electronic device provides an experience of selecting a target display screen on the second electronic device side.
  • the second electronic device can directly provide the managed multiple display screens to the user and determine the target display screen selected by the user to receive the screen projection of the first electronic device. Based on this method, the user can initiate screen projection on the first electronic device side and select the display screen to receive the screen projection on the second electronic device side, which can reduce the number of interactions between the first electronic device and the second electronic device and improve the processing efficiency of the first electronic device and the second electronic device.
  • the first electronic device and the second electronic device may perform the following steps S403 to S406:
  • the second electronic device sends first indication information to the first electronic device in response to the received first screen projection request; wherein the first indication information is used to indicate multiple display screens managed by the second electronic device and the electronic devices to which the multiple display screens belong.
  • the multiple display screens include multiple display screens of the second electronic device. In another possible case, the multiple display screens include at least one display screen of the second electronic device and display screens of other electronic devices in the space where the second electronic device is located.
  • the first indication information may include a mapping relationship between a display screen mark corresponding to each of the multiple display screens and the display screen indication information.
  • the display screen mark and the display screen indication information reference may be made to the description in the aforementioned embodiment, which will not be repeated here.
  • the communication protocol used by the first electronic device and the second electronic device can extend the protocol field contained therein to carry the display screen related indication information (such as the first indication information, the second indication information described below, etc.) transmitted between the first electronic device and the second electronic device.
  • a virtual device field can be added to the communication protocol used by the first electronic device and the second electronic device, and the virtual device field can be bound to the display screen information so that the first electronic device and the second electronic device can identify each display screen.
  • the second electronic device can transmit the mapping relationship between the display screen mark corresponding to the multiple display screens managed by the second electronic device to the first electronic device through the virtual device field and the display screen indication information, so that the first electronic device can know the multiple display screens managed by the second electronic device, and the multiple display screens managed by the second electronic device can be notified to the user.
  • the first electronic device can also transmit the display screen mark corresponding to the display screen selected by the user from the multiple display screens managed by the second electronic device to the second electronic device through the virtual device field, so that the second electronic device can know the display screen selected by the user.
  • a display screen of an electronic device can be uniquely identified, so different display screens of the same device can be virtualized as virtual devices respectively, thereby distinguishing different display screens of the same electronic device.
  • the virtual device By transmitting the display screen tag or the mapping relationship between the display screen tag and the display screen indication information in the virtual device field extended by the communication protocol, the virtual device can be matched with multiple display screens, and the virtual device field can be matched with multiple display screens, thereby supporting other electronic devices to identify and distinguish each display screen according to the information in the virtual device field.
  • the first electronic device and the second electronic device can extend the universal plug and play (UPnP) protocol field, and transmit information related to the display screen between the first electronic device and the second electronic device by adding a virtual device field in the UPnP protocol.
  • the UPnP protocol is the underlying protocol of DLNA, which can be used to discover devices, transmit messages, etc. during the DLNA screen projection process.
  • the second electronic device can transmit the first indication information to the first electronic device through the virtual device field extended in the UPnP protocol.
  • the protocol used when the first electronic device and the second electronic device communicate may be the miracast protocol, the cast+ protocol, etc.
  • the first electronic device and the second electronic device may add virtual device fields to these protocols.
  • the first electronic device and the second electronic device may transmit information related to the display screen based on the virtual device fields added to the protocols.
  • the second electronic device may transmit the first indication information to the first electronic device via the extended virtual device field in the miracast protocol or the cast+ protocol.
  • step S403 in the scenario where the first electronic device and the second electronic device use wireless communication to achieve screen projection, the second electronic device can send the first indication information to the first electronic device through the network according to the above method.
  • the second electronic device can send the first indication information to the first electronic device through the transmission line between the first electronic device and the second electronic device.
  • step S403 may be performed collaboratively by a screen projection unit and a multi-screen mapping unit in the second electronic device, wherein the screen projection unit may obtain the content of the first indication information from the multi-screen mapping unit and send the first indication information to the first electronic device.
  • the first electronic device displays a display screen selection interface on a first display screen according to the first indication information, where the display screen selection interface includes information for indicating the multiple display screens.
  • the information used to indicate the multiple display screens may include display screen indication information of each display screen.
  • the display screen indication information can refer to the description in the above embodiments, which will not be repeated here.
  • the display screen selection interface can be displayed in full screen or in windowed form.
  • Example 3 Taking the second electronic device as a vehicle as an example, based on the scenario described in Example 1 or Example 2 above, if the display screen managed by the second electronic device only includes multiple display screens belonging to the second electronic device, such as the central control screen, the co-pilot screen, the rear left screen, and the rear right screen in the vehicle cockpit, then after the first electronic device receives the user's operation on the projection control, the first electronic device can display the display screen selection interface shown in Figure 6a, which may include information for indicating the central control screen, the co-pilot screen, the rear left screen, and the rear right screen, such as display screen icons, display screen names, etc.
  • the display screen selection interface shown in Figure 6a, which may include information for indicating the central control screen, the co-pilot screen, the rear left screen, and the rear right screen, such as display screen icons, display screen names, etc.
  • the first electronic device can display the display screen selection interface shown in Figure 6b, which may include information for indicating the central control screen, the co-pilot screen, the rear left screen, the rear right screen, and the flat-panel display screen.
  • the first electronic device may display a device selection interface before displaying the display screen selection interface.
  • the device selection interface includes at least one electronic device connected to the first electronic device, and the at least one electronic device includes the second electronic device.
  • the display screen selection interface is displayed.
  • the first electronic device may further display the device selection interface shown in FIG. 6c before displaying the display screen selection interface shown in FIG. 6a, and the interface includes information for indicating the cockpit central control device.
  • the first electronic device may display the display screen selection interface shown in FIG. 6a after receiving an operation for selecting a car in the interface.
  • the display screen managed by the second electronic device also includes display screens of other electronic devices in the vehicle cockpit, such as a tablet
  • the first electronic device may further display the device selection interface shown in FIG. 6d before displaying the display screen selection interface shown in FIG. 6a, and the interface includes information for indicating a car and a tablet.
  • the first electronic device may display the display screen selection interface shown in FIG. 6a after receiving an operation for selecting a car in the interface.
  • the first electronic device sends second indication information to the second electronic device in response to the received second operation; wherein the second operation is an operation of selecting a target display screen from the multiple display screens, and the second indication information is used to indicate the target display screen.
  • the second indication information may be display screen indication information of the target display screen.
  • display screen indication information reference may be made to the description in the aforementioned embodiment, which will not be repeated here.
  • the second indication information may also be used to indicate the electronic device to which the target display screen belongs.
  • the second indication information may be a display screen mark of the target display screen.
  • the display screen mark reference may be made to the description in the above embodiment, which will not be repeated here.
  • the first electronic device can transmit the second indication information to the second electronic device through the virtual device field extended in the UPnP protocol.
  • the first electronic device and the second electronic device use wireless screen projection technology to implement screen projection
  • the first electronic device can transmit the second indication information to the second electronic device through the virtual device field extended in the wireless communication protocol.
  • step S405 in the scenario where the first electronic device and the second electronic device use wireless communication to realize screen projection, the first electronic device can send the second indication information to the second electronic device through the network.
  • the first electronic device can send the second indication information to the second electronic device through the transmission line between the first electronic device and the second electronic device.
  • the second electronic device determines the target display screen according to the second indication information, and executes step S409.
  • the second electronic device may determine that the display screen indicated by the display screen indication information in the second indication information is the target display screen.
  • step S406 may be performed by a screen projection unit in the second electronic device.
  • the second electronic device may perform the following steps S407-S408:
  • the second electronic device displays a display selection interface on a second display screen in response to the received first screen projection request, where the display selection interface includes information for indicating multiple display screens managed by the second electronic device.
  • the second display screen may be any display screen of the second electronic device.
  • the information used to indicate the multiple display screens may include display screen indication information of each display screen.
  • the display screen indication information can refer to the description in the above embodiments, which will not be repeated here.
  • the display screen selection interface can be displayed in full screen or in windowed form.
  • the manner in which the second electronic device displays the display screen selection interface may refer to the manner in which the first electronic device displays the display screen selection interface described in the aforementioned embodiment, and will not be described in detail here.
  • step S407 may be performed collaboratively by a screen projection unit and a multi-screen mapping unit in the second electronic device, wherein the screen projection unit may obtain information of multiple display screens from the multi-screen mapping unit and display the information to the user.
  • the second electronic device determines a target display screen in response to the received third operation, wherein the third operation is an operation of selecting the target display screen from the multiple display screens, and executes step S409.
  • step S408 may be performed by a screen projection unit in the second electronic device.
  • the second electronic device determines the target electronic device to which the target display screen belongs.
  • the second electronic device when the above-mentioned method 1 is used to select the target display screen, can determine the target display screen and the target electronic device to which the target display screen belongs according to the second indication information from the first electronic device.
  • the second indication information only includes display screen indication information
  • the second electronic device can determine the corresponding target display screen according to the display screen indication information, and determine the display screen mark corresponding to the display screen indication information according to the saved mapping relationship between the display screen indication information and the display screen mark, and then determine the target electronic device to which the target display screen belongs according to the display screen mark.
  • the second indication information includes the display screen mark
  • the second electronic device determines the corresponding target display screen and the target electronic device to which it belongs according to the display screen mark.
  • the second electronic device when the above-mentioned method 2 is used to select the target display screen, the second electronic device can determine the display screen indication information selected by the user based on the operation performed by the user, and then determine the corresponding target display screen, and according to the mapping relationship between the saved display screen indication information and the display screen mark, the display screen mark corresponding to the display screen indication information selected by the user can be determined, and then the target electronic device to which the target display screen belongs can be determined according to the display screen mark.
  • step S409 may be performed by a screen projection unit in the second electronic device.
  • the second electronic device after the second electronic device determines the target display screen according to the above method, it can control the first electronic device to project the screen to the target display screen, that is, display the projected screen content (i.e., the first content) of the first electronic device on the target display screen.
  • the second electronic device can obtain the projected screen content of the first electronic device in any of the following ways:
  • Method 1 directly receiving the projection content from the first electronic device.
  • Method 2 Receive the address of the projection content indicated by the first electronic device, and obtain the projection content from the address.
  • the first electronic device and the second electronic device may perform the following steps S410 to S413:
  • the second electronic device determines whether the target electronic device is the second electronic device; if so, execute step S411; otherwise, execute step S412.
  • S411 The second electronic device displays the first content from the first electronic device on the target display screen.
  • the first electronic device can send the first content to the second electronic device through the network.
  • the first electronic device can send the first content to the second electronic device through the transmission line between the first electronic device and the second electronic device.
  • the first content may be the video content in the video application interface displayed by the first electronic device.
  • the first electronic device projects the video content to the central control screen.
  • the first electronic device no longer displays the video content.
  • the first electronic device may display a prompt message indicating that the screen has been projected or display information such as the target display screen to which the screen is projected or the electronic device to which the target display screen belongs.
  • the vehicle may display the video content on the central control screen.
  • S412 The second electronic device sends the first content to the target electronic device and instructs the target electronic device to display the first content.
  • steps S410 to S412 may be performed by a screen projection unit in the second electronic device.
  • the target electronic device displays the first content on a target display screen.
  • the first content may be the video content in the video application interface displayed by the first electronic device.
  • the first electronic device projects the video content to the flat-panel display screen.
  • the first electronic device no longer displays the video content.
  • the first electronic device may display a prompt message that the screen has been projected or display the target display screen to which the screen is projected or the electronic device to which the target display screen belongs.
  • the video content may be displayed on a flat-panel display screen in the vehicle cabin.
  • the first electronic device and the second electronic device may perform the following steps S414 to S417:
  • the second electronic device determines whether the target electronic device is the second electronic device; if so, execute step S415; otherwise, execute step S416.
  • the second electronic device obtains the first content from the first address indicated by the first electronic device, and displays the first content on a target display screen, wherein the first address is an address of the first content.
  • the first electronic device may indicate the first address to the second electronic device through a uniform resource locator (URL).
  • a uniform resource locator URL
  • the first electronic device may indicate the first address to the second electronic device through a network.
  • the first electronic device and the second electronic device use wired communication to achieve screen projection
  • the first electronic device may indicate the first address to the second electronic device through a transmission line between the first electronic device and the second electronic device.
  • the second electronic device indicates the first address to the target electronic device and instructs the target electronic device to display the first content acquired from the first address.
  • steps S414 to S416 may be performed by a screen projection unit in the second electronic device.
  • the target electronic device obtains the first content from the first address, and displays the first content on a target display screen.
  • the target display screen receiving the screen projection is selected by the user.
  • the target display screen receiving the screen projection may also be automatically selected by the first electronic device or the second electronic device. Then the method for determining the target display screen described in the method shown in FIG. 4 above (steps S403 to S406 or steps S407 to S408) can be replaced by any of the following methods for automatically selecting the target display screen:
  • the first electronic device can send a screen projection request to the second electronic device.
  • the second electronic device can use the set default display screen (such as the central control screen, etc.) as the target display screen for receiving the screen projection, or, if the position of the user corresponding to the first electronic device can be identified (such as the main driver's seat, the co-driver's seat, etc.), the display screen corresponding to the position can be used as the target display screen for receiving the screen projection. In this process, the user does not need to manually select the display screen to receive the screen projection.
  • Example 7 based on the scenario described in Example 1 above, when the user corresponding to the first electronic device is the main driver's seat user in the vehicle cabin, after the main driver's seat user clicks the video control shown in Figure 5a, the first electronic device can switch from displaying the interface shown in Figure 5a to displaying the interface shown in Figure 7a. In the interface shown in Figure 7a, the first electronic device no longer displays the video content, but can display the prompt information in the screen projection. Optionally, the first electronic device can also display the target display screen that receives the screen projection or the electronic device to which the target display screen belongs.
  • the second electronic device i.e., the vehicle
  • the main driver's seat user can display the video content on the display screen corresponding to the main driver's seat, i.e., the central control screen. Therefore, the main driver's seat user can project the screen to the display screen corresponding to his seat without performing any operation after triggering the screen projection.
  • Example 8 Based on the scenario described in Example 4 above, when the user corresponding to the first electronic device is the main driver's seat user in the vehicle cabin, after the main driver's seat user selects a vehicle in the device selection interface shown in FIG6d, the first electronic device can switch from displaying the interface shown in FIG6d to displaying the interface shown in FIG7a. After the main driver's seat user selects a vehicle in the device selection interface shown in FIG6d, as shown in FIG7b, the second electronic device, i.e., the vehicle, can display video content on the display screen corresponding to the main driver's seat, i.e., the central control screen.
  • the user can select the location on the first electronic device, and the first electronic device can determine the display screen corresponding to the user according to the location selected by the user.
  • the location of the user can be distinguished by the seat in the cabin, so the first electronic device can provide the user with multiple seats in the cabin (such as the main driver's seat, the co-driver's seat, the left rear seat, the right rear seat, etc.), and the user can select the seat from them, and the first electronic device can determine the display screen corresponding to the user according to the seat selected by the user.
  • the first electronic device can determine that the display screen corresponding to the user is the co-driver screen. After the user triggers the screen projection on the first electronic device, or after the user triggers the screen projection on the first electronic device and selects the second electronic device in the device list provided by the first electronic device, the first electronic device and the second electronic device can use the display screen corresponding to the user (that is, the display screen corresponding to the location selected by the user) as the target display screen for receiving the screen projection. In this process, the user does not need to manually select the display screen to receive the screen projection.
  • the first electronic device can indicate the display screen corresponding to the location selected by the user in advance as the target display screen to the second electronic device during the screen projection process, or the first electronic device can indicate the location selected by the user in advance to the second electronic device, and the second electronic device can determine the corresponding target display screen according to the location.
  • the user can control the switching of the display screen receiving the projected screen on the first electronic device or the second electronic device.
  • the first electronic device may display a switching control for triggering the switching of screen projection after screen projection.
  • the switching control may be a control displayed by the first electronic device after screen projection to indicate the screen projection state or the target display screen receiving the screen projection or the target electronic device receiving the screen projection, wherein the screen projection state is in the process of screen projection.
  • the first electronic device may display information such as the device currently receiving the screen projection (i.e., the second electronic device), the target display screen currently receiving the screen projection, and multiple display screens managed by the device to the user.
  • the user can switch the target display screen receiving the screen projection by performing corresponding operations, and the first electronic device may indicate the switched target display screen indicated by the user to the second electronic device, and the second electronic device may switch to display the screen projection content from the first electronic device on the switched target display screen.
  • the switching control may be a control corresponding to the prompt information in the screen projection shown in Figure 7a.
  • the first electronic device may display the display screen switching interface shown in Figure 9a, which includes information such as the device currently receiving the screen projection, the target display screen currently receiving the screen projection, and other control information, which may also include other control information, and is not specifically limited in the embodiments of the present application.
  • the user can switch the target display screen by clicking on the control used to indicate the target display screen currently receiving the screen projection. For example, when the user chooses to switch the screen projection to the rear right screen, as shown in Figure 9b, the central control screen may stop displaying the video content, and the rear right screen may start displaying the video content.
  • the user can select Switch the projection to other display screens.
  • the user can control the projection content on the target display screen to flow to other display screens by performing setting operations on the target display screen, thereby achieving the effect of switching the display screen that receives the projection.
  • a control for controlling the switching of display screens can be displayed on the target display screen.
  • a list of other display screens can be displayed on the target display screen. The user can select the display screen that receives the projection after switching, so that the projection content flows from the target display screen to the display screen selected by the user, thereby achieving the effect of switching the display screen that receives the projection.
  • the user can also transfer the projected content to other display screens through gesture operations on the target display screen.
  • the target display screen is the rear left screen
  • the projected content of the rear left screen can be transferred to the rear right screen through the user's three-finger right swipe operation.
  • the first electronic device and the second electronic device can realize the projection of the screen from the first electronic device to any display screen associated with the second electronic device based on the wireless communication method.
  • the projection method DLNA projection, wireless projection and other methods can be used between the first electronic device and the second electronic device.
  • the first electronic device and the second electronic device can support selection on any device side.
  • data transmission method it can be a method in which the projection content is directly transmitted to the projection receiving end, or the address of the projection content can be transmitted to the projection receiving end so that the projection receiving end obtains the projection content according to the address.
  • the first electronic device can project the screen to any display screen of the second electronic device, or to any display screen of other electronic devices connected to the second electronic device, and can also control the switching of the display screen receiving the projection after the projection. Therefore, the method for realizing projection provided in the above embodiment is very flexible, and can project the screen with the display screen as the granularity, rather than with the device as the granularity, so it can flexibly select the display screen receiving the projection, which is more practical. In addition, the above method has basically no effect on the resource occupation of the first electronic device during the projection process.
  • the contents of different applications in the same electronic device can be respectively projected onto different display screens managed by other electronic devices, and the contents of different electronic devices can also be respectively projected onto different display screens managed by other electronic devices. Therefore, the solution provided in the embodiment of the present application can achieve the effect of simultaneously projecting a single device or multiple devices onto multiple display screens in a multi-screen and multi-terminal environment, and has high practicality.
  • the video interface is displayed in mobile phone 1, and the call interface is displayed in mobile phone 2.
  • the vehicle's cockpit includes a central control screen, a co-pilot screen, a rear left screen, and a rear right screen
  • mobile phone 1 and the vehicle can project the video content in the video interface to the central control screen for display according to the method of projecting the first electronic device to the display screen managed by the second electronic device as described in the above embodiment
  • mobile phone 2 and the vehicle can project the call interface to the rear right screen for display according to the method of projecting the first electronic device to the display screen managed by the second electronic device as described in the above embodiment.
  • mobile phone 1 and mobile phone 2 can project the screen at the same time without interfering with each other.
  • the video content can be displayed on the central control screen in the vehicle cockpit
  • the call interface can be displayed on the rear right screen.
  • the embodiment of the present application further provides a display screen selection method, as shown in FIG11 , the method may include:
  • the first electronic device sends a first request to the second electronic device in response to a received first operation; wherein the second electronic device is used to manage multiple display screens, and the first request is used to request screen projection.
  • the first electronic device can be used as an electronic device that initiates screen projection, and the first electronic device can project the content displayed on its own display screen to any display screen among multiple display screens, and the second electronic device can be used to manage the multiple display screens.
  • the first electronic device can be a mobile electronic device, and the second electronic device can be an electronic device in a vehicle cabin.
  • the multiple display screens may belong to the second electronic device; or, the multiple display screens include: at least one display screen of the second electronic device, and a display screen of at least one other electronic device that establishes a communication connection with the second electronic device.
  • the first electronic device may be the first electronic device described in the aforementioned embodiment
  • the second electronic device may be the second electronic device described in the aforementioned embodiment
  • the other electronic device may be any mobile electronic device present in the cockpit described in the aforementioned embodiment that can be used as a screen projection receiving end.
  • the first content before the first electronic device sends the first request to the second electronic device in response to the received first operation, can be displayed on the first display screen, and the first content can be used as the screen projection content.
  • the first content can be the first content described in the aforementioned embodiment, such as the video content shown in FIG5a.
  • the first operation may be used to trigger screen projection.
  • the first operation may be the operation for triggering display of the screen projection control described in the aforementioned embodiment.
  • the first request may be the first screen projection request described in the aforementioned embodiment.
  • the first electronic device receives first indication information from the second electronic device; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs.
  • the first indication information includes the correspondence between the display screen indication information of each display screen among the multiple display screens and the display screen identification information; wherein, the display screen indication information of any display screen is used to indicate the display screen, and the display screen identification information of any display screen is used to indicate the display screen and the electronic device to which the display screen belongs.
  • the display screen indication information may be the display screen indication information described in the above embodiment
  • the display screen identification information may be the display screen mark described in the above embodiment
  • the first indication information may be the first indication information described in the above embodiment.
  • the first electronic device and the second electronic device may communicate with each other via wired communication or wireless communication.
  • the first electronic device may first establish a wireless communication connection with the second electronic device based on a first communication protocol; wherein the first communication protocol may be a Digital Living Network Alliance DLNA screen casting protocol or a wireless screen casting protocol. Then the first electronic device may receive a first message sent by the second electronic device using the first communication protocol; wherein the first message includes a first target field for carrying the first indication information; the first electronic device may determine the first indication information based on the first target field in the first message.
  • the specific process may refer to the relevant description in the aforementioned embodiment, and will not be repeated here.
  • the first target field may be the virtual device field described in the aforementioned embodiment.
  • the first electronic device may first establish a wired communication connection with the second electronic device based on the first transmission line, and the first electronic device may receive the first indication information sent by the second electronic device through the first transmission line.
  • the specific process may refer to the relevant description in the above embodiment, and will not be repeated here.
  • S1103 The first electronic device displays first information according to the first indication information; wherein the first information is used to indicate the multiple display screens.
  • the first electronic device can determine multiple display screens managed by the second electronic device, and then provide the multiple display screens to the user so that the user can select an electronic device to receive the screen projection.
  • the first electronic device may indicate the multiple display screens to the user through the display screen selection interface described in the aforementioned embodiment.
  • the first information may be information for indicating multiple display screens in the display screen selection interface described in the aforementioned embodiment, such as display screen icons, display screen names, etc.
  • the first electronic device sends a second indication message to the second electronic device in response to the received second operation; wherein the second operation is used to select a first target display screen from the multiple display screens, and the second indication message is used to indicate the first target display screen and the first target electronic device to which the first target display screen belongs, and the first target display screen is used as a display screen for receiving screen projection.
  • the second operation may be the second operation described in the foregoing embodiment.
  • the second indication information includes display screen identification information of the first target display screen.
  • the second indication information may be the second indication information described in the above embodiment.
  • the first target electronic device may be an electronic device located in a vehicle cabin, for example, it may be a display screen belonging to a second electronic device, or it may be a display screen of other electronic devices in the vehicle cabin that are managed by the second electronic device.
  • the first electronic device when the first electronic device establishes a wireless communication connection with the second electronic device based on the first communication protocol, the first electronic device may send the second indication information to the second electronic device through the first communication protocol. Specifically, the first electronic device may send the second message to the second electronic device using the first communication protocol; wherein the second message includes a second target field for carrying the second indication information.
  • the second target field may be the virtual device field described in the aforementioned embodiment.
  • the first electronic device when the first electronic device establishes a wired communication connection with the second electronic device based on a first transmission line, the first electronic device may send the second indication information to the second electronic device through the first transmission line.
  • the first electronic device may stop displaying the first content on the first display screen, and may send the first content or first address information indicating an address for obtaining the first content to the second electronic device, wherein the address of the first content is used by the first target electronic device to obtain the first content and display the first content on the first target display screen.
  • the first address information may be the URL described in the foregoing embodiment.
  • the first electronic device after the first electronic device indicates the screen projection content to the second electronic device, it can change the receiving screen projection content. display screen.
  • the first electronic device may display the second information on the first display screen in response to the received third operation; wherein the second information is used to indicate at least one display screen; the at least one display screen includes display screens other than the first target display screen among the multiple display screens.
  • the first electronic device may send third indication information to the second electronic device in response to the received fourth operation; wherein the fourth operation is used to select a second target display screen from the at least one display screen, the third indication information is used to indicate switching to display the first content on the second target display screen, and the third indication information is also used to indicate the second target display screen and the second target electronic device to which the second target display screen belongs.
  • the third operation may be the operation acting on the switching control described in the aforementioned embodiment.
  • the second information may be the information used to indicate the display screen in the display screen switching interface described in the aforementioned embodiment, such as the information shown in FIG. 9a.
  • the fourth operation may be the operation of selecting the display screen to be projected after switching described in the aforementioned embodiment.
  • the third indication information may include the display screen identification information of the second target display screen, such as the display screen mark of the second target display screen.
  • the first electronic device when the first electronic device projects the first content to the first target display screen, the first electronic device can also project the screen to other display screens at the same time. Specifically, the first electronic device can display the first information in response to the received fifth operation; and send a third indication information to the second electronic device in response to the received sixth operation; wherein the sixth operation is used to select a third target display screen from the multiple display screens, and the third indication information is used to indicate the third target display screen and the third target electronic device to which the third target display screen belongs, and the third target display screen is used as the display screen to receive the projection.
  • the specific execution of this process can refer to the process of the user selecting the first target display screen, which will not be repeated here.
  • the first electronic device when the first electronic device projects the first content to the first target display screen, the first electronic device can also project the screen to the display screens managed by other electronic devices at the same time.
  • the first electronic device can send a second request to the third electronic device in response to the seventh operation received; wherein the third electronic device is used to manage multiple display screens, and the second request is used to request screen projection; receive fourth indication information from the third electronic device; wherein the fourth indication information is used to indicate the multiple display screens managed by the third electronic device and the electronic device to which each display screen belongs; according to the fourth indication information, display the third information; wherein the third information is used to indicate the multiple display screens managed by the third electronic device; in response to the eighth operation received, send the fifth indication information to the third electronic device; wherein the eighth operation is used to select the fourth target display screen from the multiple display screens managed by the third electronic device, the fifth indication information is used to indicate the fourth target display screen and the fourth target electronic device to which the fourth target display screen belongs, and the fourth target display screen is used as the
  • the embodiment of the present application further provides a display screen selection method, as shown in FIG12 , the method may include:
  • a second electronic device receives a first request from a first electronic device; wherein the second electronic device is used to manage multiple display screens, and the first request is used to request screen projection.
  • the second electronic device sends first indication information to the first electronic device in response to the first request; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs.
  • the manner in which the second electronic device obtains the first indication information may refer to the description of the method for display screen discovery and management in the first phase of the aforementioned embodiment, which will not be repeated here.
  • the second electronic device receives second indication information from the first electronic device; wherein the second indication information is used to indicate a first target display screen and a first target electronic device to which the first target display screen belongs, and the first target display screen is used as a display screen for receiving screen projection.
  • the second electronic device after the second electronic device determines the first target display screen and the first target electronic device to which it belongs, it can achieve the effect of projecting the content from the first device to the first target display screen.
  • the second electronic device can use the first content from the first electronic device as the projected content, or it can obtain the first content from the address indicated by the first address information from the first electronic device.
  • the content is used as the projection content.
  • the process of the second electronic device receiving the first content or the first address information can refer to the relevant description in the above step S1104, which will not be repeated here.
  • the first target electronic device may be the target electronic device described in the foregoing embodiment.
  • the second electronic device when the second electronic device receives the first content from the first electronic device, when the second electronic device determines that the first target electronic device is the second electronic device, the first content can be displayed on the first target display screen; when the second electronic device determines that the first target electronic device is not the second electronic device, the first content can be sent to the first target electronic device and the first target electronic device is instructed to display the first content on the first target display screen.
  • the process can be specifically referred to the method described in steps S410 to S413 in the aforementioned embodiment, and will not be repeated here.
  • the second electronic device when the second electronic device receives the first address information from the first electronic device, when the second electronic device determines that the first target electronic device is the second electronic device, the first content can be obtained according to the first address information, and the first content can be displayed on the first target display screen.
  • the first address information can be sent to the first target electronic device, and the first target electronic device can be instructed to obtain the first content according to the first address information and display the first content on the first target display screen.
  • the process can be specifically referred to the method described in steps S414 to S417 in the aforementioned embodiment, and will not be repeated here.
  • the second electronic device can assist the first electronic device in changing the display screen that receives the projection.
  • the second electronic device can receive a third indication message from the first electronic device; wherein the third indication message is used to indicate switching to displaying the first content on the second target display screen, and the third indication message is also used to indicate the second target display screen and the second target electronic device to which the second target display screen belongs; in response to the third indication message, the first content is sent to the second target electronic device, and the second target electronic device is instructed to display the first content on the second target display screen; or, in response to the third indication message, the first address information is sent to the second target electronic device, and the second target electronic device is instructed to obtain the first content according to the first address information and display the first content on the second target display screen.
  • This process can refer to the relevant description in the aforementioned embodiment, and will not be repeated here.
  • the second electronic device when the first electronic device is projecting its screen to the first target display screen managed by the second electronic device, the second electronic device can also assist the first electronic device in simultaneously projecting its screen to the third target display screen managed by the second electronic device.
  • the second electronic device can receive a third indication message from the first electronic device; wherein the third indication message is used to indicate a third target display screen and a third target electronic device to which the third target display screen belongs, and the third target display screen is used as a display screen for receiving the projection.
  • the second electronic device After determining the third target display screen, the second electronic device can project the corresponding content from the first electronic device to the third target display screen. This process can refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.
  • the second electronic device when the first electronic device projects the screen to the first target display screen managed by the second electronic device, can also control other managed display screens to accept the projection of the first electronic device.
  • the second electronic device can receive a second request from a fourth electronic device; wherein the second request is used to request screen projection; in response to the second request, the first indication information is sent to the fourth electronic device; and the fifth indication information from the fourth electronic device is received; wherein the fifth indication information is used to indicate the fourth target display screen and the fourth target electronic device to which the fourth target display screen belongs, and the fourth target display screen is used as the display screen to receive the projection.
  • the second electronic device can project the corresponding content from the first electronic device to the fourth target display screen.
  • the specific execution of this process can refer to the process of the first target display screen managed by the second electronic device accepting the projection of the first electronic device in the aforementioned embodiment, which will not be repeated here.
  • the embodiment of the present application further provides a display screen selection method, as shown in FIG13 , the method may include:
  • a first electronic device receives a first request from a second electronic device; wherein the first electronic device is used to manage multiple display screens, and the first request is used to request screen projection.
  • the first electronic device described in this step may be the second electronic device described in the aforementioned embodiment, and the second electronic device described in this step may be the first electronic device described in the aforementioned embodiment.
  • step S1201 The specific execution of this step can refer to the description of step S1201 above, which will not be repeated here.
  • the first electronic device obtains first indication information in response to the first request; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs.
  • the first indication information and the method for the first electronic device to obtain the first indication information reference can be made to the description of the method for display screen discovery and management in the first stage of the aforementioned embodiment, which will not be repeated here.
  • the first electronic device displays first information according to the first indication information, wherein the first information is used to indicate the multiple display screens.
  • step S1103 The specific execution of this step can refer to the description of step S1103 above, which will not be repeated here.
  • the first electronic device receives a first operation, wherein the first operation is used to select a first target display screen from the multiple display screens.
  • the first electronic device determines the first target display screen according to the first operation, and determines the first target electronic device to which the first target display screen belongs according to the first indication information; wherein the first target display screen is used as a display screen for receiving screen projection.
  • the embodiment of the present application further provides a display screen selection method, as shown in FIG14 , the method may include:
  • a first electronic device receives a first request from a second electronic device; wherein the first electronic device is used to manage multiple display screens, and the first request is used to request screen projection.
  • step S1201 The specific execution of this step can refer to the description of step S1201 above, which will not be repeated here.
  • the first electronic device obtains first indication information in response to the first request; wherein the first indication information is used to indicate the multiple display screens and the electronic device to which each of the multiple display screens belongs.
  • step S1302 The specific execution of the processing process of this step and related processing processes can refer to the description of the above-mentioned step S1302, which will not be repeated here.
  • the first electronic device obtains first location information in response to the first request; wherein the first location information is used to indicate the location of a first user associated with the second electronic device.
  • the first electronic device determines a first target display screen according to the first location information, and determines a first target electronic device to which the first target display screen belongs according to the first indication information; wherein the first target display screen is associated with the first location information, and the first target display screen is used as a display screen for receiving screen projection.
  • the first user may be the main driving seat user described in the aforementioned embodiment
  • the first position information may be information indicating the seat of the main driving seat user
  • the first target display screen may be the main driving screen described in the aforementioned embodiment.
  • the embodiments of the present application also provide an electronic device, which can be used to implement the method applied to the first electronic device or the second electronic device provided in the embodiments of the present application.
  • the electronic device 1500 may include: a display screen 1501, a memory 1502, one or more processors 1503, and one or more computer programs (not shown in the figure).
  • the above-mentioned devices can be coupled via one or more communication buses 1504.
  • the display screen 1501 is used to display relevant user interfaces such as application interface.
  • One or more computer programs are stored in the memory 1502, and the one or more computer programs include computer instructions; one or more processors 1503 call the computer instructions stored in the memory 1502, so that the electronic device 1500 executes the method applied to the first electronic device or the second electronic device provided in the embodiment of the present application.
  • the memory 1502 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 1502 may store an operating system (hereinafter referred to as the system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 1502 may be used to store an implementation program of an embodiment of the present application.
  • the memory 1502 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more user devices, or one or more network devices.
  • One or more processors 1503 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • FIG. 15 is only one implementation of the electronic device 1500 provided in the embodiment of the present application. In actual applications, the electronic device 1500 may also include more or fewer components, which is not limited here.
  • the size of the serial numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
  • an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program.
  • the computer program runs on a computer, the computer executes the method applied to the first electronic device or the second electronic device provided in the above embodiments.
  • an embodiment of the present application also provides a computer program product, which includes a computer program or instructions.
  • the computer program or instructions When the computer program or instructions are run on a computer, the computer executes the method provided in the above embodiments and applied to the first electronic device or the second electronic device.
  • the method provided in the embodiment of the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the process or function according to the embodiment of the present invention is generated in whole or in part.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device.
  • Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • Computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
  • Computer-readable storage media can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., digital video discs (DVD), or semiconductor media (e.g., SSD), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本申请提供一种显示屏选择方法及电子设备,该方法包括:响应于接收到的第一操作,向用于管理多个显示屏的第二电子设备发送用于请求投屏的第一请求;接收来自第二电子设备的第一指示信息;第一指示信息用于指示多个显示屏以及多个显示屏中每个显示屏所属的电子设备;根据第一指示信息显示用于指示多个显示屏的第一信息;响应于接收到的第二操作,向第二电子设备发送第二指示信息;第二操作用于从多个显示屏中选择用于作为接受投屏的显示屏的第一目标显示屏,第二指示信息用于指示第一目标显示屏以及第一目标显示屏所属的第一目标电子设备。该方案能够在多个显示屏中任意选择接受投屏的显示屏,进而提高选择投屏接收端的灵活性,提高投屏效率。

Description

一种显示屏选择方法及电子设备
相关申请的交叉引用
本申请要求在2022年10月09日提交中华人民共和国知识产权局、申请号为202211230663.3、申请名称为“一种座舱多屏多端下的内容投送方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中;本申请要求在2022年12月28日提交中华人民共和国知识产权局、申请号为202211700870.0、申请名称为“一种显示屏选择方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,尤其涉及一种显示屏选择方法及电子设备。
背景技术
目前随着汽车的智能座舱中可配置的显示屏越来越多,在智能座舱中的显示屏上显示更丰富多样的内容的需求也越来越多。但是智能座舱系统中的三方应用较少,因此通过智能座舱系统中的应用能够显示的内容有限,因此将电子设备上显示的内容投屏到智能座舱中的显示屏上进行显示的操作变得越来越普遍。
目前智能座舱系统通常采用一芯多屏的控制机制对智能座舱中的显示屏进行管理,电子设备在投屏到智能座舱中的显示屏时,受到一芯多屏的硬件限制,只能选择投屏到智能座舱,智能座舱系统则默认在主屏例如中控屏上显示来自移动设备的投屏内容。因此该方法选择投屏接收端的灵活性差,导致投屏效率较低,且可能难以满足用户多样化的投屏需求。
发明内容
本申请提供一种显示屏选择方法及电子设备,用以实现在多个显示屏中任意选择接受投屏的显示屏的效果,进而提高选择投屏接收端的灵活性,提高投屏效率。
第一方面,本申请提供一种显示屏选择方法,应用于第一电子设备,该方法包括:响应于接收到的第一操作,向第二电子设备发送第一请求;其中,所述第二电子设备用于管理多个显示屏,所述第一请求用于请求投屏;接收来自所述第二电子设备的第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备;根据所述第一指示信息,显示第一信息;其中,所述第一信息用于指示所述多个显示屏;响应于接收到的第二操作,向所述第二电子设备发送第二指示信息;其中,所述第二操作用于从所述多个显示屏中选择第一目标显示屏,所述第二指示信息用于指示所述第一目标显示屏以及所述第一目标显示屏所属的第一目标电子设备,所述第一目标显示屏用于作为接受投屏的显示屏。
在该方法中,第一电子设备在向第二电子设备发送投屏请求后,可以根据第二电子设备返回的第一指示信息,确定第二电子设备所管理的多个显示屏有以及每个显示屏所属的电子设备。则第一电子设备可以将多个显示屏提供给用户进行选择,当用户从中选择接受投屏的显示屏后,第一电子设备可以通过第二指示信息将用户选择的显示屏及其所属的电子设备指示给第二电子设备,则能够使第二电子设备确定具体的用于接受投屏的显示屏。因此,该方法能够支持用户在第二电子设备管理的显示屏中选择任意显示屏作为接受第一电子设备投屏的显示屏,因此能够满足用户多样化的投屏需求,且该方法中选择投屏接收端的灵活性很强,用户可以在候选显示屏中任意选择投屏接收端,因此能够在一定程度上便捷化投屏过程,进而提高投屏效率。
在一种可能的设计中,在接收来自所述第二电子设备的第一指示信息之前,所述方法还包括:基于第一通信协议与所述第二电子设备建立无线通信连接;其中,所述第一通信协议为数字生活网络联盟 DLNA投屏协议或无线投屏协议;所述接收来自所述第二电子设备的第一指示信息,包括:接收所述第二电子设备采用所述第一通信协议发送的第一消息;其中,所述第一消息中包含用于承载所述第一指示信息的第一目标字段;根据所述第一消息中的所述第一目标字段确定所述第一指示信息;所述向所述第二电子设备发送第二指示信息,包括:采用所述第一通信协议向所述第二电子设备发送第二消息;其中,所述第二消息中包含用于承载所述第二指示信息的第二目标字段。
在该方法中,第一电子设备与第二电子设备之间能够基于无线通信协议进行通信,且能够在无线通信协议消息中的特定字段中承载用于指示显示屏及其所属的电子设备的信息,因此,第一电子设备和第二电子设备间能够通过信息交互传递不同显示屏及其所属的电子设备的信息,使得第一电子设备能够区分多个不同的显示屏,并可以从中选择任意显示屏作为投屏接收端,因此该方法能够支持以显示屏为粒度进行投屏,进而提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,在接收来自所述第二电子设备的第一指示信息之前,所述方法还包括:基于第一传输线与所述第二电子设备建立有线通信连接;所述接收来自所述第二电子设备的第一指示信息,包括:接收所述第二电子设备通过所述第一传输线发送的所述第一指示信息;所述向所述第二电子设备发送第二指示信息,包括:通过所述第一传输线向所述第二电子设备发送所述第二指示信息。
在该方法中,第一电子设备与第二电子设备之间能够基于有线通信方式进行通信,使得第二电子设备可以将不同显示屏及其所属的电子设备的信息直接发送至第一电子设备,则第一电子设备能够区分多个不同的显示屏,并可以从中选择任意显示屏作为投屏接收端,因此该方法能够支持以显示屏为粒度进行投屏,进而提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,所述多个显示屏属于所述第二电子设备;或者,所述多个显示屏包括:所述第二电子设备的至少一个显示屏,以及,与所述第二电子设备建立通信连接的至少一个其它电子设备的显示屏。
在该方法中,第二电子设备管理的显示屏至少包括第二电子设备自身的显示屏,还可以包括其它电子设备的显示屏,灵活性较高,还能够扩展投屏接收端的范围,进而支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述第一指示信息包括所述多个显示屏中每个显示屏的显示屏指示信息与显示屏标识信息之间的对应关系;其中,任一显示屏的显示屏指示信息用于指示所述显示屏,任一显示屏的显示屏标识信息用于指示所述显示屏以及所述显示屏所属的电子设备;所述第二指示信息包括所述第一目标显示屏的显示屏标识信息。
在该方法中,基于显示屏指示信息能够识别显示屏,因此显示屏指示信息可以作为提供给用户的信息,使得用户可以根据显示屏指示信息选择显示屏。基于显示屏标识信息则能够识别显示屏以及显示屏所属的电子设备,因此,基于显示屏标识信息不但能够区分不同电子设备的显示屏,还能够区分同一电子设备的不同显示屏。因此,显示屏标识信息可以作为第一电子设备与第二电子设备间识别不同显示屏的依据信息,从而支持以显示屏为粒度选择投屏接收端,能够提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,在响应于接收到的第一操作,向第二电子设备发送第一请求之前,所述方法还包括:在第一显示屏上显示第一内容;在响应于接收到的第二操作,向所述第二电子设备发送第二指示信息之后,所述方法还包括:所述第一显示屏不显示所述第一内容;向所述第二电子设备发送所述第一内容;其中,所述第一内容用于所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容;或者,向所述第二电子设备发送第一地址信息;其中,所述第一地址信息用于指示获取所述第一内容的地址,所述第一内容的地址用于所述第一目标电子设备获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
在该方法中,第一电子设备可以将第一内容作为投屏内容并将第一内容直接发送至第二电子设备,能够简便快捷的进行投屏内容的传输,进而提高投屏效率。第一电子设备也可以将第一内容作为投屏内容并将获取第一内容的地址对应的地址信息指示给第二电子设备,以使第二电子设备根据地址信息获取第一内容,该方式能够减少第一电子设备传输的数据量,进而降低第一电子设备的处理压力,提高第一电子设备的处理效率。
在一种可能的设计中,在向所述第二电子设备发送所述第一内容之后,或者,在向所述第二电子设备发送第一地址信息之后,所述方法还包括:响应于接收到的第三操作,在所述第一显示屏上显示第二 信息;其中,所述第二信息用于指示至少一个显示屏;所述至少一个显示屏包括所述多个显示屏中除所述第一目标显示屏以外的显示屏;响应于接收到的第四操作,向所述第二电子设备发送第三指示信息;其中,所述第四操作用于从所述至少一个显示屏中选择第二目标显示屏,所述第三指示信息用于指示切换为在第二目标显示屏上显示所述第一内容,所述第三指示信息还用于指示所述第二目标显示屏以及所述第二目标显示屏所属的第二目标电子设备。
在该方法中,第一电子设备在选定接受投屏的显示屏并将投屏内容指示给第二电子设备后,能够切换接受投屏的显示屏并指示给第二电子设备,因此基于该方法进行投屏的灵活性较高。
在一种可能的设计中,在接收来自所述第二电子设备的第一指示信息之后,所述方法还包括:响应于接收到的第五操作,显示所述第一信息;响应于接收到的第六操作,向所述第二电子设备发送第三指示信息;其中,所述第六操作用于从所述多个显示屏中选择第三目标显示屏,所述第三指示信息用于指示所述第三目标显示屏以及所述第三目标显示屏所属的第三目标电子设备,所述第三目标显示屏用于作为接受投屏的显示屏。
在该方法中,第一电子设备在投屏至第二电子设备管理的第一目标显示屏的同时,还能投屏至第二电子设备管理的第三目标显示屏,因此能够实现单设备投屏至多显示屏的效果,灵活性较高,且能够实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述方法还包括:响应于接收到的第七操作,向第三电子设备发送第二请求;其中,所述第三电子设备用于管理多个显示屏,所述第二请求用于请求投屏;接收来自所述第三电子设备的第四指示信息;其中,所述第四指示信息用于指示所述第三电子设备管理的多个显示屏以及每个显示屏所属的电子设备;根据所述第四指示信息,显示第三信息;其中,所述第三信息用于指示所述第三电子设备管理的多个显示屏;响应于接收到的第八操作,向所述第三电子设备发送第五指示信息;其中,所述第八操作用于从所述第三电子设备管理的多个显示屏中选择第四目标显示屏,所述第五指示信息用于指示所述第四目标显示屏以及所述第四目标显示屏所属的第四目标电子设备,所述第四目标显示屏用于作为接受投屏的显示屏。
在该方法中,第一电子设备在投屏至第二电子设备管理的第一目标显示屏的同时,还能投屏至第三电子设备管理的第四目标显示屏,因此能够实现单设备投屏至多设备管理的多显示屏的效果,灵活性较高,且能够实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述第二电子设备为处于车辆座舱内的电子设备;和/或,所述第一目标电子设备为处于车辆座舱内的电子设备。
在该方法中,第二电子设备和/或第一目标电子设备处于车辆座舱内,因此能够支持实现第一电子设备投屏至座舱显示屏的效果,进而尽可能满足用户在座舱内的投屏需求,并在座舱场景中实现灵活多样化的投屏效果。
第二方面,本申请提供一种显示屏选择方法,应用于第二电子设备,该方法包括:接收来自第一电子设备的第一请求;其中,所述第二电子设备用于管理多个显示屏,所述第一请求用于请求投屏;响应于所述第一请求,向所述第一电子设备发送第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备;接收来自所述第一电子设备的第二指示信息;其中,所述第二指示信息用于指示第一目标显示屏以及所述第一目标显示屏所属的第一目标电子设备,所述第一目标显示屏用于作为接受投屏的显示屏。
在该方法中,第二电子设备在接收来自第一电子设备的投屏请求后,可以向第一电子设备返回第一指示信息,使得第一电子设备可以根据第一指示信息确定第二电子设备所管理的多个显示屏以及每个显示屏所属的电子设备,并可以从多个显示屏中任意选择接受投屏的显示屏。第二电子设备可以根据来自第一电子设备的第二指示信息确定第一电子设备侧选择的显示屏及其所属的电子设备,则第二电子设备能够确定具体的用于接受投屏的显示屏。因此,该方法能够支持在第二电子设备管理的显示屏中选择任意显示屏作为接受第一电子设备投屏的显示屏,因此能够满足多样化的投屏需求,且该方法中选择投屏接收端的灵活性很强,第一电子设备侧可以在第二电子设备提供的候选显示屏中任意选择投屏接收端,因此能够在一定程度上便捷化投屏过程,进而提高投屏效率。
在一种可能的设计中,在接收来自第一电子设备的第一请求之前,所述方法还包括:基于第一通信协议与所述第一电子设备建立无线通信连接;其中,所述第一通信协议为DLNA投屏协议或无线投屏协议;所述向所述第一电子设备发送第一指示信息,包括:采用所述第一通信协议向所述第一电子设备 发送第一消息;其中,所述第一消息中包含用于承载所述第一指示信息的第一目标字段;所述接收来自第一电子设备的第二指示信息,包括:接收所述第一电子设备采用所述第一通信协议发送的第二消息;其中,所述第二消息中包含用于承载所述第二指示信息的第二目标字段;根据所述第二消息中的所述第二目标字段确定所述第二指示信息。
在该方法中,第二电子设备与第一电子设备之间能够基于无线通信协议进行通信,且能够在无线通信协议消息中的特定字段中承载用于指示显示屏及其所属的电子设备的信息,因此,第二电子设备和第一电子设备间能够通过信息交互传递不同显示屏的信息,使得第一电子设备能够区分多个不同的显示屏,并可以从中选择任意显示屏作为投屏接收端,因此该方法能够支持以显示屏为粒度进行投屏,进而提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,在接收来自第一电子设备的第一请求之前,所述方法还包括:基于第一传输线与所述第一电子设备建立有线通信连接;所述向所述第一电子设备发送第一指示信息,包括:通过所述第一传输线向所述第一电子设备发送所述第一指示信息;所述接收来自第一电子设备的第二指示信息,包括:接收所述第一电子设备通过所述第一传输线发送的所述第二指示信息。
在该方法中,第二电子设备与第一电子设备之间能够基于有线通信方式进行通信,因此第二电子设备可以将不同显示屏及其所属的电子设备的信息直接发送至第一电子设备,使得第一电子设备能够区分多个不同的显示屏,并可以从中选择任意显示屏作为投屏接收端,因此该方法能够支持以显示屏为粒度进行投屏,进而提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,所述多个显示屏属于所述第二电子设备;或者,所述多个显示屏包括:所述第二电子设备的至少一个显示屏,以及,与所述第二电子设备建立通信连接的至少一个其它电子设备的显示屏。
在该方法中,第二电子设备管理的显示屏至少包括第二电子设备自身的显示屏,还可以包括其它电子设备的显示屏,灵活性较高,还能够扩展投屏接收端的范围,进而支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述第一指示信息包括所述多个显示屏中每个显示屏的显示屏指示信息与显示屏标识信息之间的对应关系;其中,任一显示屏的显示屏指示信息用于指示所述显示屏,任一显示屏的显示屏标识信息用于指示所述显示屏以及所述显示屏所属的电子设备;所述第二指示信息包括所述第一目标显示屏的显示屏标识信息。
在该方法中,基于显示屏指示信息能够识别显示屏,因此显示屏指示信息可以作为提供给用户的信息,使得用户可以根据显示屏指示信息选择显示屏。基于显示屏标识信息则能够识别显示屏以及显示屏所属的电子设备,因此,基于显示屏标识信息不但能够区分不同电子设备的显示屏,还能够区分同一电子设备的不同显示屏。因此,显示屏标识信息可以作为第二电子设备与第一电子设备间识别不同显示屏的依据信息,从而支持以显示屏为粒度选择投屏接收端,能够提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,在接收来自所述第一电子设备的第二指示信息之后,所述方法还包括:根据所述第二指示信息确定所述第一目标显示屏以及所述第一目标电子设备;接收来自所述第一电子设备的第一内容;其中,所述第一内容用于所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容;或者,接收来自所述第一电子设备的第一地址信息;其中,所述第一地址信息用于指示获取第一内容的地址,所述第一内容的地址用于所述第一目标电子设备获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
在该方法中,第二电子设备可以将来自第一电子设备的第一内容作为投屏内容,能够简便快捷的进行投屏内容的传输,进而提高投屏效率。第二电子设备也可以接收来自第一电子设备的地址信息,并可以根据该地址信息确定投屏内容,该方式能够减少第二电子设备与第一电子设备间传输的数据量,进而降低第一电子设备的处理压力,提高第一电子设备的处理效率。
在一种可能的设计中,在接收来自所述第一电子设备的第一内容之后,所述方法还包括:当所述第一目标电子设备是所述第二电子设备时,在所述第一目标显示屏上显示所述第一内容;或者,当所述第一目标电子设备不是所述第二电子设备时,将所述第一内容发送至所述第一目标电子设备,并指示所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容。
在该方法中,当第一电子设备投屏的目标端是第二电子设备自身的显示屏时,第二电子设备可以直 接在该显示屏上显示来自第一电子设备的投屏内容即第一内容,当第一电子设备投屏的目标端是第二电子设备管理的属于其它电子设备的显示屏时,第二电子设备可以直接指示其它电子设备在该显示屏上显示来自第一电子设备的投屏内容,因此该方法能够实现第一电子设备的内容投屏至不同电子设备包括的显示屏中的任意显示屏的效果,灵活性较强,且应用场景较为丰富,能够支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,在接收来自所述第一电子设备的第一地址信息之后,所述方法还包括:当所述第一目标电子设备是所述第二电子设备时,根据所述第一地址信息获取所述第一内容,并在所述第一目标显示屏上显示所述第一内容;或者,当所述第一目标电子设备不是所述第二电子设备时,将所述第一地址信息发送至所述第一目标电子设备,并指示所述第一目标电子设备根据所述第一地址信息获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
在该方法中,当第一电子设备投屏的目标端是第二电子设备自身的显示屏时,第二电子设备自身可以获取投屏内容即第一内容并在该显示屏上显示投屏内容,当第一电子设备投屏的目标端是第二电子设备管理的属于其它电子设备的显示屏时,第二电子设备可以指示其它电子设备获取投屏内容后在该显示屏上显示投屏内容,因此该方法能够实现第一电子设备的内容投屏至不同电子设备包括的显示屏中的任意显示屏的效果,灵活性较强,且应用场景较为丰富,能够支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,在接收来自所述第一电子设备的第一内容之后,或者,在接收来自所述第一电子设备的第一地址信息之后,所述方法还包括:接收来自所述第一电子设备的第三指示信息;其中,所述第三指示信息用于指示切换为在第二目标显示屏上显示所述第一内容,所述第三指示信息还用于指示所述第二目标显示屏以及所述第二目标显示屏所属的第二目标电子设备;响应于所述第三指示信息,将所述第一内容发送至所述第二目标电子设备,并指示所述第二目标电子设备在所述第二目标显示屏上显示所述第一内容;或者,响应于所述第三指示信息,将所述第一地址信息发送至所述第二目标电子设备,并指示所述第二目标电子设备根据所述第一地址信息获取所述第一内容并在所述第二目标显示屏上显示所述第一内容。
在该方法中,第二电子设备在确定第一电子设备投屏的目标显示屏后,能够支持切换接受投屏的显示屏,因此基于该方法进行投屏的灵活性较高。
在一种可能的设计中,在向所述第一电子设备发送第一指示信息之后,所述方法还包括:接收来自所述第一电子设备的第三指示信息;其中,所述第三指示信息用于指示第三目标显示屏以及所述第三目标显示屏所属的第三目标电子设备,所述第三目标显示屏用于作为接受投屏的显示屏。
在该方法中,在第二电子设备管理的第一目标显示屏接受第一电子设备投屏的同时,第二电子设备管理的第三目标显示屏也能够接受第一电子设备的投屏,因此能够实现单设备投屏至多显示屏的效果,灵活性较高,且能够实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述方法还包括:接收来自第四电子设备的第二请求;其中,所述第二请求用于请求投屏;响应于所述第二请求,向所述第四电子设备发送所述第一指示信息;接收来自所述第四电子设备的第五指示信息;其中,所述第五指示信息用于指示第四目标显示屏以及所述第四目标显示屏所属的第四目标电子设备,所述第四目标显示屏用于作为接受投屏的显示屏。
在该方法中,在第二电子设备管理的第一目标显示屏接受第一电子设备投屏的同时,第二电子设备管理的第四目标显示屏也能够接受第四电子设备的投屏,因此能够实现多设备投屏至单设备管理的多显示屏的效果,灵活性较高,且能够实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述第二电子设备为处于车辆座舱内的电子设备;和/或,所述第一目标电子设备为处于车辆座舱内的电子设备。
在该方法中,第二电子设备和/或第一目标电子设备处于车辆座舱内,因此能够支持实现第一电子设备投屏至座舱显示屏的效果,进而尽可能满足用户在座舱内的投屏需求,并在座舱场景中实现灵活多样化的投屏效果。
第三方面,本申请提供一种显示屏选择方法,应用于第一电子设备,该方法包括:接收来自第二电子设备的第一请求;其中,所述第一电子设备用于管理多个显示屏,所述第一请求用于请求投屏;响应于所述第一请求,获取第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备;根据所述第一指示信息,显示第一信息,其中,所述第一信息用 于指示所述多个显示屏;接收第一操作,其中,所述第一操作用于从所述多个显示屏中选择第一目标显示屏;根据所述第一操作确定所述第一目标显示屏;根据所述第一指示信息确定所述第一目标显示屏所属的第一目标电子设备;或者,响应于所述第一请求,获取第一位置信息;其中,所述第一位置信息用于指示所述第二电子设备关联的第一用户的位置;根据所述第一位置信息确定第一目标显示屏,其中,所述第一目标显示屏与所述第一位置信息关联;根据所述第一指示信息确定所述第一目标显示屏所属的第一目标电子设备;其中,所述第一目标显示屏用于作为接受投屏的显示屏。
在该方法中,作为一种可选的实施方式,第一电子设备作为控制用于作为投屏接收端的显示屏的设备,能够提供选择投屏接收端的功能。具体的,第一电子设备可以将所管理的多个显示屏提供给用户进行选择,当用户从中选择接受投屏的显示屏后,第一电子设备可以确定接受投屏的显示屏及其所属的电子设备,因此能够确定具体的用于接受投屏的显示屏。基于该方法,第二电子设备能够支持用户在第二电子设备管理的显示屏中选择任意显示屏作为接受第一电子设备投屏的显示屏,因此能够满足用户多样化的投屏需求,且该方法中选择投屏接收端的灵活性很强,用户可以在候选显示屏中任意选择投屏接收端,因此能够在一定程度上便捷化投屏过程,进而提高投屏效率。作为另一种可选的实施方式,第一电子设备作为控制用于作为投屏接收端的显示屏的设备,能够确定所管理的各显示屏所属的电子设备,因此能够以显示屏为粒度进行投屏控制。当接收到第二电子设备的投屏请求后,第一电子设备能够根据第二电子设备关联的第一用户的位置自动确定接受投屏的显示屏,因此无需用户手动选择接受投屏的显示屏,能够简便快捷的实现投屏,提高投屏效率。
在一种可能的设计中,所述多个显示屏属于所述第一电子设备;或者,所述多个显示屏包括:所述第一电子设备的至少一个显示屏,以及,与所述第一电子设备建立通信连接的至少一个其它电子设备的显示屏。
在该方法中,第一电子设备管理的显示屏至少包括第一电子设备自身的显示屏,还可以包括其它电子设备的显示屏,灵活性较高,还能够扩展投屏接收端范围,进而支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述第一指示信息包括所述多个显示屏中每个显示屏的显示屏指示信息与显示屏标识信息之间的对应关系;其中,任一显示屏的显示屏指示信息用于指示所述显示屏,任一显示屏的显示屏标识信息用于指示所述显示屏以及所述显示屏所属的电子设备;所述根据所述第一指示信息确定所述第一目标显示屏所属的第一目标电子设备,包括:根据所述第一指示信息确定所述第一目标显示屏的显示屏标识信息;根据所述第一目标显示屏的显示屏标识信息确定所述第一目标电子设备。
在该方法中,基于显示屏标识信息能够识别显示屏以及显示屏所属的电子设备,因此,基于显示屏标识信息不但能够区分不同电子设备的显示屏,还能够区分同一电子设备的不同显示屏。因此,显示屏标识信息可以作为识别不同显示屏的依据信息,从而支持以显示屏为粒度选择投屏接收端,能够提高选择投屏接收端的灵活性,并提高投屏效率。
在一种可能的设计中,所述获取第一位置信息,包括:接收来自所述第二电子设备的所述第一位置信息,其中,所述第一位置信息是所述第二电子设备根据所述第一用户的指示确定的。
在该方法中,通过接收第二电子设备指示的第一位置信息,第一电子设备能够基于第一位置信息,简便快速的确定对应的用于作为投屏接收端的显示屏,进而提高投屏速度和效率。
在一种可能的设计中,在根据所述第一指示信息确定所述第一目标显示屏所属的第一目标电子设备之后,所述方法还包括:接收来自所述第二电子设备的第一内容;其中,所述第一内容用于所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容;或者,接收来自所述第二电子设备的第一地址信息;其中,所述第一地址信息用于指示获取第一内容的地址;所述第一内容的地址用于所述第一目标电子设备获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
在该方法中,第一电子设备可以将来自第二电子设备的第一内容作为投屏内容,能够简便快捷的进行投屏内容的传输,进而提高投屏效率。第一电子设备也可以接收来自第二电子设备的地址信息,并可以根据该地址信息确定投屏内容,该方式能够减少第一电子设备与第二电子设备间传输的数据量,进而降低第二电子设备的处理压力,提高第二电子设备的处理效率。
在一种可能的设计中,在接收来自所述第二电子设备的第一内容之后,所述方法还包括:当所述第一目标电子设备是所述第一电子设备时,在所述第一目标显示屏上显示所述第一内容;或者,当所述第一目标电子设备不是所述第一电子设备时,将所述第一内容发送至所述第一目标电子设备,并指示所述 第一目标电子设备在所述第一目标显示屏上显示所述第一内容。
在该方法中,当第二电子设备投屏的目标端是第一电子设备自身的显示屏时,第一电子设备可以直接在该显示屏上显示来自第二电子设备的投屏内容即第二内容,当第二电子设备投屏的目标端是第一电子设备管理的属于其它电子设备的显示屏时,第一电子设备可以直接指示其它电子设备在该显示屏上显示来自第二电子设备的投屏内容,因此该方法能够实现第二电子设备的内容投屏至不同电子设备包括的显示屏中的任意显示屏的效果,灵活性较强,且应用场景较为丰富,能够支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,在接收来自所述第二电子设备的第一地址信息之后,所述方法还包括:当所述第一目标电子设备是所述第一电子设备时,根据所述第一地址信息获取所述第一内容,并在所述第一目标显示屏上显示所述第一内容;或者,当所述第一目标电子设备不是所述第一电子设备时,将所述第一地址信息发送至所述第一目标电子设备,并指示所述第一目标电子设备根据所述第一地址信息获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
在该方法中,当第二电子设备投屏的目标端是第一电子设备自身的显示屏时,第一电子设备自身可以获取投屏内容即第一内容并在该显示屏上显示投屏内容,当第二电子设备投屏的目标端是第一电子设备管理的属于其它电子设备的显示屏时,第一电子设备可以指示其它电子设备获取投屏内容后在该显示屏上显示投屏内容,因此该方法能够实现第二电子设备的内容投屏至不同电子设备包括的显示屏中的任意显示屏的效果,灵活性较强,且应用场景较为丰富,能够支持更多场景下的投屏需求,实现更丰富更多样化的投屏效果。
在一种可能的设计中,在接收来自所述第二电子设备的第一内容之后,或者,在接收来自所述第二电子设备的第一地址信息之后,所述方法还包括:响应于接收到的第二操作,显示第二信息;其中,所述第二信息用于指示至少一个显示屏;所述至少一个显示屏包括所述多个显示屏中除所述第一目标显示屏以外的显示屏;接收第三操作;其中,所述第三操作用于从所述至少一个显示屏中选择第二目标显示屏并指示切换为在所述第二目标显示屏上显示所述第一内容;根据所述第三操作确定所述第二目标显示屏,并根据所述第二目标显示屏确定所述第二目标显示屏所属的第二目标电子设备;将所述第一内容发送至所述第二目标电子设备,并指示所述第二目标电子设备在所述第二目标显示屏上显示所述第一内容;或者,将所述第一地址信息发送至所述第二目标电子设备,并指示所述第二目标电子设备根据所述第一地址信息获取所述第一内容并在所述第二目标显示屏上显示所述第一内容。
在该方法中,第一电子设备在确定第二电子设备投屏的目标显示屏后,能够支持切换接受投屏的显示屏,因此基于该方法进行投屏的灵活性较高。
在一种可能的设计中,在响应于所述第一请求,获取第一指示信息之后,所述方法还包括:接收来自所述第二电子设备的第二请求;其中,所述第二请求用于请求投屏;响应于所述第二请求,显示所述第一信息;接收第四操作;其中,所述第四操作用于从所述多个显示屏中选择第三目标显示屏;根据所述第四操作确定所述第三目标显示屏;根据所述第一指示信息确定所述第三目标显示屏所属的第三目标电子设备;或者,响应于所述第二请求,获取第二位置信息;其中,所述第二位置信息用于指示所述第二电子设备关联的所述第一用户的位置;根据所述第二位置信息确定第三目标显示屏,其中,所述第三目标显示屏与所述第二位置信息关联;根据所述第一指示信息确定所述第三目标显示屏所属的第三目标电子设备。其中,所述第三目标显示屏用于作为接受投屏的显示屏。
在该方法中,在第一电子设备管理的第一目标显示屏接受第二电子设备投屏的同时,第一电子设备管理的第三目标显示屏也能够接受第二电子设备的投屏,因此能够实现单设备投屏至多显示屏的效果,灵活性较高,且能够实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述方法还包括:接收来自第三电子设备的第三请求;其中,所述第三请求用于请求投屏;响应于所述第三请求,显示所述第一信息;接收第五操作;其中,所述第五操作用于从所述多个显示屏中选择第四目标显示屏;根据所述第五操作确定所述第四目标显示屏;根据所述第一指示信息确定所述第四目标显示屏所属的第四目标电子设备;或者,响应于所述第三请求,获取第三位置信息;其中,所述第三位置信息用于指示所述第三电子设备关联的第二用户的位置;根据所述第三位置信息确定第四目标显示屏,其中,所述第四目标显示屏与所述第三位置信息关联;根据所述第一指示信息确定所述第四目标显示屏所属的第四目标电子设备;其中,所述第四目标显示屏用于作为接受投屏的显示屏。
在该方法中,在第一电子设备管理的第一目标显示屏接受第二电子设备投屏的同时,第一电子设备管理的第四目标显示屏也能够接受第四电子设备的投屏,因此能够实现多设备投屏至单设备管理的多显示屏的效果,灵活性较高,且能够实现更丰富更多样化的投屏效果。
在一种可能的设计中,所述第一电子设备为处于车辆座舱内的电子设备;和/或,所述第一目标电子设备为处于车辆座舱内的电子设备。
在该方法中,第一电子设备和/或第一目标电子设备处于车辆座舱内,因此能够支持实现第二电子设备投屏至座舱显示屏的效果,进而尽可能满足用户在座舱内的投屏需求,并在座舱场景中实现灵活多样化的投屏效果。
第四方面,本申请提供一种电子设备,所述电子设备包括显示屏,存储器和一个或多个处理器;其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述一个或多个处理器执行时,使得所述电子设备执行上述第一方面或第一方面的任一可能的设计所描述的方法,或者执行上述第二方面或第二方面的任一可能的设计所描述的方法,或者执行上述第三方面或第三方面的任一可能的设计所描述的方法。
第五方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述第一方面或第一方面的任一可能的设计所描述的方法,或者执行上述第二方面或第二方面的任一可能的设计所描述的方法,或者执行上述第三方面或第三方面的任一可能的设计所描述的方法。
第六方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在第一电子设备上运行时,使得所述电子设备执行上述第一方面或第一方面的任一可能的设计所描述的方法,或者执行上述第二方面或第二方面的任一可能的设计所描述的方法,或者执行上述第三方面或第三方面的任一可能的设计所描述的方法。
第七方面,提供了一种芯片,当所述芯片运行时,所述芯片执行上述第一方面或第一方面的任一可能的设计所描述的方法,或者执行上述第二方面或第二方面的任一可能的设计所描述的方法,或者执行上述第三方面或第三方面的任一可能的设计所描述的方法。
上述第四方面到第七方面的有益效果,请参见上述第一方面或第二方面或第三方面的有益效果的描述,这里不再重复赘述。
附图说明
图1为本申请实施例提供的一种电子设备的硬件架构示意图;
图2为本申请实施例提供的一种电子设备的软件架构示意图;
图3a为本申请实施例提供的一种车辆座舱中的显示屏的示意图;
图3b为本申请实施例提供的一种显示屏发现和管理方法的示意图;
图4为本申请实施例提供的一种显示屏选择及投屏方法的示意图;
图5a为本申请实施例提供的一种投屏控制界面的示意图;
图5b为本申请实施例提供的一种投屏控制界面的示意图;
图6a为本申请实施例提供的一种投屏控制界面的示意图;
图6b为本申请实施例提供的一种投屏控制界面的示意图;
图6c为本申请实施例提供的一种投屏控制界面的示意图;
图6d为本申请实施例提供的一种投屏控制界面的示意图;
图7a为本申请实施例提供的一种投屏控制界面的示意图;
图7b为本申请实施例提供的一种座舱内的投屏界面的示意图;
图8a为本申请实施例提供的一种投屏控制界面的示意图;
图8b为本申请实施例提供的一种座舱内的投屏界面的示意图;
图9a为本申请实施例提供的一种投屏控制界面的示意图;
图9b为本申请实施例提供的一种座舱内的投屏界面的示意图;
图10a为本申请实施例提供的一种待投屏的界面的示意图;
图10b为本申请实施例提供的一种座舱内的投屏界面的示意图;
图11为本申请实施例提供的一种显示屏选择方法的示意图;
图12为本申请实施例提供的一种显示屏选择方法的示意图;
图13为本申请实施例提供的一种显示屏选择方法的示意图;
图14为本申请实施例提供的一种显示屏选择方法的示意图;
图15为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。其中,在本申请实施例的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。
为了便于理解,示例性的给出了与本申请相关概念的说明以供参考。
1)电子设备,可以为具有输出显示功能和通信功能的设备。在本申请一些实施例中,电子设备可以是具备一个或多个显示屏的设备。
本申请一些实施例中电子设备可以是便携式设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(例如,手表、手环、头盔、耳机等)、车载终端设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。电子设备还可以是智能家居设备(例如,智能电视、智能音箱等)、智能汽车、智能机器人、车间设备、无人驾驶(Self Driving)中的无线终端、远程手术(Remote Medical Surgery)中的无线终端、智能电网(Smart Grid)中的无线终端、运输安全(Transportation Safety)中的无线终端、智慧城市(Smart City)中的无线终端,或智慧家庭(Smart Home)中的无线终端、飞行设备(例如,智能机器人、热气球、无人机、飞机)等。
在本申请一些实施例中,电子设备还可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式终端设备。便携式终端设备的示例性实施例包括但不限于搭载或者其它操作系统的便携式终端设备。上述便携式终端设备也可以是其它便携式终端设备,诸如具有触敏表面(例如触控面板)的膝上型计算机(Laptop)等。还应当理解的是,在本申请其它一些实施例中,上述电子设备也可以不是便携式终端设备,而是具有触敏表面(例如触控面板)的台式计算机。
2)统一资源定位符(uniform resource locator,URL),是因特网的万维网服务程序上用于指定信息位置的表示方法。URL通过提供资源位置的一种抽象标志符来对资源进行定位,URL一般由一串字符组成,这些字符可以是字母、数字和特殊符号等。系统定位了一个资源后,可能会对它进行各种各样的操作,这些操作可以抽象为访问、更新、替换、发现属性等,进行这些操作的过程中都需要根据URL进行资源定位。
应理解,本申请实施例中“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一(项)个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a、b、c可以是单个,也可以是多个。
目前智能座舱系统通常采用一芯多屏的控制机制对智能座舱中的显示屏进行管理,电子设备在投屏到智能座舱中的显示屏时,受到一芯多屏的硬件限制,只能选择投屏到智能座舱,智能座舱系统则默认在主屏例如中控屏上显示来自移动设备的投屏内容。因此该方法选择投屏接收端的灵活性差,导致投屏效率较低,且可能难以满足用户多样化的投屏需求。
上述问题还会导致电子设备只能投屏至智能座舱中的固定显示屏,而无法投屏到智能座舱内的其它显示屏。针对该问题,当前可以在投屏到主屏后设置其它显示屏镜像主屏,镜像后主屏和其它显示屏显示的内容完全一致,各显示屏上不能单独进行其它操作,因此实用性较低。当前还可以在投屏到主屏后,通过在主屏上进行一系列窗口移动操作,将相关内容显示在座舱内其它的任意显示屏上,该方法虽然能够间接实现电子设备投屏到智能座舱中的任一显示屏,但是操作过程十分复杂,效率很低。
当前还存在一种投屏方式是:电子设备在与智能座舱通信连接后,通过将应用迁移至虚拟屏上,再通过虚拟屏将应用画面传递到智能座舱中的显示屏上进行显示。该方法虽然也能实现电子设备投屏到智能座舱中的任意显示屏的效果,但是需要占用电子设备大量的资源,对电子设备的功耗和内存等消耗极大,因此投屏效率和实用性也较低。
因此,当前实现电子设备投屏到智能座舱中的显示屏的方法存在执行过程复杂、投屏效率低、实用性低等问题。
鉴于以上问题,本申请实施例提供一种显示屏选择方法及电子设备,能够在多屏单端(即多个显示屏属于同一设备或控制端)或多屏多端(即多个显示屏属于多个不同设备或控制端)环境下,实现源端设备在多屏中任意选择接受投屏的显示屏的效果,提高投屏的灵活性,还能简便快捷的实现源端设备投屏到所选择的显示屏的效果,能够提高投屏效率,且对源端设备资源占用无影响。
本申请实施例提供的方法可以应用在包括多个电子设备的投屏系统中,该投屏系统中至少包括第一电子设备和第二电子设备。其中,第二电子设备包括多个显示屏或者第二电子设备用于控制和管理多个显示屏。在该投屏系统中,第一电子设备可以作为发起投屏的设备,第二电子设备可以作为接受投屏的设备,第一电子设备可以投屏到第二电子设备的多个显示屏中的任意显示屏。其中,第一电子设备可以将显示的内容投屏到第二电子设备的任一显示屏上进行显示;第一电子设备也可以将同一内容分别投屏到第二电子设备的多个不同的显示屏上进行显示;第一电子设备还可以将不同内容分别投屏到第二电子设备的多个不同的显示屏上分别进行显示。
在本申请一些实施例中,第一电子设备可以为移动电子设备,例如手机、平板等。第二电子设备可以为车辆或车辆中的座舱系统或车辆座舱中的控制设备等,第二电子设备的多个显示屏可以为车辆座舱中配置的显示屏。
在本申请一些实施例中,所述投屏系统中还可以包括第三电子设备。其中,第三电子设备包括至少一个显示屏或者第三电子设备用于控制和管理至少一个显示屏。
在一种可能的情况中,第三电子设备可以作为接受投屏的设备。该情况下,在投屏系统中,第一电子设备可以投屏到多个候选显示屏中的任意显示屏,其中,所述多个候选显示屏包括第二电子设备的多个显示屏以及第三电子设备的至少一个显示屏。其中,第一电子设备可以将同一内容投屏到多个候选显示屏中的任一显示屏上进行显示;第一电子设备也可以将同一内容分别投屏到多个候选显示屏中的多个不同的显示屏上进行显示;第一电子设备还可以将不同内容分别投屏到多个候选显示屏中的多个不同的显示屏上分别进行显示。
在本申请一些实施例中,在第三电子设备作为接受投屏的设备的场景中,第三电子设备可以为处于车辆座舱中的移动电子设备,例如用户携带到座舱中的平板、或者座舱的后装平板等。
在本申请一些实施例中,在第三电子设备作为接受投屏的设备的场景中,第三电子设备可以为车辆座舱中的控制设备,第三电子设备的至少一个显示屏可以为车辆座舱中配置的显示屏。该场景下,第二电子设备和第三电子设备可以分别用于控制和管理车辆座舱中不同的显示屏。例如,第二电子设备可以是用于管理车辆座舱中前排座位对应的显示屏的设备,第三电子设备可以是用于管理车辆座舱中后排座位对应的显示屏的设备。该场景下,座舱系统可以采用多芯多屏或者多设备机制管理多个显示屏。
在另一种可能的情况中,第三电子设备可以作为发起投屏的设备。该情况下,在投屏系统中,除第一电子设备可以投屏到第二电子设备的多个显示屏中的任意显示屏之外,第三电子设备也可以投屏到第二电子设备的多个显示屏中的任意显示屏。其中,第三电子设备可以将同一内容投屏到第二电子设备的任一显示屏上进行显示,该内容可以是第三电子设备的任一显示屏上的内容;第三电子设备也可以将同一内容分别投屏到第二电子设备的多个不同的显示屏上进行显示;第三电子设备还可以将不同内容分别投屏到第二电子设备的多个不同的显示屏上分别进行显示。其中,所述不同内容可以是第三电子设备的同一显示屏上的不同内容,或者,所述不同内容可以分别是第三电子设备的不同显示屏上的内容。在本申请一些实施例中,当第一电子设备和第三电子设备均投屏到第二电子设备的同一显示屏时,第二电子设备可以按照设定规则判断该显示屏上显示来自哪个电子设备的投屏内容,例如可以按照投屏时间的先后顺序、投屏设备(即发起投屏的设备)的优先级顺序等规则选择接受哪个电子设备的投屏,本申请实施例中不做具体限制。
在本申请一些实施例中,在第三电子设备作为发起投屏的设备的场景中,第三电子设备可以为移动电子设备。
上述投屏系统中,第一电子设备投屏到第二电子设备的显示屏的内容可以是第一电子设备显示屏上显示的部分内容或全部内容,还可以是第一电子设备的显示屏上待显示的内容。第三电子设备同理。在第一电子设备或第三电子设备投屏到第二电子设备后,第二电子设备可以在显示屏上生成投屏窗口,并在投屏窗口中显示第一电子设备投屏来的内容。可选的,第二电子设备还可以在显示屏上显示第二电子设备自身的应用窗口,并在该应用窗口中显示第二电子设备本地的内容。其中,第二电子设备可以全屏/分屏/窗口化显示该投屏窗口。
本申请实施例中,所述第一电子设备与所述第二电子设备之间可以以有线方式或无线方式进行通信。可选的,第一电子设备与第二电子设备可以通过数据线如通用串行总线(universal serial bus,USB)数据线连接后进行通信。可选的,第一电子设备与第二电子设备可以接入同一个局域网。例如,第一电子设备和第二电子设备可以与同一无线接入点建立无线连接。又例如,第一电子设备与第二电子设备可以接入同一个无线保真(wireless fidelity,Wi-Fi)热点,再例如,第一电子设备和第二电子设备也可以通过蓝牙协议接入同一个蓝牙信标下。第一电子设备与第二电子设备可以通过蓝牙、Wi-Fi等短距离无线通信技术进行通信。第三电子设备与第一电子设备或第二电子设备的通信方式同理,不再详述。
本申请实施例提供的方法还可以应用在包括第四电子设备与多个第五电子设备的投屏系统中。其中,每个第五电子设备可以包括至少一个显示屏。在该投屏系统中,第四电子设备可以作为发起投屏的设备,所述多个第五电子设备可以作为接受投屏的设备。第四电子设备可以投屏到所述多个第五电子设备包括的多个显示屏中的任意显示屏。其中,第四电子设备可以将同一内容投屏到所述多个显示屏中的任一显示屏上进行显示;第四电子设备也可以将同一内容分别投屏到所述多个显示屏中的多个不同的显示屏上进行显示;第四电子设备还可以将不同内容分别投屏到所述多个显示屏中的多个不同的显示屏上分别进行显示。该场景中的第四电子设备可以参照上述的第一电子设备,该场景中的第五电子设备可以参照上述的第二电子设备或者作为投屏接收端的第三电子设备,此处不再详述。
需要说明的是,在本申请实施例中,车辆并不具指代某一种交通工具。可选地,车辆可以是基于地面的交通工具,例如轿车、高铁等。可选地,车辆也可以是基于水面的交通工具,例如船、潜水艇等。可选地,车辆还可以是空中交通工具,例如飞机、直升机等。
需要说明的是,以上应用场景仅是对本申请实施例提供的显示屏选择方法适用的一些场景的示例性说明,并不对本申请实施例提供的显示屏选择方法的应用场景造成限制。以下实施例中,均以第一电子设备为发起投屏的设备、第二电子设备为接受投屏的设备为例,对本申请实施例提供的显示屏选择方法进行介绍。
下面参阅图1,对本申请实施例提供的方法适用的电子设备的结构进行介绍。
如图1所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,USB接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。
其中传感器模块180可以包括陀螺仪传感器、加速度传感器、接近光传感器、指纹传感器、触摸传感器、温度传感器、压力传感器、距离传感器、磁传感器、环境光传感器、气压传感器、骨传导传感器等。
可以理解的是,图1所示的电子设备100仅仅是一个范例,并不构成对电子设备的限定,并且电子设备可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图1中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器 为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
本申请实施例提供的显示屏选择方法的执行可以由处理器110来控制或调用其他部件来完成,比如调用内部存储器121中存储的本申请实施例的处理程序,或者通过外部存储器接口120调用第三方设备中存储的本申请实施例的处理程序,来控制无线通信模块160向其它设备进行数据通信,提高电子设备100的智能化、便捷化程度,提升用户的体验。处理器110可以包括不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的显示屏选择方法,比如显示屏选择方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。显示屏194可用于显示由用户输入的信息或提供给用户的信息以及各种图形用户界面(graphical user interface,GUI)。例如,显示屏194可以显示照片、视频、网页、或者文件等。
在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的拼接显示屏。
摄像头193(前置摄像头或者后置摄像头,或者一个摄像头既可作为前置摄像头,也可作为后置摄像头)用于捕获静态图像或视频。通常,摄像头193可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根据所述光信号生成待拍摄物体的原始图像。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如分享内容的功能等)的代码等。存储数据区可存储电子设备100使用过程中所创建的数据等。
内部存储器121还可以存储本申请实施例提供的分享内容的算法对应的一个或多个计算机程序。该一个或多个计算机程序被存储在上述内部存储器121中并被配置为被一个或多个处理器110执行,该一个或多个计算机程序包括指令,上述指令可以用于执行以下实施例中的各个步骤。
此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
当然,本申请实施例提供的分享内容的算法的代码还可以存储在外部存储器中。这种情况下,处理器110可以通过外部存储器接口120运行存储在外部存储器中的分享内容的算法的代码。
传感器模块180可以包括陀螺仪传感器、加速度传感器、接近光传感器、指纹传感器、触摸传感器等。
触摸传感器,也称“触控面板”。触摸传感器可以设置于显示屏194,由触摸传感器与显示屏194组成触摸显示屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
示例性的,电子设备100的显示屏194显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器点击主界面中相机应用的图标,触发处理器110启动相机应用,打开摄像头193。显示屏194显示相机应用的界面,例如取景界面。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。在本申请实施例中,移动通信模块150还可以用于与其它设备进行信息交互。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频装置(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。本申请实施例中,无线通信模块160,用于与其它电子设备建立连接,进行数据交互。或者无线通信模块160可以用于接入接入点设备,向其它电子设备发送控制指令,或者接收来自其它电子设备发送的数据。
另外,电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。电子设备100可以接收按键190输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。电子设备100可以利用马达191产生振动提示(比如来电振动提示)。电子设备100中的指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。电子设备100中的SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。
应理解,在实际应用中,电子设备100可以包括比图1所示的更多或更少的部件,本申请实施例不作限定。图示电子设备100仅是一个范例,并且电子设备100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。如图2所示,该软件架构可以分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),运行时和系统库,以及Linux内核层。
应用程序层是操作系统的最上一层,包括操作系统的原生应用程序,例如相机、图库、日历、蓝牙、音乐、视频、信息等等。本申请实施例涉及的应用程序简称应用,为能够实现某项或多项特定功能的软件程序。通常,电子设备中可以安装多个应用。比如,相机应用、邮箱应用、智能家居控制应用等。下文中提到的应用,可以是电子设备出厂时已安装的系统应用,也可以是用户在使用电子设备的过程中从网络下载或从其他电子设备获取的第三方应用。
当然,对于开发者来说,开发者可以编写应用程序并安装到该层。一种可能的实现方式中,应用程序可以使用Java语言开发,通过调用应用程序框架层所提供的应用程序编程接口(Application Programming Interface,API)来完成,开发者可以通过应用程序框架来与操作系统的底层(例如内核层等)进行交互,开发自己的应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口和编程框架。应用程序框架层可以包括一些预先定义的函数。应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资 源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括文件(例如文档、视频、图像、音频),文本等信息。
视图系统包括可视控件,例如显示文字、图片、文档等内容的控件等。视图系统可用于构建应用程序。显示窗口中的界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备的通信功能。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。
运行时包括核心库和虚拟机。运行时负责系统的调度和管理。
系统的核心库包含两部分:一部分是Java语言需要调用的功能函数,另一部分是系统的核心库。应用程序层和应用程序框架层运行在虚拟机中。以Java举例,虚拟机将应用程序层和应用程序框架层的Java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器,媒体库,三维图形处理库(例如:OpenGL ES),二维图形引擎(例如:SGL)、图像处理库等。表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了二维和三维图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.564,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。二维图形引擎是二维绘图的绘图引擎。
内核(kernel)层提供操作系统的核心系统服务,如安全性、内存管理、进程管理、网络协议栈和驱动模型等都基于内核层实现。内核层同时也作为硬件和软件栈之间的抽象层。该层有许多与电子设备相关的驱动程序,主要的驱动有:显示驱动;作为输入设备的键盘驱动;基于内存技术设备的Flash驱动;照相机驱动;音频驱动;蓝牙驱动;WiFi驱动等。
需要理解的是,如上所述的功能服务只是一种示例,在实际应用中,电子设备也可以按照其他因素来划分为更多或更少的功能服务,或者可以按照其他方式来划分各个服务的功能,或者也可以不划分功能服务,而是按照整体来工作。
下面以应用于车辆座舱场景中为例,对本申请实施例提供的方案进行说明。本申请实施例提供的方案应用于其它场景下的实施方式,可以参照下文提供的方法实现,本申请实施例中不再一一详述。
本申请实施例提供的方案的实施过程主要可以分为两个阶段,分别为显示屏发现和管理阶段以及显示屏选择和投屏执行阶段。下面分别对各个阶段对应的方法进行详细说明。
第一阶段:显示屏发现和管理
本申请以下实施例中,以第二电子设备具有多个显示屏的场景为例,对本申请实施例提供的方法进行说明,其它场景下的方法可以参照下文所述的方法,本申请实施例中不再详述。
本申请实施例中,第二电子设备可以采用一芯多屏机制控制多个显示屏。
在本申请一些实施例中,在车辆座舱场景中,第二电子设备可以是座舱中配置的任一组采用一芯多屏控制机制的显示屏所属的电子设备。第二电子设备作为用于接受投屏的电子设备,可以用于发现和管理座舱内配置的所有可以用于作为投屏接收端的显示屏。当车辆座舱中存在可以用于作为投屏接收端的移动电子设备时,第二电子设备还可以用于管理所述移动电子设备的显示屏。其中,所述移动电子设备包括至少一个显示屏。所述移动电子设备可以在与所述第二电子设备建立通信连接后,将自身的所有显示屏的信息上报至第二电子设备,第二电子设备可以基于移动电子设备上报的显示屏信息,对移动电子设备的显示屏进行管理。可选的,所述第二电子设备与所述移动电子设备可以接入座舱局域网中并基于座舱局域网建立通信连接。
在本申请一些实施例中,在车辆座舱场景中,第二电子设备也可以是座舱中存在的任一可以用于作为投屏接收端的移动电子设备。该情况下,第二电子设备可以在接入座舱局域网后确定座舱中配置的显示屏,并可以用于管理座舱中配置的显示屏。
也就是说,上述方法中,无论第二电子设备是座舱中配置的电子设备还是处于座舱中的移动电子设备,第二电子设备都可以用于管理座舱中存在的所有投屏接收端设备的所有显示屏。
本申请实施例中,第二电子设备可以为所管理的多个显示屏(包括第二电子设备自身的多个显示屏以及座舱中其它移动电子设备的显示屏)分别配置对应的显示屏标记和显示屏指示信息,并建立和保存各显示屏对应的显示屏标记与显示屏指示信息之间的映射关系。其中,显示屏标记可以用于标识显示屏以及显示屏所属的电子设备,显示屏标记可以作为不同电子设备间或者电子设备内部用于识别显示屏及其所属的设备的标识信息,不同电子设备之间可以通过显示屏标记来标识显示屏及其所属的电子设备。借助显示屏标记,各电子设备可以将不同显示屏分别虚拟为设备(显示屏标记可以作为虚拟的设备的标识信息),便于不同电子设备间区分同一设备的不同显示屏,因此不同电子设备间能够以显示屏为粒度进行相关交互。显示屏指示信息可以用于指示显示屏,显示屏指示信息可以作为电子设备提供给用户的用于指示显示屏的信息。借助显示屏指示信息,电子设备可以将特定的显示屏(例如第二电子设备所管理的显示屏等)指示给用户,以使用户确定对应的显示屏并区分不同的显示屏。例如,当用户需要查看当前存在哪些显示屏时,电子设备可以将当前存在的各显示屏对应的显示屏指示信息显示在显示屏上,则用户可以根据显示屏指示信息确定当前存在的显示屏,用户还可以通过选择显示屏指示信息来选择目标显示屏。对于显示屏标记和显示屏指示信息,也可以理解为:本申请实施例中所述的显示标记为电子设备内部或电子设备之间使用的用于标识显示屏以及显示屏所属的电子设备的信息,本申请实施例中所述的显示屏指示信息是电子设备呈现给用户的用于标识显示屏的信息。
在本申请一些实施例中,显示屏指示信息可以为显示屏名称等用于标识显示屏的信息。在本申请一些实施例中,显示屏标记可以包括显示屏的标识信息和显示屏所属设备的标识信息。其中,显示屏的标识信息可以是显示屏的名称、位置、显示屏标识码(例如可以是第二电子设备为显示屏分配的代码等)等用于唯一标识显示屏的信息,显示屏所属设备的标识信息可以为设备的名称、设备标识码(例如可以是第二电子设备为设备分配的代码等)等信息。
示例性的,图3a为本申请实施例提供的一种车辆座舱中的显示屏的示意图。如图3a中所示,座舱中前排可以配置有采用一芯多屏控制机制的三个显示屏,三个显示屏的显示屏指示信息可以分别为三个显示屏的名称例如仪表屏、中控屏和副驾屏,其中中控屏为主屏,仪表屏和副驾屏为副屏。座舱中后排可以配置有采用一芯多屏控制机制的两个显示屏,两个显示屏的显示屏指示信息可以分别为两个显示屏的名称例如后排左屏和后排右屏,其中后排左屏为主屏,后排右屏为副屏。座舱中后排位置还存在用户携带的移动电子设备例如平板的显示屏,该显示屏的显示屏指示信息可以为该显示屏的名称例如平板显示屏。当然,座舱中各显示屏的名称不限于上述示例的名称,显示屏指示信息可以是第二电子设备分配的名称,也可以是用户手动设置的名称,本申请实施例中不做具体限制。以前排配置的三个显示屏属于电子设备1、后排配置的两个显示屏属于电子设备2、后排的移动电子设备为电子设备3为例,第二电子设备可以是电子设备1~3中的任一电子设备。例如,第二电子设备可以为电子设备1,该情况下电子设备1为电子设备1~3配置的设备标识信息可以分别为标识码1、2、3。对于座舱中配置的显示屏,电子设备1为中控屏、仪表屏、副驾屏、后排左屏、后排右屏配置的显示屏标识信息可以分别为各显示屏的名称,例如可以分别为“中控屏”、“仪表屏”、“副驾屏”、“后排左屏”、“后排右屏”,则中控屏的显示屏标记可以为1-中控屏,仪表屏的显示屏标记可以为1-仪表屏,副驾屏的显示屏标记为1-副驾屏,后排左屏的显示屏标为2-后排左屏,后排右屏的显示屏标记为2-后排右屏。可选的,电子设备1也可以按照主副屏类型及标号为座舱中配置的显示屏分配显示屏标记。例如电子设备1为中控屏、仪表屏、副驾屏、后排左屏、后排右屏配置的显示屏标记可以分别为1-主屏、1-副屏1、1-副屏2、2-主屏、2-副屏。对于电子设备3的显示屏,若电子设备3仅具有一个显示屏,则可以直接将电子设备3的设备标识信息作为该显示屏的显示屏标记;若电子设备3具有多个显示屏,则可以给多个显示屏标号后作为显示屏的标识信息,进而得到显示屏的显示屏标记。例如,当电子设备3具有2个显示屏时,这2个显示屏的显示屏标记可以分别为3-显示屏1、3-显示屏2。
需要说明的是,图3a所示的场景仅作为一种示例,不对本申请实施例提供的方法适用的场景造成限制。实际应用中,座舱内显示屏所属设备的划分、显示屏标记的配置方式等可以灵活设置,本申请实施例中不做具体限制。
基于上述的显示屏指示信息与显示屏标识之间的映射关系,第二电子设备可以对所在空间即座舱中存在的多个显示屏进行信息记录,并可以在需要时进行调用。第二电子设备还可以根据座舱中显示屏的 增减情况对已保存的映射关系进行更新,从而确保所保存的映射关系与座舱中实际存在的显示屏对应。例如,当座舱中加入新的可以用于作为投屏的电子设备后,第二电子设备可以增加保存该电子设备的显示屏的显示屏指示信息与显示屏标记之间的映射关系;当部分电子设备的显示屏被移出座舱时,第二电子设备可以删除这些显示屏的显示屏指示信息与显示屏标记之间的映射关系。
本申请实施例中,作为一种可选的实施方式,第二电子设备可以在投屏过程中,将多个显示屏的显示屏指示信息与显示屏标记之间的映射关系提供给发起投屏的第一电子设备,使得第一电子设备可以将多个显示屏的显示屏指示信息提供给用户,以供用户从中选择接受投屏的目标显示屏。在用户选择目标显示屏后,第一电子设备可以将目标显示屏的显示屏标记返回给第二电子设备,以使第二电子设备确定用于接受投屏的目标显示屏。该方法中,基于显示屏标记,第二电子设备可以将各显示屏虚拟为独立设备并提供给发起投屏的第一电子设备,从而支持用户在多个显示屏中任意选择接受投屏的显示屏,进而实现第一电子设备对多个显示屏中的任意显示屏进行投屏的效果。
作为另一种可选的实施方式,第二电子设备可以在投屏过程中,在接收到来自第一电子设备的投屏请求后,可以根据多个显示屏的显示屏指示信息与显示屏标记之间的映射关系,将多个显示屏的显示屏指示信息直接提供给用户,以使用户在第二电子设备侧选择接受第一电子设备投屏的目标显示屏。其中,当目标显示屏为其它电子设备的显示屏时,第二电子设备可以根据对应的显示屏标记确定对应的其它电子设备,并指示其它电子设备接受投屏。该方式也可以支持用户在多个显示屏中任意选择接受投屏的显示屏,进而实现第一电子设备对多个显示屏中的任意显示屏进行投屏的效果。
在本申请一些实施例中,所述第二电子设备可以包括投屏单元、多屏映射单元和显示屏管理单元。其中,所述投屏单元用于控制所述第二电子设备与其它电子设备之间的投屏过程。所述多屏映射单元用于建立和维护多个显示屏的显示屏指示信息与显示屏标记之间的映射关系,其中,所述多个显示屏用于作为投屏接收端。所述显示屏管理单元用于发现和管理座舱内配置的所有可以用于作为投屏接收端的显示屏。
参照图3b,本申请实施例提供的一种显示屏发现和管理方法可以包括:
S301:第二电子设备中的投屏单元向多屏映射单元请求获取座舱内存在的显示屏的信息。
S302:多屏映射单元向显示屏管理单元请求获取座舱内存在的显示屏的信息。
S303:显示屏管理单元在确定第二电子设备的显示屏以及与所述第二电子设备建立通信连接的所有电子设备的显示屏后,向多屏映射单元返回多个显示屏的信息;其中,所述多个显示屏包括所述第二电子设备的显示屏以及与所述第二电子设备建立通信连接的所有电子设备的显示屏。
S304:多屏映射单元为所述多个显示屏中的每个显示屏分配对应的显示屏标记,并建立每个显示屏的显示屏指示信息与显示屏标记之间的映射关系;其中,所述显示屏标记用于标识显示屏以及显示屏所属的电子设备。
S305:多屏映射单元保存所述多个显示屏对应的映射关系。
其中,投屏单元可以在需要显示屏对应的映射关系时可以从多屏映射单元进行查询。
其中,上述各步骤的具体实施方式可以参照前述实施例中的相关说明,此处不再赘述。
第二阶段:显示屏选择和投屏执行
参照图4,本申请实施例提供的一种显示屏选择及投屏方法可以包括:
S401:第一电子设备在第一显示屏上显示第一内容。
在本申请一些实施例中,第一内容可以是第一电子设备中安装的系统应用或三方应用中显示的内容。
S402:第一电子设备响应于接收到的第一操作,向第二电子设备发送第一投屏请求;其中,所述第二电子设备用于管理多个显示屏,所述第一操作用于指示发起投屏。
其中,所述第二电子设备管理的显示屏可以是属于所述第二电子设备的显示屏,也可以是属于其它电子设备的显示屏。所述第一投屏请求用于请求向所述第二电子设备所管理的显示屏投屏。
在本申请一些实施例中,第一电子设备可以为移动电子设备,第二电子设备可以为座舱系统、座舱中控、座舱内的电子设备等。可选的,第一电子设备处于座舱内。
本申请实施例中,第一电子设备与第二电子设备之间可以采用无线通信方式或有线通信方式实现投屏。其中,基于无线通信方式的投屏技术例如可以包括数字生活网络联盟(digital living network alliance,DLNA)投屏技术、无线投屏技术等;基于有线通信方式实现的投屏技术为有线投屏技术。
当第一电子设备与第二电子设备采用无线通信方式实现投屏时,第一电子设备和第二电子设备可以 基于相同通信协议接入同一局域网中并建立通信连接。当第一电子设备与第二电子设备采用有线通信方式实现投屏时,第一电子设备和第二电子设备可以在被同一传输线(例如数据线等)连接后建立通信连接。
本申请实施例中对第一电子设备与第二电子设备建立通信连接的具体时机不做限制。例如,第一电子设备和第二电子设备可以在第一电子设备显示第一内容之前建立通信连接;或者,第一电子设备可以在显示第一内容之后,在接收第一操作之前,与第二电子设备建立通信连接。或者,第一电子设备可以在接收第一操作之后,在向第二电子设备发送第一投屏请求之前,与第二电子设备建立通信连接。
在步骤S402中,在第一电子设备与第二电子设备采用无线通信方式实现投屏的场景下,第一电子设备可以通过网络向第二电子设备发送第一投屏请求。在第一电子设备与第二电子设备采用有线通信方式实现投屏的场景下,第一电子设备可以通过与第二电子设备间的传输线向第二电子设备发送第一投屏请求。
作为一种可选的实施方式,第一电子设备在第一显示屏上显示第一内容时,可以同时显示用于触发投屏的投屏控件。当接收到作用于投屏控件的操作时,第一电子设备确定发起投屏。若第一电子设备确定第二电子设备可以接受第一电子设备的投屏,则第一电子设备可以向第二电子设备发送第一投屏请求,以请求向第二电子设备所管理的显示屏投屏。
示例1、以第一电子设备为手机为例,如图5a中所示,第一电子设备显示的第一内容可以是视频内容,第一电子设备显示的视频应用界面中可以包括用于触发投屏的投屏控件,当用户点击该投屏控件时,第一电子设备可以发起对视频内容的投屏。
作为另一种可选的实施方式,第一电子设备在第一显示屏上显示第一内容后,可以响应于接收到的用于触发显示投屏控件的操作,显示包含投屏控件的界面,并在接收到作用于投屏控件的操作时,第一电子设备确定发起投屏。若第一电子设备确定第二电子设备可以接受第一电子设备的投屏,则第一电子设备可以向第二电子设备发送第一投屏请求,以请求向第二电子设备所管理的显示屏投屏。
示例2、基于以上示例1所示的场景,用户也可以通过在显示屏上进行操作触发第一电子设备显示图5b中所示的下拉控制界面,该界面中包括用于发起无线投屏的投屏控件。当用户点击该控件时,第一电子设备可以发起对上一界面(即视频应用界面)中的内容的投屏。
在本申请一些实施例中,在第一电子设备向第二电子设备发送第一投屏请求后,用户还需要在第二电子设备管理的多个显示屏中选择接受第一电子设备投屏的目标显示屏。其中,第一电子设备和第二电子设备在将第二电子设备管理的多个显示屏提供给用户,以使用户从中选择接受第一电子设备投屏的目标显示屏时,可以采用如下任一种方式实现:
方式1:第一电子设备和第二电子设备协同提供在第一电子设备侧选择目标显示屏的体验。
该方式中,第一电子设备可以从第二电子设备获取第二电子设备所管理的多个显示屏,并将所述多个显示屏提供给用户。在用户从中选择接受第一电子设备投屏的目标显示屏后,第一电子设备再将目标显示屏指示给第二电子设备。基于该方式,用户可以仅在第一电子设备侧进行投屏相关的控制,便捷性较高。
方式2:第二电子设备提供在第二电子设备侧选择目标显示屏的体验。
该方式中,第二电子设备可以直接将所管理的多个显示屏提供给用户,并确定用户从中选择的接受第一电子设备投屏的目标显示屏。基于该方式,用户可以在第一电子设备侧发起投屏,在第二电子设备侧选择接受投屏的显示屏,能够减少第一电子设备和第二电子设备之间的交互次数,提高第一电子设备、第二电子设备的处理效率。
下面对上述两种方式进行详细说明。
本申请实施例中,作为一种可选的实施方式,在采用上述方式1进行目标显示屏的选择的情况下,在上述步骤S402之后,第一电子设备、第二电子设备可以执行以下步骤S403~S406:
S403:第二电子设备响应于接收到的所述第一投屏请求,向第一电子设备发送第一指示信息;其中,所述第一指示信息用于指示所述第二电子设备管理的多个显示屏以及所述多个显示屏所属的电子设备。
其中,在一种可能的情况中,所述多个显示屏包括所述第二电子设备的多个显示屏。在另一种可能的情况中,所述多个显示屏包括所述第二电子设备的至少一个显示屏以及所述第二电子设备所在空间中的其它电子设备的显示屏。
在本申请一些实施例中,所述第一指示信息可以包括所述多个显示屏中每个显示屏对应的显示屏标记和显示屏指示信息之间的映射关系。其中,关于显示屏标记和显示屏指示信息,可以参照前述实施例中的说明,此处不再重述。
本申请实施例中,当第一电子设备与第二电子设备采用无线通信方式实现投屏时,第一电子设备与第二电子设备采用的通信协议中可以扩展所包含的协议字段来承载第一电子设备与第二电子设备之间传输的显示屏相关的指示信息(例如第一指示信息、下文中所述的第二指示信息等)。具体的,第一电子设备与第二电子设备采用的通信协议中可以增加虚拟设备字段,并将虚拟设备字段与显示屏信息进行绑定,使得第一电子设备、第二电子设备能够识别各个显示屏。其中,第二电子设备可以通过虚拟设备字段,将所述第二电子设备所管理的多个显示屏对应的显示屏标记与显示屏指示信息之间的映射关系传输至第一电子设备,则第一电子设备可以获知第二电子设备管理的多个显示屏,并可以将第二电子设备管理的多个显示屏通知给用户。第一电子设备也可以通过虚拟设备字段,将用户从第二电子设备管理的多个显示屏中所选择的显示屏对应的显示屏标记传输至第二电子设备,以使第二电子设备获知用户所选择的显示屏。
其中,基于显示屏标记可以唯一标识一个电子设备的一个显示屏,因此能够将同一设备的不同显示屏分别虚拟为虚拟设备,从而区分同一电子设备的不同显示屏。通过在通信协议扩展的虚拟设备字段中传输显示屏标记或者显示屏标记与显示屏指示信息之间的映射关系,能够将虚拟设备与多显示屏对应,将虚拟设备字段与多显示屏对应,进而支持其它电子设备根据虚拟设备字段中的信息识别区分各个显示屏。
示例性的,在第一电子设备与第二电子设备采用DLNA投屏技术实现投屏的场景中,第一电子设备与第二电子设备可以扩展通用即插即用(universal plug and play,简称UPnP)协议字段,通过在UPnP协议中增加虚拟设备字段,来传输第一电子设备与第二电子设备间的显示屏相关的信息。其中,UPnP协议是DLNA的底层协议,可以在DLNA投屏过程中用于发现设备、传输消息等。例如,第二电子设备可以通过UPnP协议中扩展的虚拟设备字段将第一指示信息传输至第一电子设备。
示例性的,在第一电子设备与第二电子设备采用无线投屏技术实现投屏的场景中,第一电子设备与第二电子设备进行通信时采用的协议可以是miracast协议、cast+协议等。第一电子设备和第二电子设备可以在这些协议中增加虚拟设备字段,则在使用这些协议时,第一电子设备和第二电子设备可以基于协议中增加的虚拟设备字段传输显示屏相关的信息。例如,第二电子设备可以通过miracast协议或cast+协议中扩展的虚拟设备字段将第一指示信息传输至第一电子设备。
在步骤S403中,在第一电子设备与第二电子设备采用无线通信方式实现投屏的场景下,第二电子设备可以按照上述方法,通过网络向第一电子设备发送第一指示信息。在第一电子设备与第二电子设备采用有线通信方式实现投屏的场景下,第二电子设备可以通过与第一电子设备间的传输线向第一电子设备发送第一指示信息。
示例性的,步骤S403可以由第二电子设备中的投屏单元和多屏映射单元协同执行。其中,投屏单元可以从多屏映射单元获取第一指示信息的内容,并向第一电子设备发送第一指示信息。
S404:第一电子设备根据所述第一指示信息,在第一显示屏上显示显示屏选择界面,所述显示屏选择界面中包括用于指示所述多个显示屏的信息。
在本申请一些实施例中,用于指示所述多个显示屏的信息可以包括每个显示屏的显示屏指示信息。关于显示屏指示信息可以参照前述实施例中的说明,此处不再重述。
可选的,所述显示屏选择界面可以全屏显示,也可以窗口化显示。
示例3、以第二电子设备为车辆为例,基于以上示例1或示例2所述的场景,若第二电子设备所管理的显示屏仅包括属于第二电子设备的多个显示屏例如车辆座舱内的中控屏、副驾屏、后排左屏、后排右屏,则在第一电子设备接收到用户作用于投屏控件的操作后,第一电子设备可以显示图6a中所示的显示屏选择界面,该界面中可以包括用于指示中控屏、副驾屏、后排左屏、后排右屏的信息,例如显示屏图标、显示屏名称等。若第二电子设备所管理的显示屏包括上述属于第二电子设备的多个显示屏以及属于车辆座舱内其它电子设备的显示屏例如平板显示屏,则在第一电子设备接收到用户作用于投屏控件的操作后,第一电子设备可以显示图6b中所示的显示屏选择界面,该界面中可以包括用于指示中控屏、副驾屏、后排左屏、后排右屏以及平板显示屏的信息。
在本申请一些实施例中,第一电子设备在显示显示屏选择界面之前,可以先显示设备选择界面,其 中,设备选择界面中包括第一电子设备所连接的至少一个电子设备,所述至少一个电子设备包括所述第二电子设备。当第一电子设备接收到在所述至少一个电子设备中选择所述第二电子设备的操作后,再显示所述显示屏选择界面。
示例4、基于以上示例3所述的场景,第一电子设备在显示图6a所示的显示屏选择界面之前,还可以显示图6c中所示的设备选择界面,该界面中包括用于指示座舱中控设备的信息。第一电子设备可以在接收到作用于该界面中的选择汽车的操作后,再显示图6a所示的显示屏选择界面。当第二电子设备所管理的显示屏还包括车辆座舱内其它电子设备例如平板的显示屏时,第一电子设备在显示图6a所示的显示屏选择界面之前,还可以显示图6d中所示的设备选择界面,该界面中包括用于指示汽车和平板的信息。第一电子设备可以在接收到作用于该界面中的选择汽车的操作后,再显示图6a所示的显示屏选择界面。
S405:第一电子设备响应于接收到的第二操作,向第二电子设备发送第二指示信息;其中,所述第二操作为从所述多个显示屏中选择目标显示屏的操作,所述第二指示信息用于指示所述目标显示屏。
其中,所述第二指示信息可以为所述目标显示屏的显示屏指示信息,关于显示屏指示信息,可以参照前述实施例中的说明,此处不再重述。
可选的,所述第二指示信息还可以用于指示所述目标显示屏所属的电子设备。则所述第二指示信息可以为所述目标显示屏的显示屏标记。关于显示屏标记,可以参照前述实施例中的说明,此处不再重述。
示例性的,在第一电子设备与第二电子设备采用DLNA投屏技术实现投屏的场景中,第一电子设备可以通过UPnP协议中扩展的虚拟设备字段将第二指示信息传输至第二电子设备。在第一电子设备与第二电子设备采用无线投屏技术实现投屏的场景中,第一电子设备可以通过无线通信协议中扩展的虚拟设备字段将第二指示信息传输至第二电子设备。
在步骤S405中,在第一电子设备与第二电子设备采用无线通信方式实现投屏的场景下,第一电子设备可以通过网络向第二电子设备发送第二指示信息。在第一电子设备与第二电子设备采用有线通信方式实现投屏的场景下,第一电子设备可以通过与第二电子设备间的传输线向第二电子设备发送第二指示信息。
S406:第二电子设备根据所述第二指示信息确定所述目标显示屏。并执行步骤S409。
其中,第二电子设备可以确定所述第二指示信息中的显示屏指示信息所指示的显示屏为目标显示屏。
示例性的,步骤S406可以由第二电子设备中的投屏单元执行。
本申请实施例中,作为另一种可选的实施方式,在采用上述方式2进行目标显示屏的选择的情况下,在上述步骤S402之后,第二电子设备可以执行以下步骤S407~S408:
S407:第二电子设备响应于接收到的所述第一投屏请求,在第二显示屏上显示显示屏选择界面,所述显示屏选择界面中包括用于指示所述第二电子设备管理的多个显示屏的信息。
其中,第二显示屏可以为第二电子设备的任一显示屏。
在本申请一些实施例中,用于指示所述多个显示屏的信息可以包括每个显示屏的显示屏指示信息。关于显示屏指示信息可以参照前述实施例中的说明,此处不再重述。
可选的,所述显示屏选择界面可以全屏显示,也可以窗口化显示。
第二电子设备显示显示屏选择界面的方式可以参照前述实施例中所述的第一电子设备显示显示屏选择界面的方式,此处不再详述。
示例性的,步骤S407可以由第二电子设备中的投屏单元和多屏映射单元协同执行。其中,投屏单元可以从多屏映射单元获取多个显示屏的信息,并显示给用户。
S408:第二电子设备响应于接收到的第三操作,确定目标显示屏;其中,所述第三操作为从所述多个显示屏中选择所述目标显示屏的操作。并执行步骤S409。
示例性的,步骤S408可以由第二电子设备中的投屏单元执行。
S409:第二电子设备确定目标显示屏所属的目标电子设备。
在本申请一些实施例中,在采用上述方式1进行目标显示屏的选择的情况下,第二电子设备可以根据来自第一电子设备的第二指示信息确定目标显示屏及目标显示屏所属的目标电子设备。其中,当第二指示信息仅包括显示屏指示信息时,第二电子设备可以根据该显示屏指示信息确定对应的目标显示屏,根据已保存的显示屏指示信息与显示屏标记之间的映射关系则可以确定该显示屏指示信息对应的显示屏标记,进而根据该显示屏标记确定目标显示屏所属的目标电子设备。当第二指示信息包括显示屏标记 时,第二电子设备可以根据显示屏标记确定对应的目标显示屏及其所属的目标电子设备。
在本申请一些实施例中,在采用上述方式2进行目标显示屏的选择的情况下,第二电子设备可以根据用户进行的操作确定用户所选择的显示屏指示信息,进而确定对应的目标显示屏,根据已保存的显示屏指示信息与显示屏标记之间的映射关系则可以确定用户选择的显示屏指示信息对应的显示屏标记,进而根据该显示屏标记确定目标显示屏所属的目标电子设备。
示例性的,步骤S409可以由第二电子设备中的投屏单元执行。
在本申请一些实施例中,第二电子设备按照上述方法确定目标显示屏后,可以控制实现第一电子设备至目标显示屏的投屏,即将第一电子设备的投屏内容(即第一内容)显示在目标显示屏上。其中,第二电子设备获取第一电子设备的投屏内容的方式可以是以下任一种方式:
方式1:直接接收来自第一电子设备的投屏内容。
方式2:接收第一电子设备指示的投屏内容的地址,并从所述地址中获取投屏内容。
在本申请一些实施例中,作为一种可选的实施方式,在第二电子设备获取投屏内容的方式是上述方式1,即直接接收来自第一电子设备的投屏内容的情况下,在上述步骤S409之后,第一电子设备、第二电子设备可以执行以下步骤S410~S413:
S410:第二电子设备确定所述目标电子设备是否为第二电子设备;若是,执行步骤S411,否则,执行步骤S412。
S411:第二电子设备在所述目标显示屏上显示来自所述第一电子设备的所述第一内容。
其中,在第一电子设备与第二电子设备采用无线通信方式实现投屏的场景下,第一电子设备可以通过网络向第二电子设备发送第一内容。在第一电子设备与第二电子设备采用有线通信方式实现投屏的场景下,第一电子设备可以通过与第二电子设备间的传输线向第二电子设备发送第一内容。
示例5、基于以上示例3所述的场景,第一内容可以为第一电子设备显示的视频应用界面中的视频内容。当用户在图6a所示的显示屏选择界面中选择中控屏后,第一电子设备将视频内容投屏至中控屏,则如图7a所示,第一电子设备不再显示视频内容。可选的,第一电子设备可以显示已投屏的提示信息或者显示接受投屏的目标显示屏或目标显示屏所属的电子设备等信息。如图7b所示,车辆可以在中控屏上显示该视频内容。
S412:第二电子设备将所述第一内容发送至所述目标电子设备并指示所述目标电子设备显示所述第一内容。
示例性的,步骤S410~S412可以由第二电子设备中的投屏单元执行。
S413:目标电子设备在目标显示屏上显示所述第一内容。
示例6、基于以上示例3所述的场景,第一内容可以为第一电子设备显示的视频应用界面中的视频内容。当用户在图6b所示的显示屏选择界面中选择平板显示屏后,第一电子设备将视频内容投屏至平板显示屏,则如图8a所示,第一电子设备不再显示视频内容。可选的,第一电子设备可以显示已投屏的提示信息或者显示接受投屏的目标显示屏或目标显示屏所属的电子设备等。如图8b所示,车辆座舱内的平板显示屏上可以显示该视频内容。
在本申请一些实施例中,作为另一种可选的实施方式,在第二电子设备获取投屏内容的方式是上述方式2,即接收第一电子设备指示的投屏内容的地址后从所述地址中获取投屏内容的情况下,在上述步骤S409之后,第一电子设备、第二电子设备可以执行以下步骤S414~S417:
S414:第二电子设备确定所述目标电子设备是否为第二电子设备;若是,执行步骤S415,否则,执行步骤S416。
S415:第二电子设备从所述第一电子设备指示的第一地址获取所述第一内容,并在目标显示屏上显示所述第一内容,其中,所述第一地址为第一内容的地址。
其中,第一电子设备可以通过统一资源定位符(uniform resource locator,URL)将所述第一地址指示给第二电子设备。在第一电子设备与第二电子设备采用无线通信方式实现投屏的场景下,第一电子设备可以通过网络向第二电子设备指示第一地址。在第一电子设备与第二电子设备采用有线通信方式实现投屏的场景下,第一电子设备可以通过与第二电子设备间的传输线向第二电子设备指示第一地址。
S416:第二电子设备将所述第一地址指示给所述目标电子设备并指示所述目标电子设备显示从所述第一地址获取的第一内容。
示例性的,步骤S414~S416可以由第二电子设备中的投屏单元执行。
S417:目标电子设备从所述第一地址获取所述第一内容,并在目标显示屏上显示所述第一内容。
上述实施例提供的投屏方式中,接受投屏的目标显示屏是由用户选择的。在本申请一些实施例中,接受投屏的目标显示屏也可以是第一电子设备或第二电子设备自动选择的。则上述图4所示的方法中所述的确定目标显示屏的方法(步骤S403~S406或者步骤S407~S408)可以替换为以下所述的任一种自动选择目标显示屏的方法:
1)在用户在第一电子设备上触发投屏后,或者,在用户在第一电子设备上触发投屏并在第一电子设备提供的设备列表中选择第二电子设备后,第一电子设备可以向第二电子设备发送投屏请求,第二电子设备响应于该投屏请求,可以将设定的默认显示屏(例如中控屏等)作为接受投屏的目标显示屏,或者,若能够识别第一电子设备对应的用户的位置(例如主驾位、副驾位等座位位置),则可以将该位置对应的显示屏作为接受投屏的目标显示屏。该过程中无需用户手动选择接受投屏的显示屏。
示例7、基于以上示例1所述的场景,当第一电子设备对应的用户为车辆座舱内的主驾位用户时,在主驾位用户点击图5a中所示的视频控件后,第一电子设备可以从显示图5a所示的界面切换为显示图7a所示的界面,在图7a所示的界面中,第一电子设备不再显示视频内容,可以显示投屏中的提示信息。可选的,第一电子设备还可以显示接受投屏的目标显示屏或目标显示屏所属的电子设备等。在主驾位用户点击图5a中所示的视频控件后,如图7b中所示,第二电子设备即车辆可以在主驾位用户所在座位对应的显示屏即中控屏上显示视频内容。因此主驾位用户在触发投屏后无需进行任何操作即可投屏到所在座位对应的显示屏上。
示例8、基于以上示例4所述的场景,当第一电子设备对应的用户为车辆座舱内的主驾位用户时,在主驾位用户在图6d中所示的设备选择界面中选择车辆后,第一电子设备可以从显示图6d所示的界面切换为显示图7a所示的界面。在主驾位用户在图6d中所示的设备选择界面中选择车辆后,如图7b中所示,第二电子设备即车辆可以在主驾位用户所在座位对应的显示屏即中控屏上显示视频内容。
2)在第一电子设备与第二电子设备建立通信连接后,或者在第一电子设备与第二电子设备协同时,用户可以在第一电子设备上选择所在的位置,第一电子设备可以根据用户选择的位置确定用户对应的显示屏。例如用户所在的位置可以通过座舱内的座位区分,则第一电子设备可以向用户提供座舱内的多个座位(例如主驾位、副驾位、后排左侧座位、后排右侧座位等),用户可以从中选择所在的座位,则第一电子设备可以根据用户选择的座位确定用户对应的显示屏。例如,当副驾位用户选择副驾位作为所在的座位时,第一电子设备可以确定该用户对应的显示屏为副驾屏。则在用户在第一电子设备上触发投屏后,或者,在用户在第一电子设备上触发投屏并在第一电子设备提供的设备列表中选择第二电子设备后,第一电子设备和第二电子设备可以将用户对应的显示屏(即用户选择的位置对应的显示屏)作为接受投屏的目标显示屏。该过程中也无需用户手动选择接受投屏的显示屏。其中,第一电子设备可以在投屏过程中将用户提前选择的位置对应的显示屏作为目标显示屏指示给第二电子设备,或者,第一电子设备可以将用户提前选择的位置指示给第二电子设备,第二电子设备可以根据该位置确定对应的目标显示屏。
在本申请一些实施例中,在第一电子设备投屏到目标显示屏后,用户可以在第一电子设备或第二电子设备上控制切换接受投屏的显示屏。
作为一种可选的实施方式,第一电子设备在投屏后可以显示用于触发切换投屏的切换控件。可选的,该切换控件可以为投屏后第一电子设备所显示的用于指示投屏状态或接受投屏的目标显示屏或接受投屏的目标电子设备的控件,其中,投屏状态为投屏中。当第一电子设备接收到作用于切换控件的操作时,第一电子设备可以将当前接受投屏的设备(即第二电子设备)、当前接受投屏的目标显示屏、该设备所管理的多个显示屏等信息显示给用户。用户可以通过进行相应操作来切换接受投屏的目标显示屏,第一电子设备可以将用户指示的切换后的目标显示屏指示给第二电子设备,则第二电子设备可以切换为在切换后的目标显示屏上显示来自第一电子设备的投屏内容。
示例9、基于以上示例7或示例8所述的场景,切换控件可以为图7a中所示的投屏中的提示信息对应的控件。当第一电子设备接收到用户作用于该控件的操作时,第一电子设备可以显示图9a中所示的显示屏切换界面,该界面中包括当前接受投屏的设备、当前接受投屏的目标显示屏等信息,还可以包括其它控制信息,本申请实施例中不做具体限制。用户可以通过点击用于指示当前接受投屏的目标显示屏的控件,进行目标显示屏的切换。例如,当用户选择将投屏切换到后排右屏时,如图9b中所示,中控屏可以停止显示视频内容,后排右屏上则可以开始显示视频内容。
作为另一种可选的实施方式,在第一电子设备投屏到目标显示屏后,用户可以在目标显示屏上选择 切换投屏到其它显示屏。例如,用户可以通过在目标显示屏上执行设定操作来控制目标显示屏上的投屏内容流转至其它显示屏上,从而实现切换接受投屏的显示屏的效果。再例如,目标显示屏上可以显示用于控制切换显示屏的控件,当接收到用户对该控件进行的操作时,目标显示屏上可以显示其它显示屏的列表,用户可以从中选择切换后接受投屏的显示屏,从而使投屏内容从目标显示屏流转至用户选择的显示屏,实现切换接受投屏的显示屏的效果。
作为另一种可选的实施方式,在第一电子设备投屏到目标显示屏后,用户还可以在目标显示屏上通过手势操作将投屏内容流转至其他显示屏。例如,目标显示屏为后排左屏时,通过用户的三指右滑操作,后排左屏的投屏内容可以流转至后排右屏。
基于上述实施例提供的方法,第一电子设备、第二电子设备之间能够基于无线通信方式,实现第一电子设备至第二电子设备关联的任一显示屏的投屏。其中,在投屏方式上,第一电子设备、第二电子设备之间可以采用DLNA投屏、无线投屏等方式。在目标屏选择方式上,第一电子设备、第二电子设备可以支持在任一设备侧进行选择。在数据传输方式上,可以是投屏内容直接传输到投屏接收端的方式,也可以投屏内容的地址传输到投屏接收端使得投屏接收端根据地址获取投屏内容的方式。在投屏效果上,第一电子设备可以投屏到第二电子设备的任意显示屏上,也可以投屏到第二电子设备所连接的其它电子设备的任意显示屏上,还可以在投屏后在任一电子设备上控制切换接受投屏的显示屏。因此,上述实施例提供的实现投屏的方法十分灵活,且能够以显示屏为粒度进行投屏,而不是以设备为粒度进行投屏,因此能够灵活选择接受投屏的显示屏,实用性更强。此外,上述方法在投屏过程中对第一电子设备的资源占用基本无影响。
按照上述实施例提供的方法,同一电子设备中不同应用的内容能够分别投屏到其它电子设备所管理的不同显示屏上,不同电子设备中的内容也能够分别投屏到其它电子设备所管理的不同显示屏上。因此,本申请实施例提供的方案能够在多屏多端环境下,实现单设备或多设备同时投屏到多个显示屏的效果,实用性较高。
示例性的,如图10a所示,手机1中显示视频界面,手机2中显示通话界面,在车辆的座舱内包括中控屏、副驾屏、后排左屏、后排右屏时,手机1和车辆可以按照上述实施例中所述的第一电子设备投屏至第二电子设备管理的显示屏的方法,将视频界面中的视频内容投屏至中控屏进行显示,手机2和车辆可以按照上述实施例中所述的第一电子设备投屏至第二电子设备管理的显示屏的方法,将通话界面投屏至后排右屏进行显示。其中,手机1和手机2可以同时进行投屏且互不干扰。则如图10b所示,车辆座舱内的中控屏上可以显示视频内容,后排右屏上可以显示通话界面。
基于以上实施例及相同技术构思,本申请实施例还提供一种显示屏选择方法,如图11中所示,该方法可以包括:
S1101:第一电子设备响应于接收到的第一操作,向第二电子设备发送第一请求;其中,所述第二电子设备用于管理多个显示屏,所述第一请求用于请求投屏。
在本申请一些实施例中,所述第一电子设备可以用于作为发起投屏的电子设备,第一电子设备可以将自身显示屏上显示的内容投屏至多个显示屏中的任意显示屏,所述第二电子设备可以用于管理所述多个显示屏。在本申请一些实施例中,第一电子设备可以为移动电子设备,第二电子设备可以为处于车辆座舱内的电子设备。
在本申请一些实施例中,所述多个显示屏可以属于所述第二电子设备;或者,所述多个显示屏包括:所述第二电子设备的至少一个显示屏,以及,与所述第二电子设备建立通信连接的至少一个其它电子设备的显示屏。
示例性的,第一电子设备可以为前述实施例中所述的第一电子设备,第二电子设备可以为前述实施例中所述的第二电子设备,所述其它电子设备可以为前述实施例中所述的座舱中存在的任一可以用于作为投屏接收端的移动电子设备等。
在本申请一些实施例中,第一电子设备在响应于接收到的第一操作,向第二电子设备发送第一请求之前,可以在第一显示屏上显示第一内容,则第一内容可以作为投屏内容。示例性的,第一内容可以为前述实施例中所述的第一内容,例如可以为图5a中所示的视频内容等。
在本申请一些实施例中,第一操作可以用于触发投屏。示例性的,所述第一操作可以为前述实施例中所述的用于触发显示投屏控件的操作。
示例性的,所述第一请求可以为前述实施例中所述的第一投屏请求。
S1102:第一电子设备接收来自所述第二电子设备的第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备。
在本申请一些实施例中,所述第一指示信息包括所述多个显示屏中每个显示屏的显示屏指示信息与显示屏标识信息之间的对应关系;其中,任一显示屏的显示屏指示信息用于指示所述显示屏,任一显示屏的显示屏标识信息用于指示所述显示屏以及所述显示屏所属的电子设备。
示例性的,所述显示屏指示信息可以为前述实施例中所述的显示屏指示信息,所述显示屏标识信息可以为前述实施例中所述的显示屏标记。所述第一指示信息可以为前述实施例中所述的第一指示信息。
在本申请一些实施例中,第一电子设备与第二电子设备可以通过有线通信方式或无线通信方式进行通信。
作为一种可选的实施方式,第一电子设备可以先基于第一通信协议与所述第二电子设备建立无线通信连接;其中,所述第一通信协议可以为数字生活网络联盟DLNA投屏协议或无线投屏协议。则第一电子设备可以接收所述第二电子设备采用所述第一通信协议发送的第一消息;其中,所述第一消息中包含用于承载所述第一指示信息的第一目标字段;第一电子设备可以根据所述第一消息中的所述第一目标字段确定所述第一指示信息。该过程具体可参照前述实施例中的相关说明,此处不再赘述。
示例性的,所述第一目标字段可以为前述实施例中所述的虚拟设备字段。
作为另一种可选的实施方式,第一电子设备可以先基于第一传输线与所述第二电子设备建立有线通信连接,则第一电子设备可以接收所述第二电子设备通过所述第一传输线发送的所述第一指示信息。该过程具体可参照前述实施例中的相关说明,此处不再赘述。
S1103:第一电子设备根据所述第一指示信息,显示第一信息;其中,所述第一信息用于指示所述多个显示屏。
在本申请一些实施例中,基于第一指示信息,第一电子设备可以确定第二电子设备所管理的多个显示屏,进而可以将多个显示屏提供给用户,以使用户从中选择接受投屏的电子设备。
示例性的,第一电子设备可以通过前述实施例中所述的显示屏选择界面向用户指示所述多个显示屏。所述第一信息可以为前述实施例中所述的显示屏选择界面中的用于指示多个显示屏的信息,例如显示屏图标、显示屏名称等。
S1104:第一电子设备响应于接收到的第二操作,向所述第二电子设备发送第二指示信息;其中,所述第二操作用于从所述多个显示屏中选择第一目标显示屏,所述第二指示信息用于指示所述第一目标显示屏以及所述第一目标显示屏所属的第一目标电子设备,所述第一目标显示屏用于作为接受投屏的显示屏。
示例性的,所述第二操作可以为前述实施例中所述的第二操作。
在本申请一些实施例中,所述第二指示信息包括所述第一目标显示屏的显示屏标识信息。示例性的,所述第二指示信息可以为前述实施例中所述的第二指示信息。
在本申请一些实施例中,所述第一目标电子设备可以为处于车辆座舱内的电子设备,例如可以是属于第二电子设备的显示屏,也可以是由第二电子设备所管理的、属于车辆座舱内的其它电子设备的显示屏。
在本申请一些实施例中,在第一电子设备基于第一通信协议与所述第二电子设备建立无线通信连接的情况下,第一电子设备可以通过第一通信协议向第二电子设备发送第二指示信息。具体的,第一电子设备可以采用所述第一通信协议向所述第二电子设备发送第二消息;其中,所述第二消息中包含用于承载所述第二指示信息的第二目标字段。示例性的,所述第二目标字段可以为前述实施例中所述的虚拟设备字段。
在本申请一些实施例中,在第一电子设备基于第一传输线与所述第二电子设备建立有线通信连接的情况下,第一电子设备可以通过所述第一传输线向所述第二电子设备发送所述第二指示信息。
在本申请一些实施例中,第一电子设备在向第二电子设备发送第二指示信息后,可以停止在第一显示屏上显示第一内容,并可以向第二电子设备发送第一内容或用于指示获取第一内容的地址的第一地址信息,其中,所述第一内容的地址用于所述第一目标电子设备获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
示例性的,所述第一地址信息可以为前述实施例中所述的URL。
在本申请一些实施例中,第一电子设备在将投屏内容指示给第二电子设备之后,可以更改接受投屏 的显示屏。其中,第一电子设备可以响应于接收到的第三操作,在所述第一显示屏上显示第二信息;其中,所述第二信息用于指示至少一个显示屏;所述至少一个显示屏包括所述多个显示屏中除所述第一目标显示屏以外的显示屏。在显示第二信息后,第一电子设备可以响应于接收到的第四操作,向所述第二电子设备发送第三指示信息;其中,所述第四操作用于从所述至少一个显示屏中选择第二目标显示屏,所述第三指示信息用于指示切换为在第二目标显示屏上显示所述第一内容,所述第三指示信息还用于指示所述第二目标显示屏以及所述第二目标显示屏所属的第二目标电子设备。
示例性的,所述第三操作可以为前述实施例中所述的作用于切换控件的操作。所述第二信息可以为前述实施例中所述的显示屏切换界面中的用于指示显示屏的信息,例如图9a中所示的信息等。所述第四操作可以为前述实施例中所述的选择切换后接受投屏的显示屏的操作。所述第三指示信息可以包括第二目标显示屏的显示屏标识信息例如第二目标显示屏的显示屏标记等。
在本申请一些实施例中,第一电子设备在将第一内容投屏至第一目标显示屏的情况下,第一电子设备还可以同时投屏至其它显示屏。具体的,第一电子设备可以响应于接收到的第五操作,显示所述第一信息;并响应于接收到的第六操作,向所述第二电子设备发送第三指示信息;其中,所述第六操作用于从所述多个显示屏中选择第三目标显示屏,所述第三指示信息用于指示所述第三目标显示屏以及所述第三目标显示屏所属的第三目标电子设备,所述第三目标显示屏用于作为接受投屏的显示屏。该过程的具体执行可以参照用户选择第一目标显示屏的过程,此处不再赘述。
在本申请一些实施例中,第一电子设备在将第一内容投屏至第一目标显示屏的情况下,第一电子设备还可以同时投屏至其它电子设备所管理的显示屏。具体的,第一电子设备可以响应于接收到的第七操作,向第三电子设备发送第二请求;其中,所述第三电子设备用于管理多个显示屏,所述第二请求用于请求投屏;接收来自所述第三电子设备的第四指示信息;其中,所述第四指示信息用于指示所述第三电子设备管理的多个显示屏以及每个显示屏所属的电子设备;根据所述第四指示信息,显示第三信息;其中,所述第三信息用于指示所述第三电子设备管理的多个显示屏;响应于接收到的第八操作,向所述第三电子设备发送第五指示信息;其中,所述第八操作用于从所述第三电子设备管理的多个显示屏中选择第四目标显示屏,所述第五指示信息用于指示所述第四目标显示屏以及所述第四目标显示屏所属的第四目标电子设备,所述第四目标显示屏用于作为接受投屏的显示屏。该过程的具体执行可以参照第一电子设备投屏至第二电子设备所管理的第一目标显示屏的过程,此处不再赘述。
上述方法中,第一电子设备所执行的具体步骤可参阅前述实施例中相关的介绍,在此不再过多赘述。
基于以上实施例及相同技术构思,本申请实施例还提供一种显示屏选择方法,如图12中所示,该方法可以包括:
S1201:第二电子设备接收来自第一电子设备的第一请求;其中,所述第二电子设备用于管理多个显示屏,所述第一请求用于请求投屏。
关于第二电子设备接收来自第一电子设备的第一请求的过程及相关处理过程,可以参照上述步骤S1101的相关说明,此处不再赘述。
S1202:第二电子设备响应于所述第一请求,向所述第一电子设备发送第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备。
关于第一指示信息,可以参照上述步骤S1102中的相关说明,此处不再赘述。
在本申请一些实施例中,第二电子设备获取第一指示信息的方式可以参照前述实施例中第一阶段的关于显示屏发现和管理的方法中的说明,此处不再重述。
关于第二电子设备向第一电子设备发送第一指示信息的过程及相关处理过程,可以参照上述步骤S1102的相关说明,此处不再赘述。
S1203:第二电子设备接收来自所述第一电子设备的第二指示信息;其中,所述第二指示信息用于指示第一目标显示屏以及所述第一目标显示屏所属的第一目标电子设备,所述第一目标显示屏用于作为接受投屏的显示屏。
关于第二电子设备接收来自第一电子设备的第二指示信息的过程及相关处理过程,可以参照上述步骤S1104中的相关说明,此处不再赘述。
在本申请一些实施例中,第二电子设备确定第一目标显示屏及其所属的第一目标电子设备后,可以实现将来自第一设备的内容投屏至第一目标显示屏的效果。具体的,第二电子设备可以将来自第一电子设备的第一内容作为投屏内容,也可以将从来自第一电子设备的第一地址信息所指示的地址获取的第一 内容作为投屏内容。其中,第二电子设备接收第一内容或第一地址信息的过程可以参照上述步骤S1104中的相关说明,此处不再赘述。
示例性的,所述第一目标电子设备可以为前述实施例中所述的目标电子设备。
在本申请一些实施例中,在第二电子设备接收来自第一电子设备的第一内容的情况下,当第二电子设备确定所述第一目标电子设备是所述第二电子设备时,可以在所述第一目标显示屏上显示所述第一内容;当第二电子设备确定所述第一目标电子设备不是所述第二电子设备时,可以将所述第一内容发送至所述第一目标电子设备,并指示所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容。该过程具体可以参照前述实施例中步骤S410~S413所述的方法,此处不再赘述。
在本申请一些实施例中,在第二电子设备接收来自第一电子设备的第一地址信息的情况下,当第二电子设备确定所述第一目标电子设备是所述第二电子设备时,可以根据所述第一地址信息获取所述第一内容,并在所述第一目标显示屏上显示所述第一内容。当第二电子设备确定所述第一目标电子设备不是所述第二电子设备时,可以将所述第一地址信息发送至所述第一目标电子设备,并指示所述第一目标电子设备根据所述第一地址信息获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。该过程具体可以参照前述实施例中步骤S414~S417所述的方法,此处不再赘述。
在本申请一些实施例中,在第一电子设备投屏至第一目标显示屏后,第二电子设备可以协助第一电子设备更改接受投屏的显示屏。具体的,第二电子设备可以接收来自所述第一电子设备的第三指示信息;其中,所述第三指示信息用于指示切换为在第二目标显示屏上显示所述第一内容,所述第三指示信息还用于指示所述第二目标显示屏以及所述第二目标显示屏所属的第二目标电子设备;响应于所述第三指示信息,将所述第一内容发送至所述第二目标电子设备,并指示所述第二目标电子设备在所述第二目标显示屏上显示所述第一内容;或者,响应于所述第三指示信息,将所述第一地址信息发送至所述第二目标电子设备,并指示所述第二目标电子设备根据所述第一地址信息获取所述第一内容并在所述第二目标显示屏上显示所述第一内容。该过程可以参照前述实施例中的相关说明,此处不再赘述。
在本申请一些实施例中,在第一电子设备投屏至第二电子设备所管理的第一目标显示屏的情况下,第二电子设备还可以协助第一电子设备同时投屏至第二电子设备所管理的第三目标显示屏。具体的,第二电子设备可以接收来自所述第一电子设备的第三指示信息;其中,所述第三指示信息用于指示第三目标显示屏以及所述第三目标显示屏所属的第三目标电子设备,所述第三目标显示屏用于作为接受投屏的显示屏。第二电子设备在确定第三目标显示屏后,可以将来自第一电子设备的对应内容投屏至第三目标显示屏。该过程可以参照前述实施例中的相关说明,此处不再赘述。
在本申请一些实施例中,在第一电子设备投屏至第二电子设备所管理的第一目标显示屏的情况下,第二电子设备还可以控制所管理的其它显示屏接受第一电子设备的投屏。具体的,第二电子设备可以接收来自第四电子设备的第二请求;其中,所述第二请求用于请求投屏;响应于所述第二请求,向所述第四电子设备发送所述第一指示信息;接收来自所述第四电子设备的第五指示信息;其中,所述第五指示信息用于指示第四目标显示屏以及所述第四目标显示屏所属的第四目标电子设备,所述第四目标显示屏用于作为接受投屏的显示屏。第二电子设备在确定第四目标显示屏后,可以将来自第一电子设备的对应内容投屏至第四目标显示屏。该过程的具体执行可以参照前述实施例中关于第二电子设备管理的第一目标显示屏接受第一电子设备投屏的过程,此处不再赘述。
上述方法中,第二电子设备所执行的具体步骤可参阅前述实施例中相关的介绍,在此不再过多赘述。
基于以上实施例及相同技术构思,本申请实施例还提供一种显示屏选择方法,如图13中所示,该方法可以包括:
S1301:第一电子设备接收来自第二电子设备的第一请求;其中,所述第一电子设备用于管理多个显示屏,所述第一请求用于请求投屏。
示例性的,该步骤中所述的第一电子设备可以为前述实施例中所述的第二电子设备,该步骤中所述的第二电子设备可以为前述实施例中所述的第一电子设备。
该步骤的具体执行可以参照上述步骤S1201的说明,此处不再重述。
S1302:第一电子设备响应于所述第一请求,获取第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备。
其中,关于第一指示信息以及第一电子设备获取第一指示信息的方法,可以参照前述实施例中第一阶段的关于显示屏发现和管理的方法中的说明,此处不再重述。
S1303:第一电子设备根据所述第一指示信息,显示第一信息,其中,所述第一信息用于指示所述多个显示屏。
该步骤的具体执行可以参照上述步骤S1103的说明,此处不再重述。
S1304:第一电子设备接收第一操作,其中,所述第一操作用于从所述多个显示屏中选择第一目标显示屏。
该步骤的具体执行可以参照上述步骤S1104中的相关处理的说明,此处不再重述。
S1305:第一电子设备根据所述第一操作确定所述第一目标显示屏,根据所述第一指示信息确定所述第一目标显示屏所属的第一目标电子设备;其中,所述第一目标显示屏用于作为接受投屏的显示屏。
该步骤的具体执行可以参照上述步骤S1203中的相关处理的说明,此处不再重述。
上述方法中,第一电子设备所执行的具体步骤可参阅前述实施例中相关的介绍,在此不再过多赘述。
基于以上实施例及相同技术构思,本申请实施例还提供一种显示屏选择方法,如图14中所示,该方法可以包括:
S1401:第一电子设备接收来自第二电子设备的第一请求;其中,所述第一电子设备用于管理多个显示屏,所述第一请求用于请求投屏。
该步骤的具体执行可以参照上述步骤S1201的说明,此处不再重述。
S1402:第一电子设备响应于所述第一请求,获取第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备。
该步骤的处理过程以及相关处理过程的具体执行可以参照上述步骤S1302的说明,此处不再重述。
S1403:第一电子设备响应于所述第一请求,获取第一位置信息;其中,所述第一位置信息用于指示所述第二电子设备关联的第一用户的位置。
S1404:第一电子设备根据所述第一位置信息确定第一目标显示屏,根据所述第一指示信息确定所述第一目标显示屏所属的第一目标电子设备;其中,所述第一目标显示屏与所述第一位置信息关联,所述第一目标显示屏用于作为接受投屏的显示屏。
示例性的,所述第一用户可以为前述实施例中所述的主驾位用户,则所述第一位置信息可以是用于指示主驾位用户所在座位的信息,所述第一目标显示屏则可以为前述实施例中所述的主驾屏。
关于步骤S1403~S1404的具体执行过程,可以参照前述实施例中关于自动选择目标显示屏的方法的介绍,此处不再赘述。
上述方法中,第一电子设备所执行的具体步骤可参阅前述实施例中相关的介绍,在此不再过多赘述。
基于以上实施例及相同构思,本申请实施例还提供一种电子设备,该电子设备可以用于实现本申请实施例提供的应用于第一电子设备或第二电子设备方法。如图15中所示,电子设备1500可以包括:显示屏1501,存储器1502,一个或多个处理器1503,以及一个或多个计算机程序(图中未示出)。上述各器件可以通过一个或多个通信总线1504耦合。
其中,显示屏1501用于显示应用界面等相关用户界面。
存储器1502中存储有一个或多个计算机程序(代码),一个或多个计算机程序包括计算机指令;一个或多个处理器1503调用存储器1502中存储的计算机指令,使得电子设备1500执行本申请实施例提供的应用于第一电子设备或第二电子设备方法。
具体实现中,存储器1502可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器1502可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器1502可用于存储本申请实施例的实现程序。存储器1502还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个用户设备,一个或多个网络设备进行通信。
一个或多个处理器1503可以是一个通用中央处理器(Central Processing Unit,CPU),微处理器,特定应用集成电路(Application-Specific Integrated Circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
需要说明的是,图15仅仅是本申请实施例提供的电子设备1500的一种实现方式,实际应用中,电子设备1500还可以包括更多或更少的部件,这里不作限制。
应理解,本申请实施例的各个方案可以进行合理的组合使用,并且实施例中出现的各个术语的解释或说明可以在各个实施例中互相参考或解释,对此不作限定。
还应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
基于以上实施例及相同构思,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当计算机程序在计算机上运行时,使得计算机执行上述实施例提供的应用于第一电子设备或第二电子设备方法。
基于以上实施例及相同构思,本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行上述实施例提供的应用于第一电子设备或第二电子设备方法。
本申请实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本发明实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机可以存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,简称DVD)、或者半导体介质(例如,SSD)等。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (25)

  1. 一种显示屏选择方法,应用于第一电子设备,其特征在于,所述方法包括:
    响应于接收到的第一操作,向第二电子设备发送第一请求;其中,所述第二电子设备用于管理多个显示屏,所述第一请求用于请求投屏;
    接收来自所述第二电子设备的第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备;
    根据所述第一指示信息,显示第一信息;其中,所述第一信息用于指示所述多个显示屏;
    响应于接收到的第二操作,向所述第二电子设备发送第二指示信息;其中,所述第二操作用于从所述多个显示屏中选择第一目标显示屏,所述第二指示信息用于指示所述第一目标显示屏以及所述第一目标显示屏所属的第一目标电子设备,所述第一目标显示屏用于作为接受投屏的显示屏。
  2. 如权利要求1所述的方法,其特征在于,在接收来自所述第二电子设备的第一指示信息之前,所述方法还包括:
    基于第一通信协议与所述第二电子设备建立无线通信连接;其中,所述第一通信协议为数字生活网络联盟DLNA投屏协议或无线投屏协议;
    所述接收来自所述第二电子设备的第一指示信息,包括:
    接收所述第二电子设备采用所述第一通信协议发送的第一消息;其中,所述第一消息中包含用于承载所述第一指示信息的第一目标字段;
    根据所述第一消息中的所述第一目标字段确定所述第一指示信息;
    所述向所述第二电子设备发送第二指示信息,包括:
    采用所述第一通信协议向所述第二电子设备发送第二消息;其中,所述第二消息中包含用于承载所述第二指示信息的第二目标字段。
  3. 如权利要求1或2所述的方法,其特征在于,在接收来自所述第二电子设备的第一指示信息之前,所述方法还包括:
    基于第一传输线与所述第二电子设备建立有线通信连接;
    所述接收来自所述第二电子设备的第一指示信息,包括:
    接收所述第二电子设备通过所述第一传输线发送的所述第一指示信息;
    所述向所述第二电子设备发送第二指示信息,包括:
    通过所述第一传输线向所述第二电子设备发送所述第二指示信息。
  4. 如权利要求1~3任一所述的方法,其特征在于,
    所述多个显示屏属于所述第二电子设备;或者
    所述多个显示屏包括:所述第二电子设备的至少一个显示屏,以及,与所述第二电子设备建立通信连接的至少一个其它电子设备的显示屏。
  5. 如权利要求1~4任一所述的方法,其特征在于,所述第一指示信息包括所述多个显示屏中每个显示屏的显示屏指示信息与显示屏标识信息之间的对应关系;其中,任一显示屏的显示屏指示信息用于指示所述显示屏,任一显示屏的显示屏标识信息用于指示所述显示屏以及所述显示屏所属的电子设备;
    所述第二指示信息包括所述第一目标显示屏的显示屏标识信息。
  6. 如权利要求1~5任一所述的方法,其特征在于,在响应于接收到的第一操作,向第二电子设备发送第一请求之前,所述方法还包括:
    在第一显示屏上显示第一内容;
    在响应于接收到的第二操作,向所述第二电子设备发送第二指示信息之后,所述方法还包括:
    所述第一显示屏不显示所述第一内容;
    向所述第二电子设备发送所述第一内容;其中,所述第一内容用于所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容;或者
    向所述第二电子设备发送第一地址信息;其中,所述第一地址信息用于指示获取所述第一内容的地址,所述第一内容的地址用于所述第一目标电子设备获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
  7. 如权利要求6所述的方法,其特征在于,在向所述第二电子设备发送所述第一内容之后,或者,在向所述第二电子设备发送第一地址信息之后,所述方法还包括:
    响应于接收到的第三操作,在所述第一显示屏上显示第二信息;其中,所述第二信息用于指示至少一个显示屏;所述至少一个显示屏包括所述多个显示屏中除所述第一目标显示屏以外的显示屏;
    响应于接收到的第四操作,向所述第二电子设备发送第三指示信息;其中,所述第四操作用于从所述至少一个显示屏中选择第二目标显示屏,所述第三指示信息用于指示切换为在第二目标显示屏上显示所述第一内容,所述第三指示信息还用于指示所述第二目标显示屏以及所述第二目标显示屏所属的第二目标电子设备。
  8. 如权利要求1~7任一所述的方法,其特征在于,在接收来自所述第二电子设备的第一指示信息之后,所述方法还包括:
    响应于接收到的第五操作,显示所述第一信息;
    响应于接收到的第六操作,向所述第二电子设备发送第三指示信息;其中,所述第六操作用于从所述多个显示屏中选择第三目标显示屏,所述第三指示信息用于指示所述第三目标显示屏以及所述第三目标显示屏所属的第三目标电子设备,所述第三目标显示屏用于作为接受投屏的显示屏。
  9. 如权利要求1~8任一所述的方法,其特征在于,所述方法还包括:
    响应于接收到的第七操作,向第三电子设备发送第二请求;其中,所述第三电子设备用于管理多个显示屏,所述第二请求用于请求投屏;
    接收来自所述第三电子设备的第四指示信息;其中,所述第四指示信息用于指示所述第三电子设备管理的多个显示屏以及每个显示屏所属的电子设备;
    根据所述第四指示信息,显示第三信息;其中,所述第三信息用于指示所述第三电子设备管理的多个显示屏;
    响应于接收到的第八操作,向所述第三电子设备发送第五指示信息;其中,所述第八操作用于从所述第三电子设备管理的多个显示屏中选择第四目标显示屏,所述第五指示信息用于指示所述第四目标显示屏以及所述第四目标显示屏所属的第四目标电子设备,所述第四目标显示屏用于作为接受投屏的显示屏。
  10. 如权利要求1~9任一所述的方法,其特征在于,所述第二电子设备为处于车辆座舱内的电子设备;和/或,所述第一目标电子设备为处于车辆座舱内的电子设备。
  11. 一种显示屏选择方法,应用于第二电子设备,其特征在于,所述方法包括:
    接收来自第一电子设备的第一请求;其中,所述第二电子设备用于管理多个显示屏,所述第一请求用于请求投屏;
    响应于所述第一请求,向所述第一电子设备发送第一指示信息;其中,所述第一指示信息用于指示所述多个显示屏以及所述多个显示屏中每个显示屏所属的电子设备;
    接收来自所述第一电子设备的第二指示信息;其中,所述第二指示信息用于指示第一目标显示屏以及所述第一目标显示屏所属的第一目标电子设备,所述第一目标显示屏用于作为接受投屏的显示屏。
  12. 如权利要求11所述的方法,其特征在于,在接收来自第一电子设备的第一请求之前,所述方法还包括:
    基于第一通信协议与所述第一电子设备建立无线通信连接;其中,所述第一通信协议为DLNA投屏协议或无线投屏协议;
    所述向所述第一电子设备发送第一指示信息,包括:
    采用所述第一通信协议向所述第一电子设备发送第一消息;其中,所述第一消息中包含用于承载所述第一指示信息的第一目标字段;
    所述接收来自第一电子设备的第二指示信息,包括:
    接收所述第一电子设备采用所述第一通信协议发送的第二消息;其中,所述第二消息中包含用于承载所述第二指示信息的第二目标字段;
    根据所述第二消息中的所述第二目标字段确定所述第二指示信息。
  13. 如权利要求11或12所述的方法,其特征在于,在接收来自第一电子设备的第一请求之前,所述方法还包括:
    基于第一传输线与所述第一电子设备建立有线通信连接;
    所述向所述第一电子设备发送第一指示信息,包括:
    通过所述第一传输线向所述第一电子设备发送所述第一指示信息;
    所述接收来自第一电子设备的第二指示信息,包括:
    接收所述第一电子设备通过所述第一传输线发送的所述第二指示信息。
  14. 如权利要求11~13任一所述的方法,其特征在于,
    所述多个显示屏属于所述第二电子设备;或者
    所述多个显示屏包括:所述第二电子设备的至少一个显示屏,以及,与所述第二电子设备建立通信连接的至少一个其它电子设备的显示屏。
  15. 如权利要求11~14任一所述的方法,其特征在于,所述第一指示信息包括所述多个显示屏中每个显示屏的显示屏指示信息与显示屏标识信息之间的对应关系;其中,任一显示屏的显示屏指示信息用于指示所述显示屏,任一显示屏的显示屏标识信息用于指示所述显示屏以及所述显示屏所属的电子设备;
    所述第二指示信息包括所述第一目标显示屏的显示屏标识信息。
  16. 如权利要求11~15任一所述的方法,其特征在于,在接收来自所述第一电子设备的第二指示信息之后,所述方法还包括:
    根据所述第二指示信息确定所述第一目标显示屏以及所述第一目标电子设备;
    接收来自所述第一电子设备的第一内容;其中,所述第一内容用于所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容;或者
    接收来自所述第一电子设备的第一地址信息;其中,所述第一地址信息用于指示获取第一内容的地址,所述第一内容的地址用于所述第一目标电子设备获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
  17. 如权利要求16所述的方法,其特征在于,在接收来自所述第一电子设备的第一内容之后,所述方法还包括:
    当所述第一目标电子设备是所述第二电子设备时,在所述第一目标显示屏上显示所述第一内容;或者
    当所述第一目标电子设备不是所述第二电子设备时,将所述第一内容发送至所述第一目标电子设备,并指示所述第一目标电子设备在所述第一目标显示屏上显示所述第一内容。
  18. 如权利要求16所述的方法,其特征在于,在接收来自所述第一电子设备的第一地址信息之后,所述方法还包括:
    当所述第一目标电子设备是所述第二电子设备时,根据所述第一地址信息获取所述第一内容,并在所述第一目标显示屏上显示所述第一内容;或者
    当所述第一目标电子设备不是所述第二电子设备时,将所述第一地址信息发送至所述第一目标电子设备,并指示所述第一目标电子设备根据所述第一地址信息获取所述第一内容并在所述第一目标显示屏上显示所述第一内容。
  19. 如权利要求16~18任一所述的方法,其特征在于,在接收来自所述第一电子设备的第一内容之后,或者,在接收来自所述第一电子设备的第一地址信息之后,所述方法还包括:
    接收来自所述第一电子设备的第三指示信息;其中,所述第三指示信息用于指示切换为在第二目标显示屏上显示所述第一内容,所述第三指示信息还用于指示所述第二目标显示屏以及所述第二目标显示屏所属的第二目标电子设备;
    响应于所述第三指示信息,将所述第一内容发送至所述第二目标电子设备,并指示所述第二目标电子设备在所述第二目标显示屏上显示所述第一内容;或者,响应于所述第三指示信息,将所述第一地址信息发送至所述第二目标电子设备,并指示所述第二目标电子设备根据所述第一地址信息获取所述第一内容并在所述第二目标显示屏上显示所述第一内容。
  20. 如权利要求11~19任一所述的方法,其特征在于,在向所述第一电子设备发送第一指示信息之后,所述方法还包括:
    接收来自所述第一电子设备的第三指示信息;其中,所述第三指示信息用于指示第三目标显示屏以及所述第三目标显示屏所属的第三目标电子设备,所述第三目标显示屏用于作为接受投屏的显示屏。
  21. 如权利要求11~20任一所述的方法,其特征在于,所述方法还包括:
    接收来自第四电子设备的第二请求;其中,所述第二请求用于请求投屏;
    响应于所述第二请求,向所述第四电子设备发送所述第一指示信息;
    接收来自所述第四电子设备的第五指示信息;其中,所述第五指示信息用于指示第四目标显示屏以及所述第四目标显示屏所属的第四目标电子设备,所述第四目标显示屏用于作为接受投屏的显示屏。
  22. 如权利要求11~21任一所述的方法,其特征在于,所述第二电子设备为处于车辆座舱内的电子设备;和/或,所述第一目标电子设备为处于车辆座舱内的电子设备。
  23. 一种电子设备,其特征在于,所述电子设备包括显示屏,存储器和一个或多个处理器;
    其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1~10任一所述的方法,或者执行如权利要求11~22任一所述的方法。
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1~10任一所述的方法,或者执行如权利要求11~22任一所述的方法。
  25. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1~10任一所述的方法,或者执行如权利要求11~22任一所述的方法。
PCT/CN2023/121964 2022-10-09 2023-09-27 一种显示屏选择方法及电子设备 WO2024078337A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202211230663 2022-10-09
CN202211230663.3 2022-10-09
CN202211700870.0 2022-12-28
CN202211700870.0A CN117850718A (zh) 2022-10-09 2022-12-28 一种显示屏选择方法及电子设备

Publications (1)

Publication Number Publication Date
WO2024078337A1 true WO2024078337A1 (zh) 2024-04-18

Family

ID=90535004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/121964 WO2024078337A1 (zh) 2022-10-09 2023-09-27 一种显示屏选择方法及电子设备

Country Status (2)

Country Link
CN (1) CN117850718A (zh)
WO (1) WO2024078337A1 (zh)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669653A (zh) * 2018-12-21 2019-04-23 四川变体科技有限公司 一种屏幕选择方法与装置
CN110381195A (zh) * 2019-06-05 2019-10-25 华为技术有限公司 一种投屏显示方法及电子设备
CN111796784A (zh) * 2020-06-12 2020-10-20 彭程 投屏方法、电子设备及投屏终端
CN112416277A (zh) * 2020-11-04 2021-02-26 上海郡码智能科技有限公司 车载系统的多屏显示方法、装置、车载系统和存储介质
CN112861638A (zh) * 2021-01-14 2021-05-28 华为技术有限公司 一种投屏方法及装置
CN113342298A (zh) * 2021-06-24 2021-09-03 Oppo广东移动通信有限公司 一种投屏方法、终端、车载设备及计算机存储介质
CN113542839A (zh) * 2021-06-09 2021-10-22 荣耀终端有限公司 电子设备的投屏方法和电子设备
CN114205663A (zh) * 2020-09-18 2022-03-18 比亚迪股份有限公司 车载多屏互动控制方法、装置、系统、设备及存储介质
WO2022100610A1 (zh) * 2020-11-13 2022-05-19 华为技术有限公司 投屏方法、装置、电子设备及计算机可读存储介质
WO2022100237A1 (zh) * 2020-11-16 2022-05-19 Oppo广东移动通信有限公司 投屏显示方法及相关产品
CN114567663A (zh) * 2022-02-28 2022-05-31 Oppo广东移动通信有限公司 显示设备的投屏控制方法、装置、电子设备及存储介质
CN114647395A (zh) * 2022-03-28 2022-06-21 北京小米移动软件有限公司 投屏方法、装置、电子设备及存储介质
CN115113833A (zh) * 2021-03-18 2022-09-27 深圳Tcl数字技术有限公司 一种基于投屏的显示端选择方法及相关设备

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669653A (zh) * 2018-12-21 2019-04-23 四川变体科技有限公司 一种屏幕选择方法与装置
CN110381195A (zh) * 2019-06-05 2019-10-25 华为技术有限公司 一种投屏显示方法及电子设备
CN111796784A (zh) * 2020-06-12 2020-10-20 彭程 投屏方法、电子设备及投屏终端
CN114205663A (zh) * 2020-09-18 2022-03-18 比亚迪股份有限公司 车载多屏互动控制方法、装置、系统、设备及存储介质
CN112416277A (zh) * 2020-11-04 2021-02-26 上海郡码智能科技有限公司 车载系统的多屏显示方法、装置、车载系统和存储介质
WO2022100610A1 (zh) * 2020-11-13 2022-05-19 华为技术有限公司 投屏方法、装置、电子设备及计算机可读存储介质
WO2022100237A1 (zh) * 2020-11-16 2022-05-19 Oppo广东移动通信有限公司 投屏显示方法及相关产品
CN112861638A (zh) * 2021-01-14 2021-05-28 华为技术有限公司 一种投屏方法及装置
CN115113833A (zh) * 2021-03-18 2022-09-27 深圳Tcl数字技术有限公司 一种基于投屏的显示端选择方法及相关设备
CN113542839A (zh) * 2021-06-09 2021-10-22 荣耀终端有限公司 电子设备的投屏方法和电子设备
CN113342298A (zh) * 2021-06-24 2021-09-03 Oppo广东移动通信有限公司 一种投屏方法、终端、车载设备及计算机存储介质
CN114567663A (zh) * 2022-02-28 2022-05-31 Oppo广东移动通信有限公司 显示设备的投屏控制方法、装置、电子设备及存储介质
CN114647395A (zh) * 2022-03-28 2022-06-21 北京小米移动软件有限公司 投屏方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN117850718A (zh) 2024-04-09

Similar Documents

Publication Publication Date Title
EP4095671A1 (en) Screencasting method, and terminal apparatus
WO2023051111A1 (zh) 多个应用组合且同时启动多个应用的方法及电子设备
CN114442969B (zh) 一种设备间屏幕协同方法及设备
US20230342104A1 (en) Data Transmission Method and Device
WO2022127661A1 (zh) 应用共享方法、电子设备和存储介质
WO2022028494A1 (zh) 一种多设备数据协作的方法及电子设备
EP4428673A1 (en) Wallpaper display method and electronic device
WO2023231856A1 (zh) 一种空调控制方法、电子设备及系统
US11991040B2 (en) Network configuration method and device
WO2024078337A1 (zh) 一种显示屏选择方法及电子设备
WO2022105716A1 (zh) 基于分布式控制的相机控制方法及终端设备
CN115114607A (zh) 分享授权方法、装置及存储介质
CN111159734A (zh) 通信终端及多应用数据互访处理方法
WO2023131051A1 (zh) 一种分享内容的方法及电子设备
WO2024140560A1 (zh) 一种控制方法及设备
CN114513760B (zh) 字库同步方法、装置和存储介质
WO2024094069A1 (zh) 一种音频播放方法及电子设备
WO2024175068A1 (zh) 一种应用程序的分布式控制方法及电子设备
WO2023066036A1 (zh) 一种跨设备文件显示方法、设备及系统
WO2024175070A1 (zh) 一种功能协同方法及电子设备
WO2024067169A1 (zh) 信息处理方法及电子设备
WO2023143377A1 (zh) 一种内容管理方法、电子设备及系统
WO2024179249A1 (zh) 一种电子设备的显示方法、电子设备及存储介质
WO2024046062A1 (zh) 一种卡片跨设备交互方法及电子设备
WO2024114344A1 (zh) 一种文件管理方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23876541

Country of ref document: EP

Kind code of ref document: A1