Screen projection control method and device

By maintaining a resource list on the receiving device and displaying projection resources in the order of requests, the problem of users being unable to schedule projection is solved, achieving seamless projection display, improving user experience and avoiding resource waste.

CN115883892BActive Publication Date: 2026-03-17HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In existing technologies, receiving devices cannot schedule screen mirroring, limiting the opportunities for users to initiate screen mirroring requests, which affects user experience and leads to resource waste.

Method used

The receiving device maintains a resource list, records resources that have not been fully cast, and displays resources according to the order of requests. It supports scheduled casting and immediate casting, enabling seamless display of incomplete casting resources in the resource list.

Benefits of technology

It enables users to schedule screen projection on the initiating device with greater flexibility, reduces restrictions on the timing of operations, avoids wasting resources on the receiving device, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883892B_ABST
    Figure CN115883892B_ABST
Patent Text Reader

Abstract

The application relates to a screen projection control method and device, which can be applied to a receiving end device. The receiving end device maintains a resource list recording one or more unfinished screen projection resources. The unfinished screen projection resources include a first screen projection resource being projected and / or other screen projection resources waiting to be projected. The method comprises the following steps: in the process of projecting and displaying the first screen projection resource, receiving a first request from an initiating end device for requesting to project and display a second screen projection resource; if the request sequence of the second screen projection resource is pre-order projection, recording the second screen projection resource to the resource list, so as to project and display the second screen projection resource after the unfinished screen projection resources located before the second screen projection resource in the resource list are projected and displayed, and realize pre-order projection of the screen projection resource. The method makes the time of initiating the first request no longer limited, makes the receiving end device capable of sequentially displaying screen projection resources pre-ordered by the same or different users, and avoids resource waste of the receiving end device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of screen projection technology, and in particular to a screen projection control method and device. Background Technology

[0002] With the rapid development of information technology, smart all-scenario devices are increasingly used in people's home life, and there are more and more ways to share data between devices. Among them, screen projection technology based on the Digital Living Network Alliance (DLNA) has been widely used in people's lives, thus becoming an indispensable part of smart all-scenario.

[0003] In related technologies, when the receiving device receives a screen mirroring request from the initiating device, it immediately responds to the request and mirrors the resources requested by the initiating device. However, because the receiving device responds to the screen mirroring request immediately, users cannot schedule screen mirroring in advance, which greatly limits the timing for users to initiate screen mirroring requests and affects the user's screen mirroring experience. Summary of the Invention

[0004] In view of this, the embodiments of this application propose a screen casting control method and device, which solves the technical problems of being unable to realize scheduled screen casting and having great limitations on the timing of the screen casting request sent by the user operation initiating device, thus realizing scheduled screen casting and improving the user experience.

[0005] In a first aspect, embodiments of this application provide a screen casting control method applied to a receiving device. The receiving device maintains a resource list, which records one or more incomplete screen casting resources. The incomplete screen casting resources include a first screen casting resource currently being displayed by the receiving device and / or other screen casting resources reserved and awaiting screen casting. The method includes:

[0006] During the process of projecting the first projection resource, the receiving device receives a first request from the initiating device, wherein the first request is used to request the projection of the second projection resource.

[0007] If the request order corresponding to the second screen projection resource is scheduled screen projection, the receiving device records the second screen projection resource in the resource list so that after the incomplete screen projection resource in the resource list that is in the screen projection order before the second screen projection resource is displayed, the second screen projection resource is displayed.

[0008] The first aspect enables scheduled screen mirroring, removing the time constraint for users to initiate their first request on the initiating device. Users can trigger the scheduled screen mirroring of desired resources on their initiating device, allowing the receiving device to sequentially display resources scheduled by the same or different users. Furthermore, the receiving device can immediately display the next incomplete screen mirroring resource after completing the display of the previous one, without waiting, achieving a seamless screen mirroring display of incomplete resources in the resource list and avoiding resource waste on the receiving device.

[0009] In one possible implementation, the method further includes:

[0010] If the request order corresponding to the second screen projection resource is "immediate screen projection", then the receiving device will immediately project and display the second screen projection resource.

[0011] In this way, while realizing screen casting reservation, it can also meet the user's need to immediately display a specific screen casting resource, bringing convenience to the user's resource casting.

[0012] In one possible implementation, if the request order corresponding to the second projection resource is immediate projection, then the receiving device immediately projects and displays the second projection resource, specifically including:

[0013] If the request order corresponding to the second screen projection resource is "immediate screen projection", then the receiving device stops displaying the first screen projection resource and immediately projects and displays the second screen projection resource.

[0014] The receiving device deletes the first projection resource recorded in the resource list, or...

[0015] The receiving device records the display progress of the first screen-projected resource and does not delete the first screen-projected resource recorded in the resource list, so that after the second screen-projected resource is displayed, the first screen-projected resource can continue to be displayed according to the display progress.

[0016] In this way, if the first screen-casting resource recorded in the resource list is deleted, the screen-casting switch between the second and first screen-casting resources can be directly achieved. However, if the first screen-casting resource is retained in the resource list and its display progress is further recorded, the receiving device can continue to display the first screen-casting resource from its current display progress point after the second screen-casting resource has been displayed, based on the display progress recorded in the resource list.

[0017] In one possible implementation, the scheduled screen mirroring includes any one of sequential screen mirroring, next screen mirroring, and specified scheduled screen mirroring, where the specified scheduled screen mirroring corresponds to a specified screen mirroring time. This allows users to set the request order of the second screen mirroring resource based on their screen mirroring needs, enabling the receiving device to schedule screen mirroring of the second screen mirroring resource according to the user's requirements.

[0018] In one possible implementation, if the request order corresponding to the second projection resource is scheduled projection, then the receiving device records the second projection resource in the resource list, specifically including:

[0019] If the request order corresponding to the second screen-casting resource is the sequential screen-casting, then the receiving device records the second screen-casting resource as the last incomplete screen-casting resource in the resource list; or

[0020] If the request sequence corresponding to the second screen-sharing resource is the next screen-sharing resource, then the receiving device records the second screen-sharing resource as an incomplete screen-sharing resource immediately following the first screen-sharing resource in the resource list; or

[0021] If the request order corresponding to the second screen projection resource is the specified scheduled screen projection, then the receiving device records the second screen projection resource in the resource list according to the specified screen projection time corresponding to the second screen projection resource.

[0022] In this way, the receiving device can update the resource list according to the different scheduled screen projection types indicated by the user, ensuring that scheduled screen projection is carried out in an orderly manner.

[0023] In one possible implementation, the first request is further used to indicate the projection information of the second projection resource, wherein the resource list records the projection information of each incomplete projection resource, and the projection information includes a Uniform Resource Identifier (URI). The method further includes:

[0024] Before displaying the second screen-projection resource, the receiving device obtains the second screen-projection resource from the server based on the URI of the second screen-projection resource.

[0025] This simplifies the process of the receiving device acquiring the second projection resource, facilitating the smooth projection display of the second projection resource.

[0026] In one possible implementation, the first request is further used to indicate the request order of the second projection resource, and the method further includes:

[0027] Based on the first request, determine the request order corresponding to the second screen projection resource.

[0028] In one possible implementation, the method further includes:

[0029] If the first request does not indicate the request order of the second screen projection resource, then the pre-set default request order of the receiving end will be determined as the request order corresponding to the second screen projection resource.

[0030] In this way, if the request order is indicated in the first request, the receiving device can directly determine the request order of the second screen projection resource based on the first request. If the first request does not indicate the request order, the receiving device can also determine the request order of the second screen projection resource based on the receiver's default request order.

[0031] In one possible implementation, the resource list records the casting order for each incomplete casting resource. This allows the receiving device to display the incomplete casting resources in the order they were cast.

[0032] In one possible implementation, the receiving device is a device that supports the DLNA protocol and is located on the same local area network as the initiating device, and the incomplete screen mirroring resources in the resource list are screen mirroring resources requested for display by one or more initiating devices.

[0033] In one possible implementation, the method further includes: the receiving device displaying the resource list. This allows users to quickly understand the overall projection progress of the receiving device based on the displayed resource list.

[0034] In one possible implementation, the method further includes:

[0035] In response to the received resource list viewing request, the receiving device sends the resource-related information of each incomplete projection resource in the resource list to the initiating device that issued the resource list viewing request, so that the initiating device that issued the resource list viewing request can display the resource-related information of the incomplete projection resources.

[0036] In this way, users on the initiating device can send a resource list view request to the receiving device to view information about incomplete casting resources and understand the overall casting progress on the receiving device. They can also find out which incomplete casting resources have been recorded by the receiving device.

[0037] In one possible implementation, the method further includes:

[0038] The projection progress of the second projection resource is sent to the initiating device that issued the first request, so that the initiating device can display the projection progress of the second projection resource.

[0039] This allows users who request to view a second screen-sharing resource to track the screen-sharing progress of that resource through their initiating device, and to schedule their viewing accordingly.

[0040] In one possible implementation, the second projection resource includes at least one projectionable object, and the first request further includes the display order of each projectionable object among all projectionable objects in the second projection resource. The resource list records the projection order corresponding to each projectionable object in the incomplete projection resources. The method further includes:

[0041] During the display of the second projection resource, each of the projectionable objects in the second projection resource is displayed sequentially from front to back according to the display order.

[0042] In this way, when the second screen-casting resource includes multiple screen-castable objects, the screen-casting display of each screen-castable object in the display order can meet the user's viewing needs for the second screen-casting resource.

[0043] In one possible implementation, the method further includes:

[0044] The receiving device sends a screen projection display prompt message to the initiating device corresponding to the third screen projection resource in the resource list. The screen projection display prompt message is used to prompt the initiating device corresponding to the third screen projection resource to notify the user that the third screen projection resource is about to be displayed or is being displayed.

[0045] This allows users who request screen mirroring of third-party resources to understand the screen mirroring status of the third-party resources based on the prompt message sent to them by the initiating device, and to promptly reach the receiving device to watch the third-party resources.

[0046] Secondly, embodiments of this application provide a screen mirroring control method applied to an initiating device, the method comprising:

[0047] Receive the user's first input, which is used to trigger a request to project and display the second projection resource;

[0048] Issue a first prompt, which is used to remind the user to indicate the request order of the second screen mirroring resource;

[0049] Receive the user's second input and determine the request order of the second screen projection resource;

[0050] A first request is generated according to the order of the second screen projection resource and the request for the second screen projection resource. The first request is used to request the screen projection display of the second screen projection resource.

[0051] Send the first request to the receiving device.

[0052] In this way, users can choose the second screen-casting resource they need and the order in which the second screen-casting resource is requested, so as to realize on-demand screen-casting of the second screen-casting resource.

[0053] In one possible implementation, the request order includes immediate casting or scheduled casting. Scheduled casting includes any one of sequential casting, next casting, and specified scheduled casting, with a specified casting time corresponding to a designated casting time. This allows users to set the request order of the second casting resource to any one of immediate casting, sequential casting, next casting, and specified scheduled casting as needed, providing users with more casting options.

[0054] In one possible implementation, receiving the user's second input and determining the request order of the second projection resource specifically includes:

[0055] Receive a second input from the user on the immediate casting control and determine that the request order of the second casting resource is the immediate casting; or, receive a second input from the user on the scheduled casting control and determine that the request order of the second casting resource is the scheduled casting.

[0056] In one possible implementation, determining the request order of the second projection resource as the scheduled projection specifically includes:

[0057] Receive a third input from the user acting on the sequential casting control, and determine that the request order of the second casting resource is the sequential casting, or...

[0058] Receive a third input from the user acting on the next screen mirroring control, and determine that the request order of the second screen mirroring resource is the next screen mirroring, or...

[0059] Receive a third input from the user acting on the specified scheduled screen mirroring control, and determine that the request order of the second screen mirroring resource is the specified scheduled screen mirroring.

[0060] In one possible implementation, the method further includes:

[0061] The system receives and displays the projection progress of the second projection resource from the receiving device. This allows users to track the projection progress in a timely manner and schedule their time to watch the projection when it is displayed on the receiving device.

[0062] In one possible implementation, the second projection resource includes at least one projectionable object, which includes any one or more of video, audio, document, and image.

[0063] In one possible implementation, prior to receiving the user's first input, the method further includes:

[0064] The system receives a fourth input from the user, selecting at least one projectable object. This allows users to choose projectable objects from the second projecting resource according to their needs, enabling simultaneous projecting of multiple projectable objects, simplifying the user's operation and saving time.

[0065] In one possible implementation, before sending the first request to the receiving device, the method further includes:

[0066] The system displays identification information for at least one candidate receiving device, allowing the user to select the receiving device from among these candidates. This enables the user to choose the receiving device for displaying the second screen projection resource according to their needs.

[0067] In one possible implementation, the method further includes:

[0068] The device receives a screen projection display prompt message sent by the initiating device and, in response to the screen projection display prompt message, prompts the user that the receiving device is about to display or is currently displaying the second screen projection resource.

[0069] This allows users on the initiating device to understand the casting status of the second casting resource based on the prompts sent by the initiating device in response to the casting display notification message, and to promptly reach the receiving device to watch the second casting resource.

[0070] In one possible implementation, the initiating device is a device that supports the DLNA protocol and is located on the same local area network as the receiving device.

[0071] In one possible implementation, the second projection resource includes a Uniform Resource Identifier (URI).

[0072] Thirdly, embodiments of this application provide a screen mirroring control device applied to a receiving device, comprising: the receiving device maintaining a resource list, the resource list being used to record one or more incomplete screen mirroring resources, the incomplete screen mirroring resources including a first screen mirroring resource currently being displayed by the receiving device and / or other screen mirroring resources reserved and awaiting screen mirroring display, the device comprising:

[0073] The request receiving module receives a first request from the initiating device during the process of projecting the first projected resource onto the screen. The first request is used to request the projection of the second projected resource onto the screen.

[0074] In the first update module, if the request order corresponding to the second projection resource is scheduled projection, the receiving device records the second projection resource in the resource list so that after the incomplete projection resource in the resource list that is before the second projection resource is projected is displayed, the second projection resource is projected.

[0075] In one possible implementation, the device may further include:

[0076] In the immediate projection module, if the request order corresponding to the second projection resource is immediate projection, the receiving device will immediately project and display the second projection resource.

[0077] In one possible implementation, the instant projection module may include:

[0078] In the screen projection display submodule, if the request order corresponding to the second screen projection resource is "immediate screen projection", then the receiving device stops displaying the first screen projection resource and immediately projects and displays the second screen projection resource.

[0079] In the resource list update submodule, the receiving device deletes the first projection resource recorded in the resource list, or...

[0080] The receiving device records the display progress of the first screen-projected resource and does not delete the first screen-projected resource recorded in the resource list, so that after the second screen-projected resource is displayed, the first screen-projected resource can continue to be displayed according to the display progress.

[0081] In one possible implementation, the scheduled screen mirroring includes any one of sequential screen mirroring, next screen mirroring, and specified scheduled screen mirroring, wherein the specified scheduled screen mirroring corresponds to a specified screen mirroring time.

[0082] In one possible implementation, the first update module may include:

[0083] In the sequential update submodule, if the request order corresponding to the second projection resource is the sequential projection, then the receiving device records the second projection resource as the last incomplete projection resource in the resource list; or

[0084] In the next update submodule, if the request order corresponding to the second projection resource is the next projection, then the receiving device records the second projection resource as an incomplete projection resource immediately following the first projection resource in the resource list; or

[0085] If the request order corresponding to the second screen projection resource is the specified scheduled screen projection, the receiving device records the second screen projection resource in the resource list according to the specified screen projection time corresponding to the second screen projection resource.

[0086] In one possible implementation, the first request is further configured to indicate the projection information of the second projection resource, wherein the resource list records the projection information of each incomplete projection resource, the projection information including a Uniform Resource Identifier (URI), and the device may further include:

[0087] The resource acquisition module allows the receiving device to obtain the second screen-projection resource from the server based on the URI of the second screen-projection resource before projecting it onto the screen.

[0088] In one possible implementation, the first request is further used to indicate the request order of the second projection resource, and the device may further include:

[0089] The first request order determination module determines the request order corresponding to the second screen projection resource based on the first request.

[0090] In one possible implementation, the device may further include:

[0091] If the first request does not indicate the request order of the second screen projection resource, the second request order determination module determines the pre-set default request order of the receiving end as the request order corresponding to the second screen projection resource.

[0092] In one possible implementation, the resource list records the casting order corresponding to each incomplete casting resource.

[0093] In one possible implementation, the receiving device is a device that supports the DLNA protocol and is located on the same local area network as the initiating device, and the incomplete screen mirroring resources in the resource list are screen mirroring resources requested for display by one or more initiating devices.

[0094] In one possible implementation, the device may further include:

[0095] The resource list display module displays the resource list on the receiving device.

[0096] In one possible implementation, the device may further include:

[0097] In the first information sending module, the receiving device, in response to the received resource list viewing request, sends the resource-related information of each incomplete projection resource in the resource list to the initiating device that issued the resource list viewing request, so that the initiating device that issued the resource list viewing request can display the resource-related information of the incomplete projection resources.

[0098] In one possible implementation, the device may further include:

[0099] The progress sending module sends the projection progress of the second projection resource to the initiating device that issued the first request, so that the initiating device can display the projection progress of the second projection resource.

[0100] In one possible implementation, the second projection resource includes at least one projectionable object, and the first request further includes the display order of each projectionable object among all projectionable objects in the second projection resource. The resource list records the projection order corresponding to each projectionable object in the incomplete projection resources. The device may further include:

[0101] The screen projection module, during the process of displaying the second screen projection resource, sequentially displays each of the screen projectionable objects in the second screen projection resource from front to back according to the display order.

[0102] In one possible implementation, the device may further include:

[0103] The second information sending module sends a screen projection display prompt message to the initiating device corresponding to the third screen projection resource in the resource list. The screen projection display prompt message is used to prompt the initiating device corresponding to the third screen projection resource to the user that the third screen projection resource is about to be displayed or is being displayed.

[0104] The beneficial effects of each module of the third aspect device can be found in the beneficial effects of the corresponding steps in the screen projection control method of the first aspect above, and will not be repeated here.

[0105] Fourthly, embodiments of this application provide a screen projection control device, applied to an initiating device, the device comprising:

[0106] The first receiving module receives the user's first input, which is used to trigger a request to project the second projection resource.

[0107] The first prompt issuing module issues a first prompt, which is used to remind the user to indicate the request order of the second screen projection resource;

[0108] The second receiving module receives the user's second input and determines the request order of the second screen projection resource;

[0109] The request generation module generates a first request according to the second projection resource and the request order of the second projection resource. The first request is used to request the projection display of the second projection resource.

[0110] The request sending module sends the first request to the receiving device.

