Multi-screen interaction method and electronic equipment

CN119256292APending Publication Date: 2025-01-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380042173.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-04-21
Filing Date
2023-04-19
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In existing technologies, the multi-screen interaction process between vehicle systems and mobile devices is cumbersome, and third-party applications need to be adapted to control entry points, making it difficult to achieve multi-screen interaction conveniently and efficiently.

Method used

By swiping on the first display screen, the first electronic device directly sends content to the second display screen, causing the second display screen to display the first content. This simplifies the operation process and assists the user in selecting the target display screen through candidate directions and identification information, reducing application adaptation requirements.

Benefits of technology

It achieves a simple and smooth multi-screen interaction process, improves the ease of operation and efficiency, reduces the difficulty of adapting third-party applications, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119256292A_ABST
    Figure CN119256292A_ABST
Patent Text Reader

Abstract

The invention provides a multi-screen interaction method and electronic equipment. The method comprises the steps that first electronic equipment displays first content on a first display screen; the first electronic equipment receives a first operation, wherein the first operation is a sliding operation acting on the first display screen; and the first electronic equipment responds to the received first operation, and sends the first content to second electronic equipment which displays second content on a second display screen, so that the second electronic equipment displays the first content on the second display screen. Based on the method, a user can trigger the first electronic equipment to share the content displayed on the first display screen to the second display screen of the second electronic equipment for display only by performing the sliding operation on the first display screen, so that multi-screen interaction between the first display screen and the second display screen is realized. According to the method, the operation process is simple, convenient and smooth, application adaptation is not needed, and the convenience and efficiency of multi-screen interaction can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Multi-screen interaction method and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on April 21, 2022, with application number 202210424457.X and application name “A multi-screen interaction method and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the technical field of electronic devices, and in particular to a multi-screen interaction method and electronic device. Background Art

[0004] Currently, more and more display screens are equipped in car computers, and users have an increasing demand for multi-screen interaction between multiple display screens in car computers and multi-screen interaction between display screens in cars and display screens of mobile devices.

[0005] In response to the multi-screen interaction needs within the vehicle computer and between the vehicle computer and mobile devices, the multi-screen interaction method that can be used currently is: the initiator or control end of the multi-screen interaction can provide a control entrance, and the user starts the multi-screen interaction by operating the control entrance. The initiator or control end then provides the user with information about optional display screens. After the user selects the display screen for multi-screen interaction, the initiator or control end controls the sharing of content between the display screens selected by the user, thereby realizing multi-screen interaction.

[0006] In the above method, on the one hand, the user needs to perform multiple operations to complete the multi-screen interaction process, so the operation process is relatively cumbersome and complicated. On the other hand, when the content of the multi-screen interaction is the content of a third-party application, the third-party application needs to be adapted to provide a control entrance, which also increases the difficulty of realizing multi-screen interaction. In summary, the current method of multi-screen interaction is difficult to realize multi-screen interaction conveniently and efficiently.

[0007] Summary of the Invention

[0008] The present application provides a multi-screen interaction method and electronic device to improve the convenience and efficiency of multi-screen interaction.

[0009] In a first aspect, an embodiment of the present application provides a multi-screen interaction method, the method comprising: a first electronic device displays first content on a first display screen; the first electronic device receives a first operation, which is a sliding operation on the first display screen; the first electronic device sends the first content to a second electronic device that displays second content on a second display screen in response to the received first operation, so that the second electronic device displays the first content on the second display screen.

[0010] In this method, after receiving a sliding operation on the first display screen, the first electronic device to which the first display screen belongs can share the content displayed on the first display screen to be displayed on the second display screen of the second electronic device. Therefore, the user only needs to perform a sliding operation on the first display screen to trigger the multi-screen interaction between the first display screen and the second display screen. The operation process is simple and smooth, which improves the convenience and efficiency of the multi-screen interaction. In addition, since the first operation that triggers the multi-screen interaction is an operation on the display screen, when the content of the multi-screen interaction is the content in the application, there is no need for the application to provide a control entrance, and there is no need for the application to adapt, which can also reduce the difficulty of multi-screen interaction and thereby improve the efficiency of multi-screen interaction.

[0011] In one possible design, the angle between the sliding direction of the first operation and the first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent the direction from the position of the first display screen to the position of the second display screen.

[0012] In this method, the first angle threshold can be considered as the error allowable angle of the direction of the sliding operation performed by the user when selecting the target display screen. When the angle between the sliding direction of the first operation and the first candidate direction is less than the first angle threshold, it can be considered that the direction of the user's sliding operation corresponds to the first candidate direction. Then, it can be determined that the display screen selected by the user through the sliding operation is the second display screen corresponding to the first candidate direction, and then it can be determined that the content displayed on the first display screen is shared with the second display screen for display. Based on this method, the first electronic device can quickly determine the target display screen selected by the user based on the sliding operation performed by the user, and then perform multi-screen interaction with the target display screen.

[0013] In one possible design, the first operation includes a second operation and a third operation, and the second operation and the third operation are sliding operations acting on the first display screen, wherein the ending contact point of the second operation on the first display screen is the starting contact point of the third operation on the first display screen; the first electronic device receives the first operation, including: the first electronic device receives the second operation; the first electronic device displays identification information of at least one candidate display screen on the first display screen in response to the received second operation; wherein the at least one candidate display screen includes the second display screen; the first electronic device receives the third operation, and the third operation is used to select the identification information of the second display screen.

[0014] In this method, by dividing the first operation into two sub-operations, a second operation and a third operation, and displaying identification information of candidate display screens after the user performs the second operation, the user can select the target display screen for multi-screen interaction by performing the third operation. On the one hand, this allows the user to intuitively view and select information about candidate display screens suitable for multi-screen interaction, and on the other hand, the user can still trigger multi-screen interaction through continuous sliding operations. While ensuring operational simplicity, it can expand the user's ways of triggering multi-screen interaction.

[0015] In one possible design, the angle between the candidate direction corresponding to the at least one candidate display and the sliding direction of the second operation is less than a set second angle threshold; or, the angle between the sliding direction of the second operation and the set first reference direction is less than the set second angle threshold; the angle between the candidate direction corresponding to the at least one candidate display and the first reference direction is less than the second angle threshold; wherein, the candidate direction corresponding to any candidate display is used to represent the direction from the position of the first display to the position of the candidate display.

[0016] In this method, if the angle between the direction of the user's sliding operation and at least one candidate direction and a certain direction is less than a second angle threshold, the direction of the user's sliding operation and the at least one candidate direction are considered to be on the same side. Based on this method, after receiving the user's sliding operation, the first electronic device can only display information about the candidate display screens on the side of the sliding operation direction, facilitating the user's continued selection of a target display screen for multi-screen interaction.

[0017] In one possible design, the first electronic device displays identification information of at least one candidate display screen on the first display screen, including: the first electronic device obtains sorting reference information corresponding to the at least one candidate display screen, and the sorting reference information is used to indicate: the position of the display screen, or the distance between the display screen and the first display screen, or the intimacy between the electronic device to which the display screen belongs and the first electronic device; the first electronic device sorts the at least one candidate display screen according to the sorting reference information corresponding to the at least one candidate display screen; the first electronic device displays the identification information of the at least one candidate display screen on the first display screen according to the sorting of the at least one candidate display screen.

[0018] In this method, after the first electronic device sorts at least one candidate display screen, it displays identification information of at least one candidate display screen according to the sorting, which makes it easier for users to quickly select the target display screen that requires multi-screen interaction based on the sorting, thereby improving the user experience.

[0019] In one possible design, the at least one candidate display screen is in a bright screen state.

[0020] In this method, when the candidate display screen is in the bright screen state, it indicates that the candidate display screen is in an operating (working) state and can display the received content. Therefore, by displaying the information of the operating display screen to the user, after the user selects the display screen for multi-screen interaction, it can be ensured that the first electronic device can directly perform multi-screen interaction with the display screen selected by the user and successfully implement multi-screen interaction.

[0021] In a possible design, the first display screen and the second display screen are in a non-relative static state, and the first candidate direction is a set direction.

[0022] In this method, when the first display screen and the second display screen are in a non-relative static state, the first candidate direction is the set direction, and the first candidate direction is the candidate direction corresponding to the second display screen. This ensures that no matter how the relative positions of the first display screen and the second display screen change, the user can trigger the multi-screen interaction between the first display screen and the second display screen by performing a sliding operation in a fixed direction (i.e., the first candidate direction), thereby ensuring the successful realization of the multi-screen interaction between the first display screen and the second display screen.

[0023] In a possible design, the first display screen and the second display screen are in a non-relative static state, and the candidate direction corresponding to the second display screen is a set direction.

[0024] In this method, when the first display screen and the second display screen are in a non-relative static state, the candidate direction corresponding to the second display screen is the set direction. This ensures that no matter how the relative positions of the first display screen and the second display screen change, the user can trigger the multi-screen interaction between the first display screen and the second display screen by performing a sliding operation in a fixed direction (i.e., the candidate direction corresponding to the second display screen), thereby ensuring the successful implementation of the multi-screen interaction between the first display screen and the second display screen.

[0025] In one possible design, the first display screen is a display screen configured in the vehicle cabin, and the second display screen is a display screen of a mobile device.

[0026] In this method, the position of the in-cabin display generally remains constant for a long period of time, while the position of the mobile device's display may change at any time. Therefore, the in-cabin display and the mobile device's display are generally not in a relatively static state. This method enables multi-screen interaction between the in-cabin display and the mobile device's display.

[0027] In a possible design, the first display screen and the second display screen are in a relatively static state.

[0028] In this method, when the first display screen and the second display screen are in a relatively stationary state, the first electronic device can pre-acquire and save the direction from the first display screen to the second display screen, and then based on the direction and user operation, it can be determined whether the display screen selected by the user for multi-screen interaction is the second display screen.

[0029] In one possible design, the first display screen and the second display screen are display screens configured in the same vehicle cabin.

[0030] In this method, the display screens in the vehicle cockpit are generally in a non-relative static state. Therefore, the first electronic device can pre-acquire the directional relationship between the display screens in the vehicle cockpit, and then determine the display screen selected by the user for multi-screen interaction based on the user operation and the directional relationship between the display screens, thereby realizing multi-screen interaction between different display screens in the vehicle cockpit.

[0031] In one possible design, the first electronic device and the second electronic device are the same vehicle-mounted device in the vehicle cockpit; or, the first electronic device and the second electronic device are different display devices belonging to the same vehicle-mounted device in the vehicle cockpit, or, the first electronic device and the second electronic device are different vehicle-mounted devices in the vehicle cockpit.

[0032] In this method, the first display screen and the second display screen can be different display screens controlled by the same device, or different display screens controlled by different devices. Combining the above method can realize multi-screen interaction in various scenarios.

[0033] In one possible design, the second electronic device displays the first content on the second display screen, including: the second electronic device uses the first content to replace the second content displayed on the second display screen; or, the second electronic device displays a first window containing the first content and a second window containing the second content on the second display screen; wherein, the first window and the second window are located in different areas of the second display screen, or the first window covers the second window.

[0034] In this method, the second electronic device can display the content from the first electronic device in multiple ways, which is highly flexible.

[0035] In one possible design, the method further includes: the first electronic device obtaining the second content from the second electronic device; and the first electronic device displaying the second content on the first display screen.

[0036] In this method, when the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can simultaneously obtain the content displayed on the second display screen and display it on the first display screen, thereby achieving the effect of exchanging display content between the first display screen and the second display screen.

[0037] In one possible design, the method also includes: the first electronic device displays third content on the first display screen; wherein the third content is set content or content displayed by the first electronic device before displaying the first content; or, the first electronic device switches the first display screen to a screen-off state.

[0038] In this method, after the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can adopt multiple display control modes for display control, which is highly flexible.

[0039] In a second aspect, an embodiment of the present application provides a multi-screen interaction method, which includes: a first electronic device displays first content on a first display screen; the first electronic device receives a first operation, which is a sliding operation on the first display screen; the first electronic device responds to the received first operation by sending the first content to a second electronic device that displays second content on a second display screen, so that the second electronic device displays the first content on the second display screen.

[0040] In this method, after receiving a sliding operation on the first display screen, the first electronic device to which the first display screen belongs can share the content displayed on the first display screen to be displayed on the second display screen of the second electronic device. Therefore, the user only needs to perform a sliding operation on the first display screen to trigger the multi-screen interaction between the first display screen and the second display screen. The operation process is simple and smooth, which improves the convenience and efficiency of the multi-screen interaction. In addition, since the first operation that triggers the multi-screen interaction is an operation on the display screen, when the content of the multi-screen interaction is the content in the application, there is no need for the application to provide a control entrance, and there is no need for the application to adapt, which can also reduce the difficulty of multi-screen interaction and thereby improve the efficiency of multi-screen interaction.

[0041] In one possible design, the first operation includes a second operation and a third operation, and the second operation and the third operation are sliding operations acting on the first display screen, wherein the ending contact point of the second operation on the first display screen is the starting contact point of the third operation on the first display screen; the first electronic device receives the first operation, including: the first electronic device receives the second operation; the first electronic device displays identification information of at least one candidate display screen on the first display screen in response to the received second operation; wherein the at least one candidate display screen includes the second display screen; the first electronic device receives the third operation, and the third operation is used to select the identification information of the second display screen.

[0042] In this method, by dividing the first operation into two sub-operations, a second operation and a third operation, and displaying identification information of candidate displays after the user performs the second operation, the user can select the target display for multi-screen interaction by performing the third operation. This allows the user to intuitively view and select information about candidate displays suitable for multi-screen interaction, while also allowing the user to trigger multi-screen interaction through continuous swiping. This approach maintains operational simplicity while expanding the user's methods for triggering multi-screen interaction.

[0043] In one possible design, the first operation includes a fourth operation, a fifth operation and a sixth operation, and the fourth operation, the fifth operation and the sixth operation are sliding operations acting on the first display screen, wherein the end contact point of the fourth operation on the first display screen is the starting contact point of the fifth operation on the first display screen, and the end contact point of the fifth operation on the first display screen is the starting contact point of the sixth operation on the first display screen; the first electronic device receives the first operation, including: the first electronic device receives the fourth operation; the first electronic device displays first identification information on the first display screen in response to the received fourth operation; wherein the first identification information is used to identify a first position area, and there is at least one candidate display screen in the first position area, and the at least one candidate display screen includes the second display screen; the first electronic device displays the identification information of the at least one candidate display screen on the first display screen in response to the received fifth operation; wherein the fifth operation is used to select the first position area; the first electronic device receives the sixth operation, and the sixth operation is used to select the identification information of the second display screen.

[0044] In this method, by dividing the first operation into three sub-operations: the fourth operation, the fifth operation, and the sixth operation, and displaying the identification information of the location area after the user performs the fourth operation, the user can select a display screen within the location area for multi-screen interaction by performing the fifth operation, and then further select a display screen within the location area for multi-screen interaction by performing the sixth operation. On the one hand, the step-by-step selection method facilitates the user to intuitively view and select information about candidate display screens capable of multi-screen interaction. On the other hand, the user can still trigger multi-screen interaction through continuous sliding operations, thereby ensuring operational simplicity while expanding the user's methods for triggering multi-screen interaction.

[0045] In a possible design, the first display screen and the second display screen are in a non-relative static state.

[0046] In one possible design, the first display screen is a display screen of a mobile terminal device, and the second display screen is a display screen configured in a vehicle cabin.

[0047] In the above method, the position of the mobile device's display may change at any time, while the position of the in-vehicle cockpit display generally remains unchanged for a long period of time. Therefore, the mobile device's display and the in-vehicle cockpit display are generally not in a relatively static state. In this scenario, the above method can achieve the effect of sharing the content displayed on the mobile device's display with the in-vehicle cockpit display.

[0048] In one possible design, the second electronic device displays the first content on the second display screen, including: the second electronic device uses the first content to replace the second content displayed on the second display screen; or, the second electronic device displays a first window containing the first content and a second window containing the second content on the second display screen; wherein, the first window and the second window are located in different areas of the second display screen, or the first window covers the second window.

[0049] In this method, the second electronic device can display the content from the first electronic device in multiple ways, which is highly flexible.

[0050] In one possible design, the method further includes: the first electronic device obtaining the second content from the second electronic device; and the first electronic device displaying the second content on the first display screen.

[0051] In this method, when the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can simultaneously obtain the content displayed on the second display screen and display it on the first display screen, thereby achieving the effect of exchanging display content between the first display screen and the second display screen.

[0052] In one possible design, the method also includes: the first electronic device displays third content on the first display screen; wherein the third content is set content or content displayed by the first electronic device before displaying the first content; or, the first electronic device switches the first display screen to a screen-off state.

[0053] In this method, after the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can adopt multiple display control modes for display control, which is highly flexible.

