Screen content sharing method, electronic equipment, storage medium and program product

By obtaining the user's selection operation of the target sharing layer in a multi -screen environment, and determining whether there is a conflict between the shared layer and the sharing layer, it is unable to effectively share the specific content and judge layer conflict in the existing technology. The problem realizes the improvement of business stability and reliability.

CN119376594APending Publication Date: 2025-01-28MIGU INTERACTIVE ENTERTAINMENT CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411503694.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-01-28

Smart Images

  • Figure CN119376594A_ABST
    Figure CN119376594A_ABST
Patent Text Reader

Abstract

The invention relates to a screen content sharing method, electronic equipment, a storage medium and a program product. The method comprises the following steps: acquiring a selection operation of a first user on a target sharing layer in a first display screen; and according to a shared layer displayed in a second display screen, determining whether the target shared layer is allowed to be shared to the second display screen. According to the embodiment of the invention, before the target layer is shared, whether the shared layer displayed in the second screen conflicts with the to-be-shared target layer needs to be judged, so that the unexpected service problem caused by layer conflicts can be avoided, and the service stability after the sharing operation can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a screen content sharing method, an electronic device, a storage medium, and a program product. Background Art

[0002] With the continuous development of technology, terminal products including mobile phones and car computers have been widely used. When users play games in the car through their mobile phones, if the mobile phone users want to share the content on the mobile phone to the car computer screen, the relevant technology usually needs to project all the content on the mobile phone screen to the car computer screen, which cannot share the corresponding content according to the user's needs, and cannot guarantee the service reliability after the sharing operation. Summary of the invention

[0003] The present disclosure provides a screen content sharing method, an electronic device, a storage medium, and a program product.

[0004] According to a first aspect of the present disclosure, a screen content sharing method is provided, the method comprising:

[0005] Acquire a selection operation of a first user on a target shared layer in a first display screen;

[0006] According to the shared layer displayed on the second display screen, it is determined whether to allow the target shared layer to be shared to the second display screen.

[0007] According to a second aspect of the present disclosure, an electronic device is provided. The electronic device includes: a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.

[0008] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above method of the present disclosure is implemented.

[0009] According to a fourth aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the above method of the present disclosure when executed by a processor.

[0010] The screen content sharing method, electronic device, storage medium and program product provided by the embodiments of the present disclosure obtain the selection operation of the first user on the target sharing layer in the first display screen, and determine whether to allow the target sharing layer to be shared to the second display screen according to the shared layer displayed in the second display screen. In the embodiments, before sharing the target layer, it is necessary to determine whether there is a conflict between the shared layer displayed in the second screen and the target layer to be shared, thereby avoiding unexpected business problems caused by layer conflicts, and thus helping to ensure business stability after the sharing operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0012] Figure 1 A schematic diagram of a scenario for sharing layer content provided by an exemplary embodiment of the present disclosure;

[0013] Figure 2 A schematic diagram of another scenario of layer content sharing provided by an exemplary embodiment of the present disclosure;

[0014] Figure 3 A schematic diagram of another scenario of layer content sharing provided by an exemplary embodiment of the present disclosure;

[0015] Figure 4 A flowchart of a screen content sharing method provided by an exemplary embodiment of the present disclosure;

[0016] Figure 5 A schematic block diagram of functional modules of a screen content sharing device provided by an exemplary embodiment of the present disclosure;

[0017] Figure 6 A structural block diagram of an electronic device provided for an exemplary embodiment of the present disclosure;

[0018] Figure 7 A structural block diagram of a computer system provided for an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0020] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0021] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0022] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0023] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0024] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0025] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0026] As an optional but non-limiting implementation, in response to receiving an active request from the user, the method of sending a prompt message to the user may be, for example, a pop-up window, in which the prompt message may be presented in text. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device. It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0027] When users play games in the car, they can usually only project the entire content of the mobile game to a car screen located somewhere in the car to continue playing. When the game is too complicated for the user or the user wants to share the game with multiple users in the car, since the relevant technology can only project the entire content of the game to a certain screen, the user cannot operate different layers of the game on the mobile phone and the car screen at the same time.

[0028] In the related art, users can only project all the game screen contents of their mobile phones to a certain screen, and when users project the screen to a car screen in a certain direction, they do not consider the situation when there are multiple car screens in a certain direction. When a car screen needs to share the content projected by the mobile phone to another car screen, the related art does not consider whether the content projected on the other car screen conflicts with the content to be shared.