[0111] In one possible implementation, the request sequence includes immediate screen mirroring or scheduled screen mirroring. Scheduled screen mirroring includes any one of sequential screen mirroring, next screen mirroring, and specified scheduled screen mirroring. The specified scheduled screen mirroring corresponds to a specified screen mirroring time.

[0112] In one possible implementation, the second receiving module may include:

[0113] The receiving submodule receives a second input from the user applied to the immediate casting control and determines that the request order of the second casting resource is the immediate casting, or receives a second input from the user applied to the scheduled casting control and determines that the request order of the second casting resource is the scheduled casting.

[0114] In one possible implementation, the receiving submodule may include:

[0115] The first receiving submodule receives the third input from the user applied to the sequential screen casting control, and determines that the request order of the second screen casting resources is the sequential screen casting, or...

[0116] The second receiving submodule receives the third input from the user acting on the next screen mirroring control, and determines that the request order of the second screen mirroring resource is the next screen mirroring, or...

[0117] The third receiving submodule receives the third input from the user acting on the specified scheduled screen projection control, and determines that the request order of the second screen projection resource is the specified scheduled screen projection.

[0118] In one possible implementation, the device may further include:

[0119] The progress receiving module receives the projection progress of the second projection resource sent by the receiving device and displays the projection progress of the second projection resource.

[0120] In one possible implementation, the second projection resource includes at least one projectionable object, which includes any one or more of video, audio, document, and image.

[0121] In one possible implementation, the device may further include:

[0122] The object selection module receives a fourth input from the user, prior to receiving the user's first input, in which the user selects at least one projectable object.

[0123] In one possible implementation, the device may further include:

[0124] The device selection module displays identification information of at least one candidate receiving device before sending the first request to the receiving device, so that the user can select the receiving device from the at least one candidate receiving device.

[0125] In one possible implementation, the device may further include:

[0126] The message receiving module receives a screen projection display prompt message sent by the initiating device, and responds to the screen projection display prompt message to prompt the user that the receiving device is about to display or is currently displaying the second screen projection resource.

[0127] In one possible implementation, the initiating device is a device that supports the DLNA protocol and is located on the same local area network as the receiving device.

[0128] In one possible implementation, the second projection resource includes a Uniform Resource Identifier (URI).

[0129] The beneficial effects of each module of the fourth aspect device can be found in the beneficial effects of the corresponding steps in the screen projection control method of the first aspect above, and will not be repeated here.

[0130] Fifthly, embodiments of this application provide an electronic device that can execute one or more of the screen projection control methods described in the first aspect or in various possible implementations of the first aspect, or can execute one or more of the screen projection control methods described in the second aspect or in various possible implementations of the second aspect.

[0131] Sixthly, embodiments of this application provide a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is executed in an electronic device, the processor in the electronic device executes one or more of the screen projection control methods of the first aspect or multiple possible implementations of the first aspect, or it can execute one or more of the screen projection control methods of the second aspect or multiple possible implementations of the second aspect.

[0132] In a seventh aspect, embodiments of this application provide a volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, when the computer program instructions are executed by a processor, they implement one or more of the screen projection control methods of the first aspect or multiple possible implementations of the first aspect, or can implement one or more of the screen projection control methods of the second aspect or multiple possible implementations of the second aspect. These and other aspects of this application will become more apparent in the following description of the embodiments(s). Attached Figure Description

[0133] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this application together with the specification and serve to explain the principles of this application.

[0134] Figure 1A A schematic diagram of a DLNA-based screen projection control method is shown in the relevant technology.

[0135] Figure 1B This diagram illustrates the timing of different operations performed by the receiving device in a DLNA-based screen projection control method in related technologies.

[0136] Figure 2A A schematic diagram of a screen projection control method according to an embodiment of this application is shown.

[0137] Figure 2B This diagram illustrates the timing of different operations performed by the receiving device in a screen projection control method according to an embodiment of this application.

[0138] Figure 2C A schematic flowchart of a screen projection control method according to an embodiment of this application is shown.

[0139] Figure 3A This diagram illustrates a flow chart of the initiating device side of a screen projection control method according to an embodiment of this application.

[0140] Figure 3B This diagram illustrates an initiating device displaying a second projection resource according to an embodiment of the present application.

[0141] Figure 3C A schematic diagram showing an initiating device displaying a projectable object according to an embodiment of this application is illustrated.

[0142] Figure 3D This diagram illustrates an object sequence selection prompt displayed by an initiating device according to an embodiment of the present application.

[0143] Figure 3E This diagram illustrates a receiving device selection prompt displayed by an initiating device according to an embodiment of the present application.

[0144] Figure 4 This diagram illustrates a flow chart of the receiving device side in a screen projection control method according to an embodiment of this application.

[0145] Figure 5 This diagram illustrates the process of updating the resource list in a screen mirroring control method according to an embodiment of this application.

[0146] Figures 6A-6D A schematic diagram showing a variation of the first interface according to an embodiment of this application is provided.

[0147] Figure 7 This diagram illustrates the structure of an initiator device 100.

[0148] Figure 8 A schematic diagram of the structure of a receiving device according to an embodiment of this application is shown. Detailed Implementation

[0149] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0150] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0151] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed embodiments. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.

[0152] In common DLNA-based screen mirroring scenarios, both the receiving and initiating devices must have DLNA screen mirroring capabilities, and they must be located on the same local area network. The screen mirroring process involves the receiving device immediately responding to a screen mirroring request initiated by the user through the initiating device, regardless of whether screen mirroring is currently in progress. Based on the Uniform Resource Identifier (URI) in the request, the receiving device directly retrieves the corresponding screen mirroring resource from the server and then displays the requested resource. Figure 1A A schematic diagram of a DLNA-based screen projection control method is shown in the relevant technology. Figure 1BThis diagram illustrates the timing of different operations performed by the receiving device in a DLNA-based screen projection control method in related technologies. The following is combined with... Figure 1A , Figure 1B This section explains the problems existing in the DLNA-based screen projection control process in related technologies:

[0153] like Figure 1A , Figure 1B As shown, if a user wants to sequentially project resources B and C after the receiving device has finished displaying resource A, to ensure the normal completion of resource A's display, the user needs to control the initiating device to send a projection request for resource B to the receiving device after resource A has finished displaying (e.g., at time t3), and after resource B has finished displaying (e.g., at time t4), control the initiating device to send a projection request for resource C to the receiving device. However, to ensure that t3 is after t2 and t5 is after t4, the user needs to control the timing of sending the projection requests for resource B and resource C to the receiving device, which severely limits the user's operation timing and results in a poor user experience. Otherwise, if the user does not control the timing of the projection request and sends a projection request for resource B or resource C to the receiving device while resource A is being displayed, the receiving device will stop displaying resource A based on the projection request and project the corresponding resource B or resource C. For example, as... Figure 1B As shown, if the receiving device receives a screen mirroring request for resource B or resource C at any time between t1 and t2, it is very likely that resource A will be mistakenly stopped. The user will then need to re-mirror the stopped resource A, causing significant inconvenience and complexity. Currently, there is no method in the relevant technology to achieve scheduled screen mirroring, which removes the time constraint for the user to initiate a screen mirroring request on the initiating device. This would allow the user to trigger scheduled screen mirroring on the initiating device, enabling the receiving device to sequentially display the resources scheduled for screen mirroring.

[0154] Furthermore, even if the user can control the timing of sending the screen mirroring request, ensuring that the initiating device sends the screen mirroring request for resource B to the receiving device after resource A has finished displaying (e.g., at time t3), and the initiating device sends the screen mirroring request for resource C to the receiving device after resource B has finished displaying (e.g., at time t5), so that t3 is after t2 and t5 is after t4, the time intervals between the completion of resource A displaying and the response to the screen mirroring request for resource B and the start of displaying resource B, and between the completion of resource B displaying and the response to the screen mirroring request for resource C and the start of displaying resource C, will cause the receiving device to be idle during the time intervals of t2-t3 and t4-t5, resulting in a waste of resources for the receiving device.

[0155] To address the aforementioned technical problems, this application provides a screen mirroring control method and apparatus, applicable to a system comprising a receiving device, an initiating device, and / or a receiving device and an initiating device. In this method and apparatus, the receiving device maintains a resource list, which records one or more incomplete screen mirroring resources. The incomplete screen mirroring resources include a first screen mirroring resource currently being displayed by the receiving device and / or other screen mirroring resources reserved and awaiting screen mirroring display. During the display of the first screen mirroring resource, the receiving device receives a first request from the initiating device to display a second screen mirroring resource. The receiving device then determines whether the request order is reserved screen mirroring based on the first request. If so, and the second screen mirroring resource is different from the incomplete screen mirroring resource, the receiving device records the second screen mirroring resource in the resource list. After the incomplete screen mirroring resource in the resource list that precedes the second screen mirroring resource in the screen mirroring order is displayed, the second screen mirroring resource is displayed. The incomplete screen mirroring resource may include the first screen mirroring resource currently being displayed by the receiving device. Alternatively, unfinished screen mirroring resources may include: the first screen mirroring resource currently being displayed by the receiving device and other screen mirroring resources whose screen mirroring order follows that of the first screen mirroring resource.

[0156] For example, Figure 2A A schematic diagram of a screen projection control method according to an embodiment of this application is shown. Figure 2B This diagram illustrates the timing of different operations performed by the receiving device in a screen projection control method according to an embodiment of this application. For example... Figure 2A , Figure 2B As shown, during the process of the receiving device displaying the first projection resource U1, after receiving the first request for projection resource U42 at time T2 and the first request for projection resource U41 at time T3, if the resource list is updated to... Figure 2A As shown in resource list 0, the actual screen mirroring process of the receiving device for U1, U41, and U42 is as follows: U1 is mirrored between T1 and T4, U41 is mirrored between T4 and T5, and U42 is mirrored between T5 and T6, achieving sequential switching of the screen mirroring display of U1, U41, and U42. In this way, while the first screen mirroring resource U1 is being displayed, the user can also add screen mirroring resources that they want the receiving device to display later by operating the initiating device, thus reserving screen mirroring, without terminating the screen mirroring display of the first screen mirroring resource U1, reducing restrictions on the timing of user operations. The reservation of screen mirroring resources also ensures efficient screen mirroring by the receiving device and avoids resource waste on the receiving device.

[0157] In this application embodiment, the initiating device and / or receiving device can be at least one of the following: mobile phone, foldable electronic device, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, television, large-screen device, smart home device, or smart city device. This application embodiment does not impose any special restrictions on the type of initiating device and receiving device.

[0158] Figure 2C A schematic flowchart of a screen projection control method according to an embodiment of this application is shown. Figure 3A This diagram illustrates a flow chart of the initiating device side of a screen projection control method according to an embodiment of this application. Figure 4 This diagram illustrates a flow chart of the receiving device side in a screen projection control method according to an embodiment of this application. Figure 2C , Figure 4 As shown, in this method, the steps performed by the receiving device may include steps S11-S19. For example... Figure 2C , Figure 3A As shown, in this method, the steps performed by the initiating device may include steps S41-S43. The initiating device and the receiving device are in the same local area network and both support DLNA. The initiating device and the receiving device can establish a communication connection in advance to communicate and realize the screen projection display of the projection resources.

[0159] like Figure 2C and Figure 3A As shown, in the screen projection control method of this application embodiment, the initiating device can execute steps S41-S43.

[0160] Step S41: Generate a first request based on the received first operation.

[0161] In this embodiment, when the initiating device is in a state where the user can choose whether to project a resource, it detects whether the user has issued a first operation. Upon receiving the first operation, the initiating device determines the second projectable resource the user wants to project, and generates a corresponding first request based on the second projectable resource. Alternatively, if the request order of the second projectable resources can be determined, the first request can be generated based on the second projectable resource and the corresponding request order. The state where the initiating device is in a state where the user can choose whether to project a resource may include, but is not limited to, one or more of the following: the initiating device is in a state of displaying resources to the user; the initiating device is in a state of displaying information about projectable objects that can be selected for projection; and the second projectable resource may include one or more projectable objects. Projectable objects may be videos, audio, slideshows, images, animated images, documents, etc.

[0162] In some implementations, such as Figure 3A As shown, step S41 executed by the initiating device may include steps S401, S402 and S403.

[0163] Step S401: Receive the first input.

[0164] In step S401, when the initiating device is in a state where the user can choose whether to display a resource, if it detects a first input from the user regarding a second screen-castable resource, it determines that the user wishes to request the screen-casting of the second screen-castable resource. The first operation includes the first input.

[0165] In some embodiments, the first input may include a triggering operation detected by the initiating device that triggers a screen mirroring control displayed on the screen of the initiating device.

[0166] For example, Figure 3B This diagram illustrates an initiating device displaying a second projection resource according to an embodiment of this application. For example... Figure 3B As shown, during the process of displaying the second projection resource U2 to the user, the initiating device can display the projection control K0. When the initiating device detects that the projection control K0 is triggered, it can determine that the first input has been detected, and that the user intends to request the projection display of the second projection resource U2.

[0167] Figure 3C This diagram illustrates an initiating device displaying a projectable object according to an embodiment of this application. For example... Figure 3CAs shown, when the initiating device displays information about multiple projectable objects to the user through a list or similar format, it can display a projection control K0. When the initiating device detects a fourth input for at least one projectable object (the first operation may also include a fourth input), it determines the selected projectable object. If the projection control K0 is triggered, it determines that the first input has been detected, and the selected projectable object can be used as a second projection resource. In some embodiments, such as... Figure 3C As shown, the initiating device can also display a selection status indicator on the screen to indicate whether the corresponding projectable object has been selected. The display status of this indicator includes, for example,... Figure 3C The selected state K00 and the unselected state K01 are shown in the diagram. Then, as follows... Figure 3C As shown, when the initiating device detects that K0 is triggered, it determines that the first input has been detected. Then, the second screen projection resource may include screen projection objects 121, 126, and 122.

[0168] In some implementations, when the second projection resource U2 includes multiple projectionable objects, the initiating device can further determine the display order of the multiple projectionable objects of the second projection resource in the receiving device.

[0169] In some embodiments, the initiating device may issue an object order selection prompt after determining that it has received the first operation, so as to determine the display order of multiple castable objects of the second projection resource in the receiving device based on the user's response to the object order selection prompt. The object order selection prompt is used to remind the user to set the display order of multiple castable objects in the second projection resource. For example, Figure 3D This diagram illustrates an object selection prompt displayed by an initiating device according to an embodiment of this application. For example... Figure 3D As shown, after determining that the first input has been received, the initiating device can display a sequential selection prompt T0 for objects on its own display screen to the user. In some embodiments, the initiating device can first select objects based on the name of each projectable object in the second projection resource (e.g., ...). Figure 3C , Figure 3D The object identifiers (such as 121, 122, 123, 124, etc.), the corresponding time information, and the user's... Figure 3C The interface shown determines the order in which multiple castable objects are selected in the second casting resource, and displays this order in the object order selection prompt T0. For example... Figure 3DAs shown, the content displayed to the user in T0 includes the text prompt: "Display in the order of 121, 122, 126?" and a user-operable control "Yes" to determine the display order. Here, 121, 122, and 126 can be controls that can adjust their order in response to user movement. The current display order of the projected objects 121, 122, and 126 is 121, 122, 126. Upon detecting a user's movement... Figure 3D As shown, by selecting "122" with a finger and moving it to the right, the display order between 126 and 122 can be changed. That is, the display order is changed from the original "121, 122, 126" to "121, 126, 122" by the user. If the initiating device detects that the "Yes" control is triggered during the display of T0 to the user, it can determine the current sorting of multiple screen-projectable objects in T0 as the display order.

[0170] In some embodiments, the first input may also be a voice instruction issued by the user detected by the initiating device. For example, such as Figure 3B As shown, when the initiating device is displaying the second screen mirroring resource U2 to the user, if it detects the user's voice and recognizes that the voice includes words such as "screen mirroring" or "I want to mirror", it can also determine the detected first input and determine that the user wants to request the screen mirroring display of the second screen mirroring resource U2.

[0171] In some embodiments, the first input may also be a trigger operation detected by the initiating device that triggers a user-triggered entity control set on the initiating device for initiating the first request. For example, such as Figure 3B As shown, during the process of displaying the second screen projection resource U2 to the user, if the initiating device detects that the user has triggered a physical control used to initiate the first request, it can also determine the detected first input and confirm that the user intends to request the screen projection display of the second screen projection resource U2. The physical control can refer to an actual physical button implemented in the initiating device using actual physical hardware, similar to the power button and volume buttons on a mobile phone.

[0172] In some embodiments, if the initiating device receives an instruction from another device in step S401, and this instruction is used to trigger the initiating device to send a first request to the receiving device, then the initiating device can also determine that it has received the first input. The other device mentioned here may be, for example, a remote control paired with the initiating device.

[0173] In one possible implementation, after determining that the user wishes to request the projection of the second projection resource U2 (which may include one or more projectionable objects), the initiating device can first determine whether the user has preset a default request order. If the user has not preset a default request order, then step S402 can be executed. If the user has preset a default request order, the initiating device can directly determine the request order of the second projection resource U2 requested for projection based on the preset default request order.

[0174] In some embodiments, the default request order may include a unified first default request order corresponding to all second screen-casting resources, so that the initiating device can directly set the request order to the first default request order after determining the second screen-casting resource U2 that the user wants to request for screen-casting. For example, the initiating device can set the first default request order to any one of the selectable request orders such as sequential screen-casting, immediate screen-casting, and next screen-casting according to the user's settings.

[0175] In some embodiments, since the first request may be issued by the user through different applications on the initiating device, the default request order may further include a second default request order corresponding to different applications. The second default request order for different applications may be the same or different. When the initiating device determines that the user wants to request the projection of the second projection resource through a certain application, the initiating device may directly set the request order of the second projection resource to the second default request order corresponding to that application.

[0176] In some embodiments, the default request order may further include a third default request order corresponding to different types of second projection resources. The third default request order for different types of second projection resources may not be exactly the same. For example, the initiating device may, according to user settings, set the third default request order for second projection resources that are videos to sequential projection, the third default request order for second projection resources that are images to immediate projection, the third default request order for second projection resources that are slideshows to next projection, and so on.