[0054] In a third aspect, an embodiment of the present application provides a multi-screen interaction method, comprising: a first electronic device displays a first window and a second window on a first display screen; wherein the first window contains first content and the second window contains second content; the first electronic device receives a first operation, which is a sliding operation on the first display screen; in response to the received first operation, the first electronic device sends target content to a second electronic device that displays third content on a second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is the first content and / or the second content.

[0055] In this method, the first electronic device can display multiple contents in multiple windows of the first display screen. After receiving the sliding operation on the first display screen, the first electronic device can share the contents displayed in one or more windows of the first display screen to the second display screen of the second electronic device for display. Therefore, the user only needs to perform a sliding operation on the first display screen to trigger the multi-screen interaction between the first display screen and the second display screen. The operation process is simple and smooth, and the content displayed on the first display screen can be selectively shared, which improves the convenience and efficiency of the multi-screen interaction and can be applied to more scenarios. In addition, since the first operation that triggers the multi-screen interaction is an operation on the display screen, when the content of the multi-screen interaction is the content in the application, there is no need for the application to provide a control entrance, and there is no need for the application to adapt, which can also reduce the difficulty of multi-screen interaction and thereby improve the efficiency of multi-screen interaction.

[0056] In one possible design, the first window and the second window are located in different areas on the first display screen. For example, the first display screen can be a non-folding screen or a folding screen in an unfolded state.

[0057] In this method, the first window and the second window on the first display screen can occupy different display areas on the first display screen, respectively, so that the user can view the content. For example, the first electronic device can display the first window and the second window on the first display screen in a split-screen manner.

[0058] In one possible design, the first electronic device sends target content to a second electronic device that displays third content on a second display screen in response to receiving the first operation, including: when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the first window, sending the first content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the second window, sending the second content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is located within the first window and the second window, sending the first content and the second content to the second electronic device.

[0059] In this method, when multiple windows are displayed on the first display screen, the first electronic device can determine the content to be shared on the second display screen based on the position of the starting contact point of the user's sliding operation on the first display screen. Specifically, when the starting contact point is located in a single window, the first electronic device shares the content in the window to the second display screen. When the starting contact point spans multiple windows, the first electronic device shares all the content displayed on the first display screen to the second display screen. Therefore, based on this method, users can select content for multi-screen interaction by performing the same sliding operation at different locations. It has high flexibility, can meet the various needs of users, and has a high user experience.

[0060] In one possible design, the first electronic device sends target content to the second electronic device that displays third content on the second display screen in response to the received first operation, including: when the first electronic device determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, and the first operation satisfies a first set condition, sending the first content to the second display screen; wherein the first set condition includes: the angle between the sliding direction and the first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent the direction from the position of the first display screen to the position of the second display screen; and / or, the sliding speed is greater than or equal to the set first threshold, or, the sliding acceleration is greater than or equal to the set second threshold, or, the hand-off speed is greater than or equal to the set third threshold.

[0061] In this method, when the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, it can be determined that in the first display screen, the first window is the window farther away from the second display screen, and the second window is the window closer to the second display screen. It can be considered that the second window is separated from the first window and the second display screen. The first electronic device can then determine to skip the second window and share the content in the first window to the second display screen when the user selects the second display screen and the speed / acceleration / hand-off speed of the user's sliding operation is high. Therefore, the first electronic device can flexibly choose whether to skip the middle window for multi-screen interaction based on the speed / acceleration / hand-off speed of the user's sliding operation, while ensuring the simplicity of user operation and improving the efficiency of multi-screen interaction.

[0062] In one possible design, the method also includes: when the target content is the first content, the first electronic device displays fourth content in the first window, wherein the fourth content is set content or content displayed by the first electronic device in the first window before displaying the first content; or, the first electronic device only displays the second content on the first display screen.

[0063] In this method, after the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can adopt multiple display control modes for display control, which is highly flexible.

[0064] In a fourth aspect, an embodiment of the present application provides a multi-screen interaction method, which includes: a first electronic device displays a first window, a second window and a third window on a first display screen; wherein the first window contains first content, the second window contains second content, and the third window contains third content; the first electronic device receives a first operation, which is a sliding operation acting on the first display screen; in response to the received first operation, the first electronic device sends target content to a second electronic device that displays fourth content on a second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is: the first content, or the second content, or the third content, or the first content, the second content and the third content.

[0065] In one possible design, the first electronic device sends target content to the second electronic device that displays fourth content on the second display screen in response to receiving the first operation, including: when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the first window, sending the first content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the second window, sending the second content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the third window, sending the third content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is located within the first window and the second window, sending the first content, the second content and the third content to the second electronic device.

[0066] In one possible design, the first electronic device sends target content to the second electronic device that displays fourth content on the second display screen in response to the received first operation, including: when the first electronic device determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, and the distance between the first window and the second display screen is greater than the distance between the third window and the second display screen, and the first operation satisfies a first set condition, sending the first content to the second electronic device; wherein the first set condition includes: the angle between the sliding direction and the first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent the direction from the position of the first display screen to the position of the second display screen; and / or, the sliding speed is greater than or equal to the set first threshold, or, the sliding acceleration is greater than or equal to the set second threshold, or, the hand-off speed is greater than or equal to the set third threshold.

[0067] In this method, the first electronic device can flexibly choose whether to skip multiple intermediate windows for multi-screen interaction based on the speed / acceleration / hand-off speed of the user's sliding operation, while ensuring the simplicity of user operation and improving the efficiency of multi-screen interaction.

[0068] In one possible design, the method also includes: when the target content is the first content, the first electronic device displays fifth content in the first window, wherein the fifth content is set content or content displayed by the first electronic device in the first window before displaying the first content; or, the first electronic device displays the second window and the third window in split screen on the first display screen.

[0069] In this method, after the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can adopt multiple display control modes for display control, which is highly flexible.

[0070] In a possible design, in the methods described in the third and fourth aspects above, the first electronic device determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, including: the first electronic device determines a first target direction corresponding to the first window; wherein the first target direction is used to represent the direction pointing from the first window to the second window; when the first electronic device determines that the angle between the first target direction and the first candidate direction is less than a set second angle threshold, it determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen.

[0071] In this method, the first electronic device can determine the directional relationship between the first window, the second window and the second display screen based on the directional relationship between the first display screen and the second display screen and the directional relationship between the first window and the second window, and then determine the distance between the first window, the second window and the second display screen with high accuracy.

[0072] In a possible design, in the methods described in the third and fourth aspects above, the first electronic device determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, including: the first electronic device determines a first target direction corresponding to the first window and a second target direction corresponding to the second window; wherein the first target direction is used to indicate a direction from the first window to the second window, and the second target direction is used to indicate a direction from the second window to the first window; when the first electronic device determines that the angle between the first target direction and the first candidate direction is less than the angle between the second target direction and the first candidate direction, it determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen.

[0073] In this method, the first electronic device can determine the directional relationship between the first window, the second window and the second display screen based on the directional relationship between the first display screen and the second display screen and the directional relationship between the first window and the second window, and then determine the distance between the first window, the second window and the second display screen with high accuracy.

[0074] In one possible design, in the methods described in the third and fourth aspects above, the second electronic device displays the target content on the second display screen, including: the second electronic device replaces the third content displayed on the second display screen with the target content; or, the second electronic device displays a first window containing the target content and a second window containing the third content on the second display screen; wherein the first window and the second window are located in different areas of the second display screen, or the first window covers the second window.

[0075] In this method, the second electronic device can display the content from the first electronic device in multiple ways, which is highly flexible.

[0076] In a possible design, the first window displayed on the second display screen is a floating window.

[0077] In a possible design, in the methods described in the third and fourth aspects above, the method further includes: when the target content is the first content, the first electronic device obtains the third content from the second electronic device; and the first electronic device displays the third content in the first window.

[0078] In this method, when the first electronic device shares the content displayed on the first display screen to the second display screen of the second electronic device for display, it can simultaneously obtain the content displayed on the second display screen and display it on the first display screen, thereby achieving the effect of exchanging display content between the first display screen and the second display screen.

[0079] In a fifth aspect, an embodiment of the present application provides a multi-screen interaction method, which includes: a first electronic device displays first content on a first display screen; the first electronic device receives a first operation, which is a sliding operation on the first display screen; in response to the received first operation, the first electronic device sends the first content to a second electronic device that displays a first window containing second content and a second window containing third content on a second display screen, so that the second electronic device displays the first content on the second display screen.

[0080] In this method, after receiving a sliding operation on the first display screen, the first electronic device to which the first display screen belongs can share the content displayed on the first display screen to be displayed on the second display screen of the second electronic device. Therefore, the user only needs to perform a sliding operation on the first display screen to trigger the multi-screen interaction between the first display screen and the second display screen. The operation process is simple and smooth, which improves the convenience and efficiency of the multi-screen interaction. In addition, since the first operation that triggers the multi-screen interaction is an operation on the display screen, when the content of the multi-screen interaction is the content in the application, there is no need for the application to provide a control entrance, and there is no need for the application to adapt, which can also reduce the difficulty of multi-screen interaction and thereby improve the efficiency of multi-screen interaction.

[0081] In one possible design, the method further includes: the first electronic device instructs the second electronic device to display the first content in a target window; wherein the target window is the first window or the second window.

[0082] In this method, the second display screen of the second electronic device can display multiple contents in multiple windows. When the first electronic device shares the content displayed on the first display screen to the second display screen for display, it can instruct the second electronic device to display it in the first window or the second window on the second display screen. Therefore, the first electronic device can selectively share the content displayed on the first display screen to a specific window on the second display screen while ensuring the simplicity of user operation. Therefore, while improving the convenience and efficiency of multi-screen interaction, this solution can also be applied to more scenarios, meet the diverse interaction needs of users, and thus improve the user experience.

[0083] In one possible design, the first electronic device instructs the second electronic device to display the first content in the target window, including: when the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the first operation satisfies the first set condition and / or the second set condition, instructing the second electronic device to display the first content in the first window; or, when the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the first operation does not satisfy the second set condition, instructing the second electronic device to display the first content in the second window; wherein the first set condition includes: the angle between the sliding direction of the first operation and the first candidate direction is less than a set first angle threshold, and the first candidate direction is used to represent the direction from the position of the first display screen to the position of the second display screen; the second set condition includes: the sliding speed is greater than or equal to the set first threshold, or the sliding acceleration is greater than or equal to the set second threshold, or the hand-off speed is greater than or equal to the set third threshold.

[0084] In this method, when the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, it can be determined that in the second display screen, the first window is the window farther away from the first display screen, and the second window is the window closer to the first display screen. It can be considered that the second window is separated from the first display screen. Then, when the user selects the second display screen and the user's sliding speed / acceleration / hand-off speed is high, the first electronic device can determine to skip the second window and share the content in the first display screen to the first window of the second display screen. Therefore, the first electronic device can flexibly choose whether to skip the middle window for multi-screen interaction based on the speed / acceleration / hand-off speed of the user's sliding operation, while ensuring the simplicity of user operation and improving the efficiency of multi-screen interaction.

[0085] In one possible design, the second electronic device displays the first content on the second display screen, including: the second electronic device replaces the second content displayed in the first window with the first content; or, the second electronic device replaces the third content displayed in the second window with the first content; or, the second electronic device displays a first window containing the second content, a second window containing the third content, and a third window containing the first content on the second display screen; wherein the first window, the second window, and the third window are located in different areas of the second display screen, or the third window covers the first window and / or the second window.

[0086] In this method, the second electronic device can display the content from the first electronic device in multiple ways, which is highly flexible.

[0087] In one possible design, the third window displayed on the second display screen is a floating window.

[0088] In a sixth aspect, an embodiment of the present application provides a multi-screen interaction method, which includes: a first electronic device displays first content on a first display screen; the first electronic device receives a first operation, which is a sliding operation on the first display screen; in response to the received first operation, the first electronic device sends the first content to a second electronic device that displays a first window containing second content, a second window containing third content, and a third window containing fourth content on a second display screen, so that the second electronic device displays the first content on the second display screen.

[0089] In one possible design, the method also includes: the first electronic device instructs the second electronic device to display the first content in a target window; wherein the target window is the first window or the second window or the third window.

[0090] In one possible design, the first electronic device instructs the second electronic device to display the first content in the target window, including: when the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the distance between the first window and the first display screen is greater than the distance between the third window and the first display screen, and the first operation satisfies the first set condition and / or the second set condition, the first electronic device instructs the second electronic device to display the first content in the first window; or, when the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the distance between the second window and the first display screen is greater than the distance between the third window and the first display screen, and the first operation satisfies the first set condition and / or the third set condition, the first electronic device instructs the second electronic device to display the first content in the second window; or, when the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen the distance between the second window and the first display screen, and the distance between the second window and the first display screen is greater than the distance between the third window and the first display screen, and when the first operation satisfies the first setting condition and / or the fourth setting condition, the first electronic device instructs the second electronic device to display the first content in the third window; wherein the first setting condition includes: the angle between the sliding direction of the first operation and the first candidate direction is less than the set first angle threshold, and the first candidate direction is used to represent the direction from the position of the first display screen to the position of the second display screen; the second setting condition includes: the sliding speed is greater than or equal to the set first threshold, or the sliding acceleration is greater than or equal to the set second threshold, or the hand-off speed is greater than or equal to the set third threshold; the third setting condition includes: the sliding speed is less than the set first threshold and greater than or equal to the set fourth threshold, or the sliding acceleration is less than the set second threshold and greater than or equal to the set fifth threshold, or the hand-off speed is less than the set third threshold and greater than or equal to the set sixth threshold; the fourth setting condition includes: the sliding speed is less than the set fourth threshold, or the sliding acceleration is less than the set fifth threshold, or the hand-off speed is less than the set sixth threshold.

[0091] In this method, the first electronic device can flexibly choose whether to skip multiple intermediate windows for multi-screen interaction based on the speed / acceleration / hand-off speed of the user's sliding operation, while ensuring the simplicity of user operation and improving the efficiency of multi-screen interaction.

[0092] In a possible design, in the methods described in the fifth and sixth aspects above, the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, including: the first electronic device determines a first target direction corresponding to the first window; wherein the first target direction is used to represent the direction pointing from the first window to the second window; when the first electronic device determines that the angle between the first target direction and the first candidate direction is greater than a set first angle threshold, it determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen.

[0093] In this method, the first electronic device can determine the directional relationship between the first window, the second window and the first display screen based on the directional relationship between the first display screen and the second display screen and the directional relationship between the first window and the second window, and then determine the distance between the first window, the second window and the first display screen with high accuracy.

[0094] In a possible design, in the methods described in the fifth and sixth aspects above, the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, including: the first electronic device determines a first target direction corresponding to the first window; wherein the first target direction is used to indicate a direction pointing from the first window to the second window; the first electronic device determines a second target direction corresponding to the second window based on the first target direction; wherein the second target direction is used to indicate a direction pointing from the second window to the first window; when the first electronic device determines that the angle between the first target direction and the first candidate direction is greater than the angle between the second target direction and the first candidate direction, the first electronic device determines that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen.

[0095] In this method, the first electronic device can determine the directional relationship between the first window, the second window and the first display screen based on the directional relationship between the first display screen and the second display screen and the directional relationship between the first window and the second window, and then determine the distance between the first window, the second window and the first display screen with high accuracy.

[0096] In a possible design, in the methods described in the fifth and sixth aspects above, the first electronic device determines the first target direction corresponding to the first window, including: the first electronic device receives first indication information sent by the second electronic device, and the first indication information is used to indicate the first target direction.

[0097] In this method, the first window and the second window are windows on the second display screen of the second electronic device. Therefore, the first electronic device can obtain the directional relationship between the first window and the second window from the second electronic device to determine the distance between the first window, the second window and the first display screen.

[0098] In a seventh aspect, an embodiment of the present application provides a multi-screen interaction method, the method comprising: a first electronic device displays a first window and a second window on a first display screen; wherein the first window contains first content and the second window contains second content; the first electronic device receives a first operation, which is a sliding operation on the first display screen; in response to the received first operation, the first electronic device sends target content to a second electronic device that displays a third window containing third content and a fourth window containing fourth content on a second display screen; wherein the target content is the first content and / or the second content.

[0099] In this method, the first electronic device can display multiple contents in multiple windows of the first display screen, and the second electronic device can also display multiple contents in multiple windows of the second display screen. After receiving the sliding operation acting on the first display screen, the first electronic device can share the content displayed in one or more windows of the first display screen to the second display screen of the second electronic device for display. Therefore, the user only needs to perform a sliding operation on the first display screen to trigger the multi-screen interaction between the first display screen and the second display screen. The operation process is simple and smooth, and the content displayed on the first display screen can be selectively shared, which improves the convenience and efficiency of the multi-screen interaction and can be applied to more scenarios. In addition, since the first operation that triggers the multi-screen interaction is an operation acting on the display screen, when the content of the multi-screen interaction is the content in the application, there is no need for the application to provide a control entrance, and there is no need for the application to adapt, so it can also reduce the difficulty of multi-screen interaction, thereby improving the efficiency of multi-screen interaction.

