Collaborative display method and related device thereof

By adding collaborative function controls and a mirror layer when the foldable phone is unfolded, collaborative display of the inner and outer screens is achieved, solving the problem of insufficient user experience in existing technologies and improving the applicability of third-party applications and user satisfaction.

WO2026011966A1PCT designated stage Publication Date: 2026-01-15HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095592
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-09
Filing Date
2025-05-16
Publication Date
2026-01-15

AI Technical Summary

Technical Problem

In existing technologies, the inner and outer screens of foldable phones cannot display together in certain scenarios, resulting in a reduced user experience. In particular, third-party applications require additional development work, which limits the applicability of collaborative functions.

Method used

A collaborative display method is provided, which adds collaborative function controls when the foldable screen phone is unfolded, allowing users to display content synchronously between the inner and outer screens. This includes creating presentation controls or mirror layers in the target application and displaying the corresponding interface on the outer screen, reducing the adaptation workload of third-party applications.

Benefits of technology

It improves user experience, expands the scope of application of collaborative functions, reduces the adaptation workload of third-party applications, and enables the inner and outer screens to display collaboratively in more scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025095592_15012026_PF_FP_ABST
    Figure CN2025095592_15012026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a collaborative display method and a related device thereof. The method is applied to a folding electronic device, the electronic device comprising an inner screen and an outer screen. The method comprises: starting a target application, the electronic device being in an unfolded state; receiving a first operation for the target application; in response to the first operation, displaying a first interface of the target application on the inner screen, the first interface comprising a collaboration function control, and the collaboration function control being used for enabling or disabling a collaboration function; receiving a second operation of a user on the collaboration function control, the second operation being used for opening the collaboration function; and in response to the second operation, displaying a second interface of the target application on the outer screen, the first interface comprising content of the second interface. In the method, the target application can realize collaborative display of the inner screen and the outer screen, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Collaborative display methods and related equipment

[0001] This application claims priority to Chinese Patent Application No. 202410918346.3, filed on July 9, 2024, entitled "Cooperative Display Method and Related Device", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of electronic technology, specifically to a collaborative display method and related equipment. Background Technology

[0003] With the continuous development of electronic technology, the types of electronic devices are becoming increasingly diverse. For example, smartphones are no longer limited to flip screens and candybar screens; more distinctive foldable screens have also emerged. Foldable screen phones can be divided into an inner screen and an outer screen. When the phone is folded, the outer screen is active and can display the required content; when the phone is unfolded, the inner screen is active and can display the required content.

[0004] However, in some scenarios (such as shooting scenarios), in order to improve the user experience, it is necessary to study how to enable users to view the displayed content using both the inner and outer screens simultaneously for foldable screen phones. Summary of the Invention

[0005] This application provides a collaborative display method and related device, which can achieve collaborative display of the inner and outer screens of a foldable phone with a low workload, thereby improving the user experience.

[0006] In a first aspect, this application provides a collaborative display method applied to a foldable electronic device, the electronic device including an inner screen and an outer screen, the method comprising: launching a target application, the electronic device being in an unfolded state; receiving a first operation on the target application; responding to the first operation, displaying a first interface of the target application on the inner screen, the first interface including a collaborative function control for enabling or disabling collaborative functions; receiving a second operation from a user on the collaborative function control, the second operation being for enabling the collaborative function; and responding to the second operation, displaying a second interface of the target application on the outer screen, the first interface including the content of the second interface.

[0007] In this embodiment of the application, when the foldable screen phone is in the unfolded state and the target application calls the collaborative function, collaborative display can be performed on the inner and outer screens of the foldable screen phone, which improves the user experience, reduces the adaptation workload of third parties, and thus expands the scope of application of the collaborative function.

[0008] In conjunction with the first aspect, in some implementations of the first aspect, displaying a second interface of the target application on the outer screen includes: creating a demo control; displaying an image stream associated with the inner screen onto the demo control; and displaying the demo control on the outer screen.

[0009] In this embodiment, by creating a demonstration control, an image stream can be displayed on the demonstration control, and then the demonstration control can be displayed on the outer screen. Thus, when the foldable phone is in the unfolded state and the target application calls the collaborative function, collaborative display can be performed on the inner and outer screens of the foldable phone, improving the user experience, reducing the adaptation workload of third parties, and expanding the scope of application of the collaborative function.

[0010] In conjunction with the first aspect, in some implementations of the first aspect, displaying the second interface of the target application on the outer screen includes: copying and generating a mirror layer for the layer of the target application; adjusting the mirror layer according to the size of the outer screen; and displaying the adjusted mirror layer on the outer screen.

[0011] In this embodiment, a mirror layer is generated by copying the target application's layer, and then the mirror layer is displayed on the outer screen. Thus, when the foldable phone is in the unfolded state and the target application calls the collaborative function, it can be displayed collaboratively on the inner and outer screens of the foldable phone, improving the user experience, reducing the adaptation workload of the target application, and expanding the scope of application of the collaborative function.

[0012] In conjunction with the first aspect, in some implementations of the first aspect, when it is detected that the target application is running in the background, the second interface on the outer screen is closed.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: in response to the second operation, powering on the external screen and setting the backlight of the external screen.

[0014] In conjunction with the first aspect, in some implementations of the first aspect, when the electronic device is detected to be in a folded state, the first interface on the inner screen and the second interface on the outer screen are closed, and the third interface of the target application is displayed on the outer screen.

[0015] In conjunction with the first aspect, in some implementations of the first aspect, the first operation is an operation on a shooting control or a playback control in the target application.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, the electronic device further includes an external screen camera, and when the first operation is an operation on a shooting control in the target application, the first interface includes the image captured by the external screen camera and the collaborative function control.