[0177] In some embodiments, when the second projection resource includes one projectable object or multiple projectable objects of the same type, the initiating device can directly determine the type of the projectable object as the type of the second projection resource. For example, if all projectable objects included in the second projection resource are videos, then the type of the second projection resource is video. When the second projection resource includes multiple projectable objects and the types of the multiple projectable objects are not completely consistent, the initiating device can first determine the type of each projectable object, and then determine the type of the second projection resource according to a preset rule. The preset rule may include determining the type with the most projectable objects among the determined multiple types as the type of the second projection resource. For example, assuming the second projection resource includes 5 projectable objects, namely 3 videos, 1 document, and 1 image, since the video type has the most projectable objects, the initiating device can set the type of the second projection resource to video. The preset rules may also include determining the type with the highest type priority among multiple projectable objects as the type of the second projected resource. The order of type priority can be set according to actual needs, such as from high to low as: video, audio, slideshow, image, animated image, and document. For example, if the second projected resource includes 5 projectable objects: 2 documents, 1 image, and 2 audio files, since audio has the highest type priority, the initiating device can set the type of the second projected resource to audio. It is understood that those skilled in the art can set the preset rules according to actual needs, and this application does not impose any restrictions on this.

[0178] It should be noted that the above-mentioned default request order is only an illustrative example of setting the default request order given in the embodiments of this application. Those skilled in the art can set the method and content of setting the default request order as needed, and this application does not limit it in this regard.

[0179] In some embodiments, the request sequence may include immediate casting and scheduled casting. Immediate casting may refer to a user requesting the receiving device to immediately display the second casting resource indicated by the first request after receiving the first request. Scheduled casting may include casting sequences with different scheduling strategies, such as sequential casting, next casting, and specified scheduled casting. Sequential casting may refer to a user requesting the receiving device to cast the second casting resource indicated by the first request in the order listed in the resource list on the receiving device after receiving the first request. Next casting may refer to a user requesting the receiving device to immediately display the second casting resource indicated by the first request after receiving the first request and completing the casting of the first casting resource. Specified scheduled casting may refer to a user requesting the receiving device to display the second casting resource after receiving the first request and under specified conditions, such as reaching a specified casting time specified by the user.

[0180] Step S402: Issue a first prompt, and determine the request order based on the detected response and the second input of the first prompt. This step is optional.

[0181] In step S402, the initiating device may issue a first prompt, which is used to remind the user to confirm or select the request order of the second screen projection resources. Then, the initiating device can determine the request order of the second screen projection resources based on the detected user's response to the first prompt, wherein the second input may include the user's response to the first prompt.

[0182] In one possible implementation, the first prompt issued by the initiating device may include displaying a message to the user on the initiating device's screen, such as... Figure 3A The "Reservation?" prompt T11 is shown. The user's response to the first prompt can include the user's response to the "Reservation?" prompt T11 detected by the initiating device. The "Reservation?" prompt T11 can be displayed in a newly added pop-up window on the screen, or in the notification bar of the initiating device, etc. The "Reservation?" prompt T11 can include text prompting the user to select the request order, such as "Screencast now?". Figure 3A (As shown), "Do you need to cast your screen immediately?", "Do you need to schedule screen casting?", etc. The scheduling prompt T11 can also include user-operable controls for choosing whether to cast immediately or schedule screen casting, for example, Figure 3A The reservation prompt T11 includes the text "Screencast now?" and a first control K11 and a second control K12 for selecting the order of requests.

[0183] In some embodiments, "the user's action in response to the reservation prompt T11" may include: a user-initiated trigger action on either the first control K11 or the second control K12 displayed in the reservation prompt T11. In some embodiments, to allow the user to distinguish between the first control K11 and the second control K12, markers such as... can be used in the first control K11 and the second control K12 respectively. Figure 3A The use of terms like "Yes" and "No," "Immediately" and "Reservation" serves to provide prompts and differentiation. Specifically, after the initiating device displays the reservation prompt T11, if the text prompt asks the user whether to cast immediately (e.g., "Cast immediately?"), and the initiating device detects a user's click or long-press trigger operation on the first control K11, it can determine that the user has set the request order for the second casting resource to immediate casting; if it detects a user's click or long-press trigger operation on the second control K12, it can determine that the user has set the request order for the second casting resource to reserved casting. Conversely, after the initiating device displays the reservation prompt T11, if the text prompt asks the user whether to reserve casting (e.g., "Reserve casting?"), and the initiating device detects the first control K11 being triggered, it can determine that the user has set the request order for the second casting resource to reserved casting; if it detects the second control K12 being triggered, it can determine that the user has set the request order for the second casting resource to reserved casting.

[0184] In some embodiments, "the user's response to the reservation prompt T11" may further include: the initiating device issuing a voice based on the detected user response to the reservation prompt T11. After displaying the reservation prompt T11 to the user, the initiating device can acquire the user's voice signal, analyze and process the user's voice, and determine the request order of the second screen projection resource indicated by the user through voice. For example, after displaying the reservation prompt T11 to the user, if the initiating device analyzes and processes the acquired user's voice 1 and determines that its corresponding text is "Screen projection immediately" or "immediately," it can determine that the user has set the request order of the second screen projection resource to immediate screen projection. Similarly, after displaying the reservation prompt T11 to the user, if the initiating device analyzes and processes the acquired user's voice 2 and determines that its corresponding text is "Screen projection" or "Screen projection," it can determine that the user has set the request order of the second screen projection resource to scheduled screen projection.

[0185] In one possible implementation, the first prompt issued by the initiating device may further include: a reservation policy prompt displayed on the screen after the initiating device determines that the request order of the second projection resource is reserved projection. The user's response to the first prompt may also include the "user's response to the reservation policy prompt" detected by the initiating device. The reservation policy prompt may include text reminding the user to select a reservation policy, such as, "Please select a reservation policy (e.g.,..."). Figure 3A (As shown) "Which of the following methods do you need to make a screen mirroring reservation?". The reservation strategy prompt may also include: user-operable controls for selecting different reservation strategies. For example, such as Figure 3A As shown, when it is determined that the user has selected to schedule screen sharing, the initiating device can display a scheduling strategy prompt T12 on its display screen. T12 includes the text "Please select scheduling strategy", as well as a control K13 for determining the request order as the next screen sharing, a control K14 for determining the request order as sequential screen sharing, and a control K15 for determining the request order as the specified scheduling screen sharing.

[0186] In some embodiments, "the user's action in response to the reservation policy prompt" may include: a third input issued by the user to controls K13, K14, and K15.

[0187] After the initiating device displays the reservation policy prompt T12, if it detects a third input from the user, such as a click or long press, on control K13, it can determine that the request order for the second screen-sharing resource is the next screen-sharing in the reservation schedule. Here, "next screen-sharing" can mean that the user requests the receiving device to immediately display the second screen-sharing resource after completing the display of the currently displayed first screen-sharing resource, achieving "queue-jumping" display of the second screen-sharing resource. For example, assuming the receiving device is currently displaying video 1 (the first screen-sharing resource), if the first request indicates that the second screen-sharing resource is video 2 and the request order is next screen-sharing, then the receiving device can directly display video 2 after completing the display of video 1.

[0188] After the initiating device displays the reservation strategy prompt T12, if it detects a third input from the user, such as a click or long press, on control K14, it can determine that the request order for the second projection resource is sequential projection within the reservation projection process. Sequential projection means that the user requests the receiving device to display the second projection resource after completing the projection of the remaining resources in the current resource list. In other words, if the receiving device receives a first request for sequential projection, it can determine that the user requests the second projection resource to be placed at the "tail" of all remaining resources in the current resource list. The server sequentially completes the projection of all remaining resources in the resource list before receiving the first request, and then proceeds with the projection of the second projection resource. For example, suppose a receiving device receives a first request at time t11 and there are 3 incomplete projection resources in the current resource list. The first request indicates that the second projection resource is requested in a sequential projection order. Then the receiving device can project the 3 incomplete projection resources recorded in the resource list before time t11 in sequence and then project the second projection resource.

[0189] After displaying the reservation policy prompt T12, if the initiating device detects third-party input such as a click or long press on control K15 by the user, it can further display a time selection bar for the user to choose a specific screen-casting time through pop-ups or other means. Based on the detected user interaction with the time selection bar, the specified screen-casting time is determined. Then, based on the user's selected screen-casting time, the request order of the second screen-casting resource is determined to be the specified reserved screen-casting time. For example, if the initiating device determines the specified screen-casting time as "August 29, 2021, 15:00" based on the user's interaction with the time selection bar, the initiating device can determine that the second screen-casting resource U2 will begin displaying on the receiving device at 15:00 on August 29, 2021. For example, if the initiating device determines the specified screen projection time as "10 minutes later" based on the user's operation on the time selection bar, then the initiating device can determine the time when the second screen projection resource U2 will start to be displayed on the receiving device as 15:00 on August 29, 2021 (the current time 14:50 on August 29, 2021 plus 10 minutes) based on the specified screen projection time "10 minutes later" and the current time (assumed to be 14:50 on August 29, 2021).

[0190] In some embodiments, "the user's response to the reservation policy prompt T12" may include: the initiating device detecting a voice message from the user in response to the reservation policy prompt T12. After displaying the reservation policy prompt T12 to the user, the initiating device can acquire the user's voice signal, analyze and process the user's voice, and determine which of the reserved screen projection resources the user indicated by the voice request order belongs to. The implementation method of determining which of the reserved screen projection resources the user requests based on the voice is similar to the implementation method of determining whether the user's selected request order is immediate screen projection, as described above, and will not be repeated here.

[0191] In one possible implementation, the initiating device's first prompt may further include a first prompt voice message. The user's response to the first prompt may include the initiating device acquiring the user's voice signal after issuing the first prompt voice message, then analyzing and processing the user's voice message to determine the request order of the second screen-sharing resources indicated by the user's voice. In some embodiments, the initiating device may first issue a first voice message, such as "Screen-sharing now?", to remind the user to choose whether to determine the request order of the second screen-sharing resources as immediate screen-sharing. The device then determines whether the user chooses immediate screen-sharing based on the detected first response voice message from the user in response to the first voice message. For example, it can determine whether the user chooses immediate screen-sharing based on whether the text corresponding to the recognized first response voice message includes words such as "immediately," "screen-sharing now," or "yes," indicating the choice of immediate screen-sharing. If the user chooses immediate screen-sharing, the request order of U2 is directly determined as immediate screen-sharing. If the user chooses not to immediately screen-sharing, the initiating device can determine that the user has chosen scheduled screen-sharing and may further issue a second voice message, such as "Do you want to screen-sharing next, sequentially, or specify scheduled screen-sharing?" The initiating device then determines whether the user has selected the next screen mirroring or sequential screen mirroring based on the detected second response voice from the second voice (for example, recognizing text corresponding to the second response voice containing words like "next" confirms the user's selection). If so, the request order for the second screen mirroring resources can be directly set to the next screen mirroring or sequential screen mirroring. If the text recognized from the second response voice includes specific time information, such as "one hour later," "9 AM tomorrow," or "10 AM on October 10th," the user's selected screen mirroring time can be determined, and the request order for the second screen mirroring resources can be set to the specified scheduled screen mirroring within the scheduled screen mirroring. If the text recognized from the second response voice includes information corresponding to the specified scheduled screen mirroring, such as "time" or "schedule a time," but does not include specific time information, the initiating device can further issue a third voice prompt, such as "Please confirm the specific screen mirroring time," to remind the user to enter the specified screen mirroring time. The initiating device can then determine the user's selected screen mirroring time based on the detected user response to the third voice prompt and set the request order for the second screen mirroring resources to the specified scheduled screen mirroring within the scheduled screen mirroring.

[0192] In some embodiments, the first prompt issued by the initiating device may include a first prompt voice and / or "whether to make an appointment T11 and appointment policy prompt T12", which is not limited in this application.

[0193] In one possible implementation, if the initiating device does not store a pre-set default request order and does not receive a second input from the user in response to the first prompt after issuing the first prompt, then immediate screen casting, next screen casting, or sequential screen casting can be used as the request order of the second screen casting resource; or the request order corresponding to the screen casting resource that the user previously requested to be displayed can be used as the request order of the second screen casting resource this time; or it can be assumed that the user does not need to set the request order of the second screen casting resource, and this application does not restrict this.

[0194] It should be understood that the above-mentioned display of "whether to make an appointment T11 and appointment strategy T12" and / or issuing the first prompt by issuing the first prompt voice is only an exemplary implementation of "issuing the first prompt" by the initiating device provided in this application. Those skilled in the art can set the implementation of "issuing the first prompt" by the initiating device according to actual needs, and this application does not limit it.

[0195] In some embodiments, before issuing the first request, the initiating device may determine the receiving device for receiving the first request and displaying the second screen-sharing resource. For example, the initiating device may determine the receiving device selected by the user for displaying the second screen-sharing resource before, after, or simultaneously with determining the second screen-sharing resource that the user wishes to request. The initiating device may determine the receiving device selected by the user for displaying the second screen-sharing resource U2 before, after, or simultaneously with determining the request order of the second screen-sharing resource.

[0196] In some embodiments, the initiating device may determine the receiving device selected by the user for projecting the second projected resource by: if at least one candidate receiving device has been identified as having established a connection with the initiating device and is capable of projecting the second projected resource in response to a first request from the initiating device, the initiating device may issue a receiving device selection prompt, and then determine the selected candidate receiving device as the receiving device to receive the first request based on the detected user response to the receiving device selection prompt. The receiving device selection prompt may be issued through display and / or voice prompts. For example, Figure 3E This diagram illustrates a receiving device selection prompt displayed by an initiating device according to an embodiment of this application. Figure 3E As shown, if the initiating device determines that the candidate receiving devices currently in the same local area network and supporting DLNA screen mirroring include Device 1 and Device 2, then the initiating device's display screen can show, as follows: Figure 3E The receiver device selection prompt T14 is shown. The receiver device selection prompt T14 may include text prompts to remind the user to select a receiver device, for example... Figure 3E The prompts in the T14 section include options such as "Please select a screen mirroring device" and "Which of the following devices would you like to use for screen mirroring?". The receiving device selection prompt may also include: identifiers, names, locations, and other relevant information of the available candidate receiving devices, as well as controls for the user to select the desired candidate receiving device. For example, Figure 3E The receiving device selection prompt T14 displays controls K41 and K42 for the user to select candidate receiving devices. Controls K41 and K42 respectively use the text "Device 1 (Reception Room)" and "Device 2 (Meeting Room 1)" to describe the name and location of the corresponding candidate receiving device. If the initiating device detects that control K41 has been triggered, it can determine that the user has selected Device 1 from the candidate receiving devices as the receiving device. The initiating device can then send a first request to Device 1 in step S42.

[0197] In some embodiments, users may also select multiple candidate receiving devices as receiving devices. For example, in training scenarios, to ensure that trainees in different rooms can simultaneously view the training video, users can select multiple devices in multiple rooms as receiving devices to request screen projection of the training video.

[0198] In some embodiments, the initiating device may not issue a prompt to select a receiving device, and by default, all devices on the same local area network that support DLNA screen mirroring may be designated as receiving devices. This achieves the effect of "one device mirroring to multiple devices".

[0199] In some embodiments, if the initiating device displays a receiving device selection prompt and a first prompt on the display screen, the initiating device can display the receiving device selection prompt and the first prompt on the display screen simultaneously to simplify the user's operation and improve the speed of determining the request order of the second projection resource and the receiving device selected by the user for projection of the second projection resource.

[0200] Step S403: Generate the first request.

[0201] After executing step S402, the initiating device can execute step S403, generating a first request based on the determined request order and the determined projection information of the second projection resource. The first request indicates the second projection resource to be projected. Alternatively, if the request order of the second projection resource is not determined, the first request can be generated directly based on the determined projection information of the second projection resource. In some embodiments, when the second projection resource includes multiple projectable objects, the basis for generating the first request also includes the display order corresponding to each projectable object in the second projection resource.

[0202] In some embodiments, the projection information may be information that indicates the second projection resource and enables the receiving device to obtain and project the second projection resource. For example, the projection information may include the Uniform Resource Identifier (URI) of the second projection resource, that is, the URI of each projectable object in the second projection resource. In some embodiments, when the present application is applied to a projection scenario based on the DLNA protocol, the first request may carry the URI of the second projection resource. Thus, the receiving device can obtain the URI of the second projection resource from the received first request, and then the receiving device can obtain the resource corresponding to the URI from the server, i.e., obtain the second projection resource.

[0203] Step S42: Send a first request to the determined receiving device.

[0204] In some embodiments, after generating the first request, the initiating device sends the first request to the designated receiving device (i.e., the receiving device that executes steps S11-S19 in this embodiment) for projecting the second projection resource. This allows the receiving device to perform corresponding operations upon receiving the first request.

[0205] Step S43: Issue a second prompt based on the casting progress of the received second casting resource. This step is optional.

[0206] In some embodiments, the initiating device receives the projection progress of the second projection resource sent from the receiving device, and issues a second prompt to the user based on the received projection progress. The second prompt can be used to remind the user of the projection progress of the second projection resource that they requested to be projected.

[0207] In some embodiments, the projection progress of the second projection resource may include the time interval between the current time and the start time of the receiving device starting to project the second projection resource, the start and end times of the receiving device projecting the second projection resource, the projection time required for the receiving device to project the second projection resource, and the projection resources that need to be projected before the receiving device projects the second projection resource, etc.

[0208] In some embodiments, the initiating device may issue a second prompt by displaying a message to the user on a screen, such as... Figure 3AThe second prompt T2 and / or the second prompt voice are shown. For example, the second prompt T2 may include a text prompt related to the progress of the screen mirroring of the second screen mirroring resource U2 requested by the user. The second prompt voice may be an audio message related to the progress of the screen mirroring of the second screen mirroring resource U2 requested by the user. This reminds the user requesting the screen mirroring of the second screen mirroring resource U2 to schedule their time, ensuring they can view the second screen mirroring resource U2 displayed on the receiving device on time.

[0209] For example, suppose the receiving device receives the first request at 14:10. At this time, the receiving device is displaying the first screen-casting resource U1, which is a 30-minute video (Video 1). The receiving device is currently playing up to the 20th minute of Video 1, and it will take another 10 minutes to complete playback. Suppose the first request carries the URI of the second screen-casting resource U2, which is a 60-minute video (Video 2). Then, the receiving device can calculate the screen-casting progress of the second screen-casting resource U2 based on the above information and send the progress to the initiating device, allowing the initiating device to issue a second prompt. For example, the second prompt T2 may include "Your video 2 will be screen-cast in 10 minutes (e.g.,..."). Figure 3A The information includes one or more of the following: “(as shown),” “The receiving device will start playing video 2 at 14:20,” “The receiving device will start playing video 2 after video 1 has finished playing,” “The receiving device will stop playing video 2 at 15:20,” and “The receiving device will need 60 minutes to play video 2.”

[0210] In some embodiments, the receiving device may not send the projection progress of the second projection resource U2 to the initiating device. Instead, it may send information related to the projection progress of the first projection resource U1 currently being projected (such as the projection duration of the first projection resource U1 and the current projection display progress) and information of each incomplete projection resource in the resource list (such as the projection duration of each incomplete projection resource) to the initiating device. Based on this information, the initiating device can calculate the projection progress of the second projection resource U2.