[0100] In one possible design, the first electronic device sends target content to a second electronic device that displays a third window containing third content and a fourth window containing fourth content on a second display screen in response to receiving the first operation, including: when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the first window, sending the first content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is only located within the second window, sending the second content to the second electronic device; or, when the first electronic device determines that the starting contact point of the first operation on the first display screen is located within the first window and the second window, sending the first content and the second content to the second electronic device.

[0101] In this method, users can select content for multi-screen interaction by performing the same sliding operation at different locations. This method is highly flexible, can meet various user needs, and provides a high user experience.

[0102] In one possible design, the method further includes: the first electronic device instructs the second electronic device to display the target content in a target window; wherein the target window is the third window or the fourth window.

[0103] In this method, the first electronic device can selectively share the content displayed on the first display screen to a specific window on the second display screen, while ensuring user convenience. Therefore, this solution not only improves the convenience and efficiency of multi-screen interaction, but also can be applied to more scenarios, meet the diverse interaction needs of users, and thus improve the user experience.

[0104] In one possible design, the first electronic device instructs the second electronic device to display the target content in the target window, including: when the first electronic device determines that the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen, and the first operation satisfies the first set condition and / or the second set condition, instructing the second electronic device to display the target content in the third window; or when the first electronic device determines that the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen, and the first operation satisfies the first set condition and / or the third set condition, instructing the second electronic device to display the target content in the fourth window; wherein, The first setting condition includes: the angle between the sliding direction of the first operation and the first candidate direction is less than the set first angle threshold; wherein the first candidate direction is used to represent the direction from the position of the first display screen to the position of the second display screen; the second setting condition is: the sliding speed is greater than or equal to the set first threshold, or the sliding acceleration is greater than or equal to the set second threshold, or the hand-off speed is greater than or equal to the set third threshold; the third setting condition is: the sliding speed is less than the set first threshold and greater than or equal to the set fourth threshold, or the sliding acceleration is less than the set second threshold and greater than or equal to the set fifth threshold, or the hand-off speed is less than the set third threshold and greater than or equal to the set sixth threshold.

[0105] In this method, the first electronic device can define different levels of value ranges for the speed / acceleration / hand-off speed of the user's sliding operation, and correspond the different levels of value ranges to windows at different distances from the first display screen. Then, when it is detected that the speed / acceleration / hand-off speed of the user's sliding operation is within the largest value range, the first electronic device can share the content on the first display screen to a window on the second display screen that is farther away from the first display screen. When it is detected that the speed / acceleration / hand-off speed of the user's sliding operation is within the second largest value range, the first electronic device can share the content on the first display screen to a window on the second display screen that is closer to the first display screen, thereby achieving the effect of selective cross-screen interaction.

[0106] In one possible design, the first electronic device determines that the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen, including: the first electronic device determines a first target direction corresponding to the third window; wherein the first target direction is used to indicate a direction pointing from the third window to the fourth window; when the first electronic device determines that the angle between the first target direction and the first candidate direction is greater than a set first angle threshold, it determines that the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen.

[0107] In one possible design, the first electronic device determines that the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen, including: the first electronic device determines a first target direction corresponding to the third window; wherein the first target direction is used to indicate a direction pointing from the third window to the fourth window; the first electronic device determines a second target direction corresponding to the fourth window based on the first target direction; wherein the second target direction is used to indicate a direction pointing from the fourth window to the third window; when the first electronic device determines that the angle between the first target direction and the first candidate direction is greater than the angle between the second target direction and the first candidate direction, the first electronic device determines that the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen.

[0108] In one possible design, the first electronic device determines the first target direction corresponding to the first window, including: the first electronic device receives first indication information sent by the second electronic device, where the first indication information is used to indicate the first target direction.

[0109] In one possible design, the method further includes: when the target content is the first content, the first electronic device obtains the third content from the second electronic device; and the first electronic device displays the third content in the first window.

[0110] In one possible design, the method also includes: when the target content is the first content, the first electronic device displays fourth content in the first window, wherein the fourth content is set content or content displayed by the first electronic device in the first window before displaying the first content; or, the first electronic device only displays the second content on the first display screen.

[0111] In one possible design, the second electronic device displays the target content on the second display screen, including: the second electronic device displays a third window containing the third content, a fourth window containing the fourth content, and a fifth window containing the target content on the second display screen; wherein the third window, the fourth window, and the fifth window are located in different areas of the second display screen, or the fifth window covers the third window and / or the fourth window.

[0112] In one possible design, the fifth window displayed on the second display screen is a floating window.

[0113] In a possible design, in the methods described in the third to seventh aspects above, the first display screen and the second display screen are in a relatively static state.

[0114] In this method, when the first display screen and the second display screen are in a relatively stationary state, the first electronic device can pre-acquire and save the direction from the first display screen to the second display screen, and then based on the direction and user operation, it can be determined whether the display screen selected by the user for multi-screen interaction is the second display screen or a window in the second display screen.

[0115] In a possible design, in the methods described in the third to seventh aspects above, the first display screen and the second display screen are display screens configured in the same vehicle cabin.

[0116] In this method, the display screens in the vehicle cockpit are generally in a non-relative static state. Therefore, the first electronic device can pre-acquire the directional relationship between the display screens in the vehicle cockpit, and then determine the display screen selected by the user for multi-screen interaction based on the user operation and the directional relationship between the display screens, thereby realizing multi-screen interaction between different display screens in the vehicle cockpit.

[0117] In one possible design, in the methods described in the third to seventh aspects above, the first electronic device and the second electronic device are the same vehicle-mounted device in the vehicle cockpit; or, the first electronic device and the second electronic device are different display devices belonging to the same vehicle-mounted device in the vehicle cockpit, or, the first electronic device and the second electronic device are different vehicle-mounted devices in the vehicle cockpit.

[0118] In this method, the first display screen and the second display screen can be different display screens controlled by the same device, or different display screens controlled by different devices. Combining the above method can realize multi-screen interaction in various scenarios.

[0119] In one possible design, in the methods described in the third to seventh aspects above, the first display screen may be a non-folding screen or a folding screen in an unfolded state.

[0120] In this method, the first display screen can be a display screen of various forms, which is highly flexible.

[0121] In one possible design, in the methods described in the third to seventh aspects above, the second display screen may be a non-folding screen or a folding screen in an unfolded state.

[0122] In this method, the first display screen can be a display screen of various forms, which is highly flexible.

[0123] In an eighth aspect, 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 one or more processors, the electronic device executes the method described in any one of the first to seventh aspects or any possible design of any one of the aspects.

[0124] In the ninth aspect, the present application provides a multi-screen interactive system, which includes a first electronic device and a second electronic device, wherein the first electronic device is used to execute the method performed by the first electronic device in any of the methods described in any of the first to seventh aspects, and the second electronic device is used to execute the method performed by the second electronic device in any of the methods described in any of the first to seventh aspects.

[0125] In the tenth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, it enables the computer to execute the method described in any one of the first to seventh aspects or any possible design of any one of the aspects.

[0126] In the eleventh aspect, the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes the method described in any one of the first to seventh aspects or any possible design of any one of the aspects.

[0127] For the beneficial effects of the fourth aspect, please refer to the description of the beneficial effects of the third aspect. For the beneficial effects of the sixth aspect, please refer to the description of the beneficial effects of the fifth aspect. For the beneficial effects of the seventh aspect, please refer to the description of the beneficial effects of the third and fifth aspects. For the beneficial effects of the eighth to eleventh aspects, please refer to the description of the beneficial effects of the first to seventh aspects. No further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0128] FIG1 is a schematic diagram of the architecture of a possible system applicable to the solution provided in an embodiment of the present application;

[0129] FIG2 is a schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;

[0130] FIG3 is a schematic diagram of a scenario in which a display screen is configured in a vehicle cockpit according to an embodiment of the present application;

[0131] FIG4 is a schematic diagram of a method for determining a target display screen according to a user operation provided by an embodiment of the present application;

[0132] FIG5 is a schematic diagram of a hot zone display interface provided in an embodiment of the present application;

[0133] FIG6 a is a schematic diagram of a method for determining a candidate display screen according to a user operation provided by an embodiment of the present application;

[0134] FIG6 b is a schematic diagram of a hot zone display interface provided in an embodiment of the present application;

[0135] FIG7a is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0136] FIG7 b is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0137] FIG8 is a schematic diagram of a sliding operation provided in an embodiment of the present application;

[0138] FIG9a is a schematic diagram of a method for determining a target display screen according to a user operation provided by an embodiment of the present application;

[0139] FIG9 b is a schematic diagram of a method for determining a target display screen according to a user operation provided by an embodiment of the present application;

[0140] FIG10 is a schematic diagram of a hot zone display interface provided in an embodiment of the present application;

[0141] FIG11 is a schematic diagram of a sliding operation triggering multi-screen interaction provided in an embodiment of the present application;

[0142] FIG12 is a schematic diagram of a sliding operation triggering multi-screen interaction provided by an embodiment of the present application;

[0143] FIG13 is a schematic diagram of a sliding operation triggering multi-screen interaction provided by an embodiment of the present application;

[0144] FIG14 is a schematic diagram of a sliding operation triggering multi-screen interaction provided by an embodiment of the present application;

[0145] FIG15a is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0146] FIG15b is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0147] FIG16 is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0148] FIG17 is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0149] FIG18a is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0150] FIG18b is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0151] FIG19a is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0152] FIG19b is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0153] FIG20a is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0154] FIG20 b is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0155] FIG21a is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0156] FIG21 b is a schematic diagram of a display interface during a multi-screen interaction process provided by an embodiment of the present application;

[0157] FIG22 is a schematic diagram of a multi-screen interaction method provided in an embodiment of the present application;

[0158] FIG23 is a schematic diagram of a multi-screen interaction method provided in an embodiment of the present application;

[0159] FIG24 is a schematic diagram of a multi-screen interaction method provided in an embodiment of the present application;

[0160] FIG25 is a schematic diagram of a multi-screen interaction method provided in an embodiment of the present application;

[0161] FIG26 is a schematic diagram of a multi-screen interaction method provided in an embodiment of the present application;

[0162] FIG27 is a schematic diagram of a multi-screen interaction method provided in an embodiment of the present application;

[0163] FIG28 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0164] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0165] To facilitate understanding, exemplary descriptions of concepts related to this application are provided for reference.

[0166] The electronic device may be a device with a display screen. In some embodiments of the present application, the electronic device may also have a wireless connection function.

[0167] In some embodiments of the present application, the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device with wireless communication function (for example, 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), a smart home device (for example, a smart TV, a smart speaker, etc.), an intelligent robot, a workshop equipment, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a wireless terminal in a smart home, a flying device (for example, an intelligent robot, a hot air balloon, a drone, an airplane), etc.

[0168] Among them, a wearable device is a portable device that a user can wear directly on the body or integrate into the user's clothes or accessories.

[0169] In some embodiments of the present application, 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. 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). It should also be understood that in some other embodiments of the present application, the electronic device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0170] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects 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. For example, 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.

[0171] Currently, in scenarios where multiple display screens are configured in a vehicle computer, there is a need for multi-screen interaction (or cross-screen interaction) between multiple passengers or the same passenger. For example, a passenger may need to share the content displayed on one display screen in the vehicle computer to other display screens in the vehicle computer for display, or may need to share the content displayed on the display screen in the vehicle computer to the display screen of a mobile device for display, or may need to share the content displayed on the display screen of a mobile device to the display screen in the vehicle computer for display.

[0172] Among them, for multi-screen interaction in the car, the following solution is currently used: the user's display screen can display an in-application sharing entrance or a system-level sharing entrance. The user's operation on the sharing entrance can trigger the display of a cross-screen control interface, which includes the logos of multiple display screens. The user can long press the logo of a display screen and drag it to another display screen to share the content displayed on one display screen to the other display screen. After sharing, the content displayed on the two display screens is the same. In some scenarios, the user can also trigger the display of the above-mentioned cross-screen control interface by performing setting operations (such as pressing the display screen with multiple fingers, etc.).

[0173] The same method as for in-vehicle multi-screen interaction can be used to implement multi-screen interaction between the in-vehicle display and the mobile device display. Alternatively, the same method as for in-vehicle multi-screen interaction can be used to share the content of the in-vehicle display to the mobile device display. When sharing the content of the mobile device display to the in-vehicle, the mobile device can provide a corresponding control portal. After the user operates the control portal, the mobile device displays information about the available in-vehicle displays. After the user selects a display, the mobile device shares the content to the selected display.

[0174] In summary, in the current implementation of multi-screen interaction, users need to perform multiple operations to complete the multi-screen interaction process, and cannot directly achieve multi-screen interaction in one step. Therefore, the multi-screen interaction process is not convenient and inefficient. In addition, third-party applications must adapt to the sharing portal function before providing a sharing portal within the application. Therefore, in order to achieve multi-screen interaction, additional third-party application adaptation processing must be performed, which is not conducive to convenient and efficient multi-screen interaction. Therefore, the current method of multi-screen interaction is less convenient and the user experience is poor.

[0175] In view of this, an embodiment of the present application provides a multi-screen interaction method and an electronic device, which can perform multi-screen interaction simply and quickly, improve the convenience of multi-screen interaction, and thus improve the user experience.

[0176] 1 , the structure of an electronic device to which the method provided in an embodiment of the present application is applicable is introduced.

[0177] As shown in Figure 1, 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.

[0178] 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.

[0179] It should be understood that the electronic device 100 shown in FIG1 is merely an example and does not limit the electronic device, and the electronic device may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in FIG1 may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.

[0180] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals based on the instruction opcode and timing signal to complete the control of instruction fetching and execution.

[0181] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0182] The execution of the multi-screen interaction 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, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 can include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU can cooperate to execute the multi-screen interaction method provided in the embodiment of the present application. For example, part of the algorithm in the multi-screen interaction method is executed by the CPU, and another part of the algorithm is executed by the GPU to obtain faster processing efficiency.

[0183] 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), a MiniLED, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one 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 the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, the display screen 194 can display photos, videos, web pages, or files.

[0184] In the embodiment of the present application, the display screen 194 can 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.

[0185] Camera 193 (either a front-facing camera or a rear-facing camera, or one camera serving as both) is used to capture still images or videos. Typically, camera 193 includes a photosensitive element, such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave) that capture light signals reflected from the object to be photographed and transmit the captured light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signals.

[0186] The internal memory 121 can be used to store computer executable program code, which includes 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 can include a program storage area and a data storage area. Among them, the program storage area can store the code of the operating system, application programs (such as control functions, etc.). The data storage area can store data created during the use of the electronic device 100, etc.

[0187] The internal memory 121 may also store one or more computer programs corresponding to the control algorithms provided in the embodiments of the present application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by the one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.

[0188] In addition, 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.

[0189] Of course, the code of the control algorithm provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 110 can run the code of the algorithm for detecting user gestures stored in the external memory through the external memory interface 120.

[0190] 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.

[0191] A touch sensor, also known as a "touch panel," can be provided on the display screen 194. The touch sensor and the display screen 194 form a touch display screen, also known as a "touch screen." The touch sensor is used to detect touch operations applied to or near the touch sensor. The touch sensor can transmit the detected touch operations 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. In other embodiments, the touch sensor can also be provided on the surface of the electronic device 100, at a location different from that of the display screen 194.

[0192] For example, 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 sports and health application, etc.). For example, a user can click the icon of the camera application in the main interface through the touch sensor to trigger 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 the viewfinder interface.

[0193] 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.

[0194] 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0195] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, 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. In an embodiment of the present application, the mobile communication module 150 can also be used to exchange information with other devices.

[0196] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted 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. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, 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.

[0197] The wireless communication module 160 can provide wireless communication solutions applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In the embodiment of the present application, the wireless communication module 160 is used to establish a connection with other electronic devices and exchange data. Alternatively, the wireless communication module 160 can be used to access an access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.

[0198] In addition, the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 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.

[0199] It should be understood that in actual applications, the electronic device 100 may include more or fewer components than those shown in FIG1 , and the embodiments of the present application are not limited thereto. The illustrated electronic device 100 is merely 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.

[0200] 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. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device.

[0201] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. As shown in Figure 2, this software architecture can be divided into four layers: the application layer, the application framework (FWK), the Android runtime and system libraries, and the Linux kernel layer.

[0202] 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 embodiment of the present application is referred to as application (APP), which is a software program that can realize one or more specific functions. Generally, multiple applications can be installed in an electronic device. For example, a camera application, an email application, a sports and health application, etc. The applications mentioned below can be system applications that are installed on the electronic device when it leaves the factory, or they can be third-party applications that the user downloads from the Internet or obtains from other electronic devices while using the electronic device.

