Multi-device screen projection processing method and device, storage medium and vehicle
By acquiring the number of displays in the vehicle infotainment system, creating a process, and establishing the association between virtual projection devices, the problem of only supporting single-screen projection in existing technologies is solved, achieving multi-screen projection support and improving user experience.
Patent Information
- Application Number
- CN202411927798.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-12-25
AI Technical Summary
The existing large-screen projection solution for vehicles can only support projection on one screen, which cannot fully utilize the screen resources of the vehicle computer and affects the user's projection experience.
The system obtains the number of displays mounted on the vehicle infotainment system, creates a corresponding number of processes based on the number of screens, builds virtual projection devices based on the projection protocol, establishes the association between the displays and the virtual projection devices, and enables the mobile terminal to project content onto the corresponding displays.
It supports screen mirroring from multiple displays, making full use of in-vehicle screen resources, improving the user's screen mirroring experience, and supporting personalized screen mirroring needs of multiple users and switching between displays.
Smart Images

Figure CN119937956B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of screen projection technology, and in particular to a multi-device screen projection processing method, apparatus, storage medium and vehicle. Background Art
[0002] The penetration rate of large-screen in-vehicles has been rising year by year. Trends such as large-screen and multi-screen have made the car screen control scenarios more diversified. The demand for projecting mobile phone audio and video content onto large-screen in-vehicles has gradually emerged. Users can get a better audio-visual experience through mobile phone screen projection, achieve content sharing, amplification, and save membership fees. Vehicle manufacturers can also save ecological adaptation fees for some audio and video applications through the screen projection function.
[0003] In the current cockpit environment, it is common to mount multiple screens on a system-on-chip (SOC). However, with existing in-car large-screen projection solutions, one car computer can only support projection on one screen, which cannot fully utilize the screen resources of the car computer and affects the user's projection experience. Summary of the Invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, at least one embodiment of the present disclosure provides a multi-device screen projection processing method, apparatus, storage medium and vehicle.
[0005] In a first aspect, the present disclosure provides a multi-device screen projection processing method, comprising:
[0006] Get the number of screens mounted on the vehicle system;
[0007] Create a corresponding number of processes according to the number of screens;
[0008] Based on the screen projection protocol, a virtual screen projection device is constructed for each process;
[0009] An association relationship between the display screen and the virtual projection device is established so that the mobile terminal can project the content to be projected onto the corresponding display screen by searching for the virtual projection device, wherein one display screen is associated with one virtual projection device.
[0010] In a second aspect, the present disclosure provides a multi-device screen projection processing apparatus, comprising:
[0011] The screen number acquisition module is used to obtain the number of screens mounted on the vehicle system;
[0012] A process building module, configured to create a corresponding number of processes according to the number of screens;
[0013] A device construction module, configured to construct a virtual screen projection device for each process based on the screen projection protocol;
[0014] An association module is used to establish an association relationship between the display screen and the virtual projection device, so that the mobile terminal can project the content to be projected onto the corresponding display screen by searching for the virtual projection device, wherein one display screen is associated with one virtual projection device.
[0015] In a third aspect, the present disclosure provides an electronic device, comprising: a processor and a memory;
[0016] The processor is used to execute the multi-device screen projection processing method as described in the first aspect by calling the program or instructions stored in the memory.
[0017] In a fourth aspect, the present disclosure provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the multi-device screen projection processing method as described in the first aspect.
[0018] In a fifth aspect, the present disclosure provides a computer program product, which is used to execute the multi-device screen projection processing method as described in the first aspect.
[0019] In a sixth aspect, the present disclosure provides a vehicle, comprising the multi-device screen projection processing apparatus as described in the second aspect, or the electronic device as described in the third aspect, or the computer-readable storage medium as described in the fourth aspect, or the computer program product as described in the fifth aspect.
[0020] The technical solution provided by the embodiments of the present disclosure has at least the following advantages compared with the prior art:
[0021] In the embodiment of the present disclosure, the number of screens of the display screen mounted on the vehicle system is obtained, a corresponding number of processes are created according to the number of screens, and based on the screen projection protocol, a virtual screen projection device is constructed for each process, and then an association relationship between the display screen and the virtual screen projection device is constructed, so that the mobile terminal can search for the virtual screen projection device to project the content to be projected to the corresponding display screen for display, wherein one display screen is associated with one virtual screen projection device. By adopting the above technical solution, by constructing a corresponding number of processes according to the number of mounted screens, and constructing a virtual screen projection device for each, a display screen is associated with a virtual screen projection device, thereby enabling multiple display screens mounted on the vehicle system to support screen projection, and the mobile terminal can search for the virtual screen projection device to project the content to be projected to the corresponding display screen for display, making full use of the vehicle screen resources and helping to improve the user's screen projection experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0023] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0024] Figure 1 A flowchart of a multi-device screen projection processing method provided by an exemplary embodiment of the present disclosure;
[0025] Figure 2 A flowchart of a multi-device screen projection processing method provided by another exemplary embodiment of the present disclosure;
[0026] Figure 3 A flowchart of a multi-device screen projection processing method provided by another exemplary embodiment of the present disclosure;
[0027] Figure 4 A schematic structural diagram of a multi-device screen projection processing apparatus provided in one embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the present disclosure is further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The specific embodiments described herein are only used to explain the present disclosure, rather than to limit the present disclosure. In the absence of conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field fall within the scope of protection of the present disclosure.
[0029] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0030] The following is a detailed explanation of the specific implementation methods, devices, storage media and vehicles of the multi-device screen projection processing method disclosed in the present invention in conjunction with the accompanying drawings.
[0031] Figure 1A flow chart of a multi-device screen projection processing method provided for an exemplary embodiment of the present disclosure is provided. The method can be executed by a multi-device screen projection processing apparatus provided for an embodiment of the present disclosure. The multi-device screen projection processing apparatus can be implemented using software and / or hardware and can be integrated into an electronic device, wherein the electronic device can be a vehicle-mounted system.
[0032] like Figure 1 As shown, the multi-device screen projection processing method may include the following steps:
[0033] Step 101: Obtain the number of display screens mounted on the vehicle system.
[0034] Among them, the display screen is a screen that supports multimedia content playback, including but not limited to the main control screen, co-pilot screen, rear screen, and ceiling screen.
[0035] As an example, when the car system receives a screen projection request for the first time, the number of screens mounted on the car system can be obtained to virtualize a virtual screen projection device corresponding to each display screen based on the number of screens. When a screen projection request is received subsequently, the screen projection request can be directly responded to to perform screen projection without having to build a virtual screen projection device again.
[0036] Step 102: Create a corresponding number of processes according to the number of screens.
[0037] In the embodiment of the present disclosure, after the number of screens of the display screen is obtained, the same number of processes can be created according to the number of screens, that is, as many processes as there are display screens.
[0038] As an example, the fork() function can be used to create a process. Through software virtualization technology, processes corresponding to the number of screens can be virtualized, laying the foundation for multi-screen projection.
[0039] Step 103: Based on the screen projection protocol, a virtual screen projection device is constructed for each process.
[0040] The screen projection protocol is, for example, the Digital Living Network Alliance (DLNA) protocol.
[0041] In this embodiment, for each constructed process, a virtual screen projection device can be virtualized based on the screen projection protocol. Each process corresponds to a virtual screen projection device, thereby virtual screen projection devices corresponding to the number of screens are virtualized.
[0042] As an example, assuming that the screen projection protocol is the DLNA protocol, a DLNA server can be built for each process, and the DLNA server serves as a virtual screen projection device.
[0043] Step 104, constructing an association relationship between the display screen and the virtual projection device, so that the mobile terminal can project the content to be projected onto the corresponding display screen by searching for the virtual projection device, wherein one display screen is associated with one virtual projection device.
[0044] In the embodiment of the present disclosure, after the virtual projection device is constructed, the association relationship between the display screen and the virtual projection device can be further constructed, wherein one display screen is associated with one virtual projection device. After the association, the virtual projection device is assigned the screen name of the associated display screen. When the mobile terminal in the same local area network as the vehicle system searches for a projection device, it will search for the screen name of each display screen to represent the searched projection device (virtual projection device). In other words, the projection device searched by the mobile terminal is the constructed virtual projection device, and the virtual projection device is assigned the screen name of the associated display screen, so the screen name of the display screen is displayed in the mobile terminal. For example, a virtual projection device is associated with the main control screen, and the virtual projection device is assigned the main control screen. When the mobile terminal in the same local area network as the vehicle system searches for a projection device, the searched projection device is displayed as the main control screen in the mobile terminal. In this way, it is convenient for the user to know which display screen of the vehicle system each projection device is, so as to select the appropriate display screen for projection according to the needs.
[0045] Among them, the mobile terminal and the vehicle system are in the same local area network, which can be achieved by connecting the mobile terminal to the wireless hotspot of the vehicle system, or by connecting the vehicle system to the wireless hotspot of the mobile phone.
[0046] In the embodiment of the present disclosure, after the mobile terminal and the vehicle system establish a connection in the same local area network, the mobile terminal searches for projection devices, and can search for all virtual projection devices constructed in the present disclosure and display them in the mobile terminal. Then, the user can select the required virtual projection device through the mobile terminal according to his or her own projection needs to project the content to be projected to the display screen corresponding to the selected virtual projection device.
[0047] In this solution, by virtualizing a corresponding number of processes based on the number of screens, each process virtualizes a virtual projection device and associates it with the display screen. In this way, screen projection can be achieved on multiple displays mounted on a SOC chip without increasing additional chip costs.
[0048] The multi-device screen projection processing method of the disclosed embodiment obtains the number of screens of the display screen mounted on the vehicle system, creates a corresponding number of processes according to the number of screens, and builds a virtual screen projection device for each process based on the screen projection protocol, and then builds an association relationship between the display screen and the virtual screen projection device, so that the mobile terminal can search for the virtual screen projection device to project the content to be projected to the corresponding display screen for display, wherein one display screen is associated with one virtual screen projection device. The above technical solution is adopted, by building a corresponding number of processes according to the number of mounted screens, and building a virtual screen projection device for each, and associating one display screen with one virtual screen projection device, thereby enabling multiple display screens mounted on the vehicle system to support screen projection, and the mobile terminal can search for the virtual screen projection device to project the content to be projected to the corresponding display screen for display, making full use of the vehicle screen resources and helping to improve the user's screen projection experience.
[0049] In an optional embodiment of the present disclosure, when creating a corresponding number of processes based on the number of screens, it is possible to first determine whether the number of display screens mounted on the vehicle system is greater than 1. If the number of screens is greater than 1, a corresponding number of processes are created based on the number of screens; if the number of screens is 1, the DLNA protocol is started normally for DLNA screen projection without the need for virtual processes.
[0050] In some scenarios, the same vehicle may carry multiple users, and each user has different preferences for multimedia content, and the content they expect to be projected is different. Therefore, there is a need for multiple mobile terminals to project screens to multiple display screens. Based on the solution provided by the present disclosure of virtualizing corresponding virtual projection devices for each display screen, multiple users can choose different display screens to project the content they want to watch. With the support of the in-vehicle multi-sound zone technology, the user's projection viewing experience is improved. For example, the user can select the appropriate virtual projection device based on the display screen corresponding to his seat through the mobile terminal he holds to display the content he wants to project on the display screen corresponding to the seat. For example, the user on the co-pilot seat selects the co-pilot screen for projection, and the user in the back row selects the ceiling screen for projection. Combined with the built-in sound zone function of the car system, a non-interference projection experience can be achieved. In addition, the user can choose the display screen to which he is projecting to exit projection, and other display screens continue to play their own projection content without being affected.
[0051] It can be understood that in the vehicle scenario, whether it is a scenario where multiple users cast screens to multiple displays respectively, or a scenario where one user casts screens to one display, each user needs to send a screen projection request to the vehicle system when casting screens through his or her own mobile terminal. The vehicle system completes the screen projection according to the screen projection request. For the implementation method of the vehicle system to realize screen projection, please refer to Figure 2 .like Figure 2As shown, based on the above embodiment, the multi-device screen projection processing method disclosed in the present invention may further include the following steps:
[0052] Step 201: In response to receiving a first screen projection request sent by a mobile terminal, obtain a first virtual screen projection device and a first resource address carried in the first screen projection request.
[0053] Among them, the mobile terminal can be any terminal device in the same local area network as the vehicle system, including but not limited to mobile phones and tablet computers.
[0054] In this embodiment, when the mobile terminal and the vehicle system are in the same local area network, if the mobile terminal needs to project the content played in the mobile terminal to the display screen of the vehicle system for display, a projection request can be sent to the vehicle system. For example, when the user wants to project the movie played by the video playback software of the mobile terminal to the ceiling screen of the vehicle system for playback, he can click the projection control on the video playback software. After clicking, the mobile terminal will search for and display the projection devices. The user selects the ceiling screen according to the projection devices displayed in the mobile terminal (that is, the virtual projection devices constructed in the aforementioned embodiment, which are assigned the screen names of the corresponding display screens). After that, the mobile terminal sends a projection request to the vehicle system. The projection request will carry the resource address of the ceiling screen and the currently playing movie. Thus, when the vehicle system receives the projection request (referred to as the first projection request for ease of description and distinction) sent by the mobile terminal, it can obtain the virtual projection device (referred to as the first virtual projection device for ease of description and distinction) and the resource address (referred to as the first resource address for ease of description and distinction) carried from the first projection request.
[0055] Step 202: Access the first resource address to obtain the content to be projected.
[0056] In this embodiment, after obtaining the first resource address, the first resource address can be accessed to obtain the resource corresponding to the first resource address as the content to be projected.
[0057] Step 203: Determine the first display screen associated with the first virtual screen projection device based on the association relationship.
[0058] In this embodiment, after obtaining the first virtual projection device, the display screen associated with the first virtual projection device (referred to as the first display screen for ease of description and distinction) can be determined based on the association relationship between the constructed virtual projection device and the display screen. For example, assuming that the first virtual projection device obtained is a ceiling-mounted screen, then based on the association relationship, it can be determined that the first display screen associated with the first virtual projection device is a ceiling-mounted screen.
[0059] It should be noted that, in this embodiment, the execution order of step 202 and step 203 is not particular, and the two can be executed simultaneously or one after the other. Figure 2 The illustrated embodiment only takes step 203 being performed after step 202 as an example to illustrate the present disclosure, and is not intended to limit the present disclosure.
[0060] Step 204: Display the content to be projected on the first display screen.
[0061] In this embodiment, after determining the content to be projected and the first display screen, the content to be projected can be projected onto the first display screen for display, thereby realizing the projection of the content displayed in the mobile terminal onto the display screen selected by the user for projection display.
[0062] The multi-device screen projection processing method of the embodiment of the present disclosure obtains the first virtual screen projection device and the first resource address carried in the first screen projection request in response to receiving the first screen projection request sent by the mobile terminal, accesses the first resource address to obtain the content to be projected, and determines the first display screen associated with the first virtual screen projection device based on the association relationship, and then displays the content to be projected on the first display screen, thereby realizing the projection of the content displayed in the mobile terminal to the display screen selected by the user for screen display.
[0063] In actual application scenarios, users may need to switch the display screen of the projection screen, such as switching the content originally displayed on the main control screen to the co-pilot screen for display. In view of this situation, in an optional embodiment of the present disclosure, Figure 3 As shown, based on the above embodiment, the multi-device screen projection processing method disclosed in the present invention may further include the following steps:
[0064] Step 301: In response to receiving a second screen projection request sent by a mobile terminal, obtain a second virtual screen projection device and a second resource address carried in the second screen projection request.
[0065] In this embodiment, when the user needs to switch the display screen for projection, the user can select the display screen to be switched through the mobile terminal. For example, if the user wants to switch from the main control screen to the co-pilot screen, the user can click the projection control on the video playback software again, and then the mobile terminal searches for the projection device and displays it. The user selects the co-pilot screen according to the name of the projection device displayed in the mobile terminal. After the user completes the selection, the mobile terminal sends a projection request to the vehicle system again. After the vehicle system receives the projection request sent by the mobile terminal (for the convenience of description and distinction, it is called the second projection request), it can obtain the carried virtual projection device (for the convenience of description and distinction, it is called the second virtual projection device) and the resource address (for the convenience of description and distinction, it is called the second resource address) from the second projection request.
[0066] Step 302, determine whether the second virtual screen projection device is consistent with the first virtual screen projection device, and determine whether the second resource address is consistent with the first resource address.
[0067] In this embodiment, after obtaining the second virtual screen projection device and the second resource address, the second virtual screen projection device can be compared with the first virtual screen projection device to determine whether the two are consistent, and the second resource address can be compared with the first resource address to determine whether the two are consistent. In other words, after receiving the second screen projection request from the mobile terminal, the vehicle system determines, based on the second virtual screen projection device and the second resource address carried in the second screen projection request, whether the display screen currently in the projection display state has the same display screen as the display screen corresponding to the second virtual screen projection device and the content displayed is consistent with the content corresponding to the second resource address. If there is a different display screen displaying the content corresponding to the second resource address, that is, the second virtual projection device is inconsistent with the first virtual projection device, and the first resource address is consistent with the second resource address, then execute step 303; if no display screen is displaying the content corresponding to the second resource address, that is, the second virtual projection device is inconsistent with the first virtual projection device, and the first resource address is inconsistent with the second resource address, then according to normal projection processing, the content corresponding to the second resource address is projected and displayed on the display screen associated with the second virtual projection device; if the display screen associated with the second virtual projection device is displaying other content different from the content corresponding to the second resource address, that is, the second virtual projection device is consistent with the first virtual projection device, and the first resource address is inconsistent with the second resource address, then it is determined that the user wants to switch the content of the projection display, and the content displayed on the display screen associated with the second virtual projection device is replaced with the content corresponding to the second resource address.
[0068] Step 303: When the second virtual screen projection device is inconsistent with the first virtual screen projection device and the second resource address is consistent with the first resource address, it is determined that the mobile terminal requests screen switching.
[0069] Step 304: Switch the content to be projected to the second display screen associated with the second virtual projection device for display, wherein the first display screen exits displaying the content to be projected.
[0070] In this embodiment, when it is determined that the second virtual projection device is inconsistent with the first virtual projection device, and the second resource address is consistent with the first resource address, it can be determined that the mobile terminal requests screen switching. At this time, the content to be projected previously obtained according to the first resource address is projected and displayed on the display screen associated with the second virtual projection device (for the convenience of description and distinction, it is called the second display screen), and the first display screen exits displaying the content to be projected. Therefore, the user does not need to operate on the car display screen, and the switching of the projection display screen can be achieved through the mobile terminal.
[0071] In an optional embodiment of the present disclosure, in order to ensure the user's screen projection experience, when the content to be projected is switched to the second display screen associated with the second virtual screen projection device for display, the current display progress of the content to be projected displayed on the first display screen can be obtained first, and then the content to be projected can be played from the current display progress through the second display screen. For example, assuming that the content to be projected is currently playing to the 10th minute on the first display screen, when the content to be projected is switched to the second display screen for display, it will start playing from the 10th minute of the content to be projected. In this way, the playback progress is guaranteed not to be affected by screen switching, thereby improving the user's screen projection experience.
[0072] In an optional embodiment of the present disclosure, when the first display screen exits displaying the content to be projected and / or the second display screen displays the content to be projected, the content can be exited and / or displayed in an animated manner. For example, when the first display screen exits displaying the content to be projected, the content can be exited by gradually disappearing, and when the second display screen displays the content to be projected, the content can be displayed by gradually appearing. In this way, a flying screen animation effect is achieved, enriching the projection experience.
[0073] In an optional embodiment of the present disclosure, in order not to affect the user's screen projection experience, after determining that the second virtual screen projection device is inconsistent with the first virtual screen projection device and the second resource address is consistent with the first resource address, it is also possible to detect whether content is being displayed on the second display screen associated with the second virtual screen projection device. If not, the content to be projected is directly projected onto the second display screen for display; if content is being displayed on the second display screen, the user can be asked whether to switch the content on the second display screen through voice broadcast or by sending an inquiry message to the mobile terminal. If the user replies to confirm the switch, the content to be projected is projected onto the second display screen for display, otherwise, displaying the content to be projected on the second display screen is abandoned.
[0074] It can be understood that in this embodiment, the virtual projection device and the display screen are one-to-one corresponding. When switching different display screens for projection playback of the same film source, it is essentially switching different projection links (i.e., virtual projection devices) to project on different display screens.
[0075] The multi-device screen projection processing method of the disclosed embodiment switches the content to be projected to the second display screen associated with the second virtual screen projection device for display when the second virtual screen projection device carried in the second screen projection request is inconsistent with the first virtual screen projection device and the second resource address is consistent with the first resource address. The first display screen exits displaying the content to be projected, thereby realizing switching of the projection display screen through the mobile terminal. The user does not need to operate on the vehicle display screen, and the screen projection switching between multiple vehicle display screens is realized, which greatly improves the user experience of the projection product.
[0076] In some application scenarios, users may need to project the same content onto multiple different display screens of the car system for display, and simultaneously deliver the same film source. In this case, users can use video software on the mobile terminal, turn on the projection function to search for projection devices, and select multiple devices to be projected based on the projection devices searched by the mobile terminal. After the user's selection, a projection communication link is established between the mobile terminal and the selected projection devices, and a projection request is sent to the car system. The projection request carries multiple projection devices selected by the user (i.e., virtual projection devices) and the resource addresses of the resources to be projected. Therefore, after the vehicle system receives the screen projection request sent by the mobile terminal (for the convenience of description and distinction, it is called the third screen projection request), it obtains the multiple virtual screen projection devices (for the convenience of description and distinction, it is called the third virtual screen projection device) and resource addresses (for the convenience of description and distinction, it is called the third resource address) carried by the third screen projection request, and accesses the third resource address to obtain the corresponding screen projection resources, and then displays the screen projection resources on the display screens corresponding to the multiple third virtual screen projection devices (for the convenience of description and distinction, it is called the third display screen). In this way, multi-display screen projection of the same film source is realized, so that multiple display screens can display the same content synchronously, greatly improving the screen projection experience.
[0077] Furthermore, in order to ensure a better screen projection experience and ensure that the projection effects of each display screen remain consistent, in an optional embodiment of the present disclosure, when a user operates a projection resource on one display screen, other display screens playing the same projection resource also automatically perform the same operation. Specifically, in response to receiving the user's operation on the projection resource displayed on the target display screen, operation information is obtained, wherein the target display screen is the display screen operated by the user, and the operation performed by the user may be adjusting the playback progress, adjusting the playback speed, etc. The obtained operation information may include the operation name (such as adjusting progress, adjusting speed) and operation parameters (such as adjusted progress value, adjusted speed value); then, the operation information is sent to the mobile terminal through the process where the target virtual projection device associated with the target display screen is located, and after the mobile terminal receives the operation information, the operation information is synchronized to one or more other third virtual projection devices other than the target virtual projection device; then, in response to receiving the operation information sent by the mobile terminal through the target process, corresponding operations are performed on the projection resource displayed on the display screen associated with the virtual projection device of the target process according to the operation information; wherein, the target process is at least one of the processes where multiple third virtual projection devices are located, and the target process does not include the process where the target virtual projection device is located.
[0078] For example, assuming that the user projects the same film source to the main control screen and the co-pilot screen for display respectively, and the user adjusts the playback progress of the film source to 10 minutes on the main control screen, the operation information obtained includes "adjust progress, 10 minutes", and the car system sends the operation information to the mobile terminal through the process corresponding to the main control screen. After receiving the operation information, the mobile terminal sends the operation information to the virtual projection device associated with the co-pilot screen through the process corresponding to the co-pilot screen. After receiving the information, the car system also adjusts the progress of the film source played on the co-pilot screen to 10 minutes.
[0079] In an embodiment of the present disclosure, after the user operates the projection resources displayed on the target display screen, the operation information is sent to the mobile terminal, which is synchronized to other virtual projection devices by the mobile terminal, and then the same operation is performed on the projection resources on other display screens according to the operation information. In this way, the synchronization of operations on each display screen is achieved, and the consistency of the projection experience is ensured.
[0080] Furthermore, in an optional embodiment of the present disclosure, for a scenario where the same film source is projected onto multiple display screens for synchronous display, when the operation of exiting the projection is performed on one of the display screens, it will not affect the projection display of other display screens, and the other display screens continue to play the projection resources.
[0081] In order to implement the above embodiments, the present disclosure also provides a multi-device screen projection processing device, which can be implemented using software and / or hardware and can be integrated into an electronic device.
[0082] Figure 4 A schematic diagram of the structure of a multi-device screen projection processing device provided by an embodiment of the present disclosure is shown as follows: Figure 4 As shown, the multi-device screen projection processing device 40 may include: a screen number acquisition module 410, a process construction module 420, a device construction module 430 and an association module 440.
[0083] The screen number acquisition module 410 is used to obtain the number of screens mounted on the vehicle system;
[0084] A process building module 420 is used to create a corresponding number of processes according to the number of screens;
[0085] The device construction module 430 is used to construct a virtual screen projection device for each process based on the screen projection protocol;
[0086] The association module 440 is used to establish an association relationship between the display screen and the virtual projection device, so that the mobile terminal can project the content to be projected to the corresponding display screen by searching for the virtual projection device, wherein one display screen is associated with one virtual projection device.
[0087] Optionally, the process construction module 420 is further configured to:
[0088] Determine whether the number of screens is greater than 1;
[0089] If the number of screens is greater than 1, a corresponding number of processes are created based on the number of screens.
[0090] Optionally, the multi-device screen projection processing apparatus 40 further includes:
[0091] A first acquisition module is configured to, in response to receiving a first screen projection request sent by a mobile terminal, acquire a first virtual screen projection device and a first resource address carried in the first screen projection request;
[0092] A first access module is used to access a first resource address to obtain content to be projected;
[0093] A first determining module, configured to determine a first display screen associated with the first virtual screen projection device according to the association relationship;
[0094] The first display module is used to display the content to be projected on the first display screen.
[0095] Further optionally, the multi-device screen projection processing apparatus 40 further includes:
[0096] A second acquisition module is configured to, in response to receiving a second screen projection request sent by the mobile terminal, acquire a second virtual screen projection device and a second resource address carried in the second screen projection request;
[0097] A judgment module is used to judge whether the second virtual screen projection device is consistent with the first virtual screen projection device, and whether the second resource address is consistent with the first resource address;
[0098] A second determining module is used to determine that the mobile terminal requests screen switching when the second virtual screen projection device is inconsistent with the first virtual screen projection device and the second resource address is consistent with the first resource address;
[0099] The second display module is used to switch the content to be projected to the second display screen associated with the second virtual projection device for display, wherein the first display screen exits displaying the content to be projected.
[0100] Further optionally, the second display module is further configured to:
[0101] Get the current display progress of the content to be projected on the first display screen;
[0102] Play the content to be projected through the second display from the current display progress.
[0103] Optionally, the multi-device screen projection processing apparatus 40 further includes:
[0104] A third acquisition module is configured to, in response to receiving a third screen projection request sent by the mobile terminal, acquire multiple third virtual screen projection devices and third resource addresses carried in the third screen projection request;
[0105] The second access module is used to access the third resource address to obtain the screen projection resource;
[0106] The third display module is used to display the projection resources on the third display screens corresponding to multiple third virtual projection devices.
[0107] Further optionally, the multi-device screen projection processing apparatus 40 further includes:
[0108] a fourth acquisition module, configured to acquire operation information in response to receiving an operation of a user on a projection resource displayed on a target display screen;
[0109] An information sending module is used to send the operation information to the mobile terminal through the process of the target virtual screen projection device associated with the target display screen;
[0110] An operation module is used to respond to the operation information sent by the mobile terminal received through the target process, and perform corresponding operations on the projection resources displayed on the display screen associated with the virtual projection device of the target process according to the operation information; wherein, the target process is at least one of the processes where multiple third virtual projection devices are located, and the target process does not include the process where the target virtual projection device is located.
[0111] The multi-device screen projection processing apparatus provided in the embodiments of the present disclosure, which can be applied to electronic devices, can execute the multi-device screen projection processing method provided in the embodiments of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. For any content not fully described in the embodiments of the apparatus of the present disclosure, reference can be made to the description of any method embodiment of the present disclosure.
[0112] An embodiment of the present disclosure also provides an electronic device, including a processor and a memory; the processor calls the program or instructions stored in the memory to execute the steps of the various embodiments of the aforementioned multi-device screen projection processing method. To avoid repeated description, they will not be repeated here.
[0113] The embodiments of the present disclosure also provide a computer-readable storage medium, which is non-transitory and stores programs or instructions. The programs or instructions enable the computer to execute the steps of the various embodiments of the aforementioned multi-device screen projection processing method. To avoid repeated description, they will not be repeated here.
[0114] The embodiments of the present disclosure also provide a computer program product, which is used to execute the steps of each embodiment of the aforementioned multi-device screen projection processing method.
[0115] The embodiments of the present disclosure also provide a vehicle, comprising the multi-device screen projection processing apparatus as described in the aforementioned embodiments, or the electronic device as described in the aforementioned embodiments, or the computer-readable storage medium as described in the aforementioned embodiments, or the computer program product as described in the aforementioned embodiments.
[0116] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0117] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A multi-device screen projection processing method, characterized in that: The method comprises: Get the number of screens mounted on the vehicle system; Create a corresponding number of processes according to the number of screens; Based on the screen projection protocol, a virtual screen projection device is constructed for each process; An association relationship between the display screen and the virtual projection device is established so that the mobile terminal can project the content to be projected onto the corresponding display screen by searching for the virtual projection device, wherein one display screen is associated with one virtual projection device.
2. The method according to claim 1, characterized in that The step of creating a corresponding number of processes according to the number of screens includes: Determine whether the number of screens is greater than 1; When the number of screens is greater than 1, a corresponding number of processes are created according to the number of screens.
3. The method according to claim 1, characterized in that The method further comprises: In response to receiving a first screen projection request sent by the mobile terminal, obtaining a first virtual screen projection device and a first resource address carried in the first screen projection request; Access the first resource address to obtain the content to be projected; Determining, based on the association relationship, a first display screen associated with the first virtual screen projection device; Display the content to be projected on the first display screen.
4. The method according to claim 3, characterized in that The method further comprises: In response to receiving a second screen projection request sent by the mobile terminal, obtaining a second virtual screen projection device and a second resource address carried in the second screen projection request; Determine whether the second virtual screen projection device is consistent with the first virtual screen projection device, and determine whether the second resource address is consistent with the first resource address; When the second virtual screen projection device is inconsistent with the first virtual screen projection device, and the second resource address is consistent with the first resource address, determining that the mobile terminal requests screen switching; The content to be projected is switched to the second display screen associated with the second virtual projection device for display, wherein the first display screen exits displaying the content to be projected.
5. The method according to claim 4, characterized in that The switching the content to be projected to the second display screen associated with the second virtual projection device for display includes: Obtaining the current display progress of the content to be projected on the first display screen; The content to be projected is played starting from the current display progress through the second display screen.
6. The method according to claim 1, characterized in that The method further comprises: In response to receiving a third screen projection request sent by the mobile terminal, obtaining a plurality of third virtual screen projection devices and a third resource address carried in the third screen projection request; Access the third resource address to obtain the screen projection resource; The screen projection resources are displayed on the third display screens corresponding to the multiple third virtual screen projection devices.
7. The method according to claim 6, characterized in that The method further comprises: In response to receiving a user operation on a projection resource displayed on a target display screen, obtaining operation information; Sending the operation information to the mobile terminal through the process of the target virtual screen projection device associated with the target display screen; In response to receiving the operation information sent by the mobile terminal through the target process, performing a corresponding operation on the projection resource displayed on the display screen associated with the virtual projection device of the target process according to the operation information; The target process is at least one of the processes where the multiple third virtual screen projection devices are located, and the target process does not include the process where the target virtual screen projection device is located.
8. A multi-device screen projection processing device, characterized in that: include: The screen number acquisition module is used to obtain the number of screens mounted on the vehicle system; A process building module, configured to create a corresponding number of processes according to the number of screens; A device construction module, configured to construct a virtual screen projection device for each process based on the screen projection protocol; An association module is used to establish an association relationship between the display screen and the virtual projection device, so that the mobile terminal can project the content to be projected onto the corresponding display screen by searching for the virtual projection device, wherein one display screen is associated with one virtual projection device.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program or instruction, which enables a computer to execute the multi-device screen projection processing method as described in any one of claims 1 to 7.
10. A vehicle, characterized in that: It includes the multi-device screen projection processing device as described in claim 8, or the computer-readable storage medium as described in claim 9.
Citation Information
Patent Citations
Multi-target display method and system, electronic equipment and storage medium
CN113342294A
Software screen projection method and device, equipment and storage medium
CN115426523A