[0211] like Figure 2C , Figure 4 As shown, in the screen projection control method provided in this application embodiment, the receiving device can execute steps S11-S19.

[0212] Step S11: During the process of projecting the first projection resource U1, a first request is received from the initiating device. The first request is used to indicate the request to project the second projection resource U2.

[0213] In some embodiments, when this application is applied to a screen mirroring scenario based on the DLNA protocol, the first request may carry the URI of the second screen mirroring resource U2. Thus, the receiving device can obtain the resource corresponding to the URI, i.e., the second screen mirroring resource, from the server based on the URI of the second screen mirroring resource U2.

[0214] In some embodiments, the initiating device may include one or more terminal devices. Each of these terminal devices may send a first request to the receiving device, and correspondingly, the receiving device may receive the first request from one or more terminal devices. For example, suppose a first terminal sends a first request to the receiving device instructing the projection of a first projection resource U1, and a second terminal sends a first request to the receiving device instructing the projection of a second projection resource U2. In this case, the first terminal and the second terminal may be the same terminal device or different terminal devices. This application embodiment does not limit the number of initiating devices.

[0215] In some embodiments, the receiving device stores a resource list, which may include one or more screen-casting resource records. Each screen-casting resource record records information related to the screen-casting display of an incomplete screen-casting resource. The information related to the screen-casting display may include the screen-casting order and screen-casting information. The screen-casting order may indicate the order in which a given incomplete screen-casting resource is displayed among all incomplete screen-casting resources in the resource list; the screen-casting order may be determined according to the request order indicated in the corresponding first request, etc. The screen-casting information may be information that indicates which screen-casting resource is incomplete and enables the receiving device to obtain and display the incomplete screen-casting resource based on this information. In the DLNA protocol screen-casting scenario, the screen-casting information may be the URI corresponding to the incomplete screen-casting resource.

[0216] In some embodiments, the resource list can use an identifier to mark the casting order of corresponding incomplete casting resources. This identifier can be information such as numbers or letters that indicate the order. For example, ... Figure 5 As shown, the casting order of each incomplete casting resource is marked by Arabic numerals such as "1", "2", "3", and "4" in the resource list. The smaller the value of the identifier number, the earlier the corresponding casting order of the incomplete casting resource. Taking resource list 1 as an example, the incomplete casting resources recorded in resource list 1 include: first casting resource U1, casting resource U31, and casting resource U32. According to the identifiers "1", "2", and "3", the casting order of the three incomplete casting resources from first to last is: first casting resource U1, casting resource U31, and casting resource U32.

[0217] In some embodiments, when the resource list is implemented as a list, the casting order of each incomplete casting resource can be represented by the order in which the corresponding casting resource records are arranged in the list. It can be set that the casting order of the incomplete casting resources indicated by the casting resource record that is ranked first in the list is first, and the casting order of the incomplete casting resources indicated by the casting resource record that is ranked last in the list is last. The receiving device can display the corresponding incomplete casting resources in the order from first to last according to the order in which the casting resource records are arranged in the list.

[0218] In some embodiments, where the resource list is implemented as a queue, the casting order of each incomplete casting resource can be represented by the queue order in which the casting resources are recorded. The incomplete casting resources corresponding to the casting resource record at the head of the queue are cast first, and the incomplete casting resources corresponding to the casting resource record at the tail of the queue are cast last. The order of casting incomplete casting resources is consistent with the queue order of their corresponding records. The receiving device can sequentially display the corresponding incomplete casting resources according to the order in which they are recorded in the queue.

[0219] It should be understood that those skilled in the art can set the implementation method of the resource list according to actual needs, and the embodiments of this application do not limit this.

[0220] In some embodiments, after the receiving device starts up and begins operation, if it detects that it does not have a locally stored resource list, it can first create an empty resource list, and then continuously update the resource list based on first requests received from the same initiating device and / or different initiating devices. Alternatively, after the receiving device starts up and begins operation, if it detects that it does not have a resource list, it can also create a resource list after receiving the first request from the initiating device for the first time. This newly created resource list records the projection resource records of the second projection resource indicated by the first request.

[0221] In some embodiments, the receiving device can delete or clear the resource list before powering off. This reduces the storage space occupied by the resource list on the receiving device.

[0222] In some embodiments, the receiving device can delete screen-casting resource records that meet the deletion criteria from the resource list before powering off. Since screen-casting resource records are removed from the resource list before each power-off, it ensures that the receiving device will not continue displaying screen-casting resources that have lost their display timeliness after each startup. In some embodiments, screen-casting resource records that do not meet the deletion criteria may include: screen-casting resource records for which the specified screen-casting time is after the current time among all incomplete screen-casting resources. This ensures that incomplete screen-casting resources scheduled by users for display at a specified time are continuously recorded in the receiving device's resource list, and can continue to display the corresponding incomplete screen-casting resources at the specified screen-casting time after the receiving device restarts. For example, assuming the current time is 18:13 on September 1, 2021, and the receiving device wants to perform a shutdown operation based on the user's instruction, if the receiving device detects before shutdown that the incomplete casting resource corresponding to a certain casting resource record in the resource list is video 4, and the specified casting time of video 4 is 16:00 on September 2, 2021, then the receiving device can retain the casting resource record of video 4 in the resource list, so that if the receiving device is in the powered-on state at 16:00 on September 2, 2021, it can accurately cast and display video 4 at 16:00 on September 2, 2021.

[0223] In some embodiments, if the receiving device detects that the resource list is not empty before powering off, it can issue a resource list processing prompt. This prompt reminds the user to process the projection resource records in the resource list. Based on the user's response to the resource list processing prompt, the receiving device can perform any of the following actions: delete the resource list, clear the resource list, retain the resource list, delete the projection resource record selected by the user from the resource list, retain the projection resource record selected by the user from the resource list, etc.

[0224] In some embodiments, if the receiving device determines that the resource list is not empty when it is powered off, it can determine the self-start time of the receiving device based on the screen-casting resource records in the resource list. This ensures that the incomplete screen-casting resources recorded in the resource list can be displayed normally according to the user's scheduled screen-casting needs. The self-start time can be determined based on the specified screen-casting time of the incomplete screen-casting resource. The self-start time can be set to any time before the specified screen-casting time with the shortest time interval from the current time. For example, assuming the receiving device determines that the resource list is not empty when it is powered off and records two incomplete screen-casting resources, Video 6 and Video 5, with the specified screen-casting time for Video 6 being 16:00 on September 2, 2021, and the specified screen-casting time for Video 5 being 12:00 on September 2, 2021, then if the startup time of the receiving device is 1 minute, the receiving device can set the self-start time to 11:58 on September 2, 2021, ensuring that the receiving device can normally display Video 5 to the user at 12:00 on September 2, 2021. In some embodiments, there may be one or more auto-start times. Before powering off, the receiving device can set a corresponding auto-start time for each incomplete screen-casting resource in the resource list that has a specified screen-casting time, so as to ensure that each incomplete screen-casting resource with a specified screen-casting time can be screen-cast and displayed normally within its specified screen-casting time.

[0225] Step S12: If it is determined that the resource list needs to be updated, update the resource list according to the first request.

[0226] In step S12, after receiving the first request, the receiving device can determine whether the resource list needs to be updated based on the first request. If it is determined that the resource list needs to be updated, the resource list is updated according to the first request. If it is determined that the resource list does not need to be updated, the resource list may not be updated. In some embodiments, step S12 may include two implementation methods: implementation method one and implementation method two.

[0227] Figure 5 This diagram illustrates a flow chart of resource list updating in a screen mirroring control method according to an embodiment of this application. In one possible implementation, such as... Figure 5 As shown, in implementation method one, step S12 may include steps S300-S308. Specifically, to illustrate the execution process of steps S300-S308 by the receiving device in this embodiment, it is assumed that before the first request for the second screen-projection resource U2 is received during the process of the receiving device projecting the first screen-projection resource U1, the resource list of the receiving device is as follows: Figure 5The resource list 1 shown is shown. Referring to resource list 1, there are three casting resource records used to record the corresponding incomplete casting resources. At this time, the incomplete casting resources include the first casting resource U1, casting resource U31, and casting resource U32.

[0228] Step S300: Determine which of the various operation conditions is met based on the first request and the current resource list.

[0229] In step S300, after receiving the first request for the second projection resource U2, the receiving device can first determine the request order of the second projection resource U2 based on the first request, and determine the current resource list of the receiving device (e.g., Figure 5 The system checks whether the second screen-casting resource U2 is included among the multiple incomplete screen-casting resources recorded in resource list 1). Then, it determines the order of requests for the second screen-casting resource U2 and the current resource list (e.g., ...). Figure 5 The system determines whether the second screen projection resource U2 is included among the multiple incomplete screen projection resources recorded in the resource list 1), further determines which operation condition is met, and executes the operation corresponding to the met operation condition.

[0230] In some embodiments, if the receiving device indicates the request order of the second screen projection resource U2 in the first request, it can directly determine the request order of the second screen projection resource U2 based on the indication of the first request. If the receiving device determines that the first request does not indicate the request order of the second screen projection resource U2, it can determine the request order of the second screen projection resource U2 as the fourth default request order (also referred to herein as the receiving device default request order). The fourth default request order can be a request order pre-set by the receiving device for the first request that does not indicate the request order. For example, the fourth default request order can be set to sequential screen projection. Then, if the receiving device determines that the received first request does not indicate the request order, it can determine the request order of the second screen projection resource U2 as sequential screen projection based on the fourth default request order.

[0231] Step S301: If the first operation condition is met, the resource list does not need to be updated.

[0232] In some embodiments, the first operating condition may include: the second projection resource U2 is the same as the target projection resource among multiple incomplete projection resources in the resource list, and the request order is consistent with the current projection order of the target projection resource. The consistency between the request order of U2 indicated in the first request and the current projection order of the target projection resource may mean that the request order of U2 indicated in the first request will not change the current projection order of the target projection resources in the resource list.

[0233] In step S301, if the receiving device determines, based on the judgment process in S300, that the first operating condition is met, it can determine that the first request will not cause changes to the order or progress of the receiving device's display of each incomplete projection resource according to the resource list, and therefore the resource list does not need to be updated. For example, if... Figure 5 As shown, assume the current resource list of the receiving device is "Resource List 1". If U2 indicated in the first request is the same as the projection resource U31 (at this time, projection resource U31 is the target projection resource), and the request order of U2 indicated in the first request is sequential projection, then the receiving device itself will project projection resource U31 according to the current projection order. Therefore, after receiving the first request, the receiving device can determine that the first operation condition is met and will not update the resource list. If U2 indicated in the first request is the same as the first projection resource U1 (at this time, the first projection resource U1 is the target projection resource), and the request order of U2 indicated in the first request is sequential projection, then the receiving device itself is already projecting projection resource U1. After receiving the first request, the receiving device can determine that the first operation condition is met and will not update the resource list. If the U2 indicated in the first request is the same as the projection resource U31 (at this time, projection resource U31 is the target projection resource), and the request order of U2 indicated in the first request is the next projection, then the receiving device itself will project the projection resource U31 after the projection resource U1 is displayed. After receiving the first request, the receiving device can determine that the first operation condition is met and will not update the resource list.

[0234] In some embodiments, if the receiving device determines that the request order for the second projection resource U2 is immediate projection and that the second projection resource U2 is the same as the first projection resource U1 (where the first projection resource U1 is the target projection resource), it can continue to display the currently projected U1 without adjusting the projection order corresponding to U1 (i.e., without updating the resource list). For example, if the receiving device is currently projecting video 1 (video 1 is the first projection resource U1) to the user and there are still ten minutes left to complete the playback of video 1, and if the first request received by the receiving device requests to project the second projection resource U2, which happens to be video 1, then it can continue to play video 1 without updating the resource list until the playback of video 1 is completed after 10 minutes. In some embodiments, if the receiving device determines that the request order of the second screen-casting resource U2 is immediate screen-casting and that the second screen-casting resource U2 is the same as the first screen-casting resource U1 (at this time, the first screen-casting resource U1 is the target screen-casting resource), it may not adjust its corresponding screen-casting order (i.e., not update the resource list), but may start the screen-casting display of the first screen-casting resource U1 from the beginning. For example, if the receiving device is currently casting a 30-minute video 5 (video 5 is the first screen-casting resource U1) to the user and there are 10 minutes left to complete the playback of video 5, and if the first request received by the receiving device at this time requests the screen-casting display of the second screen-casting resource U2, which happens to be video 5, then it may not update the resource list and may start playing video 5 from the beginning until the playback of video 5 is completed after 30 minutes.

[0235] Step S302: If the second operation condition is met, the current casting order of the target casting resource that is the same as the second casting resource among the multiple incomplete casting resources recorded in the resource list can be adjusted to be the first casting resource.

[0236] In some embodiments, the second operating condition may include: the request order of the second screen casting resource U2 is immediate screen casting, and the resource list records a plurality of incomplete screen casting resources, including the same target screen casting resource as the second screen casting resource U2.

[0237] In step S302, if the receiving device determines that the second operating condition is met based on the judgment process in S300, the receiving device can determine that the second screen-casting resource U2, which is requested to be cast immediately, was already recorded as an incomplete screen-casting resource in the resource list before the first request was received. Therefore, the receiving device can directly adjust the casting order of the target screen-casting resources that are identical to the second screen-casting resource U2 among the multiple incomplete screen-casting resources recorded in the resource list, without needing to add a new screen-casting resource record corresponding to the second screen-casting resource U2 to the resource list. For example, if... Figure 5As shown, assuming the second projection resource U2 indicated by the first request is the same as projection resource U32 (which is the target projection resource) among the multiple incomplete projection resources recorded in resource list 1, and the request order is immediate projection, then the receiving device can directly adjust the projection order of projection resource U32 at the current moment to the first projection, resulting in the following: Figure 5 The resource list shown is either "Resource List 2 (Method 1)" or "Resource List 2 (Method 2)". For further description of the specific implementation methods of Method 1 and Method 2, please refer to the relevant description in step S303, which will not be repeated here.

[0238] Step S303: If the third operation condition is met, the second screen casting resource U2 can be added to the resource list as the new incomplete screen casting resource at the top of the current screen casting order.

[0239] In some embodiments, the third operating condition may include: the request order of the second screen casting resource U2 indicated by the first request is immediate screen casting, and the multiple incomplete screen casting resources recorded in the resource list are all different from the second screen casting resource U2.

[0240] In step S303, if the receiving device receives the first request and, in step S300, determines that the third operating condition is met based on the first request, it can determine that the second screen-casting resource U2 indicated by the first request is a new resource that the user requests to be screen-cast immediately. Therefore, the second screen-casting resource U2 can be recorded as the new, incomplete screen-casting resource at the top of the current screen-casting sequence in the resource list. For example, if... Figure 5 As shown, assuming that the second screen-casting resource U2 indicated by the first request is different from all the incomplete screen-casting resources recorded in resource list 1 and the request order is immediate screen-casting, the receiving device can directly add the second screen-casting resource U2 as a new, currently first-order incomplete screen-casting resource to the resource list, adding a new screen-casting resource record for the second screen-casting resource U2 to the resource list, resulting in the following: Figure 5 The resource list shown is either "Resource List 3 (Method 1)" or "Resource List 3 (Method 2)".

[0241] In some embodiments, if the receiving device determines that the second operation condition is met and the second projection resource U2 indicated by the first request is different from the first projection resource U1 after receiving the first request, or if the third operation condition is met, the display of the first projection resource U1, which is different from the second projection resource U2 and has not yet been displayed, will be forcibly stopped because the user needs to immediately display the second projection resource U2. The receiving device can then process the stopped projection resource U1 using either method one or method two:

[0242] Method 1: For the first projection resource U1 that was stopped from being displayed due to receiving the first request, the receiving device can continue to retain the projection resource record of the first projection resource U1 in the resource list. It can also add the display progress of the first projection resource U1 to the projection information in the projection resource record of the first projection resource U1, and adjust the current projection order of the first projection resource U1 to be the first projection after the second projection resource U2. That is, after updating the resource list, the projection order of the multiple incomplete projection resources recorded therein, from first to last, is: second projection resource U2, first projection resource U1, and other incomplete projection resources. Therefore, when the second projection resource U2 is displayed, the receiving device can continue to display the first projection resource U1 from that display progress point according to the display progress of the first projection resource U1 recorded in the resource list.

[0243] For example, such as Figure 5 As shown, if the receiving device determines that "screen casting resource U32" (where screen casting resource U32 is the target screen casting resource) in the multiple incomplete screen casting resources in resource list 1 is the same as the second screen casting resource U2 and the request order of the second screen casting resource U2 is immediate screen casting, then the receiving device can determine that the second operation condition is met. The receiving device can directly adjust the casting order of "Casting Resource U32" to the first position, and adjust the casting order of the first casting resource U1, which was originally the first in the casting order, to the next position after "Casting Resource U32". It will also add the display progress of the first casting resource U1 to the casting information corresponding to the first casting resource U1. The casting order of other incomplete casting resources whose previous casting order was after "Casting Resource U32" (if any) remains unchanged. The casting order of other incomplete casting resources whose previous casting order was before "Casting Resource U32" (e.g., the first casting resource U1, casting resource U31) is postponed by one position (e.g., the casting order of the first casting resource U1 changes from "1" to "2", and the casting order of casting resource U31 changes from "2" to "3"). This will result in the following: Figure 5 The resource list in the document is "Resource List 2 (Method 1)".

[0244] like Figure 5As shown, if the receiving device determines that multiple incomplete casting resources in resource list 1 are different from the second casting resource U2 and the request order of the second casting resource U2 is immediate casting, then the receiving device can determine that the third operation condition is met. The receiving device can directly add the second casting resource U2 as the new incomplete casting resource with the first casting order to the resource list, adjust the casting order of the first casting resource U1, which was originally the first casting resource, to the next one after the second casting resource U2, and add the display progress of the first casting resource U1 to the casting information corresponding to the first casting resource U1. The casting order of other incomplete casting resources is postponed by one (for example, the casting order of casting resource U31 changes from "2" to "3", and the casting order of casting resource U32 changes from "3" to "4"), resulting in the following... Figure 5 The resource list in the document is "Resource List 3 (Method 1)".

[0245] Method Two: For the first projection resource U1, which was stopped from displaying due to receiving the first request, the corresponding projection resource record can be directly deleted from the resource list. That is, after updating the resource list, the projection order of the multiple incomplete projection resources recorded therein, from first to last, is: second projection resource U2, other projection resources. Therefore, when the second projection resource U2 finishes displaying, the receiving device can directly display other projection resources without re-displaying the first projection resource U1.