[0029] Therefore, in response to the technical problems existing in the related art, in the embodiments provided by the present disclosure, when the user is playing games in the car, the different game content layers of the mobile game can be shared to the car screens in different positions through the user's gestures and the direction of the gestures, so as to achieve the effect of operating different parts of the game on different screens at the same time, and realize multi-screen sharing of the game. When there are multiple screens in a certain direction, the user can choose to cast to different screens through system prompts. In addition, the user can also recycle the screen image shared in a certain direction by operating on the mobile phone. When reclaiming the game screen, you can choose to recycle the content of a certain screen. After receiving the shared content, users of other screens can continue to share the content to other screens, or they can recycle their own content to the main screen.

[0030] It should be noted that in the embodiment, content can be shared to the car screen via a mobile phone, or related content can be shared between car screens, or content can be shared between terminals, but the embodiment is not limited thereto. In addition, the content shared in the embodiment can be a game, or a video or image, but the embodiment is not limited thereto. For ease of explanation, the embodiment is described by taking the example of sharing a game from a mobile phone to the car screen, but the embodiment is not limited thereto.

[0031] Specifically, 1) when the user plays games in the car, the player can verify the mobile phone number and the car computer token. The mobile phone and the car computer establish a connection. The car computer determines the specific location of the mobile phone in the car through Bluetooth. The mobile phone obtains the identity document (ID) of all car screens, confirms the location of each screen, and can define the screen where the user is located as the main screen.

[0032] 2) Sharing of screen content.

[0033] In an embodiment, the user can long press the layer content to be shared in the game screen, and the system will pop up a prompt to confirm whether to share. Figure 1 As shown, Figure 1 A schematic diagram of layer content sharing provided in an embodiment of the present disclosure. The user can confirm sharing or not by clicking on the control containing the prompt information. If sharing is confirmed, the user drags the selected content on the mobile phone in the direction of the in-vehicle screen to be shared to share. The in-vehicle system determines whether there are multiple screens in the direction based on the position of the mobile phone and the position of each screen. If there are multiple screens in the direction, the specific screen to be shared can be determined by any of the following methods. Among them, Figure 1 P1 in the figure is the layer content selected by the user to be shared.

[0034] (1) After the user drags the button in the direction to be projected, the system will project the screen to the screen closer to the user based on the preset long press time threshold. If the user's long press time is less than the threshold, the screen will be projected to the screen farther away in the direction. There can be multiple time thresholds depending on the number of screens in the direction.

[0035] For example, if there are multiple display screens in the dragging direction, multiple duration intervals can be set accordingly, and each duration interval corresponds to the identification information of a display screen. For example, if there are three display screens in the dragging direction, three duration intervals can be set, as shown in Table 1. When the long press duration is within a certain duration interval, the layer content that the user needs to share is shared to the corresponding display screen.

[0036] Table 1:

[0037] Duration 0~1s 1s~2s 2s~3s Display screen ID Screen 1 Screen 2 Screen 3

[0038] For example, when the long press duration (unit: seconds) is (0,1], the layer content to be shared is shared to screen 1; when the long press duration is (1,2], the layer content to be shared is shared to screen 2; when the long press duration is (2,3], the layer content to be shared is shared to screen 3. For example, when the long press duration is 1.5s, the layer content to be shared is shared to screen 2.

[0039] In an embodiment, the long press timing information can also be displayed on the user's display screen, and the ID of the corresponding display screen that can be shared during the long press process can be displayed, or only the ID that can be shared to the corresponding display screen can be displayed according to the long press duration, and the ID of the display screen that can be shared can be displayed according to the long press duration, so that the user can select the display screen to be shared through clicks and other operations.

[0040] It should be noted that when sharing layer content, the user can first drag the layer content to be shared. If multiple display screens are obtained in the direction of dragging, one of the display screens to be shared can be selected by long pressing.

[0041] (2) In the embodiment, the user drags in the direction where the screen needs to be projected (i.e., shared) and then long presses, and the system pops up a schematic diagram of the screen position in the vehicle. The user can select the display screen at the corresponding position, for example, by dragging the screen to the required position to complete the sharing, or by dragging the layer content to be shared to the position of the display screen to be shared to complete the sharing, or by directly selecting the target display screen to be shared from the pop-up schematic diagram of the screen position in the vehicle for sharing. The embodiment is not limited to this.