[0203] Of course, developers can write applications and install them into this layer. In one possible implementation, applications can be developed using the Java language by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework to interact with the underlying layer of the operating system (such as the kernel layer) and develop their own applications.

[0204] The application framework layer provides the application API and programming framework. It includes predefined functions and can include a window manager, content provider, view system, telephony manager, resource manager, and notification manager.

[0205] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0206] Content providers are used to store and retrieve data and make it accessible to applications. The data may include files (such as documents, videos, images, audio), text, and other information.

[0207] The view system includes visual controls, such as those that display text, images, and documents. The view system is used to build applications. The interface within a display window can be composed of one or more views. For example, the interface for a text notification icon might include a view that displays text and a view that displays an image.

[0208] The phone manager provides communication functionality for electronic devices. The notification manager enables applications to display notifications in the status bar, which can be used to convey informational messages and automatically disappear after a short period of time without user interaction.

[0209] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.

[0210] The Android system's core libraries consist of two parts: one containing the Java language's callable functions and the other containing the Android system's core libraries. The application layer and the application framework layer run in a virtual machine. For example, the virtual machine executes Java files from the application and framework layers as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0211] 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 provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files. 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. The 2D graphics engine is a drawing engine for 2D drawing.

[0212] The kernel layer provides core operating system services, such as security, memory management, process management, network protocol stacks, and driver models. These services are all implemented within the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, including the display driver, the keyboard driver (which acts as an input device), the camera driver, the audio driver, the Bluetooth driver, and the Wi-Fi driver.

[0213] It should be understood that the functional services described above are only examples. In actual applications, electronic devices can also be divided into more or fewer functional services according to other factors, or the functions of each service can be divided in other ways, or the functional services can be not divided but work as a whole.

[0214] The following is an introduction to the solutions provided in the embodiments of this application.

[0215] The solution provided in the embodiments of the present application can be applied to scenarios where multiple display screens are interacting with each other. Multi-screen interaction is a process in which two interacting parties can share the content displayed on their display screens on the other party's display screen for display. Multiple display screens can be located within the same spatial range and can belong to the same electronic device or to different electronic devices.

[0216] In one example, the multiple display screens described above may be multiple display screens configured in the vehicle cockpit, and the multiple display screens may be configured based on a single-chip, multi-screen mechanism or a multi-chip, multi-screen mechanism. In another example, the multiple display screens described above may include at least one display screen configured in the vehicle cockpit and the display screen of at least one terminal device located within the vehicle cockpit space, and the terminal device may be an electronic device carried by a user (passenger) in the vehicle cockpit.

[0217] In the above examples, while the positions of the display screens in the vehicle cockpit can be adjusted, in real-world scenarios, the relative positions of the different display screens in the vehicle cockpit are generally fixed over a long period of time. Therefore, in the embodiments of the present application, the relative positions of the display screens in the vehicle cockpit can be considered fixed. The electronic device to which each display screen belongs can pre-register the positions of the other display screens in the vehicle cockpit to determine the relative positions of the different display screens in the vehicle cockpit. When the position of a display screen in the vehicle cockpit changes, the electronic device to which that display screen belongs can notify the electronic devices to which the other display screens belong of its latest position, thereby ensuring that the electronic devices to which each display screen belongs can accurately obtain the positional distribution information of each display screen in the vehicle cockpit. However, due to the uncertainty of how the terminal device's user uses the terminal device, the relative position of the terminal device's display screen and the display screen in the vehicle cockpit can change at any time and is difficult to maintain fixed over a long period of time. Therefore, in the embodiments of the present application, the relative position of the terminal device's display screen and the display screen in the vehicle cockpit can be considered to be variable.

[0218] In an embodiment of the present application, for multi-screen interaction between display screens whose relative positions are fixed, the interacting parties can pre-save the relative position relationship between the different display screens. During the multi-screen interaction process, the interacting parties can present information from the different display screens to the user or determine the multi-screen interaction object indicated by the user operation based on the pre-saved relative position relationship. For multi-screen interaction between display screens whose relative positions can change, the interacting parties can use the predefined position relationship as the position relationship between the display screens. During the multi-screen interaction process, the interacting parties can present information from the different display screens to the user or determine the multi-screen interaction object indicated by the user operation based on the position relationship. Among them, the user can control the multi-screen interaction process by sliding on the display screen with a set gesture, for example, selecting the object for multi-screen interaction.

[0219] The following is a detailed introduction to the solution provided in the embodiments of the present application in conjunction with specific scenarios. Among them, for the sake of convenience, in the following embodiments of the present application, the display screen that shares content among the two display screens performing multi-screen interaction is recorded as the source display screen, the display screen that receives the content shared by the source display screen among the two display screens performing multi-screen interaction is recorded as the target display screen, the content displayed on the source display screen is recorded as the source content, and the content displayed on the target display screen is recorded as the target content. Among them, the electronic device to which the source display screen belongs is recorded as the source device, and the electronic device to which the target display screen belongs is recorded as the target device. Any electronic device can be used as a source device to perform multi-screen interaction with other electronic devices, and can also be used as a target device to perform multi-screen interaction with other electronic devices.

[0220] Part 1: Multi-screen interaction between displays with fixed relative positions

[0221] In an embodiment of the present application, the source device and the target device may pre-set an operation mode for controlling multi-screen interaction, and the user may control the multi-screen interaction process by performing a corresponding operation. The operation mode may be a gesture operation of sliding on the display screen with a set gesture. For example, the gesture operation may be a multi-finger (e.g., three-finger) sliding operation, and the user may control the multi-screen interaction process by performing a three-finger sliding operation on the display screen.

[0222] In an embodiment of the present application, for display screens with fixed relative positions, the electronic devices to which each display screen belongs can predetermine and store the relative positional relationships between the display screens. During multi-screen interaction, the electronic devices to which each display screen belongs can determine the target display screen selected by the user based on the user's operations on the display screen, thereby sharing the content displayed on their own display screens with the target display screen for display. For example, the display screens with fixed relative positions can be displays configured in a vehicle cockpit or in a home environment.

[0223] Example 1: The display screens with fixed relative positions can be the display screens configured in the vehicle cockpit, for example, they can be display screens 1 to 4 shown in FIG3 , and display screens 1 to 4 belong to electronic devices 1 to 4 respectively. Among them, the position corresponding to display screen 1 is the front left seat, which can be recorded as the front left screen (or central control screen), the position corresponding to display screen 2 is the front right seat, which can be recorded as the front right screen (or co-pilot screen), the position corresponding to display screen 3 is the rear left seat, which can be recorded as the rear left screen, and the position corresponding to display screen 4 is the rear right seat, which can be recorded as the rear right screen. The relative position relationship between display screens 1 to 4 can be determined based on the relative positions of the seats to which they correspond. This relative position relationship can be pre-set by the user in the electronic device to which each display screen belongs, or can be determined after the electronic devices to which each display screen belongs interact with each other. For example, when display screen 1 and display screen 2 belong to different electronic devices, after electronic device 1 to which display screen 1 belongs establishes a communication connection with electronic device 2 to which display screen 2 belongs, electronic device 1 can send its own device identification and corresponding seat information to electronic device 2, then electronic device 2 can determine that display screen 1 of electronic device 1 is located on the left side of display screen 2, thereby establishing and saving the relative position relationship between its own display screen 2 and display screen 1 of electronic device 1. Subsequently, when the user's operation determines that the user's instructions are to share the content in the display screen to the left display screen, the content can be shared to display screen 1 of electronic device 1 for display.

[0224] In the above method, when the source device determines the target display screen selected by the user according to the operation performed by the user on the source display screen, it can adopt any one of the following methods 1 to 3.

[0225] Method 1: Determine the target display based on the direction angle of the user's operation

[0226] In this manner, the source device can determine the target display screen selected by the user based on the direction angle of the moving path of the contact point when the user performs a sliding operation on the source display screen. Specifically, when the user performs a sliding operation on the source display screen, the source device determines the sliding direction of the sliding operation, that is, the direction of the moving path of the contact point on the source display screen when the user performs the sliding operation, and compares the sliding direction with at least one candidate direction. When the angle between the sliding direction and any candidate direction is less than a set first angle threshold or less than the angle between the sliding direction and other candidate directions, the electronic device determines that the target display screen is the candidate display screen corresponding to the candidate direction. Among them, at least one candidate direction corresponds to at least one candidate display screen, and the candidate direction corresponding to any candidate display screen is a direction from the position of the source display screen to the position of the candidate display screen. The candidate display screen is the display screen of an electronic device that can perform multi-screen interaction with the source device.

[0227] Example 2: In the scenario described in Example 1 above, the source device may be electronic device 1, at least one candidate device may be electronic devices 2 to 4, the source display screen may be display screen 1, and at least one candidate display screen may be display screen 2 to 4. As shown in FIG4 , based on the relative positional relationship between display screens 2 to 4 and display screen 1, the source device may determine at least one candidate direction as candidate directions 2 to 4, wherein candidate direction 2 is the direction from display screen 1 to display screen 2, i.e., the direction pointing to the right, candidate direction 3 is the direction from display screen 1 to display screen 3, and candidate direction 4 is the direction from display screen 1 to display screen 4. Then, when the direction pointed by the moving path of the contact point operated by the user on the source display screen is the sliding direction P, and the angle between the sliding direction P and candidate direction 2 is less than the set first angle threshold X1, the source device may determine that the target display screen is display screen 2, thereby initiating the process of sharing the content displayed on display screen 1 to display screen 2 for display.

[0228] In some embodiments of the present application, the source device can assign an angular range to the candidate display screens based on the location and number of the candidate display screens. When multiple candidate display screens are all located within the same directional range on one side of the target display screen, the multiple candidate display screens can evenly divide the angular range corresponding to the directional range, wherein the angular ranges corresponding to different display screens do not overlap. The source device can then use a value that is less than or equal to half the size of the angular range corresponding to the candidate display screen as the first angular threshold corresponding to the candidate display screen. For example, when there is a candidate display screen in each of the four directions of the source display screen, the angular range of the directional range corresponding to the source display screen is 360 degrees. Then, for each of the four display screens in the four directions of the source display screen, the angular range corresponding to each display screen is 90 degrees, and the first angular threshold is 45 degrees. When the direction of the user's sliding operation is within an angular range of 90 degrees centered on the forward direction of the source display screen, and the angle between the sliding direction and the forward direction is less than the first angular threshold, the display screen in front of the source display screen can be determined to be the target display screen.

[0229] In some embodiments of the present application, the candidate display screens are all in the bright screen state (i.e., the power is on). If a display screen is in the off screen state (i.e., the power is off), the source device does not consider that display screen as a candidate display screen. For example, in Example 2 above, if display screens 2 and 3 are in the bright screen state and display screen 4 is in the off screen state, the source device considers display screens 2 and 3 as candidate display screens that can perform multi-screen interaction with display screen 1. The source device can obtain the status information of other display screens from the devices to which they belong, and then determine whether to consider other display screens as candidate display screens based on the status information.

[0230] Method 2: Determine the target display based on the hot zone selected by the user operation

[0231] In this manner, the source device may display the hot zones corresponding to the candidate display screens, and determine the target display screen selected by the user based on the hot zones selected by the user when performing a sliding operation on the source display screen. Specifically, the source device may display at least one hot zone corresponding to the candidate display screen when detecting that the user is performing a sliding operation on the source display screen, so that the user can select the target display screen by continuing to slide to the hot zone. The source device may then determine the target display screen selected by the user based on the hot zone where the last position of the contact point of the user's sliding operation is located. A hot zone is an interactive (or clickable) area of ​​a set size displayed in a specific manner on a display screen. In an embodiment of the present application, hot zones at different positions may be used to represent different display screens, and the user may select the display screen corresponding to the hot zone by clicking on the hot zone. Optionally, the hot zone corresponding to the candidate display screen may also include identification information of the candidate display screen, and the identification information may be information such as the location, name, and type of the candidate display screen.

[0232] Example 3: Based on the scenario described in Example 2 above, the source device is electronic device 1. When the source device detects a user sliding operation, it can display an interface as shown in Figure 5 on the source display screen. This interface includes hot zones 2 to 4, which correspond to display screens 2 to 4. After the hot zones are displayed, if the user continues the previous sliding operation and continues to slide into hot zone 2 and stops sliding, the source device can determine that the target display screen is display screen 2.

[0233] Method 3: Determine the target display screen based on the direction of the user's operation and the hot zone they selected

[0234] In this manner, the source device may display the hot zones corresponding to the candidate display screens based on the direction of the user's operation, and then determine the target display screen selected by the user based on the hot zones selected by the user when performing a sliding operation on the source display screen. Specifically, when the source device detects a sliding operation performed by the user on the source display screen, it compares the sliding direction of the sliding operation with at least one reference direction. If the sliding direction is consistent with any reference direction or the angle is less than the set second angle threshold, the source device displays at least one hot zone corresponding to the reference direction on the display screen, so that the user can select the target display screen by continuing to slide to the hot zone. The source device may determine the target display screen selected by the user based on the hot zone where the last position of the contact point of the user's sliding operation is located. The reference direction may be a set direction or a sliding direction of the user's sliding operation, and the hot zone corresponding to the reference direction is the hot zone of the display screen corresponding to the candidate direction whose angle with the reference direction is less than the set second angle threshold. Optionally, the second angle threshold is greater than the first angle threshold.

[0235] Example 4: Based on the scenario described in Example 2 above, the reference direction may be reference direction A to reference direction D shown in FIG6a. When the source device detects a sliding operation by the user, it compares the current sliding direction of the sliding operation with the set reference direction A to reference direction D. When it is determined that the angle between the current sliding direction and reference direction C is less than the set second angle threshold X2, the source device may display the interface shown in FIG6b on the source display screen, which includes hot zones 3 and 4 corresponding to display screens 3 and 4. After the hot zones are displayed, the user continues the previous sliding operation. When the user continues to slide into hot zone 3 and stops the sliding operation, the source device may determine that the target display screen is display screen 3.

[0236] Based on the methods described in methods 1 to 3 above, the user only needs to slide once on the source display to select the target display and trigger the source device to share the content of the source display to the target display for display. The operation process is very simple and can be completed in one step.

[0237] In an embodiment of the present application, after the multi-screen interaction process is initiated, the source device can send the source content displayed on the source display screen to the target device. After the target device receives the source content from the source device, it can display the source content on the target display screen. After the multi-screen interaction (i.e., after the source device sends the source content to the target device), the source device can display the content on the source display screen in any of the following ways:

[0238] 1) Keep the displayed content unchanged

[0239] In this method, after the source device sends the content displayed on the source display screen to the target device, the content displayed on the source display screen remains unchanged.

[0240] Example 5: As shown in Figure 7a, before multi-screen interaction, the source device's source display screen displays a navigation interface, and the target device's target display screen displays an album interface. After multi-screen interaction, when the source device adopts this method, the content displayed on the source display screen is consistent with the content displayed on the source display screen before the multi-screen interaction, as shown in Case 1 or 2 in Figure 7a.

[0241] 2) Display settings interface

[0242] In this method, the setting interface can be the desktop interface or the interface previous to the interface displayed on the source display before multi-screen interaction. After the source device sends the content displayed on the source display to the target device, it can jump to the desktop interface or the interface previous to the current interface.

[0243] Example 6: Based on the scenario shown in Figure 7a, after multi-screen interaction, when the source device adopts this method, the source display screen displays the desktop interface shown in Figure 7b in case 3. Of course, the source display screen can also display the interface displayed before the navigation interface.

[0244] 3) No display on the screen

[0245] In this manner, after the source device sends the content displayed on the source display screen to the target device, it may stop displaying the content and switch to a screen-off state.

[0246] 4) Display the target content on the target display screen

[0247] In this way, after the source device sends the source content to the target device, it can obtain the target content displayed on the target display screen from the target device and display the target content on the source display screen. Based on this way, the effect of exchanging display content between the source display screen and the target display screen can be achieved.

[0248] When the source device displays the target content, it may replace the interface displaying the source content with the interface displaying the target content, or it may display the target content in a new window (or interface), wherein the new window covers the interface displaying the source content.

[0249] Example 7: Based on the scenario shown in Figure 7a, after multi-screen interaction, when the source device adopts this method, the source display screen displays the interface shown in Case 4 in Figure 7b, that is, the album interface; or, the source display screen displays the interface shown in Case 5 in Figure 7b, that is, the album interface displayed in a new window.

[0250] After multi-screen interaction, the target device can display the source content on the target display screen in any of the following ways:

[0251] 1) Full screen display mode

[0252] In this manner, after receiving the source content from the source device, the target device may replace the currently displayed target content with the source content.

[0253] Example 8: Based on the scenario shown in FIG7a, after multi-screen interaction, when the target device adopts this method, the content displayed on the target display screen is the navigation interface shown in Case 1 in FIG7a.

[0254] 2) Window display mode