[0246] For example, such as Figure 5 As shown, if the receiving device determines that "Screening Resource U32" (where Screen Casting Resource U32 is the target Screen Casting Resource) in the multiple incomplete screen casting resources in Resource List 1 is the same as the second Screen Casting Resource U2 and the request order is immediate screen casting, then the receiving device can determine that the second operation condition is met. The receiving device can directly adjust the current screen casting order of "Screening Resource U32" to the first position, delete the screen casting resource record of the first screen casting resource U1 that was originally at the first position, advance the screen casting order of other incomplete screen casting resources whose screen casting order is after "Screening Resource U32" (if any), and keep the screen casting order of other incomplete screen casting resources whose screen casting order is before "Screening Resource U32" (e.g., Screen Casting Resource U31) unchanged, resulting in the following... Figure 5 The resource list in the document is "Resource List 2 (Method Two)".

[0247] like Figure 5 As shown, if the receiving device determines that multiple incomplete casting resources in resource list 1 are all different from the second casting resource U2 and the request order is immediate casting, then the receiving device can determine that the third operation condition is met. The receiving device can directly add the second casting resource U2 as the new first incomplete casting resource in the current casting order to the resource list, delete the original casting resource record of the first casting resource U1, and obtain the following result: Figure 5The resource list in the document is "Resource List 3 (Method 2)".

[0248] In some embodiments, after executing steps S302 and / or S303, or after determining that the second or third operating condition is met, the receiving device may determine that it is necessary to stop the projection display of the first projection resource U1, and then directly execute step S15. In step S15, the projection display of the first projection resource U1 that is currently being projected is stopped, and the projection display of the second projection resource U2 is performed.

[0249] Step S304: If the fourth operation condition is met, the second screen casting resource U2 can be added to the resource list as the last new incomplete screen casting resource in the current screen casting sequence.

[0250] In some embodiments, the fourth operating condition may include: the request order of the second projection resource U2 indicated by the first request is sequential projection, and the multiple incomplete projection resources recorded in the resource list are all different from the second projection resource U2.

[0251] In step S304, if the receiving device receives a first request for the second projection resource U2 and determines, based on step S300, that the fourth operation condition is met, it can determine that the second projection resource U2 indicated by the first request is a new resource requested by the user that needs to be projected in a queue. Therefore, the second projection resource U2 can be added to the resource list as the last new incomplete projection resource in the current projection sequence, and a new projection resource record corresponding to the second projection resource can be added to the resource list. For example, if... Figure 5 As shown, assuming that the second screen-casting resource U2 indicated by the first request is different from all the incomplete screen-casting resources recorded in resource list 1, and the request order is sequential screen-casting, the receiving device can directly add the second screen-casting resource U2 as a new, last incomplete screen-casting resource in the current screen-casting order to the resource list, and add a screen-casting resource record corresponding to the second screen-casting resource U2 to the resource list, as shown below. Figure 5 The “Resource List 4” shown.

[0252] Step S305: If the fifth operation condition is met, the casting order of the target casting resource that is the same as the second casting resource U2 among the multiple incomplete casting resources recorded in the resource list can be adjusted to be the next one after the first casting resource U1. That is, the receiving device adjusts the casting order of the target casting resource to be the incomplete casting resource that immediately follows the first casting resource U1.

[0253] In some embodiments, the fifth operating condition may include: the second screen casting resource U2 is the same as the target screen casting resource among multiple incomplete screen casting resources in the resource list and the request order is the next screen casting.

[0254] In step S305, if the receiving device determines, based on the judgment process in S300, that the fifth operating condition is met, it can determine that the second projection resource U2 indicated by the first request was already recorded as an incomplete projection resource in the resource list before the first request was received. Therefore, it can directly adjust the projection order of the target projection resources that are identical to the second projection resource U2 among the multiple incomplete projection resources recorded in the resource list, without needing to add a new projection resource record corresponding to the second projection resource U2 to the resource list. For example, if... Figure 5 As shown, assuming the second projection resource U2 indicated by the first request is the same as projection resource U32 (which is the target projection resource) among the multiple incomplete projection resources recorded in resource list 1, and the request order is the next projection, then the receiving device can directly adjust the current projection order of projection resource U32 to be the next after the first projection resource U1, resulting in the following... Figure 5 The “Resource List 5” shown.

[0255] Step S306: If the sixth operation condition is met, the second projection resource U2 can be added to the resource list as the next incomplete projection resource displayed after the first projection resource U1 in the current projection sequence. The receiving device can record the second projection resource U2 as an incomplete projection resource immediately following the first projection resource U2 in the resource list.

[0256] In some embodiments, the sixth operating condition may include: the second screen casting resource U2 is different from multiple incomplete screen casting resources in the resource list and the request order is the next screen casting.

[0257] In step S306, if the receiving device determines, based on the judgment process in S300, that the sixth operating condition is met, it can determine that the second projection resource U2 indicated by the first request is a new resource requested by the user to be projected after the first projection resource U1 has been displayed. Therefore, the second projection resource U2 can be added to the resource list as the new, incomplete projection resource to be projected after the first projection resource U1 in the current projection order. That is, a new projection resource record corresponding to the second projection resource U2 is added to the resource list. For example, if... Figure 5 As shown, assuming that the second projection resource U2 indicated by the first request is different from all the incomplete projection resources recorded in resource list 1 and the request order is the next projection, the receiving device can directly add a projection resource record corresponding to the second projection resource U2 in the resource list. This projection resource record records that the current projection order of the second projection resource U2 is the next after the first projection resource U1, or records that the current projection order of the second projection resource U2 is the first projection order among the multiple incomplete projection resources excluding U1, resulting in the following... Figure 5 The “Resource List 6” shown.

[0258] Step S307: If the seventh operation condition is met, the casting order of the target casting resources that are the same as the second casting resource U2 among the multiple incomplete casting resources recorded in the resource list can be adjusted according to the specified casting time. For example, the casting order of the target casting resources that are the same as the second casting resource U2 among the multiple incomplete casting resources recorded in the resource list can be adjusted to the order corresponding to the specified casting time.

[0259] In some embodiments, the seventh operating condition may include: the second screen casting resource U2 is the same as the target screen casting resource among multiple incomplete screen casting resources in the resource list and the request order is the specified scheduled screen casting.

[0260] In step S307, if the receiving device determines, based on the judgment process in S300, that the seventh operating condition is met, the receiving device can determine that the second screen-sharing resource U2, which was requested to be scheduled for screen-sharing, was already recorded as an incomplete screen-sharing resource in the resource list before the first request was received. Therefore, it can directly adjust the current screen-sharing order of the target screen-sharing resources that are identical to the second screen-sharing resource U2 among the multiple incomplete screen-sharing resources recorded in the resource list, without needing to add a new screen-sharing resource record corresponding to the second screen-sharing resource U2 to the resource list. For example, if... Figure 5 As shown, assuming the second projection resource U2 indicated in the first request is the same as projection resource U31 (which is the target projection resource) among the multiple incomplete projection resources recorded in resource list 1, and the request order is the specified scheduled projection, then the receiving device can directly adjust the current projection order of projection resource U31 to the projection order corresponding to the specified projection time indicated in the first request, resulting in the following: Figure 5 The “Resource List 7” shown.

[0261] Step S308: If the eighth operation condition is met, the second screen casting resource U2 can be recorded in the resource list according to the specified screen casting time. For example, the second screen casting resource U2 can be added to the resource list as a new incomplete screen casting resource according to the screen casting order corresponding to the specified screen casting time of the second screen casting resource U2.

[0262] In some embodiments, the eighth operating condition may include: the second screen casting resource U2 is different from multiple incomplete screen casting resources in the resource list and the request order is the specified scheduled screen casting.

[0263] In step S308, if the receiving device determines that the eighth operation condition is met based on the judgment process in S300, the receiving device can determine that the second screen-casting resource U2 indicated by the first request is a new resource requested by the user to be screen-cast at a specified screen-casting time. Then, the receiving device treats the second screen-casting resource U2 as a new incomplete screen-casting resource and adds a screen-casting resource record corresponding to the second screen-casting resource U2 to the resource list according to the screen-casting order corresponding to the specified screen-casting time of the second screen-casting resource. For example, assuming that the second screen-casting resource U2 indicated by the first request is different from all the incomplete screen-casting resources recorded in resource list 1 and the request order is a specified scheduled screen-casting, the receiving device can directly add a screen-casting resource record corresponding to the second screen-casting resource U2 to the resource list. This screen-casting resource record records that the screen-casting order of the second screen-casting resource U2 is the screen-casting order corresponding to the specified screen-casting time indicated in the first request, resulting in... Figure 5 The “Resource List 8” shown.

[0264] In some embodiments, when the receiving device determines that the request order indicated by the first request is a specified scheduled screen projection, it can directly assume that it can perform the screen projection display of the second screen projection resource U2 at the specified screen projection time corresponding to the specified scheduled screen projection before executing step S307 or step S308.

[0265] In some embodiments, when the receiving device determines that the request order indicated by the first request is a specified scheduled screen mirroring, before executing step S307 or step S308, the receiving device may first determine whether it can display the second screen mirroring resource U2 at the specified screen mirroring time corresponding to the second screen mirroring resource U2 and the information of each incomplete screen mirroring resource recorded in the current resource list. If the receiving device can display the second screen mirroring resource U2 at the specified screen mirroring time, then step S307 or step S308 is executed. If the receiving device cannot display the second screen mirroring resource U2 at the specified screen mirroring time, it can send a scheduled adjustment message to the initiating device that requested the screen mirroring of the second screen mirroring resource U2. The scheduled adjustment message is used to control the initiating device to remind the user that the receiving device cannot display the second screen mirroring resource U2 at the specified screen mirroring time. The scheduled adjustment message can also be used to remind the user to adjust the request order of the second screen mirroring resource U2. Then, based on the user's response to the reservation adjustment message, step S300 is executed again. Alternatively, if no response to the reservation adjustment message is received from the user, step S301 is executed.

[0266] In some embodiments, upon receiving a reservation adjustment message, the initiating device may issue a reservation adjustment prompt. This prompt reminds the user that the receiving device cannot display the second projection resource U2 at the specified projection time and that the user can adjust the request order of the second projection resource U2. The initiating device can then determine the new request order of the second projection resource U2 selected by the user based on the detected user response to the reservation adjustment prompt. The reservation adjustment prompt can be issued via voice and / or displayed on the initiating device's screen. The prompt may include text and / or voice prompts such as "Your U2 cannot be projected at 15:00 on August 29, 2021. Please reselect the request order." The prompt may also include a reminder that the user can reselect the request order of the second projection resource U2 they requested to project. In some embodiments, for the reservation adjustment prompt displayed on the screen, the prompt may display controls for selecting different request orders, and each control may be identified with its corresponding request order. For example, controls may be displayed as follows: Figure 3A Controls K12, K13, and K15 are displayed in the reservation adjustment prompt. Then, based on the detected user trigger actions on each control, the user's reselected request order is determined. In some embodiments, for reservation adjustment prompts issued via voice, a voice prompt may be issued to the user, such as "Which of the following do you wish to perform for the second projection resource U2: immediate projection, next projection, sequential projection, or scheduled projection?" The user's response voice to the reservation adjustment prompt is then analyzed to determine the new request order. After determining the new request order for the second projection resource U2 selected by the user, the initiating device can generate a new first request corresponding to the second projection resource U2 and send it to the receiving device, or send the new request order as supplementary information to the original first request to the receiving device, so that the receiving device re-executes step S300 based on the new first request or supplementary information. Alternatively, if the initiating device determines that the user no longer requests screen mirroring of the second screen mirroring resource U2 based on the user's response to the reservation adjustment prompt, it can also issue a no-screen mirroring command to the receiving device, causing the receiving device to perform corresponding operations based on the no-screen mirroring command, such as executing step S301 above. Alternatively, if the initiating device determines that the user no longer requests screen mirroring of the second screen mirroring resource U2 based on the user's response to the reservation adjustment prompt, it can also choose not to send feedback to the receiving device, so that the receiving device executes step S301 above if it determines that the user has not responded to the reservation adjustment message.

[0267] In some embodiments, the reservation adjustment message may include an optional screen-casting time calculated by the receiving device based on the current resource list, allowing for the screen-casting display of the second screen-casting resource U2. This enables the initiating device to remind the user to choose whether to screen-cast the second screen-casting resource U2 during the optional screen-casting time, based on the optional screen-casting time in the reservation adjustment message.

[0268] In some embodiments, the receiving device determines whether it can display the second projection resource U2 within the specified projection time corresponding to the second projection resource U2, based on the specified projection time corresponding to the second projection resource U2 and the information of each incomplete projection resource in the current resource list. This can be achieved by: determining the remaining display time S1 of the first projection resource U1 based on its projection progress; determining the projection time S3 of each incomplete projection resource based on the projection information of other incomplete projection resources in the resource list; and determining that the receiving device can display the second projection resource U2 within the specified projection time if the specified projection time corresponding to the second projection resource U2 falls within the interval between the projection displays of two incomplete projection resources. For example, assuming the current resource list is... Figure 5 In resource list 1, if the current time is 10:00 AM on August 29, 2021, and the remaining duration S1 of displaying the first projection resource U1 is 20 minutes, and the projection durations S3 of projection resources U31 and U32 among the incomplete projection resources are 50 minutes and 80 minutes respectively, then it can be determined that the second projection resource with a specified projection time of 10:20 AM, 11:10 AM, and 12:30 PM on August 29, 2021 can be projected and displayed by the receiving device. If the specified projection time of the second projection resource U2 is 3:00 PM on August 29, 2021, then since the receiving device is idle at this time, the receiving device can determine that it can project and display the second projection resource U2 at the specified projection time corresponding to the second projection resource U2. If the designated casting time for the second casting resource U2 is 10:10 AM on August 29, 2021, then since the receiving device should be casting the first casting resource U1 at that time, the receiving device can determine that it cannot cast the second casting resource U2 at the designated casting time corresponding to the second casting resource U2. Optionally, the receiving device can also send a reservation adjustment message to the initiating device, thereby the initiating device issuing a reservation adjustment prompt based on the reservation adjustment message: "The casting time you specified for U2 conflicts with the display time of other casting resources. Please reselect the reservation strategy or re-specify the casting time."

[0269] In some embodiments, even if the receiving device is already displaying the first projection resource U1 when it determines the designated projection time for the second projection resource U2, the receiving device can still display the second projection resource U2 at the designated projection time corresponding to the second projection resource U2, interrupting or terminating the projection display of the first projection resource U1. This forces the projection display of the second projection resource U2 to begin at the designated projection time. Optionally, in this case, the initiating device can also issue a prompt message: "The projection time you specified for U2 conflicts with the display time of other projection resources. Please confirm whether to force the projection display of U2 at the specified projection time?" Upon receiving an affirmative response from the user, the receiving device will force the projection display of the second projection resource U2 to begin at the designated projection time.

[0270] Those skilled in the art can configure the implementation method for determining whether the receiving device can display the second projection resource U2 at the specified projection time corresponding to the second projection resource U2 according to actual needs, and this application does not impose any restrictions on this.

[0271] In some embodiments, when the receiving device determines that the seventh or eighth operating condition is met, it can set a corresponding timer based on a specified projection time. This timer will then be used to project the second projection resource U2 to the user when the specified projection time is reached while the receiving device is in continuous operation. If the timer has not yet completed its corresponding countdown when the receiving device is powered off, and the corresponding projection resource record remains in the resource list, the receiving device can set a corresponding auto-start time based on the timer to ensure that the corresponding second projection resource U2 is projected and displayed at the specified projection time. If the receiving device has already started operating before the auto-start time, it can reset the corresponding timer based on the set auto-start time during startup to project and display the resource when the specified projection time is reached.

[0272] Step S13: Determine whether to stop the current screen projection display of the first projection resource U1.

[0273] In step S13, after executing step S12, the receiving device can determine whether it needs to stop the currently ongoing screen projection display of the first screen projection resource U1. If it is determined that the screen projection display of the first screen projection resource U1 needs to be stopped, step S15 is executed. If it is determined that the screen projection display of the first screen projection resource U1 does not need to be stopped, step S14 is executed.

[0274] In some embodiments, after each update of the resource list based on the first request, the receiving device can determine, based on the updated resource list, whether the first unfinished projection resource in the current projection order among the multiple unfinished projection resources in the current resource list is the first projection resource U1. If it is, it is determined that there is no need to stop the projection display of the first projection resource U1; otherwise, it is determined that the projection display of the first projection resource U1 needs to be stopped and the second projection resource U2 needs to be displayed.

[0275] In some embodiments, the receiving device may also determine whether to stop the current screen projection display of the first screen projection resource U1 after each update of the resource list based on the first request, before, or during the update process, according to the determined request order corresponding to the second screen projection resource U2 (the request order corresponding to U2 is determined based on the first request or the fourth default request order). If the request order is immediate screen projection, it is determined that the screen projection display of the first screen projection resource U1 needs to be stopped and the second screen projection resource U2 needs to be displayed; otherwise, it is determined that the screen projection display of the first screen projection resource U1 does not need to be stopped.

[0276] In some embodiments, the receiving device can also determine, based on user input, whether it is necessary to stop the display of the first projection resource U1 and proceed with the display of the second projection resource U2. In some embodiments, if the receiving device determines that it needs to stop the display of the first projection resource U1 after receiving a first request, it can also issue a stop prompt. The stop prompt is used to remind the user that the received first request necessitates stopping the display of the first projection resource U1 and proceeding with the display of the second projection resource U2. The stop prompt can also be used to ask the user whether permission is granted to stop the display of the first projection resource U1 and proceed with the display of the second projection resource U2. The stop prompt may include text displayed on the screen and / or voice prompts such as "Now proceeding with the display of the second projection resource U2?". The receiving device can then determine whether to stop the display of the first projection resource U1 and proceed with the display of the second projection resource U2 based on the detected user response to the stop prompt.

[0277] For example, if the stop prompt is a message displayed on the screen that includes the text "Now displaying the second projection resource U2?", to facilitate user response, the stop prompt may also include "Yes" and "No" controls that allow the user to choose whether to stop U1 and start displaying U2. When the receiving device detects a user's triggering of the "Yes" control in the stop prompt, it can determine that the user allows the display of the first projection resource U1 to be stopped and the display of the second projection resource U2 to begin. When the receiving device detects a user's triggering of the "No" control in the stop prompt, it can determine that the user does not allow the display of the first projection resource U1 to be stopped. Alternatively, the receiving device can determine whether the user allows the display of the first projection resource U1 to be stopped and the display of the second projection resource U2 to begin based on the detected user response voice to the stop prompt displayed on the screen. If the stop prompt includes a voice prompt such as "Now proceeding with the screen mirroring of the second screen mirroring resource U2?", the receiving device, upon analyzing the detected user response to the voice prompt and identifying text containing definitive indications such as "Yes" or "Okay," determines that the user has permitted the stopping of the screen mirroring of the first screen mirroring resource U1 and the proceeding with the display of the second screen mirroring resource U2. Conversely, if the voice prompt does not contain a voice prompt, the receiving device determines that the user has permitted the stopping of the screen mirroring of the first screen mirroring resource U1 and the proceeding with the display of the second screen mirroring resource U2. Alternatively, the receiving device can also determine that the user has permitted the stopping of the screen mirroring of the first screen mirroring resource U1 and the proceeding with the display of the second screen mirroring resource U2 if no user response to the stop prompt is detected after a preset waiting period has elapsed.