[0017] In conjunction with the first aspect, in some implementations of the first aspect, when the first operation is an operation on a playback control in the target application, the first interface includes the playing image stream and the collaborative function control.

[0018] In conjunction with the first aspect, in some implementations of the first aspect, the target application is a third-party application.

[0019] Secondly, this application provides an apparatus included in an electronic device, which has the function of implementing the behaviors of the electronic device in the first aspect and possible implementations thereof. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. For example, a receiving module or unit, a processing module or unit, etc.

[0020] Thirdly, this application provides an electronic device, which includes: one or more processors, an inner screen and an outer screen, and a memory; the memory is coupled to one or more processors, and the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the electronic device to perform any method of the technical solution in the first aspect.

[0021] Fourthly, this application provides a chip including a processor. The processor is used to read and execute a computer program stored in a memory to perform the methods in the first aspect and any possible implementation thereof.

[0022] Optionally, the chip may also include a memory, which is connected to the processor via a circuit or wire.

[0023] Alternatively, the chip may also include a communication interface.

[0024] Fifthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform any one of the methods in the first aspect of the technical solution.

[0025] Sixthly, this application provides a computer program product, which includes computer program code that, when executed on an electronic device, causes the electronic device to perform any one of the methods in the first aspect of the technical solution. Attached Figure Description

[0026] Figure 1 is a schematic diagram of a foldable screen phone in its unfolded state according to an embodiment of this application;

[0027] Figure 2 is a schematic diagram of another foldable screen phone in its unfolded state according to an embodiment of this application;

[0028] Figure 3 is a schematic diagram of a shooting scene and related interface provided in an embodiment of this application;

[0029] Figure 4 is a schematic diagram of the interface of a foldable screen phone in the unfolded state according to an embodiment of this application;

[0030] Figure 5 is a schematic diagram of another shooting scenario and related interface provided in an embodiment of this application;

[0031] Figure 6 is a schematic diagram of an interface for triggering a target application provided in an embodiment of this application;

[0032] Figure 7 is a schematic diagram of another shooting scenario and related interface provided in an embodiment of this application;

[0033] Figure 8 is a schematic diagram of the interface related to the target application provided in the embodiment of this application;

[0034] Figure 9 is a schematic diagram of another shooting scenario and related interface provided in an embodiment of this application;

[0035] Figure 10 is a schematic diagram of the settings interface for enabling collaborative display between the inner and outer screens provided in an embodiment of this application;

[0036] Figure 11 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application;

[0037] Figure 12 is a software structure block diagram of the electronic device provided in an embodiment of this application;

[0038] Figure 13 is a software structure block diagram illustrating the relationship between the logical screen and the physical screen provided in an embodiment of this application;

[0039] Figure 14 is a flowchart illustrating a collaborative display method provided in an embodiment of this application;

[0040] Figure 15 is an interactive diagram corresponding to Figure 14;

[0041] Figure 16 is a flowchart illustrating another collaborative display method provided in an embodiment of this application;

[0042] Figure 17 is an interactive diagram corresponding to Figure 16. Detailed Implementation

[0043] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of 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, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0044] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.

[0045] To facilitate understanding of the embodiments of this application, the relevant terms involved in the embodiments of this application will be briefly explained first.

[0046] System applications and third-party applications:

[0047] System applications refer to applications directly provided by the operating system of an electronic device to achieve specific functions. Third-party applications refer to applications provided by other developers and obtained by the electronic device via the Internet to achieve specific functions. In the embodiments of this application, the application providing the user interface can be either a system application or a third-party application. For example, the camera application is a system application, and the Xiaohongshu application is a third-party application.

[0048] The above is a brief introduction to the terms used in the embodiments of this application, and will not be repeated below.

[0049] It should be noted that the collaborative display method provided in this application can be applied to any multi-screen electronic device with screens on both opposite sides. Such electronic device can be a mobile phone, smart screen, tablet computer, wearable electronic device, in-vehicle electronic device, augmented reality (AR) device, virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), projector, etc. The embodiments of this application do not impose any restrictions on the specific type of electronic device 100.

[0050] For ease of description, the following explanation will use a foldable screen phone as an example.

[0051] It's understandable that foldable phones can be inward-folding, outward-folding, or other types of multi-folding phones (such as Z-shaped folding devices). Inward-folding phones can include two screens, one of which is foldable and used for display when unfolded, and the other screen when folded. Outward-folding devices can include a single foldable screen, using the entire screen for display when unfolded, and a portion of the screen for display when folded.

[0052] Foldable screen phones can be either vertically foldable or horizontally foldable. The folding hinge direction of a vertically foldable screen phone is vertical relative to the phone itself, while the folding hinge direction of a horizontally foldable screen phone is horizontal relative to the phone itself. The specific structure of the foldable screen can be configured as needed, and this application embodiment does not impose any limitations on it.

[0053] The embodiments provided in this application can be applied to inward-folding screen phones as well as outward-folding screen phones; they can be applied to vertically folding screen phones as well as horizontally folding screen phones; this application does not limit them in this regard.

[0054] In the following embodiments, taking an inward-folding foldable screen phone as an example, the inward-folding, flexible display screen can be referred to as the first display screen (also referred to as the inner screen); in addition, on the other side opposite to the first display screen, the foldable screen phone also includes a second display screen (also referred to as the outer screen).