[0255] In this manner, after receiving the source content from the source device, the target device may display the source content in a newly added window (or interface), wherein the newly added window covers the interface where the current content is located.

[0256] Example 9: Based on the scenario shown in FIG7a, after multi-screen interaction, when the target device adopts this method, the target display screen displays the interface shown in Case 2 in FIG7a.

[0257] 3) Split-screen display

[0258] In this mode, after receiving source content from a source device, the target device can display the target content and the source content in a split-screen format. Optionally, the terminal device can use this mode to display content in a specific scenario. For example, if the target display is showing a navigation interface, the target device can use a split-screen display to display the target content and the source content on the target display.

[0259] Optionally, the source device can determine whether the sliding speed / sliding acceleration / hand-off speed of the user's sliding operation on the source display screen is greater than the corresponding speed threshold. If so, the source device can simultaneously instruct the target device to use a split-screen display mode and display the source-end content in a split-screen window farther from the source display screen when sharing content. Otherwise, the source device can simultaneously instruct the target device to use a split-screen display mode and display the source-end content in a split-screen window closer to the source display screen when sharing content. Among them, for the two split-screen windows after the target display screen is split, when the angle between the direction from the source display screen to one of the split-screen windows and the direction from the split-screen window to the other split-screen window is less than the set angle threshold, it can be determined that the split-screen window is the split-screen window closer to the source display screen, and the other split-screen window is the split-screen window farther from the source display screen.

[0260] Example 10: Based on the scenario shown in FIG. 7 a , after multi-screen interaction, when the target device adopts this method, the target display screen displays an interface as shown in Case 3 in FIG. 7 b .

[0261] Based on the above method, the source device and the target device can flexibly select the method for displaying content after multi-screen interaction, thereby achieving different display effects. Among them, the source device and the target device can select the method for displaying content based on the type of display content, display scene, task type, task priority, display screen position, etc., or select the display method based on the user's instructions, which is not specifically limited in the embodiments of this application.

[0262] In some embodiments of the present application, when both the source display screen and the target display screen display the source content after cross-screen display, the source device and the target device can synchronously control the source content, or the source device and the target device can independently control the source content displayed by each. For example, when the source content is a video, after multi-screen interaction, the source device and the target device can respectively control the source display screen and the target display screen to play the video synchronously. When the user operates the video played on one of the display screens (such as adjusting the progress or closing it, etc.), the display screen pauses playing the video or responds according to the user's instructions.

[0263] In the above embodiment, the user can operate on the source display screen to control the effect of sharing the source content displayed on the source display screen to the target display screen for display. In some embodiments of the present application, the user can also operate on the target display screen according to the method provided in the above embodiment to control the effect of sharing the source content displayed on the source display screen to the target display screen for display. Among them, the source device or the target device can determine the operation control mode of controlling multi-screen interaction according to the user's instructions: operating on the source display screen or operating on the target display screen.

[0264] In one scenario, when the operation control mode indicated by the user is to operate on the source display screen, the source device and the target device can perform multi-screen interaction in the manner provided in the above embodiment.

[0265] In another scenario, when the user-indicated control mode is to operate on the target display screen, the target device determines the source display screen based on the user operation in a manner similar to the method for the source device to determine the target display screen in the above embodiment. Specifically, the target device may determine the source display screen using any of the following methods 1 to 3:

[0266] Method 1: Determine the source display based on the direction angle of the user operation

[0267] In this manner, the target device can determine the source display screen selected by the user based on the direction angle of the moving path of the contact point when the user performs a sliding operation on the target display screen. Specifically, when the user performs a sliding operation on the target display screen, the target device determines the sliding direction of the sliding operation, that is, the direction of the moving path of the contact point on the target display screen when the user performs the sliding operation, and compares the sliding direction with at least one candidate direction. When the angle between the sliding direction and any candidate direction is less than or equal to the set first angle threshold or less than the angle between the sliding direction and other candidate directions, the electronic device determines that the source display screen is the display screen corresponding to the candidate direction. Among them, at least one candidate direction corresponds one-to-one to at least one candidate display screen, and the candidate direction corresponding to any candidate display screen is the direction from the position of the candidate display screen to the target display screen. The candidate display screen is the display screen of an electronic device that can perform multi-screen interaction with the target device.

[0268] Method 2: Determine the source display based on the hot zone selected by the user

[0269] In this manner, the target device may display a hot zone corresponding to at least one candidate display screen when detecting that the user is performing a sliding operation on the target display screen, so that the user can select a source display screen from the candidate display screens by continuing to slide to the hot zone. The target device may then determine the source display screen selected by the user based on the hot zone where the last position of the touch point of the user's sliding operation is located.

[0270] Method 3: Determine the source display based on the direction of the user's operation and the hot zone they select

[0271] In this method, when the target device detects a user sliding operation on the target display screen, it compares the reverse direction of the sliding direction of the sliding operation with at least one reference direction. If the reverse direction is consistent with any reference direction or the angle between the reverse direction and the reference direction is less than a set second angle threshold, the source device displays at least one hot zone corresponding to the reference direction on the display screen, allowing the user to select the source display screen by continuing to slide to the hot zone. The target device can then determine the source display screen selected by the user based on the hot zone where the contact point of the user's sliding operation is last located. The reference direction is a set direction, and the hot zone corresponding to the reference direction is the hot zone of the display screen corresponding to the candidate direction whose angle with the reference direction is less than the set second angle threshold.

[0272] In some embodiments of the present application, when a sliding operation performed by a user on the display screen of an electronic device can trigger the selection of both a source display screen and a target display screen, the electronic device may also trigger the selection of the target display screen by default, that is, the operation performed by the user on the display screen is used to control the priority of sharing the content on the display screen to other electronic devices, which is higher than the priority of obtaining the content of other display screens.

[0273] After the multi-screen interaction, the target display screen and the source display screen display content display method can refer to the target display screen and the source display screen display content display method in the above embodiment, which will not be repeated here. Some multi-screen interaction effects achieved based on this method can also refer to the following examples 11-12.

[0274] Example 11: When the source display screen is display screen 1 shown in Figure 3 and the target device is display screen 2 shown in Figure 3, the user can perform the same sliding operation on the target display screen as in Example 2 above, that is, sliding along the sliding direction P. This can trigger the target device to obtain the source content displayed on the source display screen from the source device and display it on the target display screen, thereby achieving the effect of controlling multi-screen interaction on the target display screen. After the multi-screen interaction, the interface displayed on the source and target display screens can be the interface shown in Cases 1 to 2 in Figure 7a or Cases 3 to 5 in Figure 7b.

[0275] Example 12: In the scenario shown in FIG3 , display screens 1 and 2 are located in the same row within the cabin, and display screens 1 and 3 are located in the same column within the cabin. Based on the methods provided in the above embodiments, a user can control multi-screen interaction between display screens 1 and 2 by sliding on display screen 1 or 2, and can control multi-screen interaction between display screens 1 and 3 by sliding on display screen 1 or 3. For example, as shown in FIG8 , a user can control device 1 to share the content of display screen 1 with display screen 2 of device 2 for display by performing a three-finger swipe to the right on display screen 1 or 2; a user can control device 2 to share the content of display screen 2 with display screen 1 of device 1 for display by performing a three-finger swipe to the left on display screen 1 or 2; a user can control device 2 to share the content of display screen 2 with display screen 1 of device 1 for display by performing a three-finger swipe downward on display screen 1 or 3; a user can control device 3 to share the content of display screen 3 with display screen 1 of device 1 for display by performing a three-finger swipe upward on display screen 1 or 3. Optionally, device 1, device 2, and device 3 may be the same device or different devices, or some of the devices may be the same device. For example, device 1 and device 2 may be the same device and different from device 3.

[0276] Based on the above method, users can control multi-screen interaction at the source end or at the target end. Therefore, the control method is more flexible, which makes it easier for users to choose the appropriate control method according to actual conditions, thereby improving the user experience.

[0277] Part 2: Multi-screen interaction between displays whose relative positions can be changed

[0278] In this part, the implementation of multi-screen interaction between display screens whose relative positions can be changed can refer to the implementation method of multi-screen interaction between display screens whose relative positions are fixed as described in the first part above, which is described in detail below.

[0279] In some embodiments of the present application, as an optional implementation, the pre-set gesture operation described in the first part above can also control the multi-screen interaction between display screens whose relative positions can be changed, that is, the source device and the target device can use the same gesture operation to control the multi-screen interaction in the above two scenarios. For example, for the interaction between display screens whose relative positions are fixed and the interaction between display screens whose relative positions can be changed, the source device and the target device both use a three-finger sliding operation for control. As another optional implementation, the pre-set gesture operation described in the first part above is only used to control the multi-screen interaction between display screens whose relative positions are fixed. For the interaction between display screens whose relative positions can be changed, the source device and the target device can pre-set other gesture operations for control. For example, for the interaction between display screens whose relative positions are fixed, the source device and the target device can use a three-finger sliding operation for control. For the interaction between display screens whose relative positions can be changed, the source device and the target device can use a two-finger sliding operation for control.

[0280] In an embodiment of the present application, the above-mentioned display screens with fixed relative positions and the display screens with variable relative positions can coexist, that is, among multiple display screens capable of multi-screen interaction, the relative positions between some display screens can be fixed, and the relative positions between some display screens can be variable.

[0281] Example 13: Based on Example 1 above, in addition to display screens 1 to 4, the vehicle cockpit shown in FIG3 may also contain a display screen 5 of a mobile device (such as a mobile phone, tablet, etc.) carried by the user. In this case, within the space of the vehicle cockpit, there are both display screens whose relative positions are fixed and display screens whose relative positions can be changed. Among them, the relative positions between display screens 1 to 4 are fixed, and the relative position of display screen 5 and other display screens can be changed. For multi-screen interaction between any two display screens 1 to 4, you can refer to the method described in the first part above. For interaction between display screen 5 and other display screens, you can refer to the method described in the second part. The following is an explanation in conjunction with specific scenarios.

[0282] Scenario 1: In the environment where the source device is located, there are candidate displays whose relative positions to the source display are fixed and candidate displays whose relative positions to the source display can change.

[0283] In this scenario, the source device may determine the target display screen by using any one of the methods 1 to 3 described in the above embodiments.

[0284] When the source device determines the target display screen using Method 1 or Method 3 described in the above embodiments, for candidate displays whose relative positions relative to the source display screen can vary, the source device can use a preset positional relationship as the relative positional relationship between the candidate display screen and the source display screen. Based on this preset positional relationship, a fixed direction can be determined for the candidate display screen relative to the source display screen, allowing the user to select the target display screen by sliding in this direction. Specifically, the source device can use the preset candidate direction as the candidate direction corresponding to the candidate display screen, where this preset candidate direction is different from the candidate directions corresponding to other displays. Other processing methods can refer to Method 1 or Method 3 described in the above embodiments.

[0285] Example 14: In this scenario, the source display screen can be the display screen 4 described in Example 13, and the candidate display screens are display screens 1 to 3 and display screen 5, wherein the position of display screen 5 relative to display screen 4 can change, and display screens 1 to 3 are located on the left front side, front side, and left side of display screen 4, respectively. Then, device 1 can correspond the position of display screen 5 to the right front side of display screen 4 (or any other orientation that does not correspond to a candidate display screen, such as the right side, back side, right back side, etc.). Then, no matter how the position of display screen 5 changes, the source device considers that display screen 5 is located on the right front side of display screen 4, so that the user can trigger the source device to share the content of display screen 4 to display screen 5 by sliding to the upper right on display screen 4. For example, as shown in FIG9a , the candidate directions corresponding to display screens 1 to 3 are candidate directions 1 to 3, respectively. Then, the source device can set candidate direction 5 as the candidate direction corresponding to display screen 5. Then, when the source device determines the target display screen using the method 1 described in the above embodiment, when the direction of the movement path of the touch point operated by the user on the source display screen is the sliding direction Q, and the angle between the sliding direction Q and the candidate direction 5 is less than the set first angle threshold X1, the source device can determine that the target display screen is display screen 5, thereby initiating the process of sharing the content displayed on display screen 4 to display screen 5. When the source device determines the target display screen using the method 3 described in the above embodiment, as shown in FIG9b, when the angle between the sliding direction of the user's sliding operation and the reference direction A is less than the set second angle threshold X2, the source device can display the interface shown in FIG10 on the source display screen, which includes hot zones 1, 2, and 5 corresponding to display screens 1, 2, and 5. After the hot zones are displayed, the user continues the previous sliding operation. When the user continues to slide into hot zone 5 and stops the sliding operation, the source device can determine that the target display screen is display screen 5.

[0286] When the source device determines the target display screen using the second method described in the above embodiment, the hot zones displayed by the terminal device include hot zones corresponding to candidate displays whose relative positions to the source display screen are fixed and unchanging, and hot zones corresponding to candidate displays whose relative positions to the source display screen can vary. The display and selection methods of the hot zones can be referenced to the methods described in the second method of the above embodiment and will not be further described here.

[0287] Optionally, in the above method, when there are multiple candidate display screens whose relative positions relative to the source display screen can be changed in the environment space where the source device is located, the source device may arrange the display positions of the hot zones of the multiple candidate display screens on the source display screen in any of the following ways when displaying the hot zones of the candidate display screens:

[0288] 1) Arrange by direction

[0289] In this manner, the source device may determine the relative positions of the candidate display screens and the source display screen according to preset candidate directions corresponding to different candidate display screens, and display the hot zones of the candidate display screens on the source display screen according to the relative positions.

[0290] 2) Arrange according to the distance from the source display

[0291] In this method, the source device can respectively detect the distance between the device to which each candidate display screen belongs and the source device, and after sorting the candidate display screens according to the determined distance, display the hot zones of the candidate display screens on the source display screen according to the sorting. Optionally, the source device can also adjust the size of the hot zones of the candidate display screens based on the sorting. For example, the source device can display the hot zones of the candidate display screens with smaller distances in front and the hot zones of the candidate display screens with larger distances in the back. The source device can also increase the area occupied by the hot zones of the candidate display screens with smaller distances and decrease the area occupied by the hot zones of the candidate display screens with larger distances.

[0292] 3) Sort by the closeness between the device to which the candidate display belongs and the source device

[0293] Optionally, the intimacy can be determined based on the number of times or frequency that the device to which the candidate display belongs interacts with the source device within a historical time period. Specifically, the degree of intimacy is positively correlated with the number of times or frequency that the device to which the candidate display belongs interacts with the source device. The intimacy can also be determined based on the interval between the current time and the last time the device to which the candidate display belongs and the source device performed multi-screen interaction, and the size of the interval is negatively correlated with the degree of intimacy. Optionally, the intimacy when the device to which the candidate display belongs and the source device log in to the same user account is higher than the intimacy when the device to which the candidate display belongs and the source device log in to different user accounts. The intimacy when the device to which the candidate display belongs and the source device log in to the same or different member accounts under the same family account is higher than the intimacy when the device to which the candidate display belongs and the source device log in to different stranger user accounts.

[0294] The source device may display the hot zones of the candidate screens on the source display screen in the order of intimacy, wherein the hot zones corresponding to the candidate screens with greater intimacy may be displayed in front, and the hot zones corresponding to the candidate screens with greater intimacy may be displayed in the back.

[0295] In some embodiments of the present application, when there are multiple candidate display screens in the environment space where the source device is located, whose relative positions relative to the source display screen can be changed, the source device can also map the multiple candidate display screens to the same candidate direction. When the angle between the direction of the user's sliding operation and the candidate direction is less than or equal to a set first angle threshold, the source device can display hotspots of the multiple candidate display screens on the source display screen. The user can then select the hotspot of any of the candidate display screens by continuing the sliding operation or clicking, thereby selecting the display screen as the target display screen. When the source device can display the hotspots of multiple candidate display screens on the source display screen, any of the three arrangement methods described above can be used.

[0296] In this scenario, when the target display screen determined by the source device is a display screen whose relative position to the source device can be changed, after multi-screen interaction, the way in which the source display screen and the target display screen display content can refer to the method described in the above embodiment, and will not be repeated here.

[0297] Scenario 2: There is no display screen in the environment where the source device is located that has a fixed relative position to the source display screen.

[0298] In this scenario, the source device can use the same gesture operations as in the above scenario 1 to control multi-screen interaction.

[0299] As an optional implementation, when the source device detects a user performing a gesture sliding operation on the source display, it displays the identification information (or hotspot) of candidate display screens that can perform multi-screen interaction with the source display screen. The user can select the identification information of any candidate display screen by continuing to perform the gesture sliding operation. The source device detects the last position of the touch point where the user performed the gesture sliding operation on the source display screen and selects the candidate display screen corresponding to the identification information at that position as the target display screen. The identification information can be information that can uniquely identify the display screen, such as the name, location, category, display screen ID, icon, etc.