[0278] In some embodiments, if the receiving device determines that the user does not allow the screen projection display of the first screen projection resource U1 to be stopped based on the user's response to the stop prompt, it can directly change the screen projection order of the second screen projection resource U2 from the original immediate screen projection indicated by the first request to the next screen projection, and adapt the corresponding screen projection resource record in the resource list so that the second screen projection resource U2 will be screen projection displayed next after the first screen projection resource U1 has completed its screen projection display.

[0279] In some embodiments, the receiving device may further send a casting disallowed message to the initiating device if it determines, based on the user's response to the stop prompt, that the user does not allow the casting display of the first casting resource U1 to be stopped. This allows the initiating device to issue a casting disallowed prompt to the user via display screen and / or voice, reminding the user that the second casting resource U2, which the user requested to be cast immediately, is not allowed to be cast immediately. The casting disallowed prompt may also remind the user to select a new request order for the second casting resource U2. The implementation of the casting disallowed prompt is similar to that of the "schedule adjustment prompt" described above. Those skilled in the art can configure the implementation of the "cast disallowed prompt" according to actual needs, combining it with the implementation of the "schedule adjustment prompt," and this application embodiment does not impose any limitations on this. Then, the initiating device can determine the new request order selected by the user for the second projection resource U2 based on the user's response to the projection disallowed prompt. It can then generate a new first request corresponding to the second projection resource U2 and send it to the receiving device, or send the new request order as supplementary information to the original first request to the receiving device. This allows the receiving device to re-execute step S300 based on the new first request or supplementary information. Alternatively, if the initiating device determines that the user no longer requests projection of the second projection resource U2 based on the user's response to the projection disallowed prompt, it can issue a no-projection instruction to the receiving device or not provide any feedback. This allows the receiving device to perform corresponding operations based on the no-projection instruction or if it does not receive a response from the user to the projection disallowed message, such as directly executing step S301 or deleting the projection resource record of the second projection resource from the resource list if a new projection resource record corresponding to the second projection resource has already been added.

[0280] Step S14: If step S13 determines "yes", then continue to display the first screen projection resource U1.

[0281] In some embodiments, in step S14, the receiving device continues to display the first screen projection resource U1 until the display of the first screen projection resource U1 is completed, or the receiving device receives a new first request again, causing the screen projection display of the first screen projection resource U1 to be stopped.

[0282] In some embodiments, after determining that the screen projection display of the first projection resource U1 is complete, the first projection resource U1 can be deleted from the resource list and step S16 can continue to be executed.

[0283] Step S15: If step S13 determines "no", then stop the current screen projection display of the first projection resource U1.

[0284] In some embodiments, in step S15, the receiving device stops the current screen projection display of the first screen projection resource U1 and starts the screen projection display of the second screen projection resource U2 until the display of the second screen projection resource U2 is completed, or a new first request is received again, causing the screen projection display of the second screen projection resource U2 (if a new first request is received, the second screen projection resource U2 that is being screen projected is the first screen projection resource relative to the new first request) to be stopped.

[0285] In some embodiments, after determining that the projection display of the second projection resource U2 is complete, the second projection resource U2 can be deleted from the resource list and step S16 can continue to be executed.

[0286] Step S16: After completing the screen projection display of the first projection resource U1 or the second projection resource U2, determine whether there are any incomplete projection resources in the resource list that can be displayed immediately. If so, proceed to step S17; otherwise, proceed to step S18.

[0287] In some embodiments, after the first projection resource U1 or the second projection resource U2 is displayed, it is first determined whether the resource list is empty. If the resource list is empty, step S18 is executed. If the resource list is not empty, the receiving device can determine whether the first unfinished projection resource in the projection order among all unfinished projection resources can be displayed immediately based on the projection resource record of each unfinished projection resource currently recorded in the resource list. If so, step S17 is executed; otherwise, it continues to wait until it is determined that the first unfinished projection resource in the projection order among all unfinished projection resources can be displayed immediately, and then step S17 is executed. Specifically, if the first in the casting sequence of all incomplete casting resources has a specified casting time set and the current time has not yet reached that specified casting time, then it can be determined that the first in the casting sequence of all incomplete casting resources cannot be displayed immediately. If the first in the casting sequence of all incomplete casting resources has a specified casting time set and the current time has reached that specified casting time, then it can be determined that the first in the casting sequence of all incomplete casting resources can be displayed immediately. If the first in the casting sequence of all incomplete casting resources does not have a specified casting time set, then it can be determined that the first in the casting sequence of all incomplete casting resources can be displayed immediately.

[0288] Step S17: If step S16 determines "yes", then the first incomplete casting resource in the casting sequence will be displayed. The receiving device can display the casting information of the first incomplete casting resource recorded in the resource list.

[0289] In some embodiments, in step S17, the receiving device displays the first incomplete projection resource in the projection sequence until the projection display of the incomplete projection resource is completed, or a new first request is received again, causing the projection display of the incomplete projection resource (if a new first request is received, the incomplete projection resource to be projected is the first projection resource relative to the new first request) to be stopped.

[0290] In some embodiments, after determining that the incomplete casting resource has been cast to completion, the incomplete casting resource can be removed from the resource list and step S16 can be continued.

[0291] Step S18: If step S16 determines "no", that is, if there are no unfinished casting resources waiting to be cast in the resource list, then the casting display ends.

[0292] In some embodiments, the receiving device may wait to receive a new first request before rebuilding or updating the resource list and displaying the projected resources.

[0293] Figures 6A-6D A schematic diagram showing a variation of the first interface according to an embodiment of this application is provided.

[0294] In one possible implementation, when the display conditions are met, the receiving device displays the current resource list on the first interface displaying the first projection resource U1, the second projection resource U2, or other incomplete projection resources. The method of displaying the current resource list may include displaying resource-related information of some or all of the incomplete projection resources in the current resource list. For example, such as... Figure 6A As shown, if the receiving device is currently displaying the first projection resource U1 to the user and the display conditions are met, the first interface will be... Figure 6A The display state of Y1 is switched to Y11 or Y12, and the resource information of some or all of the incomplete projection resources is displayed to the user in the sidebar T3 of the first interface.

[0295] In some embodiments, when the receiving device determines that the display conditions are met, the resource-related information of each incomplete projection resource displayed to the user on the first interface may include: projection order, resource identifiers such as names, projection duration, introductory information such as thumbnails, projection information, projection progress (projection progress may include the start time of projection, the expected end time of projection, such as the remaining display duration, whether it is currently being displayed, etc.), and other information related to the corresponding incomplete projection resources. This allows the user to understand the overall projection progress of the receiving device based on the displayed resource-related information, such as how many incomplete projection resources need to be projected and displayed, the basic information of the incomplete projection resources waiting to be projected and displayed, the projection progress, etc.

[0296] In some embodiments, each screen-casting resource record may also record the name, thumbnail, and screen-casting duration of the corresponding incomplete screen-casting resource, as well as introductory information describing the incomplete screen-casting resource. For example... Figure 5 In the resource list 1-8, the "Resources" column records "First Casting Resource U1", "Casting Resource U31", "Casting Resource U32", and "Second Casting Resource U2", which are the names of the corresponding resources. Figure 6A When displaying resource-related information to the user on the first interface in Y11 or Y12 display mode, the name of the unfinished projection resource can be displayed to the user.

[0297] In one possible implementation, the receiving device determining that it meets the display conditions may include at least one of the following: the receiving device receives a request to display the list of projection resources, the receiving device detects that it has started to display the next unfinished projection resource, or the resource list has changed.

[0298] In some embodiments, the receiving device determines that it meets the display conditions by receiving a request to display the projection resource list. This allows it to display resource-related information for some or all incomplete projection resources based on the user's request. The request can be initiated by the user through manipulation of the display screen of the initiating device, the receiving device, physical buttons on the receiving device, and / or an external input device. In some embodiments, the external input device can be a mouse, remote control, laser pointer, stylus, keyboard, etc. External input devices can be categorized into cursor-enabled devices and cursorless devices based on whether a cursor corresponding to the user's external input device is displayed on the first interface. Cursor-enabled devices can include mice, laser pointers, etc., and the shape and color of the cursor displayed on the first interface can be the same or different for different cursor-enabled devices. Cursorless devices can include remote controls, styluses, etc.

[0299] In some embodiments, if the external input device itself has a physical button for issuing a request to display the screen mirroring resource list, and its triggering is detected, it can also be determined that the user has issued a request to display the screen mirroring resource list by controlling the external input device.

[0300] In some embodiments, when the receiving device detects a user's touch operation on a cursorless device, it can display all operable controls, including a third control, on a first interface, and highlight (e.g., by adding a border, flashing, etc.) the currently selected control on the first interface. Then, based on further user actions on the cursorless device, if it is determined that the user has selected and triggered a third control, it is determined that the user has issued a request to display the screen-casting resource list by controlling the cursorless device.

[0301] For example, such as Figure 6B As shown, taking a cursorless device as an example of a remote control, when the receiving device detects a touch operation on the remote control by the user, the first interface displayed to the user can switch from the display state of Y1 to the display state of Y13. For example, in the first interface of the Y13 display state, while displaying U1, it also displays all operable controls, including the third control K3, to the user (to illustrate the triggering process of the third control K3). Figure 6B (Other controls available for user touch operation besides K3 are not shown in the image). The receiving device can then highlight the selected control from the operable controls on the first interface in the Y13 display state (e.g., the operable control selected when the user stopped operating the remote control can be used as the first highlighted control, or a pre-selected default control can be highlighted from all operable controls, etc.). Then, based on the user's operation of the "up," "down," "left," and "right" directional keys on the remote control, the receiving device determines and highlights the operable control selected each time the directional keys are pressed. When the receiving device detects that the currently selected operable control is the third control K3 (at this time, the first interface switches from the Y13 display state to the Y14 display state, and the third control K3 is highlighted on the first interface in the Y14 display state), and detects the user's confirmation operation on the third control K3 via the remote control, it can determine that a request to display the screen projection resource list has been detected. In some embodiments, the user's confirmation operation on the third control K3 via the remote control can be a trigger operation of a physical button such as "OK" on the remote control.

[0302] In some embodiments, when the receiving device detects a touch operation by the user targeting a cursor-type device, it displays a cursor corresponding to the cursor-type device on the first interface and adjusts the cursor's movement direction, speed, trajectory, and / or display position on the first interface according to the user's operation on the cursor-type device. Furthermore, if it detects that the cursor has moved to the area where the third control K3 is located, or if it detects that the cursor has moved to the area where the third control K3 is located and detects a confirmation operation input by the user through the cursor-type device, it determines that the user has issued a request to display the screen-casting resource list by controlling the cursor-type device.

[0303] For example, such as Figure 6C As shown, taking a mouse, a device with a cursor, as an example, when the receiving device detects a touch operation by the user on the mouse, the first interface displayed to the user can switch from the display state of Y1 to the display state of Y15. For example, in the first interface under the display state of Y15, while displaying U1, it also displays all operable controls, including the third control K3, to the user (to illustrate the triggering process of the third control K3). Figure 6C The interface does not show other touch-operable controls besides K3, and a cursor B corresponding to the mouse. The movement of cursor B within the first interface is determined and displayed based on the user's mouse movement. When the receiving device detects that cursor B has been moved to position B' within the area where the third control K3 is located, it can determine that a request to display the projection resource list has been detected. Alternatively, when the receiving device detects that cursor B has been moved to position B' within the area where the third control K3 is located, and detects a confirmation operation (such as clicking the left mouse button) issued by the user on the third control K3, it can determine that a request to display the projection resource list has been detected.

[0304] In some embodiments, the initiating device can generate a request to display a list of resources for projection based on detected user actions and send it to the receiving device. The initiating device may have a physical button for issuing the request, and the request is generated when the button is triggered. Alternatively, the initiating device's display screen may show a control interface for the user to operate the receiving device. This control interface may display a control for issuing the request; the initiating device generates the request and sends it to the receiving device when this control is triggered. Alternatively, the initiating device may also be used by the user as an "external input device" for the receiving device, responding to user actions in a manner similar to a user issuing a request for displaying a list of resources via a "mouse" or "remote control."

[0305] In some embodiments, when the display screen of the receiving device is a touchscreen, the receiving device, upon detecting a touch operation on the touchscreen by the user using a finger or stylus, displays all operable controls, including a third control, available for user operation on a first interface. Then, if the third control is triggered based on the touch operation by the user using a finger or stylus, it is determined that the user has issued a request to display the list of projection resources by controlling the touchscreen.

[0306] In some embodiments, if the receiving device itself has a physical button for issuing a request to display the screen-casting resource list, and if the button is detected to be triggered, it can be determined that the user issued the request to display the screen-casting resource list by controlling the physical button of the receiving device.

[0307] It should be noted that the above-mentioned method of the user sending a screen projection resource list display request by controlling the external input device of the initiating device and the receiving device, and the receiving device is only an exemplary implementation method provided by this application. Those skilled in the art can set the implementation method of the screen projection resource list display request according to actual needs, and this application does not limit it.

[0308] In some embodiments, the display conditions may further include: the time interval between the current moment and the last time the resource information of the incomplete casting resource was displayed reaches a time interval threshold. For example, when the first casting resource U1 is displayed on the first interface, the "resource information of each incomplete casting resource" can be displayed every 20 minutes, for example. In this way, the user can view the "resource information of the incomplete casting resource" at regular intervals to understand the overall progress of the casting on the receiving device.

[0309] In some embodiments, the display conditions may further include detecting the start of displaying the next incomplete projected resource. Then, the receiving device can display "resource-related information of some or all of the incomplete projected resources" to the user each time the display of the next incomplete projected resource begins. This allows the user to understand the overall progress of the projection at the beginning of displaying a particular incomplete projected resource.

[0310] In some embodiments, the display conditions may further include detecting a change in the resource list. The receiving device can then display resource-related information for some or all of the incomplete casting resources to the user each time a change in the resource list is detected, ensuring that the user is promptly informed of any updates to the resource list. Changes in the resource list can be caused by: an update triggered by receiving a first request; deletion of the corresponding casting resource record in the resource list after completing the casting of the first incomplete casting resource in the casting order; and so on. If a change in the resource list is detected during the display of resource-related information for some or all incomplete casting resources to the user, the display of resource-related information for some or all incomplete casting resources can continue directly based on the changed resource list.

[0311] In some embodiments, the receiving device can display a pop-up window or a sidebar T3 (such as...) in the first interface. Figure 6A (As shown) or in a designated area on the first interface, the user is shown resource-related information for some or all of the incomplete projected resources.

[0312] In some embodiments, before displaying resource-related information for some or all incomplete projected resources based on the number of incomplete projected resources in the current resource list, the receiving device first determines whether the pop-up window, sidebar, or designated area used to display resource-related information can completely display the resource-related information of all incomplete projected resources. If the receiving device determines that it can completely display the information, it can directly display the resource-related information of each incomplete projected resource in the resource list to the user. For example, Figure 6A Before and after the receiving device determines that the display conditions are met, the first interface changes from the display state Y1 (before the display conditions are met) to the display state Y11 (after the display conditions are met), which displays the resource information of all incomplete casting resources. In the Y11 display state, the first interface displays the resource information of all incomplete casting resources in the sidebar T3. If the receiving device determines that it cannot display all the resources, it can display the resource information of a portion of the incomplete casting resources in the resource list to the user. For example, Figure 6A Before and after the display conditions are met, the first interface of the receiving device changes from the display state Y1 before the display conditions are met to the display state Y12 after the display conditions are met, which displays the resource information of the incomplete projection resources. In the first interface under the display state Y12, the resource information of the incomplete projection resources is displayed in the sidebar T3.

[0313] In some embodiments, when the receiving device displays resource-related information for some or all of the incomplete casting resources to the user, it can display them in order from front to back according to the casting sequence. Specifically, the resource-related information for the incomplete casting resources displayed by the receiving device on the first interface can be displayed in list form, and the casting sequence corresponding to the incomplete casting resources can be indicated by the order of the incomplete casting resources in the list. For example, as... Figure 6A In the first interface displayed under Y11 and Y12 display states, the receiving device displays "resource information related to incomplete casting resources" in a list within the sidebar T3, showing each incomplete casting resource in the list in chronological order of casting. (Refer to...) Figure 6A In the first interface displayed under Y11 and Y12, the order of casting multiple incomplete casting resources in the sidebar T3 is as follows: first casting resource U1, casting resource U31, and casting resource U32.

[0314] In some embodiments, the receiving device displays only resource-related information of some incomplete projection resources in the resource list on the first interface (e.g., ...). Figure 6A In the case where the first interface in the Y12 display state only shows resource information of some incomplete casting resources, the receiving device can also switch the resource information of the incomplete casting resources displayed in the first interface if the conditions for switching the display content are met. For example, assume that all incomplete casting resources in the current resource list include: first casting resource U1, casting resource U31, casting resource U32, casting resource U33, and casting resource U34. Figure 6A In the first interface of the Y12 display state, the sidebar T3 can display a maximum of three projection resources: the first projection resource U1, projection resource U31, and projection resource U32. Therefore, the receiving device can, if the conditions for switching display content are met, switch the resource information of the incomplete projection resources displayed in the first interface to show the user, such as... Figure 6D In the first interface displayed under the Y12-1, Y12-2, and Y12-3 display states, the sidebar T3 displays screen projection resources U31, U32, and U33.

[0315] In some embodiments, satisfying the display content switching conditions may include: detecting a user-issued resource-related information switching request, and / or the duration of resource-related information of the currently displayed incomplete projection resource exceeding a switching duration threshold.

[0316] In some embodiments, when the receiving device displays resource-related information of some incomplete projection resources to the user on the first interface, it can automatically switch the display of such resource-related information. After displaying the resource-related information of some incomplete projection resources to the user, the receiving device performs user operation detection. If no user operation duration is detected exceeding the switching duration threshold, it can be determined that the display content switching condition is met, and the display of resource-related information of incomplete projection resources can be switched at a pre-set automatic switching speed. The switching duration threshold can be set according to the number of incomplete projection resources corresponding to the resource-related information displayed to the user on the first interface. The larger the number, the longer the switching duration threshold, to ensure that the user can clearly see the displayed resource-related information before automatic switching. For example, assuming the switching duration threshold is 3 seconds, the receiving device can switch the currently displayed resource-related information of incomplete projection resources every 3 seconds if no user operation is detected.