[0055] As shown in Figure 1, Figure 1(a) and Figure 1(b) illustrate the unfolded state of an inward-folding, vertically foldable screen phone. For clarity, Figure 1 shows the front and rear views of the vertically foldable screen phone. Specifically, as shown in Figure 1(a), the front of the vertically foldable screen phone includes a first display screen 101, which has a front-facing camera a1. As shown in Figure 1(b), half of the rear of the vertically foldable screen phone includes a second display screen 102, which may have a front-facing camera a2. The other half of the rear of the vertically foldable screen phone, excluding the second display screen 102, may also have a rear-facing camera a3. Each of the front-facing camera a1, front-facing camera a2, and rear-facing camera a3 may include one or more cameras.

[0056] As shown in Figure 2, Figure 2(a) and Figure 2(b) illustrate the unfolded state of the horizontally folding screen phone. For clarity, Figure 2 shows the front and rear views of the horizontally folding screen phone. Specifically, as shown in Figure 2(a), the front of the horizontally folding screen phone includes a first display screen 101, which has a front-facing camera a1. As shown in Figure 2(b), half of the back of the horizontally folding screen phone includes a second display screen 102, which may have a rear-facing camera a3. Both the front-facing camera a1 and the rear-facing camera a3 may include one or more cameras.

[0057] Taking the foldable screen phone shown in Figure 1 as an example, with the structural support of the foldable screen phone shown in Figure 1, in the shooting scenario shown in Figure 3(a), if the foldable screen phone is in the unfolded state, when the user launches the camera application, the user can use the front camera a1 to take a selfie, or use the rear camera a3 to take pictures of other people or objects. The content of the pictures is usually displayed on the first display screen 101. However, when the user (hereinafter referred to as the photographer 10) uses the unfolded foldable screen phone to take pictures of other people (hereinafter referred to as the subject 20) through the rear camera a3, only the photographer 10 can see the shooting interface through the first display screen 101 and understand the shooting situation, as shown in Figure 3(b); the subject 20 cannot perceive this, as shown in Figure 3(c). The subject sees information such as date and time through the second display screen 102.

[0058] To ensure that the subject 20 can also see the captured content in real time, the technology adds a "collaboration" function control T to the shooting interface of the camera application, as shown in Figure 4(a). The "collaboration" function control T is off by default when the camera application is launched, and correspondingly, the first display screen 101 and the second display screen 102 display different content. When the user clicks on the "collaboration" function control T, as shown in Figure 4(b), the "collaboration" function control switches from off to on, and the corresponding collaboration function of the camera application is activated. At this time, the content displayed on the first display screen 101 can be simultaneously displayed on the second display screen 102.

[0059] At this time, in the shooting scenario shown in Figure 5(a), when the photographer 10 uses the unfolded foldable screen phone to take a picture of the subject 20 through the rear camera a2, the photographer 10 can see the shooting interface through the first display screen 101, as shown in Figure 5(b); at the same time, the subject 20 can see the shooting content in the same shooting interface through the second display screen 102, as shown in Figure 5(c); in this way, the shooting experience of both the photographer 10 and the subject 20 can be improved.

[0060] However, taking the "Xiaohongshu" app as an example, as shown in Figure 6(a), in response to a user's click on the third-party app, the electronic device can display the main interface of the Xiaohongshu app; in response to a user's click on a newly added control in the main interface, the electronic device can display the secondary interface of the Xiaohongshu app; and in response to a user's click on the shooting control in the secondary interface, the electronic device can also call the shooting function to take a picture, as shown in Figure 6(b). In the shooting scenario shown in Figure 7(a), when the photographer 10 uses the unfolded foldable phone to take a picture of the subject 20 through the rear camera a3, the photographer 10 can see the Xiaohongshu shooting interface through the first display screen 101, as shown in Figure 7(b); while the subject 20 sees information such as date and time through the second display screen 102, as shown in Figure 7(c). The above is only an example of the operation process of a third-party app calling the shooting function, and this application embodiment does not limit it.

[0061] It is evident that the collaborative functionality currently only exists in the camera application, which is part of the system application, and is not integrated into third-party applications. Even if manufacturers could provide this collaborative functionality, third-party applications would still need to undertake a certain amount of development work, resulting in a very low willingness to integrate it into the ecosystem, thus hindering the widespread adoption of this collaborative functionality.

[0062] In view of this, this application provides a collaborative display method. When a foldable phone is in its unfolded state, a third-party application invokes a collaborative function to achieve collaborative display between the inner and outer screens of the foldable phone, thereby improving the user experience. Since the method by which third-party applications invoke the collaborative function is relatively simple, it reduces the adaptation workload for third parties and expands the applicability of the collaborative function.

[0063] The scenarios, electronic devices, and methods provided in the embodiments of this application will now be described with reference to Figures 8 to 17.

[0064] Taking the "Xiaohongshu" app as an example, based on Figure 6, when the third-party app calls the shooting function, this application can add a "collaboration" function control T to the shooting interface of the third-party app, as shown in Figure 8(a). The "collaboration" function control can be in a closed state by default when the third-party app is launched, and correspondingly, the first display screen and the second display screen display different content. When the user clicks on the "collaboration" function control T, as shown in Figure 8(b), the "collaboration" function control switches from the closed state to the open state, the collaboration function of the third-party app is enabled, and the content displayed on the first display screen 101 can be simultaneously displayed on the second display screen 102.

[0065] At this time, in the shooting scenario shown in Figure 9(a), when the photographer 10 uses the unfolded foldable screen phone to take a picture of the subject 20 through the rear camera a2, the photographer 10 can see the shooting interface through the first display screen 101, as shown in Figure 9(b); at the same time, using the collaborative display method provided in this application, the subject 20 can see the shooting content in the same shooting interface through the second display screen 102, as shown in Figure 9(c); in this way, the shooting experience of the photographer 10 and the subject 20 using third-party applications can be improved.