[0300] Example 15: Based on the scenario described in Example 13, the source device may be the device to which display screen 5 belongs, and the candidate display screens may be display screens 1 to 4. As shown in the schematic diagram (a) in Figure 11, the user may trigger multi-screen interaction by performing a three-finger sliding operation on display screen 5. When the source device detects the user's three-finger sliding operation on display screen 5, the source device may display the interface shown in the schematic diagram (b) in Figure 11, which includes identification information of display screens 1 to 4. The user may continue to slide to the identification information of any display screen 1 to 4, and then stop the sliding operation. The source device may then determine that the display screen corresponding to the identification information is the target display screen.

[0301] As another optional implementation, the source device can display the identification information (or hot zone) of the candidate display screens that can perform multi-screen interaction with the source display screen after detecting that the user has performed a gesture sliding operation on the source display screen. The user can select the identification information of any candidate display screen by clicking, and the source device will use the candidate display screen selected by the user as the target display screen.

[0302] Example 16: Based on the scenario described in Example 15, as shown in the schematic diagram (a) in Figure 12, the user can trigger multi-screen interaction by performing a three-finger sliding operation on display screen 5. After the source device detects the three-finger sliding operation performed by the user on display screen 5, it can display the interface shown in the schematic diagram (b) in Figure 12, which includes the identification information of display screens 1 to 4. The user can then perform a click operation to select the identification information of any display screen 1 to 4. The source device can determine the identification information selected by the user based on the user's click operation, and use the display screen corresponding to the identification information as the target display screen.

[0303] Optionally, in the above two embodiments, when the candidate display screens capable of multi-screen interaction with the source display screen belong to the same type of display screens, the source device may first display an option control for selecting a candidate display screen of that type before displaying the identification information of each candidate display screen. After the user operates the option control and selects a candidate display screen of that type, the source device then displays the identification information of each candidate display screen on the source display screen, and the user continues to operate to select the candidate display screen corresponding to the identification information.

[0304] Example 17: Based on the scenario described in Example 15, displays 1 to 4 are all displays configured in the vehicle cockpit. As shown in the schematic diagram (a) in Figure 13, a user can trigger multi-screen interaction by performing a three-finger swipe operation on display 5. When the source device detects the user's three-finger swipe operation on display 5, the source device can display the interface shown in the schematic diagram (b) in Figure 13, which includes an option control for selecting the vehicle computer. The user continues to swipe to select the control, and the source device can then determine, based on the user's operation, to select the display in the vehicle computer as the target display. The source device can then continue to display the interface shown in the schematic diagram (c) in Figure 13, which includes identification information for displays 1 to 4. The user can continue to swipe to the identification information of any display 1 to 4 and then stop swiping. The source device can then determine that the display corresponding to the identification information is the target display. Alternatively, the user can stop swiping and then click to select the identification information. The source device can then determine that the display corresponding to the identification information is the target display.

[0305] Example 18: Based on the scenario described in Example 15, as shown in the schematic diagrams (a) and (b) in Figure 14, the user can trigger multi-screen interaction by performing a three-finger sliding operation on the display screen 5. When the source device detects the user's three-finger sliding operation on the display screen 5 (sliding from the position shown in the schematic diagram (a) in Figure 14 to the position shown in the schematic diagram (b) in Figure 14 and then stopping the sliding), the source device can display the interface shown in the schematic diagram (c) in Figure 14, which includes an option control for selecting the vehicle computer. The user can select the control by clicking, and the source device can determine to select the display screen in the vehicle computer as the target display screen based on the user's operation. The source device can then continue to display the interface shown in the schematic diagram (d) in Figure 14, which includes identification information of display screens 1 to 4. The user can select the identification information by clicking, and the source device determines that the display screen corresponding to the identification information is the target display screen.

[0306] Optionally, in the above method, the source device and the candidate device may both log in to the same user account.

[0307] In the above method, when a user selects identification information by clicking, one or more identification information can be selected, and the content displayed on the source display screen is shared with the display screens corresponding to the one or more identification information selected by the user. Specifically, when the user selects multiple identification information, the source device can use mirroring to share the content displayed on the source display screen with the display screens corresponding to the multiple identification information selected by the user.

[0308] Part 3: Multi-screen interaction in split-screen and multi-window scenarios

[0309] In the previous embodiments, before multi-screen interaction, both the source display of the source device and the target display of the target device used a full-screen, single-interface display. In actual applications, before multi-screen interaction, both the source and target displays may display content in a split-screen or multi-window manner. In this scenario, the source and target devices need to adjust the execution process of the multi-screen interaction based on how the source and target displays display content. This is explained below with reference to specific scenarios.

[0310] Scenario 1: Split-screen display scenario

[0311] In this scenario, the source device and the target device can use the same gesture operation as in the aforementioned embodiment to control the multi-screen interaction. Among them, since the source display screen and / or the target display screen adopts a split-screen mode, there are more than two windows (or interfaces) in the source display screen and the target display screen for multi-screen interaction, and the source display screen and the target display screen can perform multi-screen interaction for the content displayed in one of the windows or for the content displayed in the entire display screen. In order to ensure the multi-screen interaction effect between the source display screen and the target display screen for one of the windows, the source device and the target device can select the window for multi-screen interaction based on the contact characteristics of the user's sliding operation, and can select whether to cross part of the middle window for multi-screen interaction based on the speed / acceleration characteristics of the user's sliding operation, so that multi-screen interaction between different windows on the display screen can be achieved according to the user operation.

[0312] In some embodiments of the present application, when the source display screen uses a split-screen display mode, the source device can use the window where the user's sliding operation starts as the window for multi-screen interaction, thereby sharing the content of this window to the target display screen for display during the multi-screen interaction process. When the source display screen and / or the target display screen uses a split-screen display mode, the source device can determine whether to skip over some windows and how many windows to skip over for multi-screen interaction based on the speed / acceleration / hand-off speed of the user's sliding operation. Specific scenarios are described below.

[0313] Specifically, in this scenario, there may be the following three situations:

[0314] Case 1: Before multi-screen interaction, the source display screen displays two windows in split-screen mode, and the target display screen displays one window in full-screen mode.

[0315] In this case, when the user performs a sliding operation on the source display screen to trigger multi-screen interaction, in addition to selecting the target display screen, it is also necessary to select the source window, thereby instructing the source device to share the content in the source window to the target display screen, wherein the source window is any window displayed on the source display screen. Among them, the method for the source device to select the target display screen can refer to the method provided in the first part of the embodiment above, and will not be repeated here. When the source device selects the source window, it can be selected based on the starting contact position of the user's sliding operation on the source display screen. When the starting contact point of the user's sliding operation falls inside any window on the source display screen, the source device can determine that the window is the source window.

[0316] In an embodiment of the present application, before performing multi-screen interaction, the source device can obtain information about the number of windows and window positions on the target display screen from the target device. During the multi-screen interaction process, after the source device determines the source window, if it is determined that the source window is a window farther away from the target display screen, the source device determines whether to pass over the window closer to the target display screen based on the speed / acceleration / hand-off speed of the user's sliding operation. If so, the content in the source window is shared to the target display screen for display. Otherwise, the display position of the source display window and another window on the source display screen can be exchanged. Among them, when the angle between the direction of the source window pointing to another window on the source display screen and the direction of the source window pointing to the target display screen is less than or equal to the set angle threshold, it can be determined that the source window is a window farther away from the target display screen. When the angle between the direction of the source window pointing to another window on the source display screen and the direction of the source window pointing to the target display screen is greater than the set angle threshold, it can be determined that the source window is a window closer to the target display screen.

[0317] As an optional implementation, when the source window is far from the target display, the source device can detect the speed of the user's sliding operation. If the detected speed is greater than or equal to a set speed threshold, it is determined that a multi-screen interaction is performed by skipping a window. The source device then determines the target display based on the user operation and sends the content in the source window to the target device, which then displays the content on the target display. If the detected speed is less than the set speed threshold, the source device determines that a multi-screen interaction is not performed by skipping a window, and the source device may swap the display of the source window with the content of another window.

[0318] As another optional implementation, when the source window is far from the target display, the source device can detect the acceleration of the user's sliding operation. If the detected acceleration is greater than or equal to a set acceleration threshold, it is determined that a multi-screen interaction is being performed across a window. The source device then determines the target display based on the user's operation and sends the content in the source window to the target device, which then displays the content on the target display. Otherwise, if the source device determines that a multi-screen interaction is not being performed across windows, the source device may swap the content of the source window with that of another window.

[0319] As another optional implementation, when the source window is far from the target display, the source device can detect the speed at which the user releases their hand during a sliding operation. If the detected release speed is less than or equal to a set release speed threshold, it is determined that the user is sliding across a window for multi-screen interaction. The source device then determines the target display based on the user's operation and sends the content in the source window to the target device, which then displays the content on the target display. Otherwise, if the source device determines that the user is not sliding across windows for multi-screen interaction, the source device may swap the content of the source window with that of another window.

[0320] In some embodiments of the present application, after the source device performs multi-screen interaction with the target device for the source window in the source display screen, the method for the source device to display content in the source window of the source display screen can refer to the method for the source device to display content on the source display screen in the first embodiment described above, and the method for the target device to display content on the target display screen can refer to the method for the target device to display content on the target display screen in the first embodiment described above, which will not be repeated here. The content displayed in other windows other than the source window in the source display screen of the source device may not change and may be consistent with that before the multi-screen interaction. In some embodiments of the present application, after the source window of the source device performs multi-screen interaction with the target device, the source window may no longer be displayed, and other windows other than the source window may be displayed in full screen on the source display screen.

[0321] Example 19: As shown in Figure 15a, the source display screen displays windows 1 and 2, and the target display screen displays a full-screen window, with the target direction being direction 1 as shown in Figure 15a. When the source device detects that a user performs a three-finger swipe operation in direction 1 in the area where window 1 is located on the source display screen, it can first determine the target display screen based on the user's swipe operation and determine that window 1 is the source window. It then determines whether the speed of the user's swipe operation detected during this process is greater than or equal to a set speed threshold. If so, the source device can send the source content displayed in the source window to the target device, so that the target device displays the source content. Based on this, as shown in Figure 15b, the source device can share the content in window 1 with the target device for display, bypassing window 2. After multi-screen interaction, the interface displayed on the source and target displays can be any of the interfaces in Cases 1 to 3 shown in Figure 15b. When displaying content from the other end, the source device or target device can adapt the size of its own display screen or the display window on the display screen before displaying it. For example, the layout of the content on the display interface can be appropriately adjusted before displaying it on the display screen or in the corresponding window.

[0322] Based on the above method, in a split-screen display scenario, the user can also control the multi-screen interaction process by performing a single operation, and can realize multi-screen interaction for different windows.

[0323] Case 2: Before multi-screen interaction, the source display displays one window in full screen mode, and the target display displays two windows in split screen mode.

[0324] In this case, when a user triggers multi-screen interaction by swiping on the source display, in addition to selecting the target display, they also need to select a target window, thereby instructing the source device to share the content on the source display to the target window on the target display. The target window is any window displayed on the target display. The method for the source device to select the target display can refer to the method provided in the first embodiment above and will not be repeated here.

[0325] In an embodiment of the present application, before performing multi-screen interaction, the source device may obtain information about the number and position of windows on the target display screen from the target device, thereby determining the relative positional relationship between the windows on the source and target displays. During the multi-screen interaction process, when the source device selects a target window, it may determine whether to perform multi-screen interaction across a screen based on the speed / acceleration / hand-off speed of the user's sliding operation on the source display screen, and further determine the target display screen based on whether the multi-screen interaction is performed across a screen.

[0326] As an optional embodiment, when the source device detects a user performing a set gesture sliding operation on the source display, it detects the speed of the user's sliding operation. If the detected speed is less than or equal to a set speed threshold, it is determined not to skip over other windows for multi-screen interaction, and the target window is determined to be the window on the target display that is closer to the source display. Otherwise, it is determined to skip over one window for multi-screen interaction, and the target window is determined to be the window on the target display that is farther away from the source display. The distance between the window on the target display and the source display can be determined based on the position of the window on the display and the target direction, where the target direction is the direction from the source display to the target display. The smaller the angle between the direction from one window on the target display to another window and the target direction, the smaller the distance between the window and the source display, and the window can be determined to be the window closer to the source display; the larger the angle between the direction from one window on the target display to another window and the target direction, the greater the distance between the window and the source display, and the window can be determined to be the window farther away from the source display. Among them, the source device can judge the determined angle by setting a corresponding angle threshold. When the angle is less than the set angle threshold, it can be determined that the window is a window closer to the source display screen; otherwise, the window is determined to be a window farther away from the source display screen.

[0327] As another optional implementation, when the source device detects a user performing a set gesture sliding operation on the source display, it detects the acceleration of the user's sliding operation. If the detected acceleration is less than or equal to a set acceleration threshold, it determines not to skip over other windows for multi-screen interaction, and determines the target window to be the window on the target display that is closer to the source display. Otherwise, it determines to skip over one window for multi-screen interaction, and determines the target window to be the window on the target display that is farther away from the source display. The distance between the window on the target display and the source display can be determined in the manner provided in the above method, which will not be repeated here.

[0328] As another optional implementation, when the source device detects a user performing a set gesture sliding operation on the source display, it detects the speed at which the user releases their hand during the sliding operation. If the detected hand-off speed is less than or equal to a set hand-off speed threshold, it determines not to skip over other windows for multi-screen interaction, and determines that the target window is the window on the target display that is closer to the source display. Otherwise, it determines to skip over one window for multi-screen interaction, and determines that the target window is the window on the target display that is farther away from the source display. The distance between the window on the target display and the source display can be determined in the manner provided in the above method, which will not be repeated here.

[0329] Example 20: As shown in FIG16 , a window is displayed full screen on the source display screen, and window 1 and window 2 are displayed on the target display screen, with the target direction being direction 1 as shown in FIG16 . When the source device detects that a user performs a three-finger swipe operation along direction 1 on the source display screen, the source device can first determine the target display screen based on the user's swiping operation. Then, it can determine whether the hand-off speed detected during the swiping operation is less than or equal to a set hand-off speed threshold. If so, window 1 is used as the target window; otherwise, window 2 is used as the target window. After determining the target window, the source device can send the source content displayed on the source display screen to the target device so that the target device displays the source content. When the source device determines window 2 as the target window, as shown in FIG16 , the source device can skip window 1 on the target display screen and share the content on the source display screen to window 2 on the target display screen for display. After multi-screen interaction, the interfaces displayed on the source and target display screens can be the interfaces of scenario 1 or scenario 2 shown in FIG16 .

[0330] In the above method, after the source device determines the target window on the target display screen, when sharing the content of the source display screen to the target device, it also indicates the target window to the target device, so that the target device displays the content from the source device in the target window.

[0331] Case 3: Before multi-screen interaction, the source and target displays display more than three windows in total

[0332] In this case, the source display screen and the target display screen may display windows in the following situations: the source display screen displays multiple windows in a split-screen manner, and the target display screen displays multiple windows in a split-screen manner; or, the source display screen displays more than two windows in a split-screen manner, and the target display screen displays one window in full screen; or, the source display screen displays one window in full screen manner, and the target display screen displays more than two windows in a split-screen manner.

[0333] In this case, when multiple windows are displayed on the source display screen, the source device needs to select a source window from them according to the user operation. When multiple windows are displayed on the target display screen, the source device needs to select a target window from them according to the user operation, thereby sharing the content in the source window to the target window of the target display screen according to the user operation. The source window can be any window displayed on the source display screen, and the target window can be any window displayed on the target display screen. The method for the source device to select the target display screen can refer to the method provided in the first embodiment above, and will not be repeated here. When the source device selects the source window, it can refer to the method for selecting the source window described in the above situation 1, and will not be repeated here.

[0334] In some embodiments of the present application, when performing multi-screen interaction, the target device can notify the source device of the number and distribution information of windows in the target display screen. The source device can, based on this information, agree with the target device to use any window in the target display screen as the default target window. When the user performs a sliding operation in the area of ​​the source window on the source display screen to trigger multi-screen interaction, the source device sends the content of the source window to the target device, and the target device displays the content from the source device in the default target window.

[0335] Example 21: As shown in Figure 17, window 1 and window 2 are displayed in the source display screen, and window 3 and window 4 are displayed in the target display screen, with window 4 being the default target window. When the source device detects that the user performs a three-finger sliding operation in the area of ​​window 1 on the source display screen, the source device can first determine the target display screen based on the sliding operation performed by the user, and determine that window 1 is the source window. The source device then sends the source-end content displayed in window 1 to the target device, and the target device displays the source-end content in window 4 after receiving it. Based on this, the source device can share the content in window 1 to window 4 of the target display screen for display, bypassing window 2 in the source display screen and window 3 in the target display screen, thereby achieving the effect of interaction across multiple display screens. After multi-screen interaction, the interfaces displayed on the source display screen and the target display screen can be the interfaces in case 1 or case 2 shown in Figure 17.