[0042] (3) In the embodiment, after the user drags the screen in the direction to be projected and then long presses, the system can prompt the screen in the direction by the number of vibrations. For example, one vibration will project the screen to the screen closer in the direction, and two vibrations will project the screen to the screen farther in the direction. There can be multiple vibration times depending on the number of screens in the direction.

[0043] (4) In the embodiment, after the user selects the layer to be shared, the mobile phone terminal determines whether the layer is a layer that requires game operations. For example, the environmental background layer, the particle layer (such as a raindrop layer or a snowflake layer), etc. are only used to create a game atmosphere, and the user does not need to perform game operations on these layers. Therefore, these layers do not belong to the layers that require game operations. For example, the prop layer, the store layer, etc. usually require the user to click on them, so these layers are layers that require game operations; if the layer to be shared is a layer that requires game operations, it is determined whether there are passengers in front of each screen in that direction, and the layer is shared with the screen with passengers in front first.

[0044] In an embodiment provided by the present disclosure, when a user shares a layer content to be shared, if there is only one display screen in the dragging direction, the layer content to be shared can be directly shared to the display screen.

[0045] 3) The cloud game server can project the video stream of the content to be shared to a specific target display screen through the mobile phone, and record the message content of all buttons and other triggering events on the sharing screen. When other users click on the target display screen, an event will be triggered, and the car computer can forward the event message of the location to the cloud game server through the mobile phone.

[0046] The cloud game server pushes the clicked content video stream to the mobile phone and forwards it to the target display screen where the message was sent. Figure 2 As shown, the received vehicle screen (i.e., target display screen) content is as follows Figure 3As shown. Figure 1 , it can be found that the shared layer content selected by the user has been shared. In an embodiment, if the shared layer content can also include layer interface content that is expanded by a user click operation, the user can click on the shared layer content, and the expanded interface layer will be directly forwarded by the mobile phone to the target display screen. For example, the user can share the "Settings" button on the main screen (such as the mobile phone screen) to the target display screen, so that the "Settings" button will not be displayed on the main screen, and the "Settings" button will appear on the target display screen. The user can click the "Settings" button on the target display screen and expand the corresponding display screen on the target display screen.

[0047] 4) After receiving the shared content, users on other screens can continue to share the content with other screens, and users on other screens can also recycle their own content to the main screen.

[0048] For example, a user shares the content to be shared on the mobile phone screen to car screen 1, and the user in front of car screen 1 is ready to share the game layer on car screen 1 to other car screens, then the user needs to select a car screen to be shared (such as car screen 2).

[0049] Then the car system or mobile phone terminal will determine whether the car screen 2 is idle. If the car screen 2 is idle, the screen content of the car screen 1 can be directly shared, and a message can be sent to the mobile phone through the car system. The mobile phone updates the record of the screen ID information and shared content information shared for the second time. The mobile phone will subsequently project the corresponding new media stream to the corresponding car screen based on the updated screen ID and shared content information.

[0050] If the car screen 2 is not idle (for example, the game layer has been shared on the car screen 2), it is determined whether there is a conflict between the game layer currently displayed on the car screen 2 and the game layer to be shared. If there is a conflict, sharing the game image on the car screen 1 to the car screen 2 is prohibited. If there is no conflict, sharing is allowed.

[0051] (1) If the game layer currently displayed on the car screen 2 is a layer that does not require user operation (such as an environmental background layer, a particle layer, etc.), or the game layer currently to be shared on the car screen 1 is a layer that does not require user operation, it is determined that there is no conflict between the two and they can be shared.

[0052] (2) If the game layer currently displayed on the car screen 2 is a game layer after entering the game operation interface (such as a prop layer, a store layer, or a task prompt layer), and the game layer currently to be shared on the car screen 1 is also a game layer after entering the game operation interface (such as a prop layer, a store layer, or a task prompt layer), since these two layers can appear on the original mobile phone screen at the same time, there is no conflict between the two layers and they can be shared.

[0053] (3) If the game layer currently displayed on the car screen 2 is a game layer before entering the game operation interface (such as the sound setting layer or the button setting layer, etc.), and the game layer currently to be shared on the car screen 1 is also a game layer after entering the game operation interface (such as the prop layer, the store layer or the task prompt layer), since these two layers themselves cannot appear on the original mobile phone screen at the same time, if these two layers are displayed on the same car screen at the same time, there may be a conflict between the layer and the layer button position (for example, a button in the sound setting layer overlaps with a button in the prop layer on the screen), so sharing is not allowed in this case. It should also be noted that during the game operation of the mobile phone, the game sound effects can be set through the sound setting layer in the car screen 2.