[0066] It should be noted that the present application does not impose specific restrictions on the display format of the "collaboration" function control, and other display formats are also applicable to the present application.

[0067] It is understood that the interfaces shown in Figures 8 and 9 above are displayed in the portrait mode of the foldable phone. If the foldable phone is rotated to landscape mode, the above-mentioned "Collaboration" function controls and other adjacent controls will also rotate accordingly, and will not be shown in the figures here.

[0068] Alternatively, this application may also add a "coordinated display of internal and external screens" switch in the settings application. When the "coordinated display of internal and external screens" switch is off, the first display screen and the second display screen can display different content. When the "coordinated display of internal and external screens" switch is on, the collaborative function of system applications and third-party applications can be enabled, and the content displayed on the first display screen can be displayed synchronously on the second display screen.

[0069] For example, in response to a click on the Settings app included on the desktop of a foldable phone, as shown in Figure 10(a), the desktop can switch to the main interface of the Settings app, as shown in Figure 10(b); in response to a click on the "Display and Brightness" text option included in the main interface of the Settings app, the main interface can switch to a secondary interface of the Settings app, as shown in Figure 10(c); this secondary interface can include a "Screen Collaboration Display" switch, which is off by default; in response to a click or swipe on the "Screen Collaboration Display" switch, the "Screen Collaboration Display" switch switches from off to on. At this time, the collaborative display method provided in this application can be executed, as detailed below.

[0070] It should be noted that when the "Internal and External Screen Collaborative Display" switch is turned on, both system applications and third-party applications can achieve collaborative display on the internal and external screens. Furthermore, the content of the collaborative display can be the shooting interface or other interfaces, such as video playback interfaces, game playback interfaces, music playback interfaces, etc. This application embodiment does not limit this.

[0071] Taking the foldable screen phone shown in Figure 1 as an example, Figure 11 shows a hardware system of an electronic device applicable to this application.

[0072] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0073] It should be noted that the structure shown in FIG11 does not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than those shown in FIG11, or the electronic device 100 may include a combination of some of the components shown in FIG11, or the electronic device 100 may include sub-components of some of the components shown in FIG1. ​​The components shown in FIG11 may be implemented in hardware, software, or a combination of software and hardware.

[0074] Processor 110 may include one or more processing units. For example, processor 110 may include at least one of the following processing units: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and neural network processing unit (NPU). These different processing units may be independent devices or integrated devices. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

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

[0076] In some embodiments, processor 110 may include one or more interfaces. For example, processor 110 may include at least one of the following interfaces: an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and a USB interface.

[0077] For example, in an embodiment of this application, the processor 110 can be used to execute the collaborative display method provided in the embodiment of this application; for example, launching a target application and the electronic device being in an unfolded state; receiving a first operation for the target application; in response to the first operation, displaying a first interface of the target application on an inner screen, the first interface including collaborative function controls for enabling or disabling collaborative functions; receiving a second operation from the user on the collaborative function controls, the second operation being used to enable collaborative functions; in response to the second operation, displaying a second interface of the target application on an outer screen, the first interface including the content of the second interface.

[0078] The connection relationships between the modules shown in Figure 1 are merely illustrative and do not constitute a limitation on the connection relationships between the modules of the electronic device 100. Optionally, the modules of the electronic device 100 may also adopt a combination of various connection methods described in the above embodiments.

[0079] The wireless communication function of electronic device 100 can be realized through devices such as antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0080] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

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

[0082] Display screen 194 can be used to display images or videos.

[0083] Optionally, the display screen 194 can be used to display images or videos. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (Mini LED), a micro light-emitting diode (Micro LED), a micro OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, the electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0084] For example, in an embodiment of this application, the display screen 194 may include a first display screen 101 and a second display screen 102; wherein, the first display screen 101 is a flexible screen that can be folded inward.

[0085] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0086] The ISP is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is sent through the camera to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element sends the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. The ISP can perform algorithmic optimization of image noise, brightness, and color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0087] The camera 193 (also known as a lens) is used to capture still images or videos. It can be activated via application commands to enable photo-taking, such as capturing images of any scene. The camera may include components such as an imaging lens, filters, and an image sensor. Light emitted or reflected by an object enters the imaging lens, passes through the filter, and finally converges onto the image sensor. The imaging lens is primarily used to converge and image the light emitted or reflected by all objects within the shooting field of view (also known as the scene to be captured, the target scene, or the scene image the user expects to capture). The filter is primarily used to filter out excess light waves (such as infrared light waves other than visible light). The image sensor can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The image sensor is primarily used to perform photoelectric conversion on the received light signal, converting it into an electrical signal, and then sending the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into standard RGB, YUV, and other image signal formats.

[0088] For example, in an embodiment of this application, camera 193 may include front camera a1, front camera a2 and rear camera a3; wherein, front camera a1 and front camera a2 may each include one camera, and rear camera a3 may include three cameras.

[0089] For example, a digital signal processor is used to process digital signals, including digital image signals and other digital signals. For instance, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform a Fourier transform on the frequency point energy, etc.

[0090] For example, a video codec is used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, and MPEG 4.

[0091] For example, the gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 around three axes (i.e., the x-axis, y-axis, and z-axis). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in scenarios such as navigation and motion-sensing games.

[0092] For example, the accelerometer 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (typically the x-axis, y-axis, and z-axis). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. The accelerometer 180E can also be used to identify the attitude of the electronic device 100, serving as input parameters for applications such as screen orientation switching and pedometers.