[0317] In some embodiments, while displaying resource-related information of some or all incomplete casting resources to the user on the first interface, the receiving device may also display a sliding control on the first interface. This sliding control can respond to the user's movement operation by sliding on the first interface. Upon detecting the user's movement operation on the sliding control, the receiving device generates a resource-related information switching request based on the movement operation. This allows the user to view resource-related information of all incomplete casting resources in the resource list by controlling the sliding control. The resource-related information switching request may include information describing the movement of the sliding control, such as the speed, distance, direction, and stopping position of the sliding control, so that the receiving device can determine the content switching speed based on this information, thereby switching the resource-related information of the incomplete casting resources displayed on the first interface. The sliding control can be displayed in a pop-up window or sidebar (such as...) that displays resource-related information of incomplete casting resources. Figure 6A The sliding control K5 is displayed on the side of the sidebar T3 in the first interface under the Y12 display state, or in a specified area.

[0318] In some embodiments, the sliding operation detected by the receiving device for the sliding control can be initiated by the user in any of the following ways: by the user touching the touch-enabled display screen of the receiving device, by the user manipulating a physical button on the receiving device, or by the user manipulating an external input device of the receiving device.

[0319] For example, such as Figure 6DAs shown, while the receiving device is displaying the first interface in the Y12 display state to the user, it displays resource information of some incomplete casting resources in the resource list in the sidebar T3. Among them, the incomplete casting resources in the current resource list include: first casting resource U1, casting resource U31, casting resource U32, casting resource U33, and casting resource U34.

[0320] like Figure 6D As shown, if the receiving device detects that the user is dragging the sliding control K5 with their finger or stylus, it can display the following to the user: Figure 6D The first interface in the Y12-2 display state switches the resource information of the incomplete projection resources displayed in the sidebar T3 based on the speed and direction of dragging the sliding control K5. If the receiving device detects that the user directly moves the resource information of the incomplete projection resources with their finger or stylus, it can directly switch the resource information of the incomplete projection resources.

[0321] like Figure 6D As shown, if the receiving device detects that the user is controlling the sliding control K5 through a cursorless device, it can display the following to the user: Figure 6D In the first interface of the Y12-1 display state, the sliding control K5 is highlighted, and the receiving device can select and control the sliding control K5 to move up and down based on the user's operation on the cursorless device. During the movement of the sliding control K5, the receiving device switches the resource information related to the incomplete projection resources displayed in the sidebar T3 based on the speed and direction of K5's movement. For example, if the cursorless device is a remote control, after confirming that the user has selected K5, the receiving device can move K5 according to the detected user's operation of the "up" or "down" button on the remote control.

[0322] like Figure 6D As shown, if the receiving device detects that the user is controlling the sliding control K5 with a cursor-like device, it can display the following to the user: Figure 6DIn the first interface of the Y12-3 display state, cursor B corresponding to the cursor-type device is displayed. The receiving device can move the sliding control K5 up or down based on the user's selection of the cursor-type device using cursor B. During the movement of the sliding control K5, the receiving device switches the resource information related to the incomplete projection resources displayed in the sidebar T3 based on the speed and direction of the movement of the sliding control K5. Alternatively, the receiving device can move cursor B to the area or position displaying resource information related to the incomplete projection resources based on the user's operation on the cursor-type device, and then switch the resource information related to the incomplete projection resources displayed in the sidebar T3 based on the user's operation on the sliding button (such as the mouse wheel) on the cursor-type device. For example, if the cursor-type device is a mouse, after determining that the user has selected K5 with the mouse (this can be determined when the cursor B corresponding to the mouse is moved to the area where K5 is located and the left mouse button is clicked), the receiving device can move K5 according to the detected "up" or "down" movement of the mouse. Alternatively, after the receiving device determines that the user has moved the cursor B to an area displaying information related to incomplete projection resources (such as the area where the sidebar T3 is located), it can directly switch the displayed information related to incomplete projection resources based on the detected scrolling of the mouse wheel by the user.

[0323] In some embodiments, if the external input device itself has a physical button for issuing a resource-related information switching request and its triggering is detected, it can also be determined that the user has issued a resource-related information switching request by controlling the external input device.

[0324] In some embodiments, if the receiving device itself has a physical button for issuing a resource-related information switching request and the button is detected to be triggered, it can be determined that the user issued the resource-related information switching request by controlling the physical button of the receiving device.

[0325] In one possible implementation, the method may further include: During the process of displaying resource-related information of some or all of the incomplete projection resources to the user, the receiving device stops displaying the resource-related information on the first interface if a stop display condition is met. For example, when displaying such... Figure 6A The first interface shown in the Y11 and Y12 display states, as follows: Figure 6D During the process of displaying the first interface in the Y12-1, Y12-2, and Y12-3 states, if the receiving device determines that the stop display condition is met, it will stop displaying resource-related information in the first interface, and the first interface will switch back from the display states of Y11, Y12, Y12-1, Y12-2, and Y12-3 to the state shown. Figure 6AThe display status of Y1.

[0326] In one possible implementation, the receiving device determines that it meets the stop display condition, which may include at least one of the following: the receiving device receives a stop display request for the screen-projected resource list, and after displaying the resource-related information, it does not detect that the duration of the user's operation on the resource-related information exceeds the stop display duration threshold.

[0327] In some embodiments, the stop-display duration threshold is greater than the switching duration threshold to ensure that the user can clearly see the information about the resource they want to view before stopping the display of that information. The stop-display duration threshold can be set based on the number of incomplete cast resources in the current resource list; the larger the number, the longer the stop-display duration threshold can be set, ensuring that the user can clearly see the information about the resource they want to view before stopping the display. For example, suppose the stop-display duration threshold is 15 seconds. If the receiving device does not detect any user interaction from the start of the display of the resource information for incomplete cast resources, it can determine that the stop-display condition is met if the time between the current moment and the start time of the display reaches 15 seconds. If the receiving device detects user interaction after the display of the resource information for incomplete cast resources, it can determine that the stop-display condition is met if the time between the current moment and the moment the user's last interaction was detected reaches 15 seconds.

[0328] In some embodiments, while displaying resource-related information of some or all of the incomplete casting resources to the user on the first interface, the receiving device may also display a stop display control on the first interface. This stop display control is triggered in response to a user's action. Upon detecting that the stop display control has been triggered, the receiving device determines that it has received a request to stop displaying the casting resource list. This allows the user to stop the display of resource-related information of the incomplete casting resources on the first interface by triggering the stop display control.

[0329] In some embodiments, the user can trigger a stop display control by controlling the display screen of the initiating device, the physical buttons of the receiving device, and / or an external input device of the receiving device. The implementation of triggering the stop display control is similar to the implementation of triggering the third control K3 described above. The implementation of triggering the stop display control can be set by referring to the triggering process of the third control K3. The following is only an illustrative example. For example, assume that the receiving device is currently displaying the following to the user: Figure 6AIn the first interface of the Y12 display state, the sidebar T3 displays resource information related to the incomplete projection resources to the user, and also displays a stop display control K4 in the sidebar T3. If the receiving device's display is a touch screen, the receiving device determines that the stop display control K4 has been triggered when the user triggers it with a finger or stylus by clicking, long-pressing, or other actions. The receiving device also determines that the stop display control K4 has been triggered when the user selects and confirms it using a cursorless device such as a remote control. Finally, the receiving device determines that the stop display control K4 has been triggered when the user moves the corresponding cursor B to the area where the stop display control K4 is located using a cursor-enabled device such as a mouse and issues a confirmation action (e.g., clicking the left mouse button).

[0330] In some embodiments, if the receiving device and / or the initiating device are equipped with a physical button for issuing a request to stop displaying the screen-casting resource list, the receiving device can generate a request to stop displaying the screen-casting resource list if it detects that the physical button it has set for the request to stop displaying the screen-casting resource list has been triggered; if the initiating device detects that the physical button it has set for the request to stop displaying the screen-casting resource list has been triggered, it can generate a request to stop displaying the screen-casting resource list and send it to the receiving device.

[0331] In some embodiments, the display screen of the initiating device may be a control interface for the user to operate the receiving device. The control interface may display a control for issuing a request to stop displaying the screen-casting resource list. When the initiating device detects that the control is triggered, it generates a request to stop displaying the screen-casting resource list and sends it to the receiving device.

[0332] It should be noted that the above-mentioned method of the user issuing a request to stop displaying the screen-casting resource list by controlling the touch screen of the initiating device or the receiving device or the external input device of the receiving device is only an exemplary implementation method provided by this application. Those skilled in the art can set the implementation method of the request to stop displaying the screen-casting resource list according to actual needs, and this application does not limit it.

[0333] In one possible implementation, the method may further include: in response to a received resource list viewing request, the receiving device sends the resource-related information of each of the incomplete projection resources in the resource list to the initiating device that issued the resource list viewing request, so that the initiating device that issued the resource list viewing request displays the resource-related information of each of the incomplete projection resources.

[0334] The initiating device that sends the resource list viewing request can be any device that has established a connection with the receiving device. After receiving the resource-related information for each incomplete projection resource, the initiating device can display it on its screen via pop-ups or other means.

[0335] In one possible implementation, the method may further include: when the receiving device determines that the time interval between the current moment and the start moment of the next incomplete screen-casting resource to be displayed is a preset interval, it may first send a screen-casting display prompt message to the initiating device corresponding to the next incomplete screen-casting resource to be displayed, so that the initiating device receiving the screen-casting display prompt message will send a screen-casting display prompt to the user. The screen-casting display prompt message may include the start moment of the next third screen-casting resource to be displayed, the duration required for the screen-casting display, the end moment, and information of the receiving device (such as location, name, etc.). The implementation method of the screen-casting display prompt is similar to that of the second prompt mentioned above, and will not be elaborated here. For example, the screen-casting display prompt displayed on the screen of the initiating device may include text prompts such as "Your third screen-casting resource will start screen-casting at 13:20, with an estimated display duration of 50 minutes, ending at 14:10, and starting again in 5 minutes. Please prepare to watch." This reminds users to promptly go to the receiving device to view the third-party projection resources they requested, preventing them from missing out and ensuring they can view them on time.

[0336] In some embodiments, the preset interval can be a relatively short duration such as 10 minutes or 5 minutes, and the duration of the preset interval can be adjusted according to the user's settings. Alternatively, the preset interval can also be 0 minutes, that is, the receiving device can send a screen projection display prompt message to the initiating device corresponding to the third screen projection resource when it starts projecting the third screen projection resource.

[0337] In one possible implementation, in implementation method two, step S12 may include: after receiving the first request, the receiving device does not perform a judgment on whether the second projection resource U2 is the same as the incomplete projection resources in the resource list, but directly updates the resource list according to the request order of the second projection resource U2 indicated by the first request.

[0338] In some embodiments, the operation performed on updating the resource list in implementation method two may include: if it is determined that the request order corresponding to the second projection resource U2 is immediate projection, the receiving device can immediately project and display the second projection resource. Furthermore, the second projection resource can be recorded as the new, incomplete projection resource at the top of the current projection order in the resource list. Specifically, in implementation method two, if the receiving device determines that the request for the second projection resource U2 is also immediate projection, it can determine that the second projection resource U2 indicated by the first request is a resource requested by the user for immediate projection display, and thus the second projection resource U2 can be recorded as the new, incomplete projection resource at the top of the current projection order in the resource list.

[0339] In some embodiments, in implementation method two, since the user needs to immediately display the second projection resource U2, the display of the first projection resource U1, which is different from the second projection resource U2 and has not yet been displayed, will be forcibly stopped. The receiving device of the first projection resource U1 whose projection display has been stopped can be processed by any one of the following methods one and two:

[0340] Method 1: For the first projection resource U1 that was stopped from being displayed due to receiving the first request, the receiving device can continue to retain the projection resource record of the first projection resource U1 in the resource list. It can also add the display progress of the first projection resource U1 to the projection information in the projection resource record of the first projection resource U1, and adjust the current projection order of the first projection resource U1 to be the first projection after the second projection resource U2. That is, after updating the resource list, the projection order of the multiple incomplete projection resources recorded therein, from first to last, is: second projection resource U2, first projection resource U1, and other incomplete projection resources. Therefore, when the second projection resource U2 is displayed, the receiving device can continue to display the first projection resource U1 from that display progress point according to the display progress of the first projection resource U1 recorded in the resource list.

[0341] Method Two: For the first projection resource U1, which was stopped from displaying due to receiving the first request, the corresponding projection resource record can be directly deleted from the resource list. That is, after updating the resource list, the projection order of the multiple incomplete projection resources recorded therein, from first to last, is: second projection resource U2, other projection resources. Therefore, when the second projection resource U2 finishes displaying, the receiving device can directly display other projection resources without re-displaying the first projection resource U1.

[0342] In some embodiments, if the receiving device determines that it needs to stop the projection display of the first projection resource U1, it can directly execute step S15. In step S15, the projection display of the first projection resource U1 that is currently being projected is stopped, and the projection display of the second projection resource U2 is started.

[0343] In some embodiments, the operation performed by updating the resource list in the second implementation method may include: if it is determined that the request order corresponding to the second projection resource U2 is scheduled projection, recording the second projection resource U2 in the resource list, so that after the incomplete projection resource in the resource list that is before the second projection resource U2 in the projection order is completed, the second projection resource U2 is projected and displayed.

[0344] In some embodiments, in Implementation Method 2, if the request order corresponding to the second screen projection resource U2 is sequential screen projection, the receiving device records the second screen projection resource U2 as the last incomplete screen projection resource in the resource list. Specifically, if the receiving device determines that the request order of the second screen projection resource U2 is sequential screen projection, it can determine that the second screen projection resource U2 indicated by the first request is a resource requested by the user that needs to be displayed in a queue. Therefore, it can add the second screen projection resource U2 as the last new incomplete screen projection resource in the current screen projection order to the resource list, adding a new screen projection resource record corresponding to the second screen projection resource in the resource list.

[0345] In some embodiments, in Implementation Method 2, if the request order corresponding to the second projection resource U2 is the next projection, the receiving device records the second projection resource U2 as an incomplete projection resource immediately following the first projection resource U1 in the resource list. When the request order is the next projection, the receiving device can determine that the second projection resource U2 indicated by the first request is a resource requested by the user to be projected after the first projection resource U1 has been displayed. Therefore, the second projection resource U2 can be added to the resource list as a new incomplete projection resource that is the next projection resource displayed after the first projection resource U1 in the current projection order. That is, a new projection resource record corresponding to the second projection resource U2 is added to the resource list.

[0346] In some embodiments, in the second implementation method, if the request order corresponding to the second screen projection resource U2 is the specified scheduled screen projection, then the receiving device records the second screen projection resource U2 in the resource list according to the specified screen projection time corresponding to the second screen projection resource U2. When the request order is the specified scheduled screen projection, the receiving device can determine that the second screen projection resource U2 indicated by the first request is a resource requested by the user to be screen-projected at the specified screen projection time. Then, it treats the second screen projection resource U2 as a new incomplete screen projection resource and adds a screen projection resource record corresponding to the second screen projection resource U2 to the resource list according to the screen projection order corresponding to the specified screen projection time of the second screen projection resource.

[0347] This application also provides a screen mirroring control device, applied to a receiving device, comprising: the receiving device maintaining a resource list, the resource list being used to record one or more incomplete screen mirroring resources, the incomplete screen mirroring resources including a first screen mirroring resource currently being displayed by the receiving device and / or other screen mirroring resources reserved and waiting to be displayed, the device comprising:

[0348] The request receiving module receives a first request from the initiating device during the process of projecting the first projected resource onto the screen. The first request is used to request the projection of the second projected resource onto the screen.

[0349] In the first update module, if the request order corresponding to the second projection resource is scheduled projection, the receiving device records the second projection resource in the resource list so that after the incomplete projection resource in the resource list that is before the second projection resource is projected is displayed, the second projection resource is projected.

[0350] In one possible implementation, the device may further include:

[0351] In the immediate projection module, if the request order corresponding to the second projection resource is immediate projection, the receiving device will immediately project and display the second projection resource.

[0352] In one possible implementation, the instant projection module may include:

[0353] In the screen projection display submodule, if the request order corresponding to the second screen projection resource is "immediate screen projection", then the receiving device stops displaying the first screen projection resource and immediately projects and displays the second screen projection resource.

[0354] In the resource list update submodule, the receiving device deletes the first projection resource recorded in the resource list, or...

[0355] The receiving device records the display progress of the first screen-projected resource and does not delete the first screen-projected resource recorded in the resource list, so that after the second screen-projected resource is displayed, the first screen-projected resource can continue to be displayed according to the display progress.

[0356] In one possible implementation, the scheduled screen mirroring includes any one of sequential screen mirroring, next screen mirroring, and specified scheduled screen mirroring, wherein the specified scheduled screen mirroring corresponds to a specified screen mirroring time.

[0357] In one possible implementation, the first update module may include:

[0358] In the sequential update submodule, if the request order corresponding to the second projection resource is the sequential projection, then the receiving device records the second projection resource as the last incomplete projection resource in the resource list; or

[0359] In the next update submodule, if the request order corresponding to the second projection resource is the next projection, then the receiving device records the second projection resource as an incomplete projection resource immediately following the first projection resource in the resource list; or

[0360] If the request order corresponding to the second screen projection resource is the specified scheduled screen projection, the receiving device records the second screen projection resource in the resource list according to the specified screen projection time corresponding to the second screen projection resource.

[0361] In one possible implementation, the first request is further configured to indicate the projection information of the second projection resource, wherein the resource list records the projection information of each incomplete projection resource, the projection information including a Uniform Resource Identifier (URI), and the device may further include:

[0362] The resource acquisition module allows the receiving device to obtain the second screen-projection resource from the server based on the URI of the second screen-projection resource before projecting it onto the screen.

[0363] In one possible implementation, the first request is further used to indicate the request order of the second projection resource, and the device may further include:

[0364] The first request order determination module determines the request order corresponding to the second screen projection resource based on the first request.

[0365] In one possible implementation, the device may further include:

[0366] If the first request does not indicate the request order of the second screen projection resource, the second request order determination module determines the pre-set default request order of the receiving end as the request order corresponding to the second screen projection resource.

[0367] In one possible implementation, the resource list records the casting order corresponding to each incomplete casting resource.

[0368] In one possible implementation, the receiving device is a device that supports the DLNA protocol and is located on the same local area network as the initiating device, and the incomplete screen mirroring resources in the resource list are screen mirroring resources requested for display by one or more initiating devices.

[0369] In one possible implementation, the device may further include:

[0370] The resource list display module displays the resource list on the receiving device.

[0371] In one possible implementation, the device may further include:

[0372] In the first information sending module, the receiving device, in response to the received resource list viewing request, sends the resource-related information of each incomplete projection resource in the resource list to the initiating device that issued the resource list viewing request, so that the initiating device that issued the resource list viewing request can display the resource-related information of the incomplete projection resources.

[0373] In one possible implementation, the device may further include:

[0374] The progress sending module sends the projection progress of the second projection resource to the initiating device that issued the first request, so that the initiating device can display the projection progress of the second projection resource.

[0375] In one possible implementation, the second projection resource includes at least one projectionable object, and the first request further includes the display order of each projectionable object among all projectionable objects in the second projection resource. The resource list records the projection order corresponding to each projectionable object in the incomplete projection resources. The device may further include:

[0376] The screen projection module, during the process of displaying the second screen projection resource, sequentially displays each of the screen projectionable objects in the second screen projection resource from front to back according to the display order.

[0377] In one possible implementation, the device may further include:

[0378] The second information sending module sends a screen projection display prompt message to the initiating device corresponding to the third screen projection resource in the resource list. The screen projection display prompt message is used to prompt the initiating device corresponding to the third screen projection resource to the user that the third screen projection resource is about to be displayed or is being displayed.

[0379] The beneficial effects of each module of the screen projection control device applied to the receiving device can be found in the beneficial effects of the corresponding steps in the screen projection control method applied to the receiving device described above, and will not be repeated here.

[0380] This application also provides a screen projection control device, applied to an initiating device, the device comprising:

[0381] The first receiving module receives the user's first input, which is used to trigger a request to project the second projection resource.

[0382] The first prompt issuing module issues a first prompt, which is used to remind the user to indicate the request order of the second screen projection resource;

[0383] The second receiving module receives the user's second input and determines the request order of the second screen projection resource;

[0384] The request generation module generates a first request according to the second projection resource and the request order of the second projection resource. The first request is used to request the projection display of the second projection resource.

[0385] The request sending module sends the first request to the receiving device.

[0386] In one possible implementation, the request sequence includes immediate screen mirroring or scheduled screen mirroring. Scheduled screen mirroring includes any one of sequential screen mirroring, next screen mirroring, and specified scheduled screen mirroring. The specified scheduled screen mirroring corresponds to a specified screen mirroring time.

[0387] In one possible implementation, the second receiving module may include:

[0388] The receiving submodule receives a second input from the user applied to the immediate casting control and determines that the request order of the second casting resource is the immediate casting, or receives a second input from the user applied to the scheduled casting control and determines that the request order of the second casting resource is the scheduled casting.

[0389] In one possible implementation, the receiving submodule may include:

[0390] The first receiving submodule receives the third input from the user applied to the sequential screen casting control, and determines that the request order of the second screen casting resources is the sequential screen casting, or...

[0391] The second receiving submodule receives the third input from the user acting on the next screen mirroring control, and determines that the request order of the second screen mirroring resource is the next screen mirroring, or...

[0392] The third receiving submodule receives the third input from the user acting on the specified scheduled screen projection control, and determines that the request order of the second screen projection resource is the specified scheduled screen projection.

[0393] In one possible implementation, the device may further include:

[0394] The progress receiving module receives the projection progress of the second projection resource sent by the receiving device and displays the projection progress of the second projection resource.

[0395] In one possible implementation, the second projection resource includes at least one projectionable object, which includes any one or more of video, audio, document, and image.

[0396] In one possible implementation, the device may further include:

[0397] The object selection module receives a fourth input from the user, prior to receiving the user's first input, in which the user selects at least one projectable object.

[0398] In one possible implementation, the device may further include:

[0399] The device selection module displays identification information of at least one candidate receiving device before sending the first request to the receiving device, so that the user can select the receiving device from the at least one candidate receiving device.

[0400] In one possible implementation, the device may further include:

[0401] The message receiving module receives a screen projection display prompt message sent by the initiating device, and responds to the screen projection display prompt message to prompt the user that the receiving device is about to display or is currently displaying the second screen projection resource.

[0402] In one possible implementation, the initiating device is a device that supports the DLNA protocol and is located on the same local area network as the receiving device.

[0403] In one possible implementation, the second projection resource includes a Uniform Resource Identifier (URI).

[0404] The beneficial effects of each module of the screen projection control device applied to the initiating device can be found in the beneficial effects of the corresponding steps in the screen projection control method applied to the initiating device described above, and will not be repeated here.

[0405] Figure 7 This diagram illustrates the structure of an initiator device 100.

[0406] like Figure 7As shown, the initiating device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 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, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0407] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the initiating device 100. In other embodiments of this application, the initiating device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0408] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0409] The processor can generate operation control signals based on the instruction opcode and timing signals to control the instruction fetching and execution.

[0410] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. This memory can store instructions or data that the processor 110 has used or that are used frequently. If the processor 110 needs to use the instruction or data, it can directly retrieve it from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0411] In some embodiments, the processor 110 may include one or more interfaces. These interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 110 can connect to modules such as touch sensors, audio modules, wireless communication modules, displays, and cameras through at least one of these interfaces.

[0412] The processor 110 can execute steps S41-S43 and other steps performed by the initiating device in the screen projection control method of this application.

[0413] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the initiating device 100. In other embodiments of this application, the initiating device 100 may also employ different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.

[0414] The initiating device 100 can implement display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0415] 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 (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the initiating device 100 may include one or more display screens 194. The display screen 194 can be used to display first prompts, second prompts, etc., displayed by the initiating device to the user in the screen projection control method of this application.

[0416] The initiating device 100 can implement audio functions, such as music playback and recording, through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.

[0417] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0418] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The initiating device 100 can listen to music or output audio signals for hands-free calling through the speaker 170A. Under the control of the processor 110, the speaker 170A can emit the first prompt voice issued by the initiating device via voice, as described in the screen projection control method of this application.

[0419] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the initiating device 100 answers a phone call or voice message, it can listen to the voice by bringing the receiver 170B close to the listener's ear.

[0420] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. The initiating device 100 may have at least one microphone 170C. In some embodiments, the initiating device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, the initiating device 100 may have three, four, or more microphones 170C, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions.

[0421] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation (such as a trigger operation for a first control K1) to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of initiating device 100, in a different position than display screen 194.

[0422] Button 190 may include a power button, volume buttons, etc. Button 190 may be a mechanical button or a touch button. The initiating device 100 may receive button input and generate key signal inputs related to user settings and function control of the initiating device 100.

[0423] Figure 8 A schematic diagram of the structure of a receiving device according to an embodiment of this application is shown.

[0424] like Figure 8 As shown, the receiving device 200 may include: a processor 101A, a memory 102A, a communication circuit 103A, an antenna 104A, a sensor module 105A, and a display screen 107A. Wherein:

[0425] The processor 101A can be used to read and execute computer-readable instructions. Specifically, the processor 101A mainly includes a controller, an arithmetic logic unit (ALU), and registers. The controller is primarily responsible for instruction decoding and issuing control signals for the operations corresponding to the instructions. The ALU is primarily responsible for storing register operands and intermediate operation results temporarily stored during instruction execution. Specifically, the hardware architecture of the processor 101A can be an application-specific integrated circuit (ASIC), MIPS, ARM, or NP architecture, etc. When executing instructions, the processor 101A can perform steps S11-S18, etc., executed by the receiving device in the aforementioned screen projection control method.

[0426] In some embodiments, the processor 101A can be used to parse signals received by the communication circuit 103A.

[0427] Memory 102A is coupled to processor 101A and is used to store various software programs and / or multiple sets of instructions. In specific implementations, memory 102A may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 102A may store an operating system, such as uCOS, VxWorks, RTLinux, or other embedded operating systems. Memory 102A may also store communication programs that can be used to communicate with other devices.

[0428] The communication circuit 103A can provide solutions for wireless communication applications on receiving devices, including WLAN (such as Wi-Fi networks), BR / EDR, BLE, GNSS, FM, etc.

[0429] In other embodiments, the communication circuit 103A may also transmit signals so that other devices can discover the receiving device.

[0430] The wireless communication function of the receiving device can be implemented through antenna 104A, communication circuit 103A, modem processor, etc.

[0431] Antenna 104A can be used to transmit and receive electromagnetic wave signals. Each antenna in the receiving device can be used to cover one or more communication frequency bands.

[0432] In some embodiments, the communication circuit 103A may have one or more antennas.

[0433] The sensor module 105A may include various sensor devices for collecting information such as touch information from the receiving device 200, such as touch sensors, etc.

[0434] The receiving device may also include a display screen 107A, which can be used to display images, prompts, etc. The display screen can be a liquid crystal display (LCD), an organic light-emitting diode (OLED) display screen, an active-matrix organic light-emitting diode (AMOLED) display screen, a flexible light-emitting diode (FLED) display screen, a quantum dot light-emitting diode (QLED) display screen, etc. The display screen 107A is used for projecting the aforementioned resources.

[0435] In some embodiments, the receiving device may further include a serial interface such as an RS-232 interface. This serial interface can be connected to other devices, such as audio external playback devices like smart speakers, enabling the receiving device and the audio external playback device to collaborate in playing audio and video.

[0436] Understandable Figure 8 The illustrated structure does not constitute a specific limitation on the receiving device. In other embodiments of this application, the receiving device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0437] An embodiment of this application provides a screen projection device, including: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions.

[0438] Embodiments of this application provide a non-volatile computer-readable storage medium storing computer program instructions thereon, which, when executed by a processor, implement the above-described method.

[0439] Embodiments of this application provide a computer program product including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.

[0440] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), electrically programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital video disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing.

[0441] The computer-readable program instructions or code described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0442] The computer program instructions used to perform the operations of this application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" or similar languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, 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 (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), are personalized by utilizing state information from computer-readable program instructions. These electronic circuits can execute computer-readable program instructions to implement various aspects of this application.

[0443] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0444] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0445] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0446] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.

[0447] It should also be noted that each block in the block diagram and / or flowchart, as well as combinations of blocks in the block diagram and / or flowchart, can be implemented using hardware (such as circuits or ASICs (Application Specific Integrated Circuits)) that performs the corresponding function or action, or using a combination of hardware and software, such as firmware.

[0448] Although the invention has been described herein in conjunction with various embodiments, those skilled in the art will understand and implement other variations of the disclosed embodiments by reviewing the accompanying drawings, disclosure, and appended claims in carrying out the claimed invention. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0449] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A screen projection control method, applied to a receiving end device, and having the steps of: The receiving end device maintains a resource list, which is used to record one or more unfinished screen projection resources, the unfinished screen projection resources including a first screen projection resource being projected by the receiving end device and / or other screen projection resources being reserved and waiting for projection, and the method comprises: The receiving end device receives a first request from the initiating end device in the process of projecting the first screen projection resource, wherein the first request is used to request to project a second screen projection resource; If the request sequence corresponding to the second screen projection resource is reservation projection, the receiving end device records the second screen projection resource in the resource list, so as to project the second screen projection resource after the unfinished screen projection resources in front of the second screen projection resource in the resource list are projected and displayed; If the request sequence corresponding to the second screen projection resource is immediate projection, the receiving end device immediately projects and displays the second screen projection resource; If the request sequence corresponding to the second screen projection resource is the immediate projection, the receiving end device stops displaying the first screen projection resource and immediately projects and displays the second screen projection resource; The receiving end device deletes the first screen projection resource recorded in the resource list, or The receiving end device records the display progress of the first screen projection resource and does not delete the first screen projection resource recorded in the resource list, so as to continue to display the first screen projection resource according to the display progress after the second screen projection resource is projected and displayed; The method further comprises: sending the projection progress of the second screen projection resource to the initiating end device sending the first request, so that the initiating end device displays the projection progress of the second screen projection resource. The reservation projection includes any one of sequential projection, next projection and designated reservation projection, and the designated reservation projection corresponds to a designated projection time.

2. The method of claim 1, wherein, If the request sequence corresponding to the second screen projection resource is reservation projection, the receiving end device records the second screen projection resource in the resource list, specifically comprising:

3. The method of claim 2, wherein, If the request sequence corresponding to the second screen projection resource is the sequential projection, the receiving end device records the second screen projection resource as the last unfinished screen projection resource in the resource list; or If the request sequence corresponding to the second screen projection resource is the next projection, the receiving end device records the second screen projection resource as the unfinished screen projection resource following the first screen projection resource in the resource list; or If the request sequence corresponding to the second screen projection resource is the designated reservation projection, the receiving end device records the second screen projection resource in the resource list according to the designated projection time corresponding to the second screen projection resource. ​ 4. The method according to any one of claims 1 to 3, characterized in that, The first request is also used to indicate the screen projection information of the second screen projection resource, the resource list records the screen projection information of each unfinished screen projection resource, the screen projection information comprises a uniform resource identifier (URI), and the method further comprises the following steps: The receiving end device acquires the second screen projection resource from a server according to the URI of the second screen projection resource before the second screen projection resource is displayed.

5. The method according to any one of claims 1 to 3, characterized in that, The first request is also used to indicate the request sequence of the second screen projection resource, and the method further comprises the following steps: According to the first request, the request sequence corresponding to the second screen projection resource is determined.

6. The method according to any one of claims 1 to 3, characterized in that, The method further comprises the following steps: If the request sequence of the second screen projection resource is not indicated in the first request, a preset default request sequence of the receiving end is determined as the request sequence corresponding to the second screen projection resource.

7. The method according to any one of claims 1 to 3, characterized in that, The resource list records the screen projection sequence corresponding to each unfinished screen projection resource.

8. The method according to any one of claims 1 to 3, characterized in that, The receiving end device is a device supporting a DLNA protocol and located in the same local area network as the initiating end device, and the unfinished screen projection resource in the resource list is a screen projection resource requested to be displayed by one or more initiating end devices.

9. The method according to any one of claims 1 to 3, characterized in that, The method further comprises the following steps: The receiving end device displays the resource list.

10. The method of any one of claims 1-3, wherein, The method further comprises the following steps: The receiving end device sends the resource-related information of each unfinished screen projection resource in the resource list to an initiating end device sending a resource list viewing request, so that the initiating end device sending the resource list viewing request displays the resource-related information of the unfinished screen projection resource.

11. The method of any one of claims 1-3, wherein, The second screen projection resource comprises at least one screen projection object, the first request further comprises the display sequence of each screen projection object in all screen projection objects of the second screen projection resource, the resource list records the corresponding screen projection sequence of each screen projection object in the unfinished screen projection resource, and the method further comprises the following steps: In the process of displaying the second screen projection resource, the screen projection objects in the second screen projection resource are displayed in sequence from front to back according to the display sequence.

12. The method of any one of claims 1-3, wherein, The method further comprises the following steps: The receiving end device sends a screen projection display prompt message to an initiating end device corresponding to a third screen projection resource in the resource list, and the screen projection display prompt message is used to prompt the initiating end device corresponding to the third screen projection resource to prompt a user that the third screen projection resource is about to be displayed or is being displayed.

13. A screen projection control method, characterized by, Applied to an initiating end device, the method comprises the following steps: Receiving a first input of a user, the first input is used to trigger a request to display a second screen projection resource; Issuing a first prompt, the first prompt is used to remind the user to indicate the request sequence of the second screen projection resource; Receiving a second input of the user, and determining the request sequence of the second screen projection resource; Generating a first request according to the second screen projection resource and the request sequence of the second screen projection resource, the first request is used to request to display the second screen projection resource; sending the first request to the receiving end device, so that the receiving end device records the second screen projection resource to a resource list in a case that it is determined that the request order corresponding to the second screen projection resource is pre-booking screen projection, and displays the second screen projection resource after screen projection display of an unfinished screen projection resource located before the second screen projection resource in the resource list is completed; or, in a case that it is determined that the request order corresponding to the second screen projection resource is immediate screen projection, stops displaying the first screen projection resource and immediately displays the second screen projection resource, and deletes the first screen projection resource recorded in the resource list, or records display progress of the first screen projection resource and does not delete the first screen projection resource recorded in the resource list, so as to continue displaying the first screen projection resource according to the display progress after screen projection display of the second screen projection resource is completed; The resource list is used to record one or more unfinished screen projection resources, the unfinished screen projection resources include the first screen projection resource being displayed by the receiving end device and / or other screen projection resources being pre-booked and waiting for display; the request order includes the immediate screen projection or the pre-booking screen projection, the pre-booking screen projection includes any one of the sequential screen projection, the next screen projection and the designated pre-booking screen projection, and the designated pre-booking screen projection corresponds to a designated screen projection time.

14. The method of claim 13, wherein, The second input of the receiving user is used to determine the request order of the second screen projection resource, and specifically includes: The second input of the receiving user is used to determine the request order of the second screen projection resource, and specifically includes:

15. The method of claim 14, wherein, The second input of the receiving user is used to determine the request order of the second screen projection resource, and specifically includes: The third input of the receiving user is used to determine the request order of the second screen projection resource, and specifically includes: The third input of the receiving user is used to determine the request order of the second screen projection resource, and specifically includes: The third input of the receiving user is used to determine the request order of the second screen projection resource, and specifically includes:

16. The method according to any one of claims 13-15, characterized in that, The second screen projection resource includes at least one screen projection object, and the screen projection object includes any one or more of a video, an audio, a document and a picture.

17. The method of claim 16, wherein, Before the first input of the receiving user, the method further includes: The fourth input of the receiving user is used to select at least one screen projection object.

18. The method according to any one of claims 13-15, characterized by, Before the first request is sent to the receiving end device, the method further includes: Displaying identification information of at least one candidate receiving end device, so that the user selects the receiving end device from the at least one candidate receiving end device.

19. The method according to any one of claims 13-15, characterized in that, The method further includes: Receiving a screen projection display prompt message sent by the initiating end device, and in response to the screen projection display prompt message, prompting the user that the receiving end device is about to display or is displaying the second screen projection resource.

20. The method of any one of claims 13-15, wherein, The initiating end device is a device supporting a DLNA protocol and located in the same local area network as the receiving end device.

21. The method of any one of claims 13-15, wherein, The second screen-casting resource includes a uniform resource identifier (URI).

22. An electronic device, comprising: Comprise: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to cause the electronic device to implement the method of any one of claims 1-12, or implement the method of any one of claims 13-21.

23. A non-transitory computer readable storage medium having stored thereon computer program instructions, wherein, The computer program instructions, when executed by the processor, implement the method of any one of claims 1-12, or implement the method of any one of claims 13-21.

24. A computer program product comprising computer readable code which, when run in an electronic device, causes the electronic device to perform the method of any one of claims 1-12, or perform the method of any one of claims 13-21.

Citation Information

Patent Citations

  • Screen projection method and device

    CN111124342A