[0054] 5) Shared content recycling.

[0055] In the embodiment, the user can recycle the screen content at a certain position by performing a reverse gesture operation on the mobile phone or by performing a specific gesture operation. If there are multiple screens in the direction of the gesture operation, the system will pop up a prompt, and the player can select the specific screen to be recycled by determining the target display screen from multiple display screens in the above-mentioned multiple ways. The cloud game server can push the video stream of the shared content in this direction directly to the mobile phone, and the mobile phone sends a message to the screen to end the screen projection.

[0056] In the embodiments provided by the present disclosure, when a user plays a mobile game in a car, he can project the game content onto the car screen through gestures and play the game with other users in the car. When there are multiple screens in a certain direction, the embodiments provide a variety of sharing methods to select the screen to be shared. Users can push the video streams of different parts of the game to different car screens respectively, so that different users can operate different parts of the same game at the same time. And when one screen shares the game layer to another screen, it can determine whether the two game layers will conflict, and only allow sharing if there is no conflict.

[0057] Based on the above embodiments, the present disclosure also provides a method for sharing screen content. Figure 4 As shown, the method may include the following steps:

[0058] In step S410, a selection operation of a first user on a target sharing layer in a first display screen is obtained.

[0059] In the embodiment, when playing games on the first display screen, the user can select the target sharing layer to be shared on the first display screen, for example, by double-clicking or sliding with three fingers as the selection operation for the target sharing layer. The content of the target sharing layer can be the layer content to be shared or the game layer to be shared in the above embodiment.

[0060] In step S420 , it is determined whether to allow the target shared layer to be shared to the second display screen according to the shared layer displayed on the second display screen.

[0061] In an embodiment, when the first user selects the target sharing layer in the first display screen, the first user may want to share the target sharing layer to the second display screen. At this time, it can be detected whether there is a shared layer on the second display screen. If there is a shared layer, it is also necessary to determine whether there is a conflict between the target layer to be shared and the shared layer, and then determine whether to allow the target layer to be shared to the second display screen. If there is no conflict between the target layer to be shared and the shared layer, it is allowed to share the target sharing layer to the second display screen. Otherwise, if there is a conflict between the target layer to be shared and the shared layer, it is not allowed to share the target sharing layer to the second display screen.

[0062] The screen content sharing method provided by the embodiment of the present disclosure obtains the selection operation of the first user on the target sharing layer in the first display screen, and determines whether to allow the target sharing layer to be shared to the second display screen according to the shared layer displayed in the second display screen. In the embodiment, before sharing the target layer, it is necessary to determine whether there is a conflict between the shared layer displayed in the second screen and the target layer to be shared, thereby avoiding unexpected business problems caused by layer conflicts, and thus helping to ensure business stability after the sharing operation.

[0063] Based on the above embodiment, in another embodiment provided by the present disclosure, in the above step S420, if the shared layer and the target shared layer cannot be displayed on the display interface of the target application at the same time, the target shared layer is not allowed to be shared to the second display screen. The target application refers to an application that includes both the shared layer and the target shared layer.

[0064] In the embodiment, for example, the shared layer is the previous jump interface of the target shared layer, so the target shared layer is not allowed to be shared to the second display screen, so as to avoid the target shared layer being superimposed and displayed on the shared layer at the same time.

[0065] In an embodiment, if the target application can provide multiple layers at the same time, for example, the first layer as a shared layer and the second layer as a target shared layer, and if both the first layer and the second layer require user operation, then if the first layer belongs to the shared layer, the second layer is not allowed to be displayed simultaneously on the first layer. Otherwise, when the user operates on the display interface, it is impossible to effectively distinguish whether the operation is on the first display layer or the operation on the second layer.

[0066] If at most one of the first layer of the shared layer and the second layer to be shared requires user operation, the first layer and the second layer can be shared to the same display interface for superimposed display. For example, the first layer can be displayed as the background of the second layer.

[0067] Furthermore, if the shared first layer and the second layer to be shared both contain key information, such as text, the text information will be displayed overlapping after superposition. In this way, if the first layer belongs to the shared layer, the second layer will not be allowed to be displayed on the first layer at the same time.

[0068] Based on the above embodiment, in another embodiment provided by the present disclosure, the method may further include the following steps:

[0069] In step S430, when it is determined that the target sharing layer is allowed to be shared on the second display screen, a first sliding direction of the first user on the first display screen is obtained.