[0093] For example, distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, such as in a shooting scenario, electronic device 100 can utilize distance sensor 180F for distance measurement to achieve fast focusing.

[0094] For example, the ambient light sensor 180L is used to sense the ambient light intensity. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light intensity. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0095] For example, fingerprint sensor 180H is used to collect fingerprints. Electronic device 100 can utilize the collected fingerprint characteristics to perform functions such as unlocking, accessing app locks, taking photos, and answering calls.

[0096] For example, a touch sensor 180K, also known as a touch device, may be disposed on a display screen 194. The touch sensor 180K and the display screen 194 together form a touchscreen, also known as a touch screen. The touch sensor 180K is used to detect touch operations performed on or near it. The touch sensor 180K can send the detected touch operation to an application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 and in a different location from the display screen 194.

[0097] The hardware system of electronic device 100 has been described in detail above.

[0098] Furthermore, the software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.

[0099] Figure 12 is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system library layer, and the kernel layer.

[0100] As shown in Figure 12, the application layer may include a series of application packages (APKs), such as applications for camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS; in this embodiment, it also includes third-party applications such as Xiaohongshu, game applications, and video playback applications.

[0101] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer may include some predefined functions, such as the camera API and camera service framework shown in Figure 12.

[0102] The application framework layer may also include: Fold Screen Manager Ex, Power Manager Service, Device State Manager Service, Windows Manager Service, Display Manager Service, and Surface Flinger, etc. The specific functions of each module can be found in the steps described below, and will not be elaborated upon here.

[0103] System libraries can include multiple functional modules. For example, media libraries, the Android runtime, and hardware management modules.

[0104] The media library 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, MP3, AAC, AMR, JPG, and PNG, for both snapshot and preview streams, and video streams.

[0105] The kernel layer is the layer between hardware and software. The kernel layer includes at least display (DP) drivers, camera drivers, and sensor drivers.

[0106] For ease of understanding, the following embodiments of this application will use the scenario shown in FIG9, combined with an electronic device having the structure shown in FIG11 and FIG12, as an example to specifically illustrate the collaborative display method provided by the embodiments of this application.

[0107] Figure 13 is a flowchart illustrating a collaborative display method provided in an embodiment of this application.

[0108] This method is applied to the foldable screen phone shown in Figure 1, and the foldable screen phone is in the unfolded state; the method 300 includes steps S310 to S360, and steps S310 to S360 are described in detail below.

[0109] S310, In response to the operation of enabling the collaboration function, the target application sends a collaboration display request.

[0110] Optionally, the target application can be a third-party application (including Xiaohongshu application, game application, video playback application, etc.) or a system application (including camera application, etc.).

[0111] The target application is displayed on the first display screen of the electronic device. The collaborative display request is used to request the display of the same content as the first display screen on the second display screen of the electronic device. The display content may be the same interface as the first display screen, or it may simply be an image stream included in the interface.

[0112] Optionally, the electronic device detects a user action on the "Collaboration" function control; in response to the user action, the collaboration function is enabled, and the electronic device can send a collaboration display request. For example, in the scenarios shown in Figures 8 and 9, the user can click the "Collaboration" function control in the shooting interface of the "Xiaohongshu" application to enable the collaboration function; in response to this click operation, the foldable screen management service in the electronic device can send a collaboration display request to the device status management service.

[0113] For example, a user can click the "Collaboration" control in the playback interface of a game or video playback application to enable the collaboration function; in response to this click, the foldable screen management service in the electronic device can send a collaboration display request to the device management service. The above are merely examples of two applications, and this application does not limit them.

[0114] Optionally, the electronic device detects a user operation on the "inner and outer screen collaborative display" switch; in response to the user operation, both system applications and third-party applications can enable the collaborative function, and the foldable screen management service in the electronic device can send a collaborative display request to the device status management service.

[0115] For example, in the scenario shown in Figure 10(d), the user can click the "Internal and External Screen Collaborative Display" switch in the secondary interface of the settings application to enable the collaborative function; in response to this click operation, the foldable screen management service in the electronic device can send a collaborative display request to the device status management service.

[0116] S320, Dispatch Coordination Status.

[0117] Optionally, in response to a collaborative display request, the device state management service in the electronic device processes the collaborative display request and instructs the electronic device to enter a collaborative display state; the device state management service can also dispatch a collaborative state to modules such as the display management module to instruct the inner and outer screens to display in a collaborative manner.

[0118] Optionally, after receiving a collaborative display request, the device status management service can define the collaborative state under / vender / etc / devicestate and add a flag.

[0119] For example, `private static final int ENTER_COORDINATION_STATE = 1;` indicates entering cooperative display; `private static final int QUIT_COORDINATION_STATE = 2;` indicates exiting cooperative display.

[0120] It should be understood that when the target application process runs in the background, the electronic device needs to exit the collaborative display. At this time, the device status management service can record the collaborative status as "exited collaborative display". When the target application switches back to the foreground, the electronic device needs to enter the collaborative display. At this time, the device status management service can update the collaborative status to "entered collaborative display".

[0121] S330, power on the external screen and set the external screen backlight.

[0122] After the electronic device enters the collaborative display state, the second display screen needs to support the collaborative display. Therefore, when the distributed collaborative state is to enter the collaborative display state, the outer screen is powered on first and the backlight of the outer screen is set to support the subsequent display.

[0123] It should be understood that the external screen refers to a second display screen that is a physical screen; powering on means that the external screen can receive image streams and display them after being connected to a power source; setting the external screen backlight means setting the light intensity emitted by the screen, or screen brightness.