[0336] In some embodiments of the present application, the source device may also select a target window based on the speed / acceleration / hand-off speed of the user's sliding operation on the source display screen.

[0337] As an optional implementation, the source device may, upon determining that the speed of the user's sliding operation is greater than or equal to a set threshold, determine to bypass all intermediate windows for multi-screen interaction, i.e., interact with the window farthest from the source window on the source display screen, and then determine that the target window is the window farthest from the source window. The source device may, upon determining that the speed of the user's sliding operation is less than a set threshold, determine to swap the display positions of different windows on the source display screen. Alternatively, the source device may determine to bypass a window for multi-screen interaction, and then determine that the target window is the window closest to the source window.

[0338] Example 22: As shown in Figure 18a, Window 1, Window 2, and Window 3 are displayed on the source display, and Window 4 is displayed on the target display. When the source window is Window 1, as an optional method, if the source device determines that the speed of the user's sliding operation is greater than or equal to a set threshold, it can determine to directly jump the window to the target display, and then determine that the target display is Display 4. After the multi-screen interaction, the contents displayed on the source and target displays are shown in Figure 18b. In addition, if it is determined that the speed of the user's sliding operation is less than the set threshold, the source device can determine to swap the display positions of Window 1 with the other windows.

[0339] As another optional implementation, the source device may set a threshold range of the speed / acceleration / hand-off speed of the user's sliding operation based on the number of windows that can be crossed, wherein each threshold range corresponds to the number of windows crossed. When receiving a sliding operation from the user, the source device may determine the number of windows crossed during multi-screen interaction based on the threshold range to which different values ​​of the speed / acceleration / hand-off speed of the user's sliding operation belong, and then determine the target window. Among them, the values ​​of the speed / acceleration / hand-off speed of the user's sliding operation are positively correlated with the number of windows crossed during multi-screen interaction, and the greater the values ​​of the speed / acceleration / hand-off speed of the user's sliding operation, the greater the number of windows crossed.

[0340] In some embodiments of the present application, when the source device performs a cross-screen operation across multiple windows, the multiple windows that are spanned may belong to the same display screen or to different display screens.

[0341] In some embodiments of the present application, in a split-screen display scenario, the user can also operate on the target display screen according to the method provided in the above embodiment to control the effect of sharing the source content in the source window in the source display screen to the target window of the target display screen for display. Among them, when the target device determines the source display screen according to the operation performed by the user on the target display screen, it can refer to the method provided in the above first part of the embodiment. When the target device determines the source window in the source display screen and the target window in the target display screen according to the operation performed by the user on the target display screen, it can use the window corresponding to the area where the touch point of the user's sliding operation on the display screen as the target window, and select the source window according to the speed / acceleration of the user's sliding operation on the target display screen. For details, please refer to the method in the above embodiment, which will not be repeated here.

[0342] Example 23: Based on this method, as shown in Figure 19a, window 1 and window 2 are displayed in the target display screen, and a window is displayed in full screen in the source display screen. When the target device detects that the user performs a three-finger sliding operation on the target display screen, it determines the source display screen selected by the user and the target window selected by the user based on the operation. When the target window is window 1, the target device can obtain the content displayed in the source display screen from the source device and display it in window 1, thereby achieving the effect of pulling the content of the source display screen across one window (window 2) and displaying it. After multi-screen interaction, the interface displayed on the target display screen and the source display screen can be any one of the interfaces in Case 1 to Case 2 shown in Figure 19a, or any one of the interfaces in Case 3 to Case 5 shown in Figure 19b.

[0343] Scenario 2: Multi-window display scenario

[0344] In this scenario, the source display screen of the source device has multiple windows. When the starting contact point of the user's sliding operation on the source display screen spans multiple windows, the source device can directly share all the content displayed in the source display screen to the target display screen. When the starting contact point of the user's sliding operation on the source display screen is located in a window, the source device can only share the content displayed in the window to the target display screen. The display areas of the multiple windows on the source display screen can be different from each other, for example, it can be the split-screen display method in the above scenario 1. There can also be overlapping areas of multiple windows in the display area of ​​the display screen, that is, multiple windows are stacked and displayed, wherein any window may cover other windows or be covered by other windows.

[0345] Example 24: As shown in Figure 20a, the source display screen displays Window 1 and Window 2 in split-screen mode, while the target display screen displays a single window in full screen. When the source device detects a three-finger swipe on the source display screen, where the initial touch point spans multiple windows, the source device shares all content on the source display screen with the target display screen. After the multi-screen interaction, the interfaces displayed on the source and target displays can be any of the interfaces in Cases 1 to 3 shown in Figure 20b.

[0346] Example 25: As shown in Figure 21a, the source display screen displays windows 1 and 2 in a stacked manner, while the target display screen displays a single window in full screen. When the source device detects a three-finger swipe operation on the source display screen, where the initial touch point spans multiple windows, the source device shares all content on the source display screen with the target display screen. After the multi-screen interaction, the interfaces displayed on the source and target displays can be any of the interfaces in Cases 1 to 3 in Figure 21b.

[0347] Based on the above method, when the user slides the starting touch window, it can be considered that the user has no need to perform multi-screen interaction on the content of a single window. The source device then shares the content of the entire source display screen to the target display screen for display. In this scenario, the concept of window can be blurred, which is more in line with the user's intention to control multi-screen interaction.

[0348] It should be noted that the examples provided in the above embodiments are merely illustrative of the effects that can be achieved by the solutions provided in the embodiments of the present application, and do not cover all the effects that can be achieved by the solutions of the present application, nor do they limit the effects achieved by the solutions of the present application. The contents provided in the above examples can also be recombined or used in combination to achieve more diverse multi-screen interaction results.

[0349] Based on the above embodiments and the same concept, an embodiment of the present application further provides a multi-screen interaction method, as shown in FIG22 , the method comprising:

[0350] S2201: The first electronic device displays first content on a first display screen.

[0351] S2202: The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen.

[0352] S2203: In response to the received first operation, the first electronic device sends the first content to a second electronic device that displays second content on a second display screen, so that the second electronic device displays the first content on the second display screen.

[0353] In one possible example, the first electronic device may be the source device described in the first part of the above embodiment, the second electronic device may be the target device described in the first part of the above embodiment, the first display may be the source display described in the first part of the above embodiment, the second display may be the target display described in the first part of the above embodiment, and the first operation may be the three-finger sliding operation described in the above embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the method described in the first part of the above embodiment and will not be repeated here.

[0354] For example, before and after the first electronic device and the second electronic device perform multi-screen interaction, the first display screen and the second display screen may display content in the manner shown in FIG. 7 a and FIG. 7 b .

[0355] In another possible example, the first electronic device may be the source device described in Scenario 1, Part 2 of the above embodiment, the second electronic device may be the target device described in Scenario 1, Part 2 of the above embodiment, the first display may be the source display described in Scenario 1, Part 2 of the above embodiment, the second display may be the target display described in Scenario 1, Part 2 of the above embodiment, and the first operation may be the three-finger sliding operation described in the above embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the method described in Scenario 1, Part 2 of the above embodiment, and will not be repeated here.

[0356] In another possible example, the first electronic device may be the source device described in Scenario 2 of the second part of the above embodiment, the second electronic device may be the target device described in Scenario 2 of the second part of the above embodiment, the first display may be the source display described in Scenario 2 of the second part of the above embodiment, the second display may be the target display described in Scenario 2 of the second part of the above embodiment, and the first operation may be the three-finger sliding operation described in the above embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the method described in Scenario 2 of the second part of the above embodiment, and will not be repeated here.

[0357] Illustratively, the first operation may be performed using the operation method shown in FIG. 11 or FIG. 13 .

[0358] Based on the above embodiments and the same concept, an embodiment of the present application further provides a multi-screen interaction method, as shown in FIG23 , the method includes:

[0359] S2301: The first electronic device displays a first window and a second window on a first display screen; wherein the first window contains first content, and the second window contains second content.

[0360] S2302: The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen.

[0361] S2303: In response to receiving the first operation, the first electronic device sends target content to the second electronic device that displays third content on a second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is the first content and / or the second content.

[0362] For example, the first electronic device may be the source device described in Case 1 of Scenario 1 in the above-mentioned third embodiment, the second electronic device may be the target device described in Case 1 of Scenario 1 in the above-mentioned third embodiment, the first display may be the source display described in Case 1 of Scenario 1 in the above-mentioned third embodiment, the second display may be the target display described in Case 1 of Scenario 1 in the above-mentioned third embodiment, and the first operation may be the three-finger sliding operation described in the above-mentioned embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the method described in Case 1 of Scenario 1 in the above-mentioned third embodiment, and will not be repeated here.

[0363] For example, before and after the first electronic device and the second electronic device perform multi-screen interaction, the way in which the first display screen and the second display screen display content can adopt the method shown in Figures 15a and 15b.

[0364] Based on the above embodiments and the same concept, an embodiment of the present application further provides a multi-screen interaction method, as shown in FIG24 , the method comprising:

[0365] S2401: The first electronic device displays a first window, a second window, and a third window on a first display screen; wherein the first window contains first content, the second window contains second content, and the third window contains third content.

[0366] S2402: The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen.

[0367] S2403: In response to receiving the first operation, the first electronic device sends target content to the second electronic device that displays the fourth content on the second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is: the first content, or the second content, or the third content, or the first content, the second content and the third content.

[0368] For example, the first electronic device may be the source device described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the second electronic device may be the target device described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the first display may be the source display described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the second display may be the target display described in Case 3 of Scenario 1 in the above-mentioned third embodiment, and the first operation may be the three-finger sliding operation described in the above-mentioned embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the relevant method described in Case 3 of Scenario 1 in the above-mentioned third embodiment, and will not be repeated here.

[0369] For example, before and after the first electronic device and the second electronic device perform multi-screen interaction, the way in which the first display screen and the second display screen display content can adopt the method shown in Figures 18a and 18b.

[0370] Based on the above embodiments and the same concept, an embodiment of the present application further provides a multi-screen interaction method, as shown in FIG25 , the method includes:

[0371] S2501: The first electronic device displays first content on a first display screen.

[0372] S2502: The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen.

[0373] S2503: In response to receiving the first operation, the first electronic device sends the first content to a second electronic device that displays a first window containing second content and a second window containing third content on a second display screen, so that the second electronic device displays the first content on the second display screen.

[0374] For example, the first electronic device may be the source device described in Case 2 of Scenario 1 in the above-mentioned third embodiment, the second electronic device may be the target device described in Case 2 of Scenario 1 in the above-mentioned third embodiment, the first display may be the source display described in Case 2 of Scenario 1 in the above-mentioned third embodiment, the second display may be the target display described in Case 2 of Scenario 1 in the above-mentioned third embodiment, and the first operation may be the three-finger sliding operation described in the above-mentioned embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the method described in Case 2 of Scenario 1 in the above-mentioned third embodiment, and will not be repeated here.

[0375] For example, before and after the first electronic device and the second electronic device perform multi-screen interaction, the way in which the first display screen and the second display screen display content can adopt the way shown in Figure 16.

[0376] Based on the above embodiments and the same concept, an embodiment of the present application further provides a multi-screen interaction method, as shown in FIG26 , the method comprising:

[0377] S2601: The first electronic device displays first content on a first display screen.

[0378] S2602: The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen.

[0379] S2603: In response to the received first operation, the first electronic device sends the first content to a second electronic device that displays a first window containing second content, a second window containing third content, and a third window containing fourth content on a second display screen, so that the second electronic device displays the first content on the second display screen.

[0380] For example, the first electronic device may be the source device described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the second electronic device may be the target device described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the first display may be the source display described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the second display may be the target display described in Case 3 of Scenario 1 in the above-mentioned third embodiment, and the first operation may be the three-finger sliding operation described in the above-mentioned embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the relevant method described in Case 3 of Scenario 1 in the above-mentioned third embodiment, and will not be repeated here.

[0381] Based on the above embodiments and the same concept, an embodiment of the present application further provides a multi-screen interaction method, as shown in FIG27 , the method comprising:

[0382] S2701: The first electronic device displays a first window and a second window on a first display screen; wherein the first window contains first content, and the second window contains second content.

[0383] S2702: The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen.

[0384] S2703: In response to receiving the first operation, the first electronic device sends target content to a second electronic device that displays a third window containing third content and a fourth window containing fourth content on a second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is the first content and / or the second content.

[0385] For example, the first electronic device may be the source device described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the second electronic device may be the target device described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the first display may be the source display described in Case 3 of Scenario 1 in the above-mentioned third embodiment, the second display may be the target display described in Case 3 of Scenario 1 in the above-mentioned third embodiment, and the first operation may be the three-finger sliding operation described in the above-mentioned embodiment. The method for the first electronic device and the second electronic device to perform multi-screen interaction between the first display and the second display may refer to the relevant method described in Case 3 of Scenario 1 in the above-mentioned third embodiment, and will not be repeated here.

[0386] Illustratively, before and after the first electronic device and the second electronic device perform multi-screen interaction, the first display screen and the second display screen may display content in the manner shown in FIG. 17 .

[0387] Based on the above embodiments and the same concept, an embodiment of the present application further provides an electronic device for implementing the method implemented by the first electronic device or the second electronic device in the multi-screen interaction method provided in the embodiment of the present application. As shown in Figure 28, the electronic device 2800 may include: a display screen 2801, a memory 2802, one or more processors 2803, and one or more computer programs (not shown in the figure). The above-mentioned devices can be coupled via one or more communication buses 2804.

[0388] Among them, the display screen 2801 is used to display related user interfaces such as application interface.

[0389] One or more computer programs (codes) are stored in the memory 2802, and the one or more computer programs include computer instructions; one or more processors 2803 call the computer instructions stored in the memory 2802, so that the electronic device 2800 executes the multi-screen interaction method provided in the embodiment of the present application.

[0390] In a specific implementation, the memory 2802 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 2802 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 2802 may be used to store an implementation program of an embodiment of the present application. The memory 2802 may also store a network communication program that can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices.

[0391] The one or more processors 2803 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 solution.

[0392] It should be noted that FIG28 is only one implementation of the electronic device 2800 provided in an embodiment of the present application. In actual applications, the electronic device 2800 may also include more or fewer components, which is not limited here.

[0393] Based on the above embodiments and the same concept, an embodiment of the present application also provides a multi-screen interactive system, which includes a first electronic device and a second electronic device. The method executed by the first electronic device in the system can refer to the method executed by the source device described in the above embodiments, and the method executed by the second electronic device in the system can refer to the method executed by the target device described in the above embodiments, which will not be repeated here.

[0394] Based on the above embodiments and the same concept, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method provided in the above embodiments.

[0395] Based on the above embodiments and the same concept, an embodiment of the present application further provides a computer program product, which includes a 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.

[0396] The methods provided in the embodiments of the present application may be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present invention are generated in whole or in part. The computer may 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. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. A computer-readable storage medium 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. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.

[0397] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays the first content on the first display screen; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to the received first operation, the first electronic device sends the first content to a second electronic device that displays second content on a second display screen, so that the second electronic device displays the first content on the second display screen.

2. The method according to claim 1, wherein The angle between the sliding direction of the first operation and the first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent a direction pointing from the position of the first display screen to the position of the second display screen.

3. The method according to claim 1, wherein The first operation includes a second operation and a third operation, wherein the second operation and the third operation are sliding operations on the first display screen, wherein the end contact point of the second operation on the first display screen is the starting contact point of the third operation on the first display screen; The first electronic device receives a first operation, including: The first electronic device receives the second operation; In response to receiving the second operation, the first electronic device displays identification information of at least one candidate display screen on the first display screen; wherein the at least one candidate display screen includes the second display screen; The first electronic device receives the third operation, where the third operation is used to select identification information of the second display screen.

4. The method according to claim 3, wherein The angle between the candidate direction corresponding to the at least one candidate display screen and the sliding direction of the second operation is smaller than a set second angle threshold; or The angle between the sliding direction of the second operation and the set first reference direction is smaller than a set second angle threshold; the angle between the candidate direction corresponding to the at least one candidate display screen and the first reference direction is smaller than the second angle threshold; The candidate direction corresponding to any candidate display screen is used to indicate a direction from the position of the first display screen to the position of the candidate display screen.

5. The method according to claim 3 or 4, wherein: The first electronic device displays identification information of at least one candidate display screen on the first display screen, including: The first electronic device obtains, by the user, ranking reference information corresponding to the at least one candidate display screen, where the ranking reference information indicates: a display screen position, or a distance between the display screen and the first display screen, or a degree of intimacy between an electronic device to which the display screen belongs and the first electronic device; sorting, by the first electronic device, the at least one candidate display screen according to sorting reference information corresponding to the at least one candidate display screen; The first electronic device displays identification information of the at least one candidate display screen on the first display screen according to the ranking of the at least one candidate display screen.