[0070] In the embodiment, the user can share the target sharing layer content on the display screen of the vehicle through the mobile phone, and the target sharing layer content can be the layer content to be shared in the above embodiment or the game layer to be shared, etc. The first user can select the layer content in the first display screen as the target sharing layer content and share the target sharing layer content by dragging.

[0071] In an embodiment, the sharing operation may be a drag operation or other operations, which may be set according to the needs or habits of the user, and the embodiment is not limited thereto. The drag operation of the user on the display screen may be a sliding operation, so that the sliding direction of the first user on the first display screen can be determined.

[0072] In step S440 , the second display screen is determined based on the first sliding direction, and the target sharing layer content is shared to the second display screen.

[0073] In an embodiment, by obtaining the first sliding direction, it is possible to detect whether the sliding direction includes multiple display screens. If there is only one display screen in the sliding direction, that is, the second display screen, the target sharing layer content can be directly projected to the second display screen, thereby achieving the purpose of sharing the target sharing layer content from the first display screen to the second display screen. If the sliding direction includes multiple display screens, such as at least two display screens, the second display screen to be shared can be determined from the multiple display screens, and the target sharing layer content can be projected to the second display screen, thereby achieving the purpose of sharing the target sharing layer content from the first display screen to the second display screen. If the sliding direction does not include a display screen, a prompt message can be generated on the first display screen to prompt the user that the display screen to be shared has not been found yet, and the user is prompted to change the sliding direction and re-execute the sharing operation.

[0074] In the embodiment provided by the present disclosure, by obtaining the sharing operation of the first user on the target sharing layer content in the first display screen, and obtaining the first sliding direction of the first user on the first display screen, the second display screen is determined based on the first sliding direction, and the target sharing layer content is shared to the second display screen. In the embodiment, since the user can select the target sharing layer content to be shared, it is not necessary to share all the content on the mobile phone screen, thereby meeting the personalized needs for content sharing.

[0075] Based on the above embodiment, in another embodiment provided by the present disclosure, the above step S440 may specifically include the following steps:

[0076] In step S441, when it is detected that the first sliding direction includes multiple display screens associated with the first display screen, a trigger operation of the first user on the first display screen is acquired.

[0077] In step S442, a second display screen is determined from among the plurality of display screens based on the trigger operation.

[0078] In the embodiment, by obtaining the first sliding direction, if the sliding direction includes multiple display screens associated with the first display screen, the user needs to select one display screen from them as the second display screen to be shared.

[0079] For example, the user can share the layer content by dragging the target. The direction of the drag is the first sliding direction. The user can drag in the direction where the screen needs to be projected and then long press. The system will project the screen to the closer screen in this direction based on the pre-set long press time threshold. If the user's long press time is lower than the threshold, the screen will be projected to the closer screen in this direction. If the user's long press time is higher than the threshold, the screen will be projected to the farther screen in this direction. In this way, the second display screen that needs to be shared can be determined. Among them, the embodiment can have multiple time thresholds according to the number of screens in the direction. For details, please refer to the above Table 1 and the corresponding related embodiments, which will not be repeated here.

[0080] Based on the above embodiment, in another embodiment provided by the present disclosure, the above step S440 may specifically include the following steps:

[0081] In step S443 , when it is detected that the first sliding direction includes a plurality of display screens associated with the first display screen, it is detected whether the target sharing layer content includes the user operation layer content.

[0082] In step S444, when the target sharing layer content includes the user operation layer content, a second display screen is determined from the multiple display screens; wherein a second user exists in a preset area of ​​the second display screen.

[0083] In the embodiment, by detecting whether the target sharing layer content includes the user operation layer content, since the user operation layer content requires the user to operate, the target sharing layer content including the user operation layer content needs to be shared with the second display screen operated by the user, and the distance between the user and the second display screen cannot be too far, otherwise it will affect the user's operation, so it is necessary to determine from multiple display screens that there is a second user's second display screen in the preset area. Among them, the preset area can be an area within one meter in front of the display screen, etc., and the embodiment is not limited to this.

[0084] In the embodiment, for example, the sensors carried by the multiple display screens can be used to detect whether there is a user in front of the display screen. The sensor can be a camera, which collects images in front of the display screen and performs human body detection based on the collected images to determine whether there is a user in front of the display screen. The sensor can also be an infrared sensor, which determines whether there is a user by detecting infrared rays in front of the display screen, but the embodiment is not limited thereto.

[0085] Based on the above embodiment, in another embodiment provided by the present disclosure, the method may further include the following steps:

[0086] In step S450, when a sharing operation of the second user to share the target sharing layer content to the third display screen is obtained, it is detected whether the third display screen is in an idle state.

[0087] In step S460, when the third display screen is in a non-idle state, the layer content currently displayed on the third display screen is obtained.

[0088] In step S470, when the layer content currently displayed on the third display screen is non-user operation layer content, the second user is allowed to share the target sharing layer content to the third display screen.

[0089] In an embodiment, when sharing the target sharing layer content, the content type of the target sharing layer content can also be detected, and the content type can include user operation layer content or non-user operation layer content. And when obtaining the sharing operation of the second user to share the target sharing layer content to the third display screen, it is detected whether the third display screen is in an idle state. When the third display screen is in an idle state, the target sharing layer content can be directly shared to the third display screen. Since the third display screen is in an idle state at this time, for example, the third display screen does not display relevant content, the target sharing layer content shared in this way will not conflict with the current display content of the third display screen.

[0090] In the embodiment, when the third display screen is in a non-idle state, it is necessary to obtain the layer content currently displayed on the third display screen. When the layer content currently displayed on the third display screen is a non-user operation layer content, the second user may be allowed to share the target sharing layer content to the third display screen. In this way, the target sharing layer content shared will not conflict with the content currently displayed on the third display screen.

[0091] In an embodiment, when the layer content currently displayed on the third display screen and the target shared layer content both contain user operation layer content, the first position information of the control in the layer content currently displayed on the third display screen and the second position information of the control in the target shared layer content on the third display screen can be obtained respectively. In the case where the first position information and the second position information are different, the second user is allowed to share the target shared layer content to the third display screen. Alternatively, in the case where the first position information and the second position information are the same, the second user is not allowed to share the target shared layer content to the third display screen.

[0092] In the embodiment, when the first location information and the second location information are different, the target sharing layer content to be shared will not conflict with the content currently displayed on the third display screen, and the second user can be allowed to share the target sharing layer content to the third display screen. However, when the first location information and the second location information are the same, the target sharing layer content to be shared will conflict with the content currently displayed on the third display screen, so the second user is not allowed to share the target sharing layer content to the third display screen, avoiding the influence of user operation due to overlapping operation interfaces.

[0093] Based on the above embodiment, in another embodiment provided by the present disclosure, the method may further include the following steps:

[0094] In step S480, a content recycling operation performed by the first user on the target shared layer content on the first display screen is obtained, and a second sliding direction of the first user on the first display screen is obtained.

[0095] In an embodiment, a user can recycle the content of the target shared layer by performing a related sliding operation on the first display screen, thereby obtaining a second sliding direction of the sliding operation and obtaining the display screens included in the second sliding direction. For example, in a vehicle with three rows of seats, if there is a display screen in front of each seat, when a user slides forward on a mobile phone while sitting in the last row of seats, the sliding direction may include three display screens.

[0096] In step S491, when it is detected that the second sliding direction includes multiple display screens, a selection operation of the first user on the first display screen is acquired, and a target display screen requiring content recycling is determined from the multiple display screens based on the selection operation.

[0097] In step S492, the sharing of the target sharing layer content to the target display screen via the first display screen is stopped.

[0098] In an embodiment, the target display screen can be determined from multiple display screens in the above manner, for example, by the user's long press duration, or by the user's selection operation from multiple display screens based on the identification information of the multiple display screens displayed on the first display screen. Among them, the second sliding direction in the embodiment includes multiple display screens, which can be display screens corresponding to the first display screen after sharing. In this way, when the target display screen is determined, the target sharing layer content can be stopped from being shared to the target display screen through the first display screen.

[0099] In the embodiments provided by the present disclosure, it is also possible to receive a user's trigger operation on the target shared layer content on the second display screen, generate a trigger event, and send the trigger event to the server through the terminal corresponding to the first display screen. For example, the cloud game server can project the video stream of the content to be shared to a specific target display screen through a mobile phone, and record the message content of the trigger event such as all buttons on the sharing screen. When other users click on the target display screen, an event will be triggered, and the car computer can forward the event message of the location to the cloud game server through the mobile phone.

[0100] In the case of dividing each functional module according to each function, an embodiment of the present disclosure provides a screen content sharing device, which may be a server, a terminal, or a chip applied to a server. Figure 5 This is a schematic block diagram of the functional modules of a screen content sharing device provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, the screen content sharing device includes:

[0101] A layer selection operation module 10, used to obtain a selection operation of a first user on a target shared layer in a first display screen;

[0102] The layer sharing determination module 20 is used to determine whether to allow the target sharing layer to be shared to the second display screen according to the shared layer displayed on the second display screen.

[0103] In another embodiment provided by the present disclosure, the layer sharing determination module is specifically used to:

[0104] If the shared layer and the target shared layer cannot be displayed on the display interface of the target application at the same time, sharing the target shared layer to the second display screen is not allowed; wherein the target application refers to an application that includes both the shared layer and the target shared layer.

[0105] In another embodiment provided by the present disclosure, the device further includes:

[0106] A first sliding direction obtaining module, configured to obtain a first sliding direction of the first user on the first display screen when it is determined that the target sharing layer is allowed to be shared to the second display screen;

[0107] The first content sharing module is used to determine a second display screen based on the first sliding direction, and share the target sharing layer content to the second display screen.

[0108] In another embodiment provided by the present disclosure, the first content sharing module is specifically used to:

[0109] When detecting that the first sliding direction includes a plurality of display screens associated with the first display screen, acquiring a triggering operation of the first user on the first display screen;

[0110] A second display screen is determined from among the plurality of display screens based on the trigger operation.

[0111] In another embodiment provided by the present disclosure, the first content sharing module is specifically used to:

[0112] When it is detected that the first sliding direction includes a plurality of display screens associated with the first display screen, detecting whether the target sharing layer content includes user operation layer content;

[0113] When the target sharing layer content includes the user operation layer content, a second display screen is determined from the multiple display screens; wherein a second user exists in a preset area of ​​the second display screen.

[0114] In another embodiment provided by the present disclosure, the device further includes a second content sharing module, specifically configured to:

[0115] When obtaining a sharing operation of the second user to share the target sharing layer content to a third display screen, detecting whether the third display screen is in an idle state;

[0116] When the third display screen is in a non-idle state, acquiring the layer content currently displayed on the third display screen;

[0117] When the layer content currently displayed on the third display screen is non-user operation layer content, the second user is allowed to share the target sharing layer content to the third display screen.

[0118] In another embodiment provided by the present disclosure, the device further includes a content recovery module, specifically configured to:

[0119] Acquire a content recycling operation performed by the first user on the target shared layer content on the first display screen, and acquire a second sliding direction of the first user on the first display screen;

[0120] When it is detected that the second sliding direction includes a plurality of display screens, obtaining a selection operation of the first user on the first display screen, and determining a target display screen requiring content recycling from the plurality of display screens based on the selection operation;

[0121] Stop sharing the target sharing layer content to the target display screen through the first display screen.

[0122] In another embodiment provided by the present disclosure, the device further includes:

[0123] A trigger event generating module, used for receiving a trigger operation of a user on the target shared layer content on the second display screen, and generating a trigger event;

[0124] The trigger event sending module is used to send the trigger event to the server through the terminal corresponding to the first display screen.

[0125] The screen content sharing device provided in the embodiment of the present disclosure obtains the selection operation of the first user on the target sharing layer in the first display screen; and determines whether to allow the target sharing layer to be shared to the second display screen according to the shared layer displayed in the second display screen. In the embodiment of the present disclosure, before sharing the target layer, it is necessary to determine whether there is a conflict between the shared layer displayed in the second screen and the target layer to be shared, thereby avoiding unexpected business problems caused by layer conflicts, and thus helping to ensure business stability after the sharing operation.

[0126] An embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory for storing instructions executable by the at least one processor; wherein the at least one processor is configured to execute the instructions to implement the above method disclosed in the embodiment of the present disclosure.

[0127] Figure 6 The structure diagram of an electronic device provided by an exemplary embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the electronic device 1800 includes at least one processor 1801 and a memory 1802 coupled to the processor 1801 , and the processor 1801 can execute corresponding steps in the above method disclosed in the embodiment of the present disclosure.

[0128] The processor 1801 may also be referred to as a central processing unit (CPU), which may be an integrated circuit chip having signal processing capabilities. Each step in the method disclosed in the embodiment of the present disclosure may be completed by an integrated logic circuit of hardware in the processor 1801 or by instructions in the form of software. The processor 1801 may be a general-purpose processor, a digital signal processor (DSP), an ASIC (Application Specific Integrated Circuit), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a memory 1802, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, or other mature storage media in the art. The processor 1801 reads the information in the memory 1802 and completes the steps of the method in combination with its hardware.