[0124] Optionally, after receiving the dispatched collaboration status as entering collaboration display, it can first determine whether the external screen is powered on; if it is determined that the external screen is powered on, then S330 does not need to be executed, and the current state can be maintained; if it is determined that the external screen is powered off, then S330 needs to be executed to power on the external screen and set the external screen backlight; wherein, the set external screen backlight parameters can refer to the backlight parameters of the internal screen, or other data, which is not limited in this embodiment.

[0125] S340. After executing the collaborative display request issued in S310, create a presentation control.

[0126] A presentation control is a special type of dialog box used to display content on a secondary screen. Presentation controls can be associated with a screen at creation time and their resources can be configured according to the screen's properties.

[0127] It should be understood that the inner screen is usually the main screen, and the outer screen is the secondary screen.

[0128] S350. Display the image stream on the presentation control.

[0129] Optionally, when the electronic device displays the shooting interface on the first display screen, the image stream displayed on the shooting interface can be a photo preview stream or a video preview stream, which corresponds to the shooting mode. Correspondingly, the content displayed on the second display screen is the same photo preview stream or video preview stream. This application embodiment does not limit this.

[0130] Optionally, when the electronic device displays a game playback interface or a video playback interface on the first display screen, the image stream displayed in the playback interface can be a game image stream or a video image stream, depending on the application. Correspondingly, the content displayed on the second display screen is the same game image stream or video image stream. This application embodiment does not limit this.

[0131] S360: Display the demonstration controls on the external screen.

[0132] It should be understood that for an electronic device to display demonstration controls on an external screen, it first needs to determine if the screen object is the external screen.

[0133] For example, the public static final String DISPLAY_CATEGORY_REAR = "android.hardware.display.category.REAR" is used to locate the outer screen. That is, the electronic device can obtain "android.hardware.display.category.REAR" through "DISPLAY_CATEGORY_REAR". The screen object indicated by this string is the outer screen. Therefore, the demo controls can be associated with the outer screen indicated by this string, and the demo controls can be displayed on the outer screen to achieve collaborative display of the inner and outer screens.

[0134] In this embodiment, by creating a demonstration control, an image stream can be displayed on the demonstration control, and then the demonstration control can be displayed on the outer screen. Thus, when the foldable phone is in the unfolded state and the target application calls the collaborative function, collaborative display can be performed on the inner and outer screens of the foldable phone, improving the user experience, reducing the adaptation workload of the target application, and expanding the scope of application of the collaborative function.

[0135] Figure 14 is an interactive schematic diagram of the collaborative display method corresponding to Figure 13. The method includes steps S301 to S302, and also includes steps S401 to S417. Steps S301 to S302 and steps S401 to S417 will be described in detail below.

[0136] S301, Received the operation to launch the target application.

[0137] For example, receiving an operation targeting the shooting or playback controls in the target application.

[0138] S302. In response to this operation, an image stream is displayed on the first display screen.

[0139] For example, the image stream can be a preview stream or a playback image stream.

[0140] S401, The foldable screen management service received the operation to enable the collaboration function.

[0141] For example, the coordination feature can be enabled by using the private void set Coordination Display Mode(int state).

[0142] S402. In response to this operation, the foldable screen management service sends a collaborative display request to the device state management service.

[0143] S403, Device Status Management Service retrieves the previously recorded collaborative status.

[0144] For example, the device status management service executes on override request status changed locked.

[0145] It should be understood that if the collaborative display function is being used for the first time, the previous collaborative status recorded by the device status management service can be empty; if it is not the first time the collaborative display function is being used, the previous collaborative status recorded by the device status management service may be "exited collaborative display".

[0146] S404, Equipment status management service updates collaborative status.

[0147] For example, the device status management service performs an update pending state locked.

[0148] S405, Equipment Status Management Service submits collaborative status.

[0149] For example, the device status management service executes a commit of pending state.

[0150] S406. The Device Status Management Service dispatches collaborative status to the Display Management Service.

[0151] For example, the device state management service executes a notify device state precallback to notify the management service that the collaborative state has changed.

[0152] S407, Equipment Status Management Service updates collaborative status.

[0153] For example, the display management service executes "on state changed".

[0154] S408 The display management service checks whether the logical panel needs to be swapped and notifies the power management service.

[0155] For example, the display management service executes on logical display swapped.

[0156] It should be noted that, as shown in Figure 15, when Android connects two screens, it automatically assigns a main screen and a secondary screen. The main screen displays the normal Activity interface, while the secondary screen displays content through the creation of demo controls. In this embodiment, if the assigned secondary screen is not the second display screen, the correspondence between the two logical screens and the two physical screens can be swapped. After this swap, the secondary screen will become the second display screen.

[0157] S409, Power Management Service updates power management policy.

[0158] For example, the power management service executes the "set fold display state policy internal" function to provide corresponding power-on / off policies based on the results of the display management service's checks.

[0159] For example, suppose the display management service detects that there is no need to switch the correspondence between logical screens and physical screens, and the physical screen corresponding to logical screen 2 has always been the external screen. In this case, the power management service updates the power management policy to continue to keep the power status of the external screen corresponding to logical screen 2 as powered on.

[0160] Suppose the display management service detects that the correspondence between logical screens and physical screens needs to be swapped. Before and after the swap, the physical screen corresponding to logical screen 1 changes from the outer screen to the inner screen; the physical screen corresponding to logical screen 2 changes from the inner screen to the outer screen. At this time, the power management service updates the power management policy, sets the power status of the logical screen 1 to power-on from power-off, and sets the power status of the outer screen corresponding to logical screen 2 to continue power-on.