6. The method according to any one of claims 3 to 5, characterized in that: The at least one candidate display screen is in a bright screen state.

7. The method according to claim 2, wherein The first display screen and the second display screen are in a non-relative static state, and the first candidate direction is a set direction.

8. The method according to any one of claims 4 to 6, characterized in that: The first display screen and the second display screen are in a non-relative static state, and the candidate direction corresponding to the second display screen is a set direction.

9. The method according to claim 7 or 8, wherein The first display screen is a display screen configured in the vehicle cockpit, and the second display screen is a display screen of a mobile device.

10. The method according to any one of claims 1 to 6, wherein: The first display screen and the second display screen are in a relatively static state.

11. The method according to any one of claims 1 to 6, wherein: The first display screen and the second display screen are display screens configured in the same vehicle cockpit.

12. The method according to any one of claims 1 to 11, wherein: The second electronic device displays the first content on the second display screen, including: The second electronic device replaces the second content displayed on the second display screen with the first content; or The second electronic device displays a first window containing the first content and a second window containing the second content on the second display screen; wherein the first window and the second window are located in different areas of the second display screen, or the first window covers the second window.

13. The method according to any one of claims 1 to 12, wherein: The method further comprises: The first electronic device obtains the second content from the second electronic device; The first electronic device displays the second content on the first display screen.

14. The method according to any one of claims 1 to 12, wherein: The method further comprises: The first electronic device displays third content on the first display screen; wherein the third content is set content or content displayed by the first electronic device before displaying the first content; or The first electronic device switches the first display screen to a screen-off state.

15. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays the first content on the first display screen; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to the received first operation, the first electronic device sends the first content to a second electronic device that displays second content on a second display screen, so that the second electronic device displays the first content on the second display screen.

16. The method according to claim 15, wherein The first operation includes a second operation and a third operation, wherein the second operation and the third operation are sliding operations on the first display screen, wherein the end contact point of the second operation on the first display screen is the starting contact point of the third operation on the first display screen; The first electronic device receives a first operation, including: The first electronic device receives the second operation; In response to receiving the second operation, the first electronic device displays identification information of at least one candidate display screen on the first display screen; wherein the at least one candidate display screen includes the second display screen; The first electronic device receives the third operation, where the third operation is used to select identification information of the second display screen.

17. The method according to claim 15, wherein The first operation includes a fourth operation, a fifth operation, and a sixth operation, wherein the fourth operation, the fifth operation, and the sixth operation are sliding operations on the first display screen, wherein the ending point of the fourth operation on the first display screen is the starting point of the fifth operation on the first display screen, and the ending point of the fifth operation on the first display screen is the starting point of the sixth operation on the first display screen; The first electronic device receives a first operation, including: The first electronic device receives the fourth operation; In response to receiving the fourth operation, the first electronic device displays first identification information on the first display screen; wherein the first identification information is used to identify a first location area, there is at least one candidate display screen in the first location area, and the at least one candidate display screen includes the second display screen; The first electronic device displays identification information of the at least one candidate display screen on the first display screen in response to the received fifth operation; wherein the fifth operation is used to select the first location area; The first electronic device receives the sixth operation, where the sixth operation is used to select identification information of the second display screen.

18. The method according to any one of claims 15 to 17, wherein: The first display screen and the second display screen are in a non-relative static state.

19. The method according to any one of claims 15 to 18, wherein: The first display screen is a display screen of a mobile terminal device, and the second display screen is a display screen configured in the vehicle cabin.

20. The method according to any one of claims 15 to 19, wherein: The second electronic device displays the first content on the second display screen, including: The second electronic device replaces the second content displayed on the second display screen with the first content; or The second electronic device displays a first window containing the first content and a second window containing the second content on the second display screen; wherein the first window and the second window are located in different areas of the second display screen, or the first window covers the second window.

21. The method according to any one of claims 15 to 20, wherein: The method further comprises: The first electronic device obtains the second content from the second electronic device; The first electronic device displays the second content on the first display screen.

22. The method according to any one of claims 15 to 20, wherein: The method further comprises: The first electronic device displays third content on the first display screen; wherein the third content is set content or content displayed by the first electronic device before displaying the first content; or The first electronic device switches the first display screen to a screen-off state.

23. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays a first window and a second window on a first display screen; wherein the first window contains first content and the second window contains second content; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to receiving the first operation, the first electronic device sends target content to a second electronic device that displays third content on a second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is the first content and / or the second content.

24. The method according to claim 23, wherein The first electronic device sends target content to a second electronic device that displays third content on a second display screen in response to the received first operation, including: When the initial contact point of the first operation on the first display screen is only located within the first window, The electronic device sends the first content; or When the initial contact point of the first operation on the first display screen is located only within the second window, sending the second content to the second electronic device; or When the initial contact point of the first operation on the first display screen is located within the first window and the second window, the first content and the second content are sent to the second electronic device.

25. The method according to claim 23 or 24, wherein: The first electronic device sends target content to a second electronic device that displays third content on a second display screen in response to the received first operation, including: When it is determined that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, and the first operation satisfies a first set condition, sending the first content to the second display screen; wherein the first set condition includes: The angle between the sliding direction and the first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent a direction from the position of the first display screen to the position of the second display screen; and / or The sliding speed is greater than or equal to a set first threshold, or the sliding acceleration is greater than or equal to a set second threshold, or the hand-off speed is greater than or equal to a set third threshold.

26. The method of claim 25, wherein: The first electronic device determining that a distance between the first window and the second display screen is greater than a distance between the second window and the second display screen includes: The first electronic device determines a first target direction corresponding to the first window, wherein the first target direction is used to indicate a direction from the first window to the second window; When the angle between the first target direction and the first candidate direction is less than a set second angle threshold, it is determined that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen.

27. The method of claim 25, wherein: The first electronic device determining that a distance between the first window and the second display screen is greater than a distance between the second window and the second display screen includes: The first electronic device determines a first target direction corresponding to the first window and a second target direction corresponding to the second window; wherein the first target direction is used to indicate a direction from the first window to the second window, and the second target direction is used to indicate a direction from the second window to the first window; When the angle between the first target direction and the first candidate direction is smaller than the angle between the second target direction and the first candidate direction, it is determined that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen.

28. The method according to any one of claims 23 to 27, wherein: The second electronic device displays the target content on the second display screen, including: the second electronic device replacing the third content displayed on the second display screen with the target content; or The second electronic device displays a first window containing the target content and a second window containing the third content on the second display screen; wherein the first window and the second window are located in different areas of the second display screen, or the first window covers the second window.

29. The method according to any one of claims 23 to 28, wherein: The method further comprises: When the target content is the first content, the first electronic device obtains the third content from the second electronic device; The first electronic device displays the third content in the first window.

30. The method according to any one of claims 23 to 28, wherein: The method further comprises: When the target content is the first content, the first electronic device displays fourth content in the first window, wherein the fourth content is set content or content displayed by the first electronic device in the first window before displaying the first content; or The first electronic device displays only the second content on the first display screen.

31. The method according to any one of claims 23 to 30, wherein: The first display screen and the second display screen are in a relatively static state.

32. The method according to any one of claims 23 to 31, wherein: The first display screen and the second display screen are display screens configured in the same vehicle cockpit.

33. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays a first window, a second window, and a third window on a first display screen; wherein the first window contains first content, the second window contains second content, and the third window contains third content; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to receiving the first operation, the first electronic device sends target content to the second electronic device that displays fourth content on the second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is: the first content, or the second content, or the third content, or the first content, the second content and the third content.

34. The method of claim 33, wherein: The first electronic device sends target content to a second electronic device that displays fourth content on a second display screen in response to the received first operation, including: When the initial contact point of the first operation on the first display screen is only located within the first window, sending the first content to the second electronic device; or When the initial contact point of the first operation on the first display screen is located only within the second window, sending the second content to the second electronic device; or When the initial contact point of the first operation on the first display screen is only located within the third window, sending the third content to the second electronic device; or When the initial contact point of the first operation on the first display screen is located within the first window and the second window, the first content, the second content, and the third content are sent to the second electronic device.

35. The method according to claim 33 or 34, wherein The first electronic device sends target content to a second electronic device that displays fourth content on a second display screen in response to the received first operation, including: When it is determined that the distance between the first window and the second display screen is greater than the distance between the second window and the second display screen, and the distance between the first window and the second display screen is greater than the distance between the third window and the second display screen, and the first operation satisfies a first set condition, sending the first content to the second electronic device; wherein the first set condition includes: The angle between the sliding direction and the first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent a direction from the position of the first display screen to the position of the second display screen; and / or The sliding speed is greater than or equal to a set first threshold, or the sliding acceleration is greater than or equal to a set second threshold, or the hand-off speed is greater than or equal to a set third threshold.

36. The method according to any one of claims 33 to 35, wherein: The method further comprises: When the target content is the first content, the first electronic device displays fifth content in the first window, wherein the fifth content is set content or content displayed by the first electronic device in the first window before displaying the first content; or The first electronic device displays the second window and the third window in split screen on the first display screen.

37. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays the first content on the first display screen; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to receiving the first operation, the first electronic device sends the first content to a second electronic device that displays a first window containing second content and a second window containing third content on a second display screen, so that the second electronic device displays the first content on the second display screen.

38. The method of claim 37, wherein: The method further comprises: The first electronic device instructs the second electronic device to display the first content in a target window; wherein the target window is the first window or the second window.

39. The method of claim 38, wherein The first electronic device instructing the second electronic device to display the first content in a target window includes: when the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the first operation satisfies a first set condition and / or a second set condition, instructing the second electronic device to display the first content in the first window; or When the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the first operation does not meet a second set condition, instructing the second electronic device to display the first content in the second window; The first set condition includes: an angle between the sliding direction of the first operation and a first candidate direction is less than a set first angle threshold, and the first candidate direction is used to represent a direction from the position of the first display screen to the position of the second display screen; The second set condition includes: the sliding speed is greater than or equal to a set first threshold, or the sliding acceleration is greater than or equal to a set second threshold, or the hand-off speed is greater than or equal to a set third threshold.

40. The method of claim 39, wherein The first electronic device determining that a distance between the first window and the first display screen is greater than a distance between the second window and the first display screen includes: The first electronic device determines a first target direction corresponding to the first window, wherein the first target direction is used to indicate a direction from the first window to the second window; When the angle between the first target direction and the first candidate direction is greater than a set first angle threshold, it is determined that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen.

41. The method of claim 39, wherein: The first electronic device determining that a distance between the first window and the first display screen is greater than a distance between the second window and the first display screen includes: The first electronic device determines a first target direction corresponding to the first window, wherein the first target direction is used to indicate a direction from the first window to the second window; The first electronic device determines, based on the first target direction, a second target direction corresponding to the second window; wherein the second target direction is used to indicate a direction from the second window to the first window; When the angle between the first target direction and the first candidate direction is greater than the angle between the second target direction and the first candidate direction, the first electronic device determines that the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen.

42. The method according to claim 40 or 41, wherein The first electronic device determining a first target direction corresponding to the first window includes: The first electronic device receives first indication information sent by the second electronic device, where the first indication information is used to indicate the first target direction.

43. The method of claim 37, wherein: The second electronic device displays the first content on the second display screen, including: the second electronic device replacing the second content displayed in the first window with the first content; or The second electronic device replaces the third content displayed in the second window with the first content; or The second electronic device displays a first window containing the second content, a second window containing the third content, and a third window containing the first content on the second display screen; wherein the first window, the second window, and the third window are located in different areas of the second display screen, or the third window covers the first window and / or the second window.

44. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays the first content on the first display screen; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to the received first operation, the first electronic device sends the first content to a second electronic device that displays a first window containing second content, a second window containing third content, and a third window containing fourth content on a second display screen, so that the second electronic device displays the first content on the second display screen.

45. The method of claim 44, wherein: The method further comprises: The first electronic device instructs the second electronic device to display the first content in a target window; wherein the target window is the first window, the second window, or the third window.

46. ​​The method of claim 45, wherein The first electronic device instructing the second electronic device to display the first content in a target window includes: When the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the distance between the first window and the first display screen is greater than the distance between the third window and the first display screen, and the first operation satisfies a first set condition and / or a second set condition, the first electronic device instructs the second electronic device to display the first content in the first window; or When the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the distance between the second window and the first display screen is greater than the distance between the third window and the first display screen, and the first operation satisfies a first set condition and / or a third set condition, the first electronic device instructs the second electronic device to display the first content in the second window; or When the distance between the first window and the first display screen is greater than the distance between the second window and the first display screen, and the distance between the second window and the first display screen is greater than the distance between the third window and the first display screen, and the first operation satisfies a first set condition and / or a fourth set condition, the first electronic device instructs the second electronic device to display the first content in the third window; The first set condition includes: an angle between the sliding direction of the first operation and a first candidate direction is less than a set first angle threshold, and the first candidate direction is used to represent a direction from the position of the first display screen to the position of the second display screen; The second set condition includes: the sliding speed is greater than or equal to the set first threshold, or the sliding acceleration is greater than or equal to the set second threshold, or the hand-off speed is greater than or equal to the set third threshold; The third setting condition includes: the sliding speed is less than the set first threshold and greater than or equal to the set fourth threshold, or the sliding acceleration is less than the set second threshold and greater than or equal to the set fifth threshold, or the hand-off speed is less than is greater than a set third threshold and greater than or equal to a set sixth threshold; The fourth setting condition includes: the sliding speed is less than the set fourth threshold, or the sliding acceleration is less than the set fifth threshold, or the hand-off speed is less than the set sixth threshold.

47. A multi-screen interaction method, characterized in that: The method comprises: The first electronic device displays a first window and a second window on a first display screen; wherein the first window contains first content and the second window contains second content; The first electronic device receives a first operation, where the first operation is a sliding operation on the first display screen; In response to receiving the first operation, the first electronic device sends target content to a second electronic device that displays a third window containing third content and a fourth window containing fourth content on a second display screen, so that the second electronic device displays the target content on the second display screen; wherein the target content is the first content and / or the second content.

48. The method of claim 47, wherein The first electronic device sends target content to a second electronic device that displays a third window containing third content and a fourth window containing fourth content on a second display screen in response to the received first operation, including: When the initial contact point of the first operation on the first display screen is only located within the first window, sending the first content to the second electronic device; or When the initial contact point of the first operation on the first display screen is located only within the second window, sending the second content to the second electronic device; or When the initial contact point of the first operation on the first display screen is located within the first window and the second window, the first content and the second content are sent to the second electronic device.

49. The method according to claim 47 or 48, wherein The method further comprises: The first electronic device instructs the second electronic device to display the target content in a target window; wherein the target window is the third window or the fourth window.

50. The method according to claim 47 or 48, wherein The first electronic device instructing the second electronic device to display the target content in a target window includes: when the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen, and the first operation satisfies the first set condition and / or the second set condition, instructing the second electronic device to display the target content in the third window; or When the distance between the third window and the first display screen is greater than the distance between the fourth window and the first display screen, and the first operation satisfies the first set condition and / or the third set condition, instructing the second electronic device to display the target content in the fourth window; The first set condition includes: an angle between the sliding direction of the first operation and a first candidate direction is less than a set first angle threshold; wherein the first candidate direction is used to represent a direction from the position of the first display screen to the position of the second display screen; The second set condition is: the sliding speed is greater than or equal to the set first threshold, or the sliding acceleration is greater than or equal to the set second threshold, or the hand-off speed is greater than or equal to the set third threshold; The third setting condition is: the sliding speed is less than the set first threshold and greater than or equal to the set fourth threshold, or the sliding acceleration is less than the set second threshold and greater than or equal to the set fifth threshold, or the hand-off speed is less than the set third threshold and greater than or equal to the set sixth threshold.

51. An electronic device, characterized in that: The electronic device includes a display screen, a memory and one or more processors; In which, the memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device executes the method according to any one of claims 1 to 14, or executes the method according to any one of claims 15 to 22, or executes the method according to any one of claims 23 to 32, or executes the method according to any one of claims 33 to 36, or executes the method according to any one of claims 37 to 43, or executes the method according to any one of claims 44 to 46, or executes the method according to any one of claims 47 to 50.

52. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program. When the computer program is run on an electronic device, the electronic device executes the method according to any one of claims 1 to 14, or the method according to any one of claims 15 to 22, or the method according to any one of claims 23 to 32, or the method according to any one of claims 33 to 36, or the method according to any one of claims 37 to 43, or the method according to any one of claims 44 to 46, or the method according to any one of claims 47 to 50.

53. A computer program product, characterized in that The computer program product stores a computer program. When the computer program runs on an electronic device, the electronic device executes the method according to any one of claims 1 to 14, or the method according to any one of claims 15 to 22, or the method according to any one of claims 23 to 32, or the method according to any one of claims 33 to 36, or the method according to any one of claims 37 to 43, or the method according to any one of claims 44 to 46, or the method according to any one of claims 47 to 50.