Processing method, terminal equipment and electronic equipment
By establishing a transmission channel and obtaining the screen attribute information of the target electronic device, the problem of projecting screens to designated screens in multi-screen devices is solved, and an efficient screen projection experience is achieved.
Patent Information
- Application Number
- CN202411998760.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-13
AI Technical Summary
When projecting screens, it is difficult to cast the display content to the screen specified in the projected device, especially when the device has multiple screens.
By establishing a transmission channel with the target electronic device, the attribute information of each screen is obtained, and the display content matching the target screen is generated according to the user's choice, and the screen projection of the target screen is achieved.
It realizes projecting the display content to the specified target screen, improving the user's screen projection experience and simplifying the screen projection operation.
Smart Images

Figure CN119987697A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information processing technology, and in particular to a processing method, a terminal device, and an electronic device. Background Art
[0002] Currently, when casting the screen, if the device being cast has multiple screens, for example, if a laptop has an external extended display, then how to cast the mobile phone screen display content to a designated screen when casting it to the laptop has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The present disclosure provides a processing method, a terminal device, and an electronic device.
[0004] According to a first aspect of the present disclosure, a processing method is provided, the method comprising:
[0005] Establishing a transmission channel with the target electronic device;
[0006] Obtaining attribute information of each of the plurality of screens through the transmission channel, the plurality of screens being screens that can be identified by the target electronic device;
[0007] Obtaining a target input, where the target input is used to represent a target screen selected by a user to display a target object on the multiple screens;
[0008] In response to the target input, display content of the target object matching the attributes of the target screen is generated, and a notification message representing the target screen and the display content of the target object are transmitted based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen.
[0009] In an implementation of the present application, the method further includes:
[0010] Obtaining, through the transmission channel, mode information of a plurality of different display control modes provided by the target electronic device for the plurality of screens;
[0011] Responding to the target input comprises:
[0012] Transmitting a notification message representing the target screen and the target display control mode based on the transmission channel;
[0013] The target display control mode is the display control mode selected by the user represented by the target input.
[0014] In one implementation of the present application, the multiple screens do not include at least one screen of a terminal device, and the terminal device is a device that establishes a transmission channel with a target electronic device.
[0015] According to a second aspect of the present disclosure, a processing method is provided, the method comprising:
[0016] Establish a transmission channel with the terminal device;
[0017] Transmitting attribute information of each of the plurality of screens based on the transmission channel, the plurality of screens being screens that can be identified by the target electronic device;
[0018] Obtaining, based on the transmission channel, display content of a target object and notification information of a target screen for displaying the display content of the target object;
[0019] Displaying the display content of the target object on the target screen is controlled based on the notification information.
[0020] In an implementation of the present application, the method further includes:
[0021] Mode information of a plurality of display control modes provided for the plurality of screens is transmitted based on the transmission channel.
[0022] In an implementation of the present application, controlling the display content of the target object on the target screen based on the notification information includes:
[0023] Determine a first display control mode for the multiple screens and a screen projection mode for the target object, wherein the first display control mode is a current display control mode for the multiple screens;
[0024] If the first display control mode can support the target object to be displayed on the target screen in the projection mode, controlling the display content to be displayed on the target screen based on the first display control mode;
[0025] If the first display control mode cannot support the target object to be displayed on the target screen in the projection mode, switch to the second display control mode; and control the display content on the target screen based on the second display control mode.
[0026] In an implementation of the present application, controlling the display content of the target object on the target screen based on the notification information includes:
[0027] If the target screen is a combination of at least two screens, controlling the target screen to be in a target display control mode;
[0028] The display content is displayed on the target screen based on the target display control mode, and each of the at least two screens displays a portion of the display content.
[0029] According to a third aspect of the present disclosure, a terminal device is provided, including:
[0030] A channel building module, used for establishing a transmission channel with a target electronic device;
[0031] an information transmission module, configured to obtain attribute information of each of the plurality of screens through the transmission channel, the plurality of screens being screens that can be identified by the target electronic device;
[0032] A target input module, used for obtaining a target input, wherein the target input is used for representing a target screen selected by a user to display a target object on the multiple screens;
[0033] A display content generation module is used to generate display content of the target object that matches the attributes of the target screen in response to the target input, and transmit a notification message representing the target screen and the display content of the target object based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen.
[0034] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:
[0035] at least one processor; and
[0036] a memory communicatively connected to the at least one processor; wherein,
[0037] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, and the at least one processor is used to establish a transmission channel with a terminal device; transmit attribute information of each of the multiple screens based on the transmission channel, and the multiple screens are screens that can be recognized by the target electronic device; obtain the display content of the target object and notification information of the target screen for displaying the display content of the target object based on the transmission channel; and control the display of the display content of the target object on the target screen based on the notification information.
[0038] In one implementation of the present application, the target electronic device includes a management program, and the management program is at least used to provide a plurality of different display control modes for a plurality of screens that can be identified by the target electronic device.
[0039] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0041] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0042] Figure 1 A schematic diagram of an implementation flow of the processing method provided in an embodiment of the present application is shown;
[0043] Figure 2 A schematic diagram of a target electronic device provided by an embodiment of the present application is shown;
[0044] Figure 3 Another schematic diagram of a target electronic device provided by an embodiment of the present application is shown;
[0045] Figure 4 Another schematic diagram of a target electronic device provided by an embodiment of the present application is shown;
[0046] Figure 5 A screen projection schematic diagram provided in an embodiment of the present application is shown;
[0047] Figure 6 Another screen projection schematic diagram provided in an embodiment of the present application is shown;
[0048] Figure 7 Another screen projection schematic diagram provided in an embodiment of the present application is shown;
[0049] Figure 8 A schematic diagram of another target electronic device provided by an embodiment of the present application is shown;
[0050] Fig. 9 Another implementation flow diagram of the processing method provided in the embodiment of the present application is shown;
[0051] Fig.10 A schematic diagram of the structure of a terminal device according to an embodiment of the present disclosure is shown;
[0052] Fig.11 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0053] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0054] Since there is no good method for projecting the displayed content to the specified screen of the projected device when the projected device has multiple screens, in order to solve this problem, the present application provides a processing method, a terminal device and an electronic device. The processing method provided in the present application can be applied to terminal devices such as mobile phones and tablet computers, and can also be applied to electronic devices such as laptops and desktop computers.
[0055] The technical solution of the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application.
[0056] Figure 1 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application is shown, wherein the method is applied to a terminal device, such as Figure 1 As shown, the method includes:
[0057] S101, establishing a transmission channel with a target electronic device.
[0058] In the present disclosure, the target electronic device may be a laptop or a desktop computer. The target electronic device may be connected in series to one or more display screens or in parallel to multiple display screens. For example, Figure 2 A schematic diagram of a target electronic device provided by an embodiment of the present application is shown. Figure 2 As shown, the target electronic device 201 is serially connected to the next display screen 203 through the output port of the connected display screen 202. Figure 3 Another schematic diagram of the target electronic device provided by the embodiment of the present application is shown. Figure 3 As shown, the target electronic device 301 is connected to the display screen 302 and the display screen 303 in parallel, and the display screen 302 and the display screen 303 are respectively connected to different output ports of the target electronic device 301 . Figure 4 Another schematic diagram of a target electronic device provided by an embodiment of the present application is shown. Figure 4 As shown, the target electronic device 401 is connected to an external display screen 402 .
[0059] In the present disclosure, the terminal device and the target electronic device can be connected to the same local area network, and the terminal device can establish a wireless transmission channel with the target electronic device through the same local area network to which the target electronic device is connected.
[0060] In the present disclosure, a SUB connection with the target electronic device can also be established via a USB data cable as a transmission channel. Alternatively, the terminal device can also establish a Bluetooth connection with the target electronic device as a transmission channel. Alternatively, if the terminal device and the target electronic device are connected via an HDMI cable, the terminal device can use the HDMI cable as a transmission channel with the target electronic device.
[0061] S102, obtaining attribute information of each of the multiple screens through the transmission channel, where the multiple screens are screens that can be recognized by the target electronic device.
[0062] The attribute information of the multiple screens may include screen size, screen resolution, screen identification, and the like.
[0063] In the present disclosure, the multiple screens do not include at least one screen of a terminal device, and the terminal device is a device that establishes a transmission channel with a target electronic device.
[0064] The screens that the target electronic device can identify include the screen of the target electronic device itself and the screens connected to it, and can also include the display screens of other electronic devices connected to the target electronic device. For example, if the terminal device is a mobile phone, the target electronic device is a laptop 1, and the laptop 1 is connected to a display screen 2, and the laptop 1 is connected to the laptop 2, then the display screens that the laptop 1 can identify include the display screen of the laptop 1 itself, the display screen 2, and the display screen of the laptop 2.
[0065] S103: Obtain a target input, where the target input is used to represent a target screen selected by a user to display a target object on the multiple screens.
[0066] In the present disclosure, the target screen may be one screen or a combination of multiple screens selected by the user.
[0067] After the terminal device obtains the attribute information such as screen size, screen resolution and screen identification of multiple screens identified by the target electronic device through the transmission channel, the attribute information can be displayed on the display screen of the terminal device for the user to select the target screen, thereby projecting the content of the terminal device onto the target screen. In an optional embodiment, the terminal device can detect the user's trigger operation on the attribute information of the displayed screen, and determine the triggered screen as the target screen. The trigger operation can include a click operation and a slide operation.
[0068] In the present disclosure, the target object may be any visualized content, such as an image, video, chart, and text, etc. The target object may include a display desktop of a terminal device and an application interface of the terminal device, etc.
[0069] S104, in response to the target input, generating display content of the target object that matches the attributes of the target screen, and transmitting a notification message representing the target screen and the display content of the target object based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen.
[0070] In the present disclosure, the target input represents a target screen selected by the user to display a target object on multiple screens, and the terminal device can process the target object to be displayed on the target screen according to the attribute information of the target screen to obtain corresponding display content.
[0071] In the present disclosure, the terminal device may include multiple screen projection modes, and different screen projection modes project different contents to the target screen. For example, the terminal device may display the display contents of the target object on the target screen by means of desktop projection, mirror projection, and application projection.
[0072] Among them, the terminal device can project the desktop display content of the terminal device to the target screen through desktop projection, and the user can operate the desktop of the terminal device on the target screen. For example, in a meeting scenario, the desktop display content of the mobile phone can be projected to the large screen through desktop projection, and the user can operate the meeting materials in the mobile phone on the large screen to display them.
[0073] The terminal device can use mirroring to project the display content of the terminal device to the target screen in real time. The display screen of the terminal device and the interface displayed on the target screen are the same. The terminal device can use mirroring to share the content in the terminal device in real time.
[0074] The terminal device can project the content of the terminal device's application program onto the target screen through application projection. The terminal device can display the function or content of a certain application through application projection.
[0075] The terminal device can determine the display content of the target object that matches the attributes of the target screen based on the screen projection method and the attribute information of the target screen.
[0076] For example, if the terminal device uses application projection, and wants to project the content of application A to screen 1 in the target screen, and the content of application B to screen 2 in the target screen, then the terminal device can generate display content 1 of application A according to information such as the size and resolution of screen 1, and generate display content 2 of application B according to information such as the size and resolution of screen 2, and transmit the notification message, display content 1 and display content 2 to the target electronic device through the transmission channel. The notification message includes: display content 1 is displayed on screen 1, and display content 2 is displayed on screen 2. After receiving the notification message and display content, the target electronic device can control the display of display content 1 on screen 1 and display content 2 on screen 2.
[0077] For example, if the terminal device uses the desktop projection method and wants to project the content of the terminal device's operating desktop to the target screen, the terminal device can generate the display content 3 of the terminal device's operating desktop according to the size and resolution of the target screen and other information, and transmit the notification message and the display content 3 to the target electronic device through the transmission channel, and the notification message includes: display content 3 is displayed on the target screen. After receiving the notification message and the display content, the target electronic device can be controlled to display the display content 3 on the target screen.
[0078] In the present disclosure, different projection modes of the terminal device correspond to different display modes on the target screen. For example, the terminal device projects the desktop display content of the terminal device to the target screen through desktop projection. The desktop display content of the terminal device can be displayed on the target screen in a manner that covers the entire target screen, or can also be displayed in a partial area of the target screen in landscape mode. Figure 5 A screen projection schematic diagram provided in an embodiment of the present application is shown. Figure 5 As shown, through desktop projection, the desktop display content of the terminal device can be displayed on the target screen in a manner of filling the target screen 501.
[0079] The terminal device projects the display content of the terminal device to the target screen in real time through mirroring. The display content can be displayed in a partial area of the target screen in portrait mode or in a partial area of the target screen in landscape mode. Figure 6 Another screen projection schematic diagram provided in an embodiment of the present application is shown. Figure 6 As shown, through mirroring, the display content of the terminal device can be displayed in a partial area 602 of the target screen 601 in a vertical mode.
[0080] The terminal device projects the content of the terminal device's application onto the target screen through application projection. The content of the application can be displayed in a partial area of the target screen in portrait mode, or in a partial area of the target screen in landscape mode. Figure 7Another screen projection schematic diagram provided in an embodiment of the present application is shown. Figure 7 As shown, by applying screen projection, the content of the application can be displayed in a partial area 702 of the target screen 701 in portrait mode.
[0081] In the present disclosure, in response to the target input, the terminal device can also set the display mode on the target screen, such as setting it to a horizontal display mode, a vertical display mode, or a display mode that fills the target screen, and generate display content of the target object that matches the attributes of the target screen according to the display mode.
[0082] In the present disclosure, the target screen can be a combination of multiple screens selected by the user. If the user selects a terminal device to perform application projection, and projects multiple different applications onto different screens of the target screen, the notification message of the terminal device needs to pre-specify the correspondence between the application content and the projection screen in the target screen. For example, projecting application A in the terminal device onto Figure 2 The display screen 202 shown in FIG. 1 projects the application B in the terminal device onto the display screen 202 shown in FIG. Figure 2 If the display screen 203 is shown, the terminal device needs to send the corresponding relationship between the display content of application A and the display screen 202 and the corresponding relationship between the display content of application B and the display screen 203 as a notification message to the target electronic device. Thus, the target electronic device displays the display content of different applications on the corresponding display screen according to the corresponding relationship.
[0083] In the present disclosure, the target screen may be a combination of multiple screens selected by the user, and the multiple screens may present a combined screen in terms of display effect. Figure 8 A schematic diagram of another target electronic device provided by an embodiment of the present application is shown. Figure 8 As shown, the target electronic device 801 includes two display screens: display screen 802 and display screen 803. Display screen 802 and display screen 803 are similar in size and can be visually combined into a large display screen for jointly displaying the same display content. Figure 8 The display screen 802 and the display screen 803 of the target electronic device 801 are shown as the target screen. If the user wants to project the desktop display content of the terminal device onto the combined screen composed of the display screen 802 and the display screen 803, and to fully display the desktop display content on the combined screen composed of the display screen 802 and the display screen 803, then after receiving the notification message and the display content, the target electronic device can divide the desktop display content of the terminal device according to the size ratio of the display screen 802 and the display screen 803, and divide the divided display content 1 corresponding to the display screen 802 and the divided display content 2 corresponding to the display screen 803, and then control the display screen 802 to display the divided display content 1 and the display screen 803 to display the divided display content 2.
[0084] In a possible implementation, the terminal device may obtain mode information of multiple different display control modes provided by the target electronic device for the multiple screens through the transmission channel. Then, in response to the target input, the step A1 may include:
[0085] Step A1: transmitting a notification message representing the target screen and the target display control mode based on the transmission channel. The target display control mode is the display control mode selected by the user represented by the target input.
[0086] In the present disclosure, the display control modes of multiple screens may include extended display mode, mirror display mode, and combined display mode, etc. Among them, the extended display mode refers to a mode in which the projection content is extended to multiple display screens, and different screens among the multiple screens in the extended display mode can display different content. The mirror display mode refers to displaying the same projection content on multiple screens. In the combined display mode, the display effect of multiple screens can achieve the effect of combining multiple screens into one large screen to display the same projection content.
[0087] In the present disclosure, the terminal device can obtain the display control mode supported by the display screen of the target electronic device through a transmission channel. After the terminal device obtains attribute information such as screen size, screen resolution, screen identification and mode information of the display control mode of multiple screens identified by the target electronic device through the transmission channel, the attribute information can be displayed on the display screen of the terminal device for the user to select the target screen and the target display control mode, so as to project the content of the terminal device onto the target screen and display it on the target screen in the target display control mode.
[0088] By adopting the processing method provided by the embodiment of the present disclosure, the terminal device can establish a transmission channel with the target electronic device and use the transmission channel to obtain the various screens connected to the target electronic device, so as to directly project the display content to the designated target screen, thereby further improving the user's screen projection experience. In addition, the terminal device can set a suitable screen projection method and display mode of the display content on the target screen based on the application scenario, thereby expanding the usage scenarios of the screen projection operation.
[0089] Fig. 9 Another implementation flow diagram of the processing method provided in the embodiment of the present application is shown, wherein the method is applied to a target electronic device, such as Fig. 9 As shown, the method includes:
[0090] S901, establishing a transmission channel with a terminal device.
[0091] The terminal device may be an electronic device such as a mobile phone or a tablet computer. The method of establishing a transmission channel between the target electronic device and the terminal device may refer to S101 and will not be described in detail here.
[0092] S902: Transmit attribute information of each of the multiple screens based on the transmission channel, where the multiple screens are screens that can be recognized by the target electronic device.
[0093] In the present disclosure, the attribute information of the multiple screens may include information such as screen size, screen resolution, and screen identification. The multiple screens do not include at least one screen of the terminal device. The multiple screens are screens that can be recognized by the target electronic device, and the screens that can be recognized by the target electronic device include the screen of the target electronic device itself, the screen connected to the target electronic device, and the display screens of other electronic devices connected to the target electronic device.
[0094] In the present disclosure, after the target device transmits attribute information such as screen size, screen resolution, and screen identification of multiple screens to the terminal device through a transmission channel, the terminal device can display the attribute information on the display screen of the terminal device for the user to select the target screen. The terminal device can generate display content of the target object that matches the attributes of the target screen based on the target screen selected by the user, and transmit the notification message representing the target screen and the display content of the target object to the target electronic device through the transmission channel. In the present disclosure, the terminal device can generate display content of the target object that matches the attributes of the target screen based on its own screen projection method and the attribute information of the target screen. For details, please refer to S104, which will not be repeated here.
[0095] S903: Obtain display content of a target object and notification information of a target screen for displaying the display content of the target object based on the transmission channel.
[0096] In the present disclosure, the notification information may include information such as the correspondence between each screen in the target screen and the display content to be displayed, the display format, and the display duration.
[0097] S904: Control the display content of the target object on the target screen based on the notification information.
[0098] In the present disclosure, the target electronic device obtains the display content and notification information of the target object sent by the terminal device through the transmission channel, and can control the display content of the target object to be displayed on the corresponding target screen according to the notification information.
[0099] By adopting the processing method provided in the embodiment of the present disclosure, the target electronic device can establish a transmission channel with the terminal device and use the transmission channel to send the attribute information of each screen that it can recognize to the terminal device, so that the terminal device can specify the target screen for projection and directly project the display content to the target screen, thereby improving the user's projection experience. In addition, projecting the display content to the specified screen also simplifies the user's projection operation.
[0100] In a possible implementation, the target electronic device may transmit mode information of multiple display control modes provided for the multiple screens based on the transmission channel. In the present disclosure, the display control modes of the multiple screens may include an extended display mode, a mirror display mode, a combined display mode, and the like.
[0101] In a possible implementation manner, controlling the display content of the target object on the target screen based on the notification information may include steps B1-B3:
[0102] Step B1, determining a first display control mode for the multiple screens and a screen projection mode for the target object, wherein the first display control mode is a current display control mode for the multiple screens.
[0103] In the present disclosure, the terminal device may include multiple screen projection modes, and different screen projection modes project different contents to the target screen. For example, the terminal device may display the display contents of the target object on the target screen by means of desktop projection, mirror projection, and application projection. For details, please refer to S104, which will not be repeated here.
[0104] Step B2: If the first display control mode can support the target object to be displayed on the target screen in the projection mode, the display content is displayed on the target screen based on the first display control mode control.
[0105] Step B3: if the first display control mode cannot support the target object to be displayed on the target screen in the projection mode, switch to the second display control mode; and control the display of the display content on the target screen based on the second display control mode.
[0106] In the present disclosure, when each display screen of the target electronic device is in the mirror display control mode, the target electronic device cannot support the target object to be displayed on the target screen in the projection mode of the application projection. In view of this situation, the target electronic device can adjust the display control mode of each screen connected to itself, for example, adjusting the mirror display control mode to the extended display control mode.
[0107] In a possible implementation, controlling the display content of the target object on the target screen based on the notification information may include steps C1-C2:
[0108] Step C1: if the target screen is a combination of at least two screens, control the target screen to be in a target display control mode.
[0109] Step C2: displaying the display content on the target screen based on the target display control mode, each of the at least two screens displays a portion of the display content.
[0110] In the present disclosure, if the target screen is a combination of at least two screens, and the target screen of the target electronic device is in the target display control mode, the target screen can be used as a whole to display the content. For example, the target screen includes a combination of display screen 802 and display screen 803, and display screen 802 and display screen 803 can be used as a whole to display the display content of the terminal device. If the display content of the terminal device is the desktop interface of the terminal device, the target electronic device can segment the desktop interface of the terminal device according to the size ratio of display screen 802 and display screen 803, and segment the segmented content 1 corresponding to display screen 802 and the segmented content 2 corresponding to display screen 803, and then control display screen 802 to display segmented content 1 and control display screen 803 to display segmented content 2. Each screen in the screen combination displays part of the content of the desktop interface.
[0111] By adopting the processing method provided by the embodiment of the present disclosure, the terminal device can establish a transmission channel with the target electronic device and use the transmission channel to obtain the various screens connected to the target electronic device, so as to directly project the display content to the designated target screen, thereby further improving the user's screen projection experience. In addition, the terminal device can set a suitable screen projection method and display mode of the display content on the target screen based on the application scenario, thereby expanding the usage scenarios of the screen projection operation.
[0112] Another embodiment of the present disclosure further provides a terminal device, a schematic diagram of which is shown in FIG. Fig.10 As shown, specifically including:
[0113] A channel building module 1001 is used to establish a transmission channel with a target electronic device;
[0114] An information transmission module 1002, configured to obtain attribute information of each of the plurality of screens through the transmission channel, wherein the plurality of screens are screens that can be identified by the target electronic device;
[0115] A target input module 1003, used to obtain a target input, where the target input is used to represent a target screen selected by a user to display a target object on the multiple screens;
[0116] The display content generation module 1004 is used to generate the display content of the target object matching the attributes of the target screen in response to the target input, and transmit the notification message representing the target screen and the display content of the target object based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen.
[0117] The terminal device provided by the embodiment of the present disclosure is used to establish a transmission channel with the target electronic device, and the attribute information of each of the multiple screens is obtained through the transmission channel. The multiple screens are screens recognized by the target electronic device, and the target input is obtained. The target input is used to represent the target screen selected by the user to display the target object on the multiple screens. In response to the target input, the display content of the target object matching the attribute of the target screen is generated, and a notification message representing the target screen and the display content of the target object are transmitted based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen. That is, the terminal device can establish a transmission channel with the target electronic device and obtain each screen of the target electronic device through the transmission channel, so that the display content can be directly projected onto the designated target screen, thereby improving the user's screen projection experience, and projecting the display content onto the designated screen also simplifies the user's screen projection operation.
[0118] In one possible implementation, mode information of a plurality of different display control modes provided by the target electronic device for the plurality of screens is obtained through the transmission channel;
[0119] The display content generating module 1004 is specifically configured to transmit, based on the transmission channel, a notification message representing the target screen and a target display control mode; the target display control mode is the display control mode selected by the user represented by the target input.
[0120] In one possible implementation, the multiple screens do not include at least one screen of a terminal device, and the terminal device is a device that establishes a transmission channel with a target electronic device.
[0121] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0122] The electronic device comprises:
[0123] at least one processor; and
[0124] a memory communicatively connected to the at least one processor; wherein,
[0125] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, and the at least one processor is used to establish a transmission channel with a terminal device; transmit attribute information of each of the multiple screens based on the transmission channel, and the multiple screens are screens that can be recognized by the target electronic device; obtain the display content of the target object and notification information of the target screen for displaying the display content of the target object based on the transmission channel; and control the display of the display content of the target object on the target screen based on the notification information.
[0126] In one possible implementation, the target electronic device includes a management program, and the management program is at least used to provide a plurality of different display control modes for a plurality of screens identifiable by the target electronic device.
[0127] In one possible implementation, the processor is specifically used to determine a first display control mode for the multiple screens and a projection mode for the target object, wherein the first display control mode is the current display control mode for the multiple screens; if the first display control mode can support the target object to be displayed on the target screen in the projection mode, control the display content on the target screen based on the first display control mode; if the first display control mode cannot support the target object to be displayed on the target screen in the projection mode, switch to the second display control mode; and control the display content on the target screen based on the second display control mode.
[0128] In one possible implementation, the processor is specifically used to control the target screen to be in a target display control mode if the target screen is a combination of at least two screens; and display the display content on the target screen based on the target display control mode, with each of the at least two screens displaying a portion of the display content.
[0129] Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0130] like Fig.11As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0131] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0132] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as the processing method. For example, in some embodiments, the processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform the processing method in any other appropriate manner (e.g., by means of firmware).
[0133] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), integrated systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0134] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0137] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0138] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0139] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0140] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0141] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A processing method, the method comprising: Establishing a transmission channel with the target electronic device; Obtaining attribute information of each of the plurality of screens through the transmission channel, the plurality of screens being screens that can be identified by the target electronic device; Obtaining a target input, where the target input is used to represent a target screen selected by a user to display a target object on the multiple screens; In response to the target input, display content of the target object matching the attributes of the target screen is generated, and a notification message representing the target screen and the display content of the target object are transmitted based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen.
2. The method according to claim 1, further comprising: Obtaining, through the transmission channel, mode information of a plurality of different display control modes provided by the target electronic device for the plurality of screens; Responding to the target input comprises: Transmitting a notification message representing the target screen and the target display control mode based on the transmission channel; The target display control mode is the display control mode selected by the user represented by the target input. 3 . The method according to claim 1 , wherein the plurality of screens do not include at least one screen of a terminal device, wherein the terminal device is a device that establishes a transmission channel with a target electronic device.
4. A processing method comprising: Establish a transmission channel with the terminal device; Transmitting attribute information of each of the plurality of screens based on the transmission channel, the plurality of screens being screens that can be identified by the target electronic device; Obtaining, based on the transmission channel, display content of a target object and notification information of a target screen for displaying the display content of the target object; Displaying the display content of the target object on the target screen is controlled based on the notification information.
5. The method according to claim 4, further comprising: Mode information of a plurality of display control modes provided for the plurality of screens is transmitted based on the transmission channel.
6. The method according to claim 4, controlling the display content of the target object on the target screen based on the notification information comprises: Determine a first display control mode for the multiple screens and a screen projection mode for the target object, wherein the first display control mode is a current display control mode for the multiple screens; If the first display control mode can support the target object to be displayed on the target screen in the projection mode, controlling the display content to be displayed on the target screen based on the first display control mode; If the first display control mode cannot support the target object to be displayed on the target screen in the projection mode, switch to the second display control mode; and control the display of the display content on the target screen based on the second display control mode.
7. The method according to claim 4, controlling the display content of the target object on the target screen based on the notification information comprises: If the target screen is a combination of at least two screens, controlling the target screen to be in a target display control mode; The display content is displayed on the target screen based on the target display control mode, and each of the at least two screens displays a portion of the display content.
8. A terminal device, comprising: A channel building module, used for establishing a transmission channel with a target electronic device; an information transmission module, configured to obtain attribute information of each of the plurality of screens through the transmission channel, the plurality of screens being screens that can be identified by the target electronic device; A target input module, used for obtaining a target input, wherein the target input is used for representing a target screen selected by a user to display a target object on the multiple screens; A display content generation module is used to generate display content of the target object that matches the attributes of the target screen in response to the target input, and transmit a notification message representing the target screen and the display content of the target object based on the transmission channel, so that the target electronic device displays the display content of the target object on the target screen.
9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, and the at least one processor is used to establish a transmission channel with a terminal device; transmit attribute information of each of the multiple screens based on the transmission channel, and the multiple screens are screens that can be recognized by the target electronic device; obtain the display content of the target object and notification information of the target screen for displaying the display content of the target object based on the transmission channel; and control the display of the display content of the target object on the target screen based on the notification information. 10 . The electronic device according to claim 9 , wherein the target electronic device comprises a management program, and the management program is at least used to provide a plurality of different display control modes for a plurality of screens identifiable by the target electronic device.