[0161] S410, Power Management Service updates power status.

[0162] For example, the power management service performs an update power state locked.

[0163] S411 The power management service notifies the display management service of the power status of all logical screens.

[0164] For example, at this time, both the first display screen corresponding to logic screen 1 and the second display screen corresponding to logic screen 2 are powered on.

[0165] S412, The display management service instructs the second display screen to be powered on (set power mode) and the backlight to be set.

[0166] S413. Following S402, the foldable screen management service obtains the screen object.

[0167] For example, you can use "DISPLAY_CATEGORY_REAR" to get the screen object that the string "android.hardware.display.category.REAR" points to as the outer screen.

[0168] S414, The foldable screen management service creates a demo control and associates it with the outer screen.

[0169] S415, Window Management Service: Add a window.

[0170] S416, Window Management Service refreshes the relay window.

[0171] S417, Window Management Service displays the window.

[0172] It should be understood that the content included in the window is the same as the image stream displayed on the first display screen.

[0173] In this embodiment, by creating a demonstration control, an image stream can be displayed on the demonstration control, and then the demonstration control can be displayed on the outer screen. Thus, when the foldable phone is in the unfolded state and the target application calls the collaborative function, collaborative display can be performed on the inner and outer screens of the foldable phone, improving the user experience, reducing the adaptation workload of the target application, and expanding the scope of application of the collaborative function.

[0174] Figure 16 is a flowchart illustrating another collaborative display method provided in an embodiment of this application. This method is applied to the foldable screen phone shown in Figure 1, and the foldable screen phone is in an unfolded state. The method 500 includes steps S510 to S560, which will be described in detail below.

[0175] S510: In response to the operation of enabling the collaboration function, the target application sends a collaboration display request.

[0176] S520, Dispatch Coordination Status.

[0177] S530, power on the external screen and set the external screen backlight.

[0178] Steps S510 to S530 are the same as those in steps S310 to S330 above, and can be referred to the above description, so they will not be repeated here.

[0179] S540. After executing S520 to dispatch the collaborative state, copy the target application's layer to generate a mirror surface.

[0180] Optionally, the window management service can create a mirrored layer by copying the layer of the target application.

[0181] Optionally, after copying, the layer content can be mirrored horizontally, meaning that the content of the target layer and the mirror layer are symmetrical.

[0182] S550: Scale the mirror layer according to the external screen size and update the mirror layer.

[0183] It should be understood that because the inner and outer screens have different configuration parameters such as size, the mirrored layer obtained by direct copying cannot be used as a display resource for the outer screen. Therefore, it is necessary to scale the mirrored layer according to the configuration parameters such as the outer screen size so that it can be adapted for display.

[0184] It should be noted that, taking the example where the horizontal size of the outer screen is smaller than the vertical size, the horizontal size of the outer screen is used as the reference for scaling during scaling. This ensures the integrity of the content of the scaled mirror layer. For the remaining vertical size of the outer screen that the mirror layer cannot fill, it can be displayed as a black screen, or it can be displayed after the supplementary image is added. This application embodiment does not limit this.

[0185] S560, Attach the mirrored layer to the external screen for display.

[0186] It should be noted that the outer screen itself corresponds to a layer (such as surface0). Attaching the mirrored layer (such as surface1) to the outer screen means attaching surface1 under surface0. In this way, surface1 and surface0 have a parent-child node relationship. The display configuration of surface0 will be applicable to surface1. As a result, the workload will be very small when implementing collaborative display.

[0187] In this embodiment, a mirror layer is generated by copying the target application's layer, and then the mirror layer is displayed on the outer screen. Thus, when the foldable phone is in the unfolded state and the target application calls the collaborative function, it can be displayed collaboratively on the inner and outer screens of the foldable phone, improving the user experience, reducing the adaptation workload of the target application, and expanding the scope of application of the collaborative function.

[0188] Figure 17 is an interactive schematic diagram of the collaborative display method corresponding to Figure 16. The method includes steps S301 to S302, and also includes steps S601 to S616. Steps S301 to S302 and steps S601 to S616 will be described in detail below.

[0189] S301, Received the operation to launch the target application.

[0190] S302. In response to this operation, an image stream is displayed on the first display screen.

[0191] S601, The foldable screen management service received the operation to enable the collaboration function.

[0192] S602. In response to this operation, the foldable screen management service sends a collaborative display request to the device state management service.

[0193] S603, Device Status Management Service retrieves the previously recorded collaborative status.

[0194] S604, Equipment Status Management Service updates collaborative status.

[0195] S605, Equipment Status Management Service submits collaborative status.

[0196] S606, The Device Status Management Service dispatches collaborative status to the Display Management Service.

[0197] S607, Equipment Status Management Service updates collaborative status.

[0198] S608, The display management service checks whether the logical panel needs to be swapped and notifies the power management service.

[0199] S609, Power Management Service updates power management policies.

[0200] S610, Power Management Service updates power status.

[0201] S611, The power management service notifies the display management service of the power status of all logical screens.

[0202] S612, The display management service instructs the second display screen to be powered on (set power mode) and the backlight to be set.

[0203] The above S601 to S612 are similar to those of S401 to S412, and can be referred to the above description, so they will not be repeated here.

[0204] S613. Following S606, the device status management service also dispatches collaborative status to the window management service.

[0205] S614. The window management service copies the target application's layers to generate a mirrored layer.

[0206] For example, the window management service calls the notify Coordination Display Mode interface through private void notify Coordination Display Mode(int state, Surface surface), passing in the surface from the corresponding surface view and copying it.

[0207] S615, The window management service scales the mirrored layer according to the external screen size and updates the mirrored layer.

[0208] S616, Window Management Service attaches the mirrored layer to the outer screen.

[0209] In this embodiment, a mirror layer is generated by copying the target application's layer, and then the mirror layer is displayed on the outer screen. Thus, when the foldable phone is in the unfolded state and the target application calls the collaborative function, it can be displayed collaboratively on the inner and outer screens of the foldable phone, improving the user experience, reducing the adaptation workload of the target application, and expanding the scope of application of the collaborative function.

[0210] Compared to the embodiment shown in Figure 14, the embodiment shown in Figure 17 requires less work and is more suitable for developing collaborative functions for third-party applications.

[0211] Optionally, after S406 and S606, the display management service can also register to monitor the running status of the target application; when the target application switches from running in the foreground to running in the background, the collaboration function is turned off, the external screen is powered off, and collaboration display is no longer performed; when the target application switches from running in the background to running in the foreground again, the collaboration function can be turned on again, the external screen is powered on, and the backlight is set.

[0212] Optionally, after S406 and S606, the display management service can also register to monitor the state of the foldable screen; when the foldable screen switches from unfolded to folded, the collaboration function is turned off, the outer screen is powered off, and collaboration display is no longer performed; when the target application switches from folded to unfolded again, the collaboration function can be turned on again, the outer screen is powered on, and the backlight is set.

[0213] Before the collaboration function is reopened, a prompt card can be displayed to remind the user to continue starting the collaboration function; or, the prompt card can be equipped with the options "yes" and "no" to further enable or disable the collaboration function according to the user's choice.

[0214] Optionally, in response to a user's action to launch a target application, an image stream is displayed on the outer screen while the foldable screen is in a folded state. In this case, if an action to enable collaboration is received, since the foldable screen is in a folded state and cannot perform collaborative display between the inner and outer screens, a guide interface can be displayed on the outer screen first to remind the user to switch the foldable screen from the folded state to the unfolded state before collaborative display can be achieved. At the same time, the electronic device registers to listen to the state of the foldable screen, and when the state of the foldable screen switches from the folded state to the unfolded state, the steps for collaborative display between the inner and outer screens will begin.

[0215] The foregoing has detailed examples of the collaborative display method provided in the embodiments of this application. It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0216] This application embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, such as a detection unit, a processing unit, a display unit, etc., or two or more functions can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0217] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0218] The electronic device provided in this embodiment is used to execute the above-described collaborative display method, and therefore can achieve the same effect as the above-described implementation method.

[0219] When using integrated units, the electronic device may further include a processing module, a storage module, and a communication module. The processing module is used to control and manage the operation of the electronic device. The storage module supports the execution of stored program code and data. The communication module supports communication between the electronic device and other devices.

[0220] The processing module can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.

[0221] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment can be a device having the structure shown in FIG4.

[0222] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the collaborative display method of any of the above embodiments.

[0223] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the collaborative display method in the above embodiments.

[0224] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute the collaborative display method in the above method embodiments.

[0225] In this embodiment, the electronic device, computer-readable storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0226] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0227] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0228] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0229] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0230] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0231] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A collaborative display method, characterized in that, A method applicable to a foldable electronic device, the electronic device comprising an inner screen and an outer screen, the method comprising: The target application is launched, and the electronic device is in an unfolded state. Receive a first operation for the target application; In response to the first operation, a first interface of the target application is displayed on the inner screen. The first interface includes a collaboration function control, which is used to enable or disable the collaboration function. Receive a second operation from the user on the collaborative function control, the second operation being used to open the collaborative function; In response to the second operation, a second interface of the target application is displayed on the external screen, the first interface including the content of the second interface.

2. The method according to claim 1, characterized in that, Displaying a second interface of the target application on the outer screen includes: Create a demo control; Display the image stream associated with the inner screen onto the presentation control; Display the demonstration controls on the external screen.

3. The method according to claim 1, characterized in that, Displaying a second interface of the target application on the outer screen includes: For the layer of the target application, duplicate it to generate a mirror layer; Adjust the mirror layer according to the size of the outer screen; The adjusted mirrored layer is displayed on the outer screen.

4. The method according to claim 2 or 3, characterized in that, When the target application is detected to be running in the background, the second interface on the outer screen is closed.

5. The method according to any one of claims 2 to 4, characterized in that, The method further includes: In response to the second operation, the external screen is powered on and the backlight of the external screen is set.

6. The method according to any one of claims 2 to 5, characterized in that, When the electronic device is detected to be in a folded state, the first interface on the inner screen and the second interface on the outer screen are closed, and the third interface of the target application is displayed on the outer screen.

7. The method according to any one of claims 1 to 6, characterized in that, The first operation is an operation on the shooting control or playback control in the target application.

8. The method according to claim 7, characterized in that, The electronic device also includes an external screen camera. When the first operation is an operation on the shooting control in the target application, the first interface includes the image captured by the external screen camera and the collaborative function control.

9. The method according to claim 7, characterized in that, When the first operation is an operation on the playback control in the target application, the first interface includes the playing image stream and the collaborative function control.

10. The method according to any one of claims 1 to 9, characterized in that, The target application is a third-party application.

11. An electronic device, characterized in that, include: One or more processors, an internal screen and an external screen, and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 10.

Citation Information

Patent Citations

  • Double-screen simultaneous display method, electronic equipment and readable storage medium

    CN114401373A

  • Method and device for displaying camera interface

    CN115002879A

  • Method for starting collaborative function and electronic equipment

    CN115022527A