[0129] In addition, when various operations / processes according to the present disclosure are implemented by software and / or firmware, they can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, such as Figure 7 The computer system 1900 shown is installed with the programs constituting the software. When the various programs are installed, the computer system can perform various functions, including the functions described above. Figure 7 A structural block diagram of a computer system provided for an exemplary embodiment of the present disclosure.

[0130] Computer system 1900 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0131] like Figure 7 As shown, the computer system 1900 includes a computing unit 1901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1902 or a computer program loaded from a storage unit 1908 to a random access memory (RAM) 1903. In the RAM 1903, various programs and data required for the operation of the computer system 1900 can also be stored. The computing unit 1901, the ROM 1902, and the RAM 1903 are connected to each other via a bus 1904. An input / output (I / O) interface 1905 is also connected to the bus 1904.

[0132] A plurality of components in the computer system 1900 are connected to the I / O interface 1905, including: an input unit 1906, an output unit 1907, a storage unit 1908, and a communication unit 1909. The input unit 1906 may be any type of device capable of inputting information to the computer system 1900, and the input unit 1906 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 1907 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1908 may include, but is not limited to, a disk, an optical disk. The communication unit 1909 allows the computer system 1900 to exchange information / data with other devices over a network such as the Internet, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0133] The computing unit 1901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1901 performs the various methods and processes described above. For example, in some embodiments, the above methods disclosed in the embodiments of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1908. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 1902 and / or communication unit 1909. In some embodiments, the computing unit 1901 may be configured to perform the above methods disclosed in the embodiments of the present disclosure in any other appropriate manner (e.g., by means of firmware).

[0134] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above method disclosed in the embodiment of the present disclosure.

[0135] The computer-readable storage medium in the disclosed embodiments may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specifically, the computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0136] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0137] The embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor, the above method disclosed in the embodiments of the present disclosure is implemented.

[0138] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.

[0139] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.

[0141] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0142] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).

[0143] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A screen content sharing method, characterized in that: The method comprises: Acquire a selection operation of a first user on a target shared layer on a first display screen; According to the shared layer displayed on the second display screen, it is determined whether to allow the target shared layer to be shared to the second display screen.

2. The method according to claim 1, characterized in that The determining, based on the shared layer displayed on the second display screen, whether to allow the target shared layer to be shared on the second display screen includes: If the shared layer and the target shared layer cannot be displayed on the display interface of the target application at the same time, sharing the target shared layer to the second display screen is not allowed; wherein, the target application refers to an application that includes both the shared layer and the target shared layer.

3. The method according to claim 1, characterized in that The method further comprises: If it is determined that sharing the target sharing layer to the second display screen is allowed, obtaining a first sliding direction of the first user on the first display screen; A second display screen is determined based on the first sliding direction, and the target sharing layer content is shared to the second display screen.

4. The method according to claim 3, characterized in that The determining the second display screen based on the first sliding direction includes: When detecting that the first sliding direction includes a plurality of display screens associated with the first display screen, acquiring a triggering operation of the first user on the first display screen; A second display screen is determined from the plurality of display screens based on the trigger operation.

5. The method according to claim 3, characterized in that The determining the second display screen based on the first sliding direction includes: When detecting that the first sliding direction includes a plurality of display screens associated with the first display screen, detecting whether the target sharing layer content includes user operation layer content; When the target sharing layer content includes user operation layer content, a second display screen is determined from the multiple display screens; wherein a second user exists in a preset area of ​​the second display screen.

6. The method according to claim 3, characterized in that The method further comprises: When a sharing operation of the second user to share the target sharing layer content to a third display screen is obtained, detecting whether the third display screen is in an idle state; When the third display screen is in a non-idle state, acquiring the layer content currently displayed on the third display screen; When the layer content currently displayed on the third display screen is non-user operation layer content, the second user is allowed to share the target sharing layer content to the third display screen.

7. The method according to claim 3, characterized in that The method further comprises: Acquire a content recycling operation performed by the first user on the target shared layer content on the first display screen, and acquire a second sliding direction of the first user on the first display screen; When it is detected that the second sliding direction includes multiple display screens, obtaining a selection operation of the first user on the first display screen, and determining a target display screen requiring content recycling from the multiple display screens based on the selection operation; Stop sharing the target sharing layer content to the target display screen through the first display screen.

8. An electronic device, characterized in that: include: at least one processor; a memory for storing the at least one processor-executable instruction; The at least one processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when the computer program is executed by a processor.