A display method and apparatus of a casting interface
By displaying the correspondence between logical-level broadcast entry points and physical devices in the broadcast interface and using a sorting strategy for categorized display, the problem of users being unable to distinguish between logical devices and physical devices is solved, thereby improving the accuracy of broadcasting and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-01-06
- Publication Date
- 2026-07-07
AI Technical Summary
On the casting interface, users cannot distinguish the correspondence between logical devices and physical devices, resulting in a discrepancy between the physical device the user expects to cast to and the actual physical device being cast to, thus affecting the user experience.
By reflecting the correspondence between logically hierarchical broadcast entry points and physical devices in the broadcast interface, sorting strategies are used for categorized display, such as dividing areas, setting multi-level menus, prioritizing the display of frequently used user devices, adding labels to devices, and setting display priorities.
It improves the accuracy of users' selection of broadcast entry points, reduces the problem of inconsistency between the physical device that users expect to broadcast on and the physical device that is actually broadcast on, and improves the user's broadcast efficiency and user experience.
Smart Images

Figure CN122349033A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a method and device for displaying a broadcast interface. Background Technology
[0002] Casting allows you to project screen content or media data from one device onto another for display and / or playback, providing a better visual experience and immersion. For example, casting can project videos, images, or live streams from devices like smartphones, tablets, and laptops onto large-screen devices such as TVs and projectors for a superior viewing experience. Another example is casting audio from a mobile phone to smart home devices like smart speakers.
[0003] Currently, not only can the operating system of the device being broadcasted provide broadcast entry points, but some active clients on the device can also provide these entry points. Therefore, multiple broadcast entry points may be displayed on the broadcasting device, which can be understood as logical-level broadcast devices (or simply "logical devices"). However, the broadcasting interface does not clearly show the correspondence between logical devices and physical-level broadcast devices (or "physical devices"), making it difficult for users to distinguish between them. Furthermore, in scenarios with multiple physical devices, there may be a discrepancy between the physical device the user expects to broadcast from and the actual physical device being broadcast from, resulting in a poor user experience. Summary of the Invention
[0004] This application provides a method and device for displaying a broadcast interface, which provides a technical solution for optimizing the broadcast interface. The broadcast interface can reflect the correspondence between logical devices and physical devices, thereby making it easier for users to broadcast more accurately and improving the user experience.
[0005] A first aspect provides a method for displaying a broadcast interface. This method is applied to a first device. In this method, a broadcast operation is detected; in response to the broadcast operation, a first interface is displayed; wherein the first interface includes M1 broadcast entry points and M2 broadcast entry points, the M1 broadcast entry points indicating that the first device can broadcast to a second device with M1 options, and the M2 broadcast entry points indicating that the first device can broadcast to a third device with M2 options, where M1 is an integer not less than 1, M2 is an integer not less than 1, and the second device and the third device are different physical devices.
[0006] This method, by displaying the correspondence between logically hierarchical broadcast entry points and physical devices within the broadcast interface, allows users to determine which broadcast entry points correspond to the target physical device they wish to broadcast to. This enables the accurate selection of the appropriate broadcast entry point from multiple corresponding entry points. This reduces the likelihood of discrepancies between the user's desired broadcast device and the actual broadcast device, improving broadcast efficiency and enhancing the user experience.
[0007] In one possible scenario, the M1 broadcast entry points are displayed in the first area, and the M2 broadcast entry points are displayed in the second area, with the first area and the second area being different areas; or, the M1 broadcast entry points have a first identifier, and the M2 broadcast entry points have a second identifier, with the first identifier and the second identifier being different identifiers.
[0008] In this scenario, by classifying and displaying the broadcast entry points corresponding to different logical levels of physical devices in the broadcast interface, such as by dividing them into different areas or different identifiers, users can easily determine which logical level broadcast entry points correspond to the target physical device through the area or identifier. This allows users to quickly select the appropriate broadcast entry point and improves their broadcast efficiency.
[0009] In one possible scenario, the first interface includes a first-level menu and a second-level menu; wherein the first-level menu is used to display the broadcast entry of the first broadcast source; and the second-level menu is used to display the broadcast entry of the second broadcast source.
[0010] In this scenario, setting up multi-level menus based on different broadcast sources makes it easier for users to select the target broadcast entry more accurately based on the broadcast source, thus improving the user experience of broadcasting.
[0011] In one possible scenario, the first broadcast source is the device's operating system, and the second broadcast source is the client.
[0012] In this scenario, by distinguishing between broadcast entry points originating from the operating system and those from third-party interfaces within the broadcast interface, users can easily select the appropriate broadcast entry point for different broadcast scenarios, thereby improving broadcast efficiency and user experience. Furthermore, this scenario allows users to quickly identify which broadcast entry points originate from the operating system of the device being broadcast to, guiding them to prioritize broadcast methods originating from the operating system for a superior broadcast experience.
[0013] In one possible scenario, the first broadcast entry is displayed at a first display position on the first interface; wherein, the first broadcast entry is the one that is used most frequently among the M1 broadcast entries and / or the M2 broadcast entries, or the one that was used last time.
[0014] In this scenario, displaying frequently used or previously used broadcast entry points on the broadcast interface can improve the efficiency of broadcasting and make it easier for users to choose their preferred broadcast entry points.
[0015] In one possible scenario, the second broadcast entry point displays a label indicating the device capabilities of the second broadcast entry point.
[0016] In this scenario, by displaying the device capabilities of different broadcast entry points on the broadcast interface, users can easily select the appropriate broadcast entry point based on its capabilities, thereby improving the efficiency of the user selection process and enhancing the user experience.
[0017] In the above scenario, the device capabilities may include, but are not limited to, at least one of the following: resolution level, bullet comments.
[0018] In this scenario, displaying resolution levels in the casting portal allows users to easily select a higher-resolution portal for a better viewing experience. Alternatively, displaying bullet comments in the casting portal allows users to choose a portal with higher bullet comment levels when they want to see bullet comments, thus better meeting their casting needs.
[0019] In one possible scenario, the M1 and / or M2 broadcast entry points are displayed in a first display order; wherein the first display order is preset.
[0020] In this scenario, by pre-defining the display order of the broadcast entry points in the broadcast interface, it is convenient to provide different display orders for different business scenarios, thus meeting the broadcast needs of various scenarios.
[0021] The second aspect provides a display system for a broadcast interface, which may include a first device, a second device, and a third device. This system is used to implement the methods described in the first aspect and its various possible scenarios. In other possible embodiments, more broadcast devices may be included, such as a fourth device, a fifth device, etc. This application does not limit the number of broadcast devices included in the system.
[0022] A third aspect provides a device comprising multiple functional modules; the multiple functional modules interact to implement the methods described in the first aspect and its various possible scenarios. The multiple functional modules can be implemented based on software, hardware, or a combination of both, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations.
[0023] A fourth aspect provides an apparatus including at least one processor and at least one memory, wherein one or more programs are stored in the at least one memory, and when the one or more programs are executed by the one or more processors, the apparatus causes the apparatus to perform the methods described in the first aspect and its various possible scenarios.
[0024] Optionally, the device can be understood as a first device, which can detect the broadcast operation; in response to the broadcast operation, a first interface is displayed; wherein, the first interface includes M1 broadcast entry points and M2 broadcast entry points, the M1 broadcast entry points are used to indicate that the first device broadcasts to the second device with M1 options, and the M2 broadcast entry points are used to indicate that the first device broadcasts to the third device with M2 options, M1 is an integer not less than 1, M2 is an integer not less than 1, and the second device and the third device are different physical devices.
[0025] The fifth aspect also provides a program product (also known as a computer program product) that, when the program product is run on a device, causes the device to perform the methods described in any of the above aspects and their various possible scenarios.
[0026] The sixth aspect also provides a readable storage medium (also known as a computer-readable storage medium) storing a program that, when executed by a device, causes the device to perform the methods described in any of the above aspects and their various possible scenarios.
[0027] The seventh aspect also provides a chip for reading a program stored in a memory and executing the methods described in any of the foregoing aspects and their various possible scenarios.
[0028] The eighth aspect also provides a chip system including a processor for supporting a device in implementing the methods described in any of the foregoing aspects and their various possible scenarios. In one possible scenario, the chip system further includes a memory for storing the necessary programs and data. The chip system may be composed of chips or may include chips and other discrete devices.
[0029] The beneficial effects described in aspects two through eight can be found in aspect one and its various possible scenarios, and will not be repeated here. Attached Figure Description
[0030] Figure 1A This is a schematic diagram of a home screen mirroring scenario;
[0031] Figure 1B This is a schematic diagram of a possible broadcast interface;
[0032] Figure 2 A schematic diagram of the hardware structure of a possible first device 200 provided for an embodiment of this application;
[0033] Figure 3 A software structure block diagram of a first device 200 provided in an embodiment of this application;
[0034] Figure 4 A schematic diagram of the system architecture applicable to a method for displaying a broadcast interface provided in an embodiment of this application;
[0035] Figure 5 This is a schematic diagram of the homepage of a television 10 provided in an embodiment of this application;
[0036] Figure 6 A schematic diagram of a possible broadcast interface provided in an embodiment of this application;
[0037] Figure 7 A schematic diagram of another possible broadcast interface provided for an embodiment of this application;
[0038] Figure 8 A schematic diagram of another possible broadcast interface provided for an embodiment of this application;
[0039] Figure 9 One of the flowcharts illustrating a method for displaying a broadcast interface according to an embodiment of this application;
[0040] Figure 10 This is a second flowchart illustrating a method for displaying a broadcast interface, as provided in an embodiment of this application. Detailed Implementation
[0041] The embodiments of this application will now be described in detail with reference to the accompanying drawings and examples.
[0042] The method provided in this application can be applied to projection scenarios. For example, a projection scenario may include projecting the screen content of one device onto another device for display, which can also be understood as a screen projection scenario. Another example is that a projection scenario may also include projecting audio data from one device onto another device for playback.
[0043] For example, Figure 1A This is a schematic diagram illustrating a home screen mirroring scenario. (For example...) Figure 1AIn the home scenario shown, the physical devices may include a TV 10 located in the living room and a TV 20 located in the bedroom, both of which are online.
[0044] based on Figure 1A The family scene shown Figure 1B This is a schematic diagram of a possible screen mirroring interface. Taking screen mirroring initiated on a mobile phone as an example, interface 101 shown in 1B is a schematic diagram of a possible screen mirroring interface. As can be seen from interface 101, it includes multiple screen mirroring entry points, such as Living Room TV 102, My Huawei TV 103, My Mini TV 104, My TV A 105, Smart Screen TV 106, and My TV B 107. These multiple screen mirroring entry points can be understood as logical devices, and the physical device corresponding to each logical device is... Figure 1A TV 10 or TV 20.
[0045] In one possible scenario, when a user wants to cast a video from their phone to the TV 10 in the living room, they can do so via methods such as... Figure 1B As shown in the casting interface 101, users cannot clearly identify which of the six logical devices listed in interface 101 corresponds to the physical device TV 10. Understandably, if the user selects a logical device that corresponds to the physical device TV 20, the user needs to disconnect the casting and reselect another logical device, which may also affect the playback on TV 20. Therefore, this results in a poor user experience.
[0046] In view of this, embodiments of this application provide a method and device for displaying a broadcast interface. The method provides a technical solution for displaying the broadcast interface according to a sorting strategy for broadcast entry points, thereby optimizing the display of broadcast entry points in the broadcast interface and reflecting the correspondence between logically hierarchical broadcast entry points and physical devices. The sorting strategy can categorize and display multiple broadcast entry points according to their corresponding physical devices. Thus, by reflecting the correspondence between broadcast entry points and physical devices in the broadcast interface, the accuracy of user selection of broadcast entry points can be improved, reducing the problem of inconsistencies between the physical device the user expects to broadcast on and the actual physical device on which the broadcast is performed.
[0047] For example, a sorting strategy may include categorizing and displaying multiple broadcast entry points corresponding to the same physical device. Another example is that, in addition to categorizing and displaying multiple broadcast entry points corresponding to the same physical device, a sorting strategy may also include, but is not limited to, at least one of the following: setting up multi-level menus, prioritizing the display of frequently used devices, adding tags to devices, and setting display priorities. In this way, by optimizing the broadcast interface, the display effect of the broadcast interface can be improved, thereby increasing the accuracy of users selecting broadcast entry points and enhancing the user experience of the broadcast function.
[0048] The following embodiments use a first device 200 as the device initiating the broadcast and a second device 300 as the device receiving the broadcast as examples to describe the method provided in this application. It is understood that the first device 200 in this application embodiment can be a device initiating the broadcast, such as a mobile phone, tablet computer, or laptop computer; and the second device 300 in this application embodiment can be a device receiving the broadcast, such as a large screen, projector, smart speaker, or even a mobile phone, tablet computer, or laptop computer. Furthermore, this application embodiment does not limit the specific type of the first device 200 or the second device 300. Devices that can be applied to this application embodiment include, but are not limited to, devices equipped with… Or devices with other operating systems.
[0049] Figure 2 This is a schematic diagram of the hardware structure of a possible first device 200 provided in an embodiment of this application. The first device 200 includes components such as a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a wireless-fidelity (Wi-Fi) module 290. Those skilled in the art will understand that... Figure 2 The hardware structure of the first device 200 shown in the figure does not constitute a limitation on the first device 200. The first device 200 provided in the embodiments of this application may include more or fewer components than shown, may combine two or more components, or may have different component configurations. Figure 2 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0050] The following is combined Figure 2 The various components of the first device 200 are described in detail below:
[0051] The RF circuit 210 can be used for receiving and sending data during communication or a call. Typically, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc.
[0052] Wi-Fi technology is a short-range wireless transmission technology. The first device 200 can connect to an access point (AP) via Wi-Fi module 290, thereby enabling access to the data network. The Wi-Fi module 290 can be used for receiving and sending data during communication.
[0053] In this embodiment, when the first device 200 is a mobile phone and the second device is a television, the mobile phone can communicate with the television through the Wi-Fi module 290. For example, if the mobile phone and the television are connected to the same Wi-Fi network, when the mobile phone detects a casting operation, it can send a discovery message through the Wi-Fi module 290 in response to the casting operation; the television can receive the discovery message sent by the mobile phone through the Wi-Fi module 290, thereby realizing the device connection between the mobile phone and the television, and thus enabling the screen content on the mobile phone to be cast to the television.
[0054] The first device 200 can physically connect to other devices through the communication interface 280. Optionally, the communication interface 280 can be connected to the communication interfaces of other devices via a cable to enable data transmission between the first device 200 and other devices.
[0055] The first device 200 can also perform communication services and interact with servers or other devices. Therefore, the first device 200 needs to have data transmission capabilities, meaning that the first device 200 needs to include a communication module. Although Figure 2 The RF circuit 210, the Wi-Fi module 290, and the communication interface 280 are shown, but it is understood that the first device 200 contains at least one of the above-mentioned components or other communication modules (such as a Bluetooth module) for implementing communication and data transmission.
[0056] The memory 240 can be used to store software programs and software modules. The processor 230 executes various functional applications and data processing of the first device 200 by running the software programs and software modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. The program storage area may store the operating system (mainly including software programs or software modules corresponding to the kernel layer, system layer, application framework layer, and application layer). In addition, the memory 240 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0057] In this embodiment of the application, when the first device 200 is a mobile phone, the supported broadcast protocol can be stored in the memory 240. For example, the broadcast protocol can be implemented based on the Digital Living Network Alliance (DLNA), specifically the Unicersal Plug and Play (UPnP) protocol.
[0058] The input unit 250 can be used to receive editing operations of various types of data objects, such as numbers or characters, input by the user, and to generate key signal inputs related to user settings and function control of the first device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252. The touch panel 251, also known as a touch screen, can collect touch operations performed by the user on or near it (e.g., operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 251), and drive corresponding connection devices according to a pre-set program. In this embodiment, the touch panel 251 can collect, but is not limited to, the following touch operations: initiating a broadcast operation and selecting a broadcast entry point.
[0059] Optionally, the other input device 252 may include, but is not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), mouse, joystick, etc.
[0060] The display unit 260 can be used to display information input by the user or information provided to the user, as well as various menus of the first device 200. The display unit 260 is the guidance system of the first device 200, used to present the interface and realize human-computer interaction. The display unit 260 may include a display panel 261; for example, the display unit 260 may be a monitor. In this embodiment, the display unit 260 can be used to display the projection interface involved in the method provided in this application. For example, the multiple projection entrances included in the projection interface provided in this embodiment can be categorized and displayed according to different physical devices, and can also be displayed in divided areas, distinguished by different identifiers, etc.
[0061] The processor 230 is the control center of the first device 200. It connects various components via various interfaces and lines, and executes software programs and / or software modules stored in the memory 240, as well as calling data stored in the memory 240, to perform various functions and process data of the first device 200, thereby realizing multiple services based on the first device 200. In this embodiment, the processor 230 can be used to implement the method provided in this embodiment, used to determine the display order of multiple broadcast entry points according to a sorting strategy, and then display the broadcast interface through the display unit 260.
[0062] The audio circuit 270 may include a microphone 271 and a speaker 272.
[0063] although Figure 2As not shown in the diagram, the first device 200 may also include a camera, at least one sensor, etc., which will not be described in detail here. The at least one sensor may include, but is not limited to, an accelerometer, a proximity sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.
[0064] Alternatively, the device 200 may further include a graphics processing unit (GPU). The GPU can be used to render images. In this embodiment, the GPU can be used to render a projection interface.
[0065] The operating system (OS) involved in this application embodiment is the most basic system software running on the first device 200. The software system of the first device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment takes an operating system adopting a layered architecture as an example to illustrate the software structure of the first device 200.
[0066] Figure 3 This is a software structure block diagram of a first device 200 provided for an embodiment of this application. For example... Figure 3 As shown, the device's software architecture can be a layered architecture, for example, the software can be divided into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, the kernel layer, and the hardware layer.
[0067] The application layer can include a series of application packages. For example... Figure 3 As shown, the application layer may include settings, user interface (UI), wireless local area network (WLAN), Bluetooth, camera, media applications (APP), etc.; among which, media applications may include, but are not limited to, music, video, photo album, live streaming, etc. This embodiment of the application can be applied to scenarios where broadcasting is required while using media applications.
[0068] In one possible implementation, the application can be developed using Java, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system layers (such as the hardware layer and kernel layer) to develop their own applications. This application framework layer primarily consists of a series of services and management systems within the operating system.
[0069] The application framework layer provides application programming interfaces and a programming framework for applications within the application layer. The application framework layer includes some predefined functions.
[0070] In this embodiment, the application framework layer may include a broadcast development kit. This broadcast development kit can be used to implement broadcast services. For example, it can be used to encapsulate broadcast services and interfaces, providing APIs to developers for application development.
[0071] For example, the broadcast development kit may include a broadcast function subsystem, which is used to implement the logic of broadcast functionality. This broadcast function subsystem may include, but is not limited to, a protocol stack function module and a device sorting strategy module.
[0072] (1) Protocol stack functional module, used to support the implementation of various standard broadcast protocols. In this embodiment, the protocol used in the broadcast scenario is not limited.
[0073] (2) A device sorting strategy module is used to implement the sorting priority of broadcast entry points in broadcast scenarios. In this embodiment, the sorting strategy can be pre-configured. For example, the sorting strategy can be determined by, but is not limited to, one of the following: classifying and displaying multiple broadcast entry points corresponding to the same physical device, setting multi-level menus, prioritizing the display of frequently used devices, adding tags to devices, and setting display priority.
[0074] like Figure 3 As shown, the application framework layer may also include an activity manager, window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0075] The Activity Manager manages the lifecycle of individual applications and provides common navigation and back functions, offering an interactive interface for all program windows. The Window Manager manages windowed applications. The Content Provider stores and retrieves data, making that data accessible to applications. The View System includes visual controls, such as controls for displaying text and controls for displaying images. The View System can be used to build applications. A display interface can consist of one or more views, such as views for displaying text and views for displaying images. The Resource Manager provides various resources for applications. The Notification Manager allows applications to display notifications in the status bar, which can be used to convey informative messages.
[0076] The runtime includes the core libraries and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0077] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core libraries of the operating system. The application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0078] A system library can include multiple functional modules. For example: a surface manager, a media framework, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc.
[0079] The Surface Manager is used to manage the display subsystem.
[0080] The media framework supports playback and recording of various commonly used audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, and MP3. In this embodiment, the media framework can be used to manage resources to be broadcast.
[0081] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0082] A two-dimensional graphics engine is a drawing engine for two-dimensional drawing. In the embodiments of this application, the drawing of the projection interface can be realized through a two-dimensional graphics engine.
[0083] In some embodiments, a 3D graphics processing library can be used to draw 3D motion images, and a 2D graphics engine can be used to draw 2D motion images.
[0084] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver and audio driver.
[0085] The hardware layer may include display units, audio circuits, etc.
[0086] Typically, the first device 200 can run multiple applications simultaneously. In a simpler scenario, one application can correspond to one process; in a more complex scenario, one application can correspond to multiple processes. Each process has a unique process ID.
[0087] It should be understood that in the embodiments of this application, "at least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple. "Multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0088] In addition, it should be understood that in the description of this application, the words "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance or order.
[0089] It should be understood that the hardware structure of the device can be as follows: Figure 2 As shown, the software system architecture can be as follows: Figure 3 As shown, the software programs and / or modules corresponding to the software system architecture in the device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the flow of a display method for a projection interface provided in this application embodiment.
[0090] To facilitate understanding of the display method for the broadcast interface provided in this application, the following is combined with... Figures 4 to 9 The content shown describes the implementation process of the method provided in this application.
[0091] Figure 4 This is a schematic diagram of a system architecture applicable to a method for displaying a broadcast interface provided in an embodiment of this application. The system may include a first device 200 and M second devices 300. The first device 200 can be understood as the device initiating the broadcast, and the second devices 300 can be understood as the physical devices being broadcast to. Figure 4As shown, the first device 200 can be a mobile phone, and the M second devices 300 can be: TV 10, TV 20 and projector.
[0092] Taking TV10 as an example, TV10 can provide casting access methods including but not limited to: the TV's operating system and client applications. For example, Figure 5 This is a schematic diagram of the homepage of a television 10 provided in an embodiment of this application. Figure 5 As shown in interface 500, the TV 10 can have Huawei Video application, A Video application, and B Video plugin installed. These three applications can all function as clients, providing a casting / broadcasting entry point. It should be noted that this embodiment does not limit the form of the client; it can be an application or a plugin, etc.
[0093] like Figure 5 As shown, when the Huawei Video app, Video A app, and Video B widget are all online, the TV 10 can provide at least four casting options. These include casting option 1 provided by the TV 10's operating system, casting option 2 provided by the Huawei Video app, casting option 3 provided by the Video A app, and casting option 4 provided by the Video B widget. Therefore, at least four casting options can be found on the phone at this time. Additionally, the casting options provided by the TV 10 can also be understood as the options for casting to the TV 10, meaning the phone can offer four casting options to the TV 10.
[0094] based on Figure 4 and Figure 5 In the scenario shown, the method provided in this application embodiment can sort multiple broadcast entry points displayed on the broadcast interface by pre-setting a sorting strategy. The sorting strategy may include, but is not limited to, at least one of the following:
[0095] (1) Multiple broadcast entry points corresponding to the same physical device are displayed in categories.
[0096] For example, multiple broadcast entry points corresponding to the same physical device can serve as multiple selectable options for broadcasting to that physical device. Broadcasting to that physical device can be achieved from any of these multiple options.
[0097] In one possible example, multiple broadcast entry points corresponding to the same physical device can be displayed in one area. For example, multiple broadcast entry points corresponding to physical device 1 can be displayed in the first area, and multiple broadcast entry points corresponding to physical device 2 can be displayed in the second area.
[0098] For example, Figure 6 This is a schematic diagram of a possible broadcast interface provided in an embodiment of this application. Figure 6As shown in interface 600A, this is the video playback interface displayed on the mobile phone, which may include a screen casting control 601. In interface 600A, in response to a click operation on the screen casting control 601, interface 600B can be displayed.
[0099] As shown in interface 600B, selectable broadcast entry points can be displayed. It should be noted that the method of displaying the broadcast interface for logical entry points is not limited in this embodiment. For example, interface 600B shows a semi-modal form, but it can also be displayed through a new level interface, a pop-up interface, etc.
[0100] Combination Figure 4 and Figure 5 In the example provided, the projection entry points included in area 602 of interface 600B all correspond to television 10. For ease of understanding, the correspondence between projection entry points and physical devices is shown in Table 1 below:
[0101] Table 1
[0102]
[0103] As shown in Table 1 above, the four types of broadcast entry points included in area 602 all correspond to the same physical device, and therefore are displayed in the same area.
[0104] Additionally, referring to the description in Table 1, the Smart Screen TV and my small TV displayed in interface 600B both correspond to TV 20, and therefore are displayed in the same area.
[0105] It should be noted that the specific form of the categorized display is not limited in this application embodiment. It can be displayed adjacently as shown in interface 600B, or obvious categorization marks can be added, such as adding the same mark 1 to multiple casting entrances corresponding to TV 10, and adding the same mark 2 to multiple casting entrances corresponding to TV 20, etc.
[0106] In some possible implementations, broadcast entry points can be segmented using Internet Protocol (IP) addresses to identify broadcast entry points corresponding to the same physical device.
[0107] (2) Set up multi-level menus.
[0108] Based on Table 1 above, the sources of broadcast entry points can be divided into operating system level and client level. Based on this, multi-level menus can be set up. For example, broadcast entry points from the operating system level can be displayed through a first-level menu, while broadcast entry points from the client level can be displayed through a second-level menu. Broadcast entry points from the client level can also be understood as broadcast entry points from non-operating system sources or third-party sources.
[0109] For example, multi-level menus can be set up as shown in Table 2 below.
[0110] Table 2
[0111]
[0112] Combination Figure 6 As shown, in interface 600A, in response to a click on the screen mirroring control 601, interface 600C can also be displayed. As shown in area 603 of interface 600C, the displayed first-level menu can include Living Room TV 603a, and the displayed second-level menu can include: My Huawei TV 603b, My A TV 603c, and My B TV 603d.
[0113] It should be noted that, Figure 6 The different hanging indent values shown for the first-level and second-level menus are merely one possible display example, and the display format of the first-level and second-level menus is not limited in this embodiment. For example, the first-level menu can be set to direct display, and the second-level menu can be set to collapsed display. Collapsed display can be understood as being displayed only when an operation to expand the second-level menu is detected. Furthermore, the first-level and second-level menus can also be distinguished by different font sizes.
[0114] In addition, such as Figure 6 As shown, combined with the strategy of "categorizing and displaying multiple broadcast entry points corresponding to the same physical device" introduced earlier, broadcast entry points in each area can be displayed separately through multi-level menus in different areas.
[0115] Optionally, the first-level menu can be displayed first in the current area.
[0116] (3) Prioritize displaying frequently used devices by users.
[0117] For example, the number of times a user frequently uses a device can be recorded, and the device with the highest number of uses can be displayed first.
[0118] For example, Figure 7 This is a schematic diagram illustrating another possible broadcast interface provided in an embodiment of this application. For example... Figure 7 As shown, in interface 600A, in response to a click operation on the projection control 601, interface 700A or interface 700B can also be displayed.
[0119] For example, in area 701 of interface 700A, compared to area 602 of interface 600B, My A TV (frequently used device) 701a can be displayed first in the current area. Then, the following casting entrances are displayed one by one: Living Room TV, My Huawei TV, and My A TV.
[0120] In another example, area 702 in interface 700B, compared to area 603 in interface 600C, can prioritize displaying "My B TV (Frequently Used Device)" 702a in the secondary menu. Then, the following casting entries are displayed one by one: "My Huawei TV" and "My A TV".
[0121] (4) Add tags to the equipment.
[0122] For example, tags can be added to devices based on information such as device capabilities and recommended devices.
[0123] For example, Figure 8 This is a schematic diagram illustrating another possible broadcast interface provided in an embodiment of this application. For example... Figure 8 As shown in interface 800, in area 801, the living room TV 801a can include "4K (Ultra-High Definition)" and "Recommended" labels, while my Huawei TV 801b can include "4K" and "Bullet Screen" labels. "Recommended" indicates that the casting portal is a recommended casting portal; "4K" indicates that casting through this portal has 4K ultra-high definition resolution capability; and "Bullet Screen" indicates that the casting portal supports casting of bullet comments. By displaying these labels, the system can inform the user of the device capabilities required for casting through this portal and can also suggest recommended casting portals, making it easier for the user to choose a suitable casting portal. The recommended casting portal can be determined by predefined rules, such as optimal casting protocol or highest casting stability.
[0124] In this embodiment, the display order of the broadcast entry can be adjusted according to the tags. For example, in the same area or the same level menu, the broadcast entry with more tags can be displayed more prominently.
[0125] (5) Set display priority.
[0126] For example, the display priority can be set according to preset rules or a custom method.
[0127] Optionally, preset rules can prioritize displaying devices with a better experience. For example, displaying the broadcast entry with the higher resolution in a more prominent position, or prioritizing the display of broadcast entries using self-developed protocols compared to standard broadcast protocols.
[0128] Alternatively, developers can customize the display priority of the broadcast entry, and the broadcast interface can be displayed according to the customized display priority.
[0129] Based on the above Figures 6 to 8The interface shown can classify and display multiple broadcast entry points belonging to the same physical device, thereby showing the correspondence between broadcast entry points and physical devices in the broadcast interface and improving the accuracy of users selecting physical devices.
[0130] In addition, by setting sorting strategies, recommended broadcast entry points can be displayed first, thereby increasing the usage rate of the devices that are displayed first, guiding users to use the recommended broadcast entry points first, and thus providing a better user experience.
[0131] Figure 9 This is a flowchart illustrating a method for displaying a broadcast interface according to an embodiment of this application. (See attached document.) Figure 9 As shown, this method can be applied to screen mirroring scenarios, which may include at least a first device 200 and a second device 300. The method may include the following steps:
[0132] Step 901: The first device 200 detects a broadcast operation. For example, the broadcast operation can be performed on... Figure 6 The interface 600A includes the click operation of the screen projection control 601.
[0133] Step 902: The first device 200 responds to the broadcast operation and displays the broadcast interface according to the sorting strategy.
[0134] The sorting strategy can be found in the previous introduction, and will not be repeated here.
[0135] Step 903: The first device 200 detects the selection operation of the first broadcast entry in the broadcast interface, and the first broadcast entry corresponds to the second device 300.
[0136] For example, in such Figure 6 In interface 600B, a click operation on my Huawei TV 602b can be detected, thus confirming that the resource to be cast will be cast to TV 10. Here, my Huawei TV 602b can be understood as the first casting entry point, and TV 10 can correspond to the second device 300.
[0137] Or, another example, in such Figure 6 In interface 600B, a click operation on my mini-TV can be detected, thus confirming that the resource to be cast will be cast to TV 20. Here, my mini-TV can be understood as the first casting entry point, and TV 20 can correspond to the second device 300.
[0138] Step 904: The first device 200 broadcasts the resources to be broadcast onto the second device 300.
[0139] Based on the same inventive concept Figure 10This is a flowchart illustrating another method for displaying a broadcast interface provided in an embodiment of this application. The method can be applied to a first device 200, and the process may include the following steps:
[0140] Step 1001: A broadcast operation is detected. For example, a broadcast operation could be... Figure 6 The click operation of the screen projection control 601 included in the interface 600A.
[0141] Step 1002: In response to the broadcast operation, display the first interface. The first interface includes M1 broadcast entry points and M2 broadcast entry points. The M1 broadcast entry points indicate that the first device can broadcast to the second device with M1 options, and the M2 broadcast entry points indicate that the first device can broadcast to the third device with M2 options. M1 is an integer not less than 1, and M2 is an integer not less than 1. The second device and the third device are different physical devices. For example, the first device can be... Figure 4 The second device can be a mobile phone in the middle. Figure 4 The television 10 and the third device can be Figure 4 TV 20.
[0142] For example, the first interface can be, for instance, Figure 6 Interface 600B or interface 600C. Another example, the first interface could be, for instance, interface 600B or interface 600C. Figure 7 Interface 700A or interface 700B. As another example, the first interface can also be... Figure 8 The interface is 800.
[0143] The details of steps 1001 and 1002 can be found in the previous text and will not be repeated here.
[0144] Based on the above embodiments, this application also provides a first device, which includes multiple functional modules; the multiple functional modules interact to implement the functions performed by the first device in the methods described in the embodiments of this application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations. For example, [the following is an example of implementation details]. Figure 9 In the illustrated embodiment, the first device 200 performs steps 901 to 903. Alternatively, it performs... Figure 10 Steps 1001 and 1002 are performed by the first device 200 in the illustrated embodiment.
[0145] Based on the above embodiments, this application also provides a first device, which includes at least one processor and at least one memory, wherein the at least one memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the device causes the first device to perform the functions described in the embodiments of this application. Figure 9 In the illustrated embodiment, the first device 200 performs steps 901 to 903. Alternatively, it performs... Figure 10 Steps 1001 and 1002 are performed by the first device 200 in the illustrated embodiment.
[0146] Based on the above embodiments, this application also provides a display system for a broadcast interface, which may include the first device, the second device, and the third device described in the above embodiments. Optionally, the display system for the broadcast interface may also include more physical devices to be broadcast, and this application does not limit the number of physical devices to be broadcast.
[0147] Based on the above embodiments, this application also provides a program product (also referred to as a computer program product), the program product including: a program (also referred to as code or instructions), which, when the program is run, causes a device or computer to perform the methods described in the embodiments of this application.
[0148] Based on the above embodiments, this application also provides a readable storage medium (also referred to as a computer-readable storage medium) storing a program that, when executed by a device or computer, causes the device or computer to perform the methods described in the embodiments of this application.
[0149] Based on the above embodiments, this application also provides a chip for reading programs stored in a memory and implementing the methods described in the embodiments of this application.
[0150] Based on the above embodiments, this application provides a chip system including a processor for supporting devices in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data. This chip system may be composed of chips or may include chips and other discrete devices. Those skilled in the art will understand that the embodiments of this application can be provided as methods, systems, or program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects.
[0151] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of protection of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for displaying a broadcast interface, characterized in that, Applied to a first device, the method includes: A broadcast operation was detected; In response to the broadcast operation, the first interface is displayed; The first interface includes M1 and M2 broadcast entry points. The M1 broadcast entry points are used to indicate that the first device can broadcast to the second device with M1 options, and the M2 broadcast entry points are used to indicate that the first device can broadcast to the third device with M2 options. M1 is an integer not less than 1, and M2 is an integer not less than 1. The second device and the third device are different physical devices.
2. The method according to claim 1, characterized in that, The M1 broadcast entry points are displayed in the first area, and the M2 broadcast entry points are displayed in the second area. The first area and the second area are different areas. or, The M1 broadcast entry points have a first identifier, and the M2 broadcast entry points have a second identifier. The first identifier and the second identifier are different identifiers.
3. The method according to claim 1 or 2, characterized in that, The first interface includes a first-level menu and a second-level menu; wherein, The primary menu is used to display the broadcast entry point for the first broadcast source; The secondary menu is used to display the broadcast entry for the second broadcast source.
4. The method according to claim 3, characterized in that, The first broadcast source is the device's operating system, and the second broadcast source is the client.
5. The method according to any one of claims 1 to 4, characterized in that, The first broadcast entry point is displayed in the first display position on the first interface; The first broadcast entry is the one that is used most frequently among the M1 broadcast entries and / or the M2 broadcast entries, or the one that was used last time.
6. The method according to any one of claims 1 to 5, characterized in that, The second broadcast entry point displays a label indicating the device capabilities of the second broadcast entry point.
7. The method according to claim 6, characterized in that, The device capabilities include at least one of the following: resolution level, bullet screen.
8. The method according to any one of claims 1 to 7, characterized in that, The M1 and / or M2 broadcast inputs are displayed in the first display order; The first display order is preset.
9. A device, characterized in that, The device includes at least one processor and at least one memory, wherein the memory is used to store one or more programs that, when executed by the one or more processors, cause the device to perform the method as described in any one of claims 1 to 8.
10. A readable storage medium, characterized in that, The readable storage medium stores a program that, when run on the device, causes the device to perform the method as described in any one of claims 1-8.