WO2022022177A1 - 一种显示方法及电子设备 - Google Patents

一种显示方法及电子设备 Download PDF

Info

Publication number
WO2022022177A1
WO2022022177A1 PCT/CN2021/101838 CN2021101838W WO2022022177A1 WO 2022022177 A1 WO2022022177 A1 WO 2022022177A1 CN 2021101838 W CN2021101838 W CN 2021101838W WO 2022022177 A1 WO2022022177 A1 WO 2022022177A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
image
display screen
foldable display
electronic device
Prior art date
Application number
PCT/CN2021/101838
Other languages
English (en)
French (fr)
Inventor
李康
吴福垚
梁俊
程亮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022022177A1 publication Critical patent/WO2022022177A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable

Definitions

  • the present application relates to computer technology, and in particular, to a display method, an electronic device, and the like.
  • the foldable display screen is a technical direction of the current development of electronic devices, which has the advantages of easy portability and large screen size of electronic devices.
  • the content displayed in a foldable display is usually static during the folding or unfolding process. This display method displays a single content and a monotonous display effect.
  • the present application provides a display method and an electronic device, which are used to achieve smoothness and flexibility of the displayed content in the process of changing the folding degree of the foldable display screen, and improve the user's visual experience.
  • an embodiment of the present application provides a display method, wherein the method is applied to an electronic device configured with a foldable display screen.
  • the method includes the following steps:
  • the electronic device displays the multimedia file in the foldable display screen; when the electronic device detects the user's target operation, in response to the target operation, obtains the current folding coefficient of the foldable display screen, wherein, The target operation is a folding operation or an unfolding operation performed by the user on the foldable display screen, and the current folding coefficient is used to represent the current folding degree of the foldable display screen; then the electronic device according to the current folding coefficient to determine the target display attribute of the multimedia file; wherein, the target display attribute is used to characterize the display effect of the multimedia file; finally, the electronic device displays the target display attribute on the foldable display screen according to the target display attribute to display the multimedia file.
  • the target operation is a folding operation or an unfolding operation performed by the user on the foldable display screen
  • the current folding coefficient is used to represent the current folding degree of the foldable display screen
  • the multimedia file is a video file or an image set containing multiple images
  • the target display attribute is a target image position in the video file or the image set.
  • the electronic device may determine the current folding coefficient corresponding to the current folding coefficient according to the corresponding relationship between the current folding coefficient, the stored folding coefficient and the position of the image in the video file or the image set target image position; then, display the multimedia file through the following steps: determine a target image located at the target image position from the video file or a plurality of images included in the image set; The target image is displayed on the screen.
  • the user can adjust the folding angle of the foldable display screen so that the electronic device can display different image positions in the foldable display screen Image.
  • the folding angle of the foldable display screen changes sequentially from large to small or from small to small, through this design, during the process of changing the folding degree of the foldable display screen, the electronic device can continuously broadcast or Rewinding the video file or multiple images with consecutive positions in the image set realizes the smoothness and flexibility of the content displayed by the electronic device.
  • the multimedia file is an image;
  • the target display attribute is a target display parameter of the image, wherein the target display parameter of the image includes at least one or a combination of the following: The target display position in the foldable display screen, the target size of the image, the target transparency of the image, the target color of the image, the target 3D rotation angle of the image, the target 3D rotation perspective of the image angle, the target border shape of the image.
  • the electronic device may determine the target display parameter corresponding to the current folding coefficient according to the current folding coefficient, the corresponding relationship between the stored folding coefficient and the display parameter of the image; and then the The electronic device displays the multimedia file through the following steps: processing the image according to the target display parameter; and displaying the processed image in the foldable display screen.
  • the target display parameters determined in real time by the processor according to the stored correspondence between the folding coefficient and the display parameters of the image also change sequentially.
  • the processor continuously displays images of different display parameters in the foldable display screen. Therefore, through this design, during the process of changing the folding degree of the foldable display screen, the processor can continuously display images with different display parameters, so as to realize the smoothness and flexibility of the displayed content of the electronic device.
  • the multimedia file is a three-dimensional scene model
  • the target display attribute is target display information of the three-dimensional scene model
  • the target display parameters of the three-dimensional scene model include any of the following: The target viewpoint position of the 3D scene model, the target physical position of the reference point in the 3D scene model is set, and the target feature point as the center point in the 3D scene model.
  • the electronic device may determine the target display information corresponding to the current folding coefficient according to the corresponding relationship between the current folding coefficient, the stored folding coefficient and the display information of the three-dimensional scene model; and then , the electronic device may display the multimedia file through the following steps: determining a visible image of the three-dimensional scene model according to the target display information; and displaying the visible image in the foldable display screen.
  • the current folding coefficient is the current unfolding angle between the first screen part and the second screen part constituting the foldable display screen, or a normalized coefficient of the current unfolding angle .
  • the electronic device directly obtains the current folding coefficient collected by the sensor; or the electronic device obtains real-time data collected by the sensor, and calculates the real-time data to obtain the current folding coefficient .
  • an embodiment of the present application further provides an electronic device, including a unit or a module for performing each step of the above-mentioned first aspect.
  • the present application provides an electronic device, comprising at least one processing element and at least one storage element, wherein the at least one storage element is used to store programs and data, and the at least one processing element is used to execute the first processing element of the present application. methods provided in the aspect.
  • the embodiments of the present application further provide a computer storage medium, where a software program is stored in the storage medium, and the software program can implement the first aspect or any one of the software programs when read and executed by one or more processors method provided by a design.
  • embodiments of the present application further provide a computer program product including instructions, which, when run on a computer, cause the computer to execute the method provided by the first aspect or any one of the designs.
  • an embodiment of the present application provides a chip system, where the chip system includes a processor for supporting an electronic device to implement the functions involved in the first aspect above.
  • the chip system further includes a memory for storing necessary program instructions and data of the electronic device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the embodiments of the present application further provide a graphical user interface on an electronic device, wherein the electronic device has a foldable display screen, a memory, and a processor, and the processor is configured to execute the operations stored in the memory.
  • the computer program in wherein the graphical user interface comprises a graphical user interface displayed when the electronic device executes the method of the first aspect.
  • FIG. 1A is an example diagram of a first foldable display screen provided by an embodiment of the present application.
  • FIG. 1B is an example diagram of a second foldable display screen provided by an embodiment of the present application.
  • FIG. 1C is an example diagram of a third foldable display screen provided by an embodiment of the present application.
  • FIG. 1D is an example diagram of a fourth foldable display screen provided by an embodiment of the present application.
  • FIG. 2 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a display method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a method for calculating an unfolding angle of a foldable display screen according to an embodiment of the present application
  • 6A is a schematic diagram of a display example provided by an embodiment of the present application.
  • FIG. 6B is a schematic diagram of the correspondence between the folding coefficient and the display parameter of the image provided by the embodiment of the present application.
  • 6C is a schematic diagram of another display example provided by an embodiment of the present application.
  • FIG. 6D is a schematic diagram of another display example provided by an embodiment of the present application.
  • 6E is a schematic diagram of yet another display example provided by an embodiment of the present application.
  • FIG. 6F is a schematic diagram of still another display example provided by an embodiment of the present application.
  • 6G is a schematic diagram of another display example provided by an embodiment of the present application.
  • FIG. 7 is a structural diagram of another electronic device provided by an embodiment of the present application.
  • the present application provides a display method and an electronic device, which are used to achieve smoothness and flexibility of the displayed content during the change of the folding degree of the foldable display screen, and improve the user's visual experience.
  • the method and the electronic device are based on the same technical concept. Since the principles of the method and the electronic device to solve the problem are similar, the implementation of the electronic device and the method can be referred to each other, and the repetition will not be repeated.
  • the electronic device in the process of displaying the multimedia file on the foldable display screen of the electronic device, when the electronic device detects the user's folding operation and unfolding operation, it can obtain the information of the foldable display screen.
  • the current folding coefficient is used to determine the target display attribute of the multimedia file according to the current folding coefficient; and then the multimedia file is displayed according to the target display attribute. Since different folding systems correspond to different display attributes of the multimedia files, changes in the display effects of the multimedia files can be achieved by changing the display attributes.
  • this method can improve the smoothness and flexibility of the displayed content, and ultimately improve the user's visual experience.
  • Electronic equipment which is a device equipped with a foldable display screen and capable of human-computer interaction through the foldable display screen.
  • the electronic device may be a mobile phone, a tablet computer, a notebook computer, a netbook, a vehicle-mounted device, a business intelligent terminal (including a video phone, a conference desktop intelligent terminal, etc.), a personal digital assistant (PDA), Augmented reality (AR) ⁇ virtual reality (virtual reality, VR) equipment, etc.
  • PDA personal digital assistant
  • AR Augmented reality
  • VR virtual reality
  • a foldable display screen a screen that can be changed in shape by external force, including at least two screen parts.
  • the sizes of the respective screen parts may be different or the same.
  • the "screen” and “screen part” in the following embodiments refer to part or all of the foldable display screen.
  • the screen part may be an independent and complete screen (or an independent display unit, such as can be controlled by the processor as a whole), or may refer to a part of the display area of a complete screen.
  • the electronic device can control the display states of different screen parts respectively. Based on the control, the display state of each screen part may specifically be a display-on state (also called a display state, such as a bright-screen state), or a display-off state (such as a black-screen state).
  • Two adjacent screen parts can be movably connected based on a bent part (for example, a hinge or flexible material), and in some implementations, the outside of the connecting part is also covered with a display screen (also called a connecting screen, or a folding edge ).
  • a display screen also called a connecting screen, or a folding edge
  • different screen parts of the foldable display screen can be tiled and unfolded into a full-screen display based on an external force (eg, unfolded by a user's hand), or folded into a single-screen display based on an external force (eg, folded by a user's hand).
  • an external force eg, unfolded by a user's hand
  • the foldable display when the foldable display is unfolded to a full screen, it can be displayed as an 8-inch full screen, and when folded, it can be displayed as a 6.6-inch or 6.38-inch screen.
  • the foldable display screen includes: at least one bending part, and a plurality of screen parts located on both sides of the bending part.
  • the embodiments of the present application can be applied to foldable display screens that are folded inwards, and can also be applied to foldable display screens that are folded outwards, as well as fully folded (360-degree) foldable display screens with various folding methods. Fold the display.
  • Example 1 referring to the inwardly folded foldable display screen shown in FIG. 1A , which has three parts: a bent part and a first screen part and a second screen part located on both sides of the bent part.
  • the unfolding angle When the bending portion is bent or deformed, the angle between the first screen portion and the second screen portion (hereinafter referred to as the unfolding angle) will change, as shown in (b) in FIG. 1A . and (c).
  • the inwardly folded foldable display screen usually has two conventional physical states: an unfolded state as shown in (a) of FIG. 1A , and a folded state as shown in (d) of FIG. 1A .
  • the foldable display screen also presents a half-folded intermediate state, that is, the ( b) and (c).
  • the first screen part is opposite to the second screen part and is invisible to the user.
  • the electronic device can specifically determine the state of the foldable display screen by the unfolding angle.
  • the electronic device determines that the state of the foldable display screen is the unfolding state; when the unfolding angle Within the interval formed by 0 degrees and the second threshold (ie, the preset folded state condition), the electronic device determines that the state of the foldable display screen is the folded state; when the unfolding angle is formed by the second threshold and the first threshold Within the interval (that is, a preset intermediate state condition), the electronic device determines that the state of the foldable display screen is an intermediate state, that is, the foldable display screen is in a state change process.
  • the value of the first threshold is greater than the value of the second threshold, and the first threshold and the second threshold may be specifically set according to actual applications, for example, the first threshold is 175 degrees, 170 degrees degrees, 150 degrees, etc., the second threshold is 5 degrees, 45 degrees, 90 degrees, and so on.
  • Example 2 referring to the outwardly folded foldable display screen shown in FIG. 1B , similar to FIG. 1A , it also has three parts: a bent part and a first screen part and a second screen part on both sides of the bent part . Moreover, when the bending portion is bent or deformed, the angle between the first screen portion and the second screen portion (hereinafter referred to as the unfolding angle) can also be changed, as shown in FIG. 1B (b and (c).
  • the unfolding angle the angle between the first screen portion and the second screen portion
  • the outwardly folded foldable display screen also has two conventional physical states: the unfolded state as shown in (a) of FIG. 1B , and the unfolded state as shown in (d) of FIG. 1B folded state.
  • the foldable display screen also presents a half-folded intermediate state, as shown in (b) and (c) of FIG. 1B .
  • the first screen part and the second screen part are opposite to each other, and are located on the surfaces on both sides of the electronic device, that is, a screen Part of the screen is visible on the front and another part of the screen is on the back.
  • the electronic device can specifically determine the state of the foldable display screen by the unfolding angle.
  • the unfolding angle is within an interval formed by 180 degrees and a third threshold (that is, a preset unfolding state condition)
  • the electronic device determines that the state of the foldable display screen is the unfolding state; when the unfolding
  • the electronic device determines that the state of the foldable display screen is the folded state; when the unfolding angle is within the third threshold and the fourth threshold
  • Within the constituted interval ie, a preset intermediate state condition
  • the electronic device determines that the state of the foldable display screen is an intermediate state, that is, the foldable display screen is in a state change process.
  • the value of the fourth threshold is greater than the value of the third threshold, and the third threshold and the fourth threshold may be specifically set according to actual applications, for example, the third threshold is 185 degrees, 190 degrees degrees, 200 degrees, etc., the fourth threshold is 355 degrees, 350 degrees, 340 degrees, and so on.
  • folding direction of the foldable display screen shown in FIG. 1A and FIG. 1B is left-right folding (ie, vertical folding). In other embodiments, the folding direction of the foldable display screen may also be vertical folding (ie, horizontal folding).
  • the foldable display screen shown in FIG. 1A and FIG. 1B includes two screen parts.
  • the methods provided in this application can also be applied to foldable display screens having three or more screen sections.
  • the foldable display screen with three screen sections shown in FIGS. 1C and 1D can be applied.
  • the state of the foldable display screen shown in FIG. 1C and FIG. 1D when the unfolding angles of any two adjacent screen parts meet the preset folded state conditions, the state of the foldable display screen is the folded state; When two adjacent screen parts meet the preset expanded state condition, the state of the foldable display screen is the expanded state, and in other cases, it is an intermediate state.
  • the display method provided by the embodiment of the present application is applicable to the foldable display screen shown in FIG. 1A-FIG. 1D , and at least two adjacent screen parts in the foldable display screen are used as an independent complete screen or display unit, Display multimedia files.
  • the following embodiments take the inwardly folded foldable display screen shown in FIG. 1A as an example to introduce the display method provided by the embodiment of the present application in detail.
  • multimedia files files that can be displayed on the screen of the electronic device.
  • the multimedia file may be, but not limited to, any of the following file types: a video file, an image collection, an image, a three-dimensional scene model, and the like.
  • Interface that is, user interface (UI), which is presented on the foldable display screen and is the medium for interaction and information exchange between electronic devices and users. Transitions between visual forms.
  • UI user interface
  • the specific expression form of the interface may be an image, a window, a main interface, or a picture when various multimedia files are displayed.
  • FIG. 2 shows the structure of an electronic device.
  • the electronic device may include: a processor 110 , an external memory interface 120 , an internal memory 121 , a universal serial bus (USB) interface 130 , a charging management module 140 , a power management module 141 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • a processor 110 an external memory interface 120 , an internal memory 121 , a universal serial bus (USB) interface 130 , a charging management module 140 , a power management module 141 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receive
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller can be the nerve center and command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices.
  • the charging management module 140 is used to receive charging input from the charger.
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the electronic device.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite systems (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite systems
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation and amplification on the signal, and then convert it into electromagnetic waves for radiation
  • the antenna 1 of the electronic device is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • Display screen 194 is a foldable display screen for displaying an interface.
  • 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 or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • Camera 193 is used to capture still images or video.
  • the camera 193 may include at least one camera, eg, a front-facing camera and a rear-facing camera.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, and the software code of at least one application (eg, iQIYI application, WeChat application, etc.), etc., wherein, the operating system can be Wait.
  • the storage data area can store data (such as images, videos, etc.) generated during the use of the electronic device.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. Such as saving pictures, videos and other files in an external memory card.
  • the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor. Such as music playback, recording, etc.
  • the sensor module 180 may include an angle sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an environmental sensor.
  • the angle sensor 180A is used to detect the unfolding angle between any two screen parts in the display screen 194 (ie, the foldable display screen).
  • Gyro sensor 180B is used to measure the orientation of the electronic device.
  • each display screen 194 of the electronic device or each screen portion of the display screen 194 is provided with a corresponding gyro sensor 180G for measuring the orientation of the corresponding display screen 194 or the screen portion.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • Electronic devices emit infrared light outward through light-emitting diodes.
  • Electronic devices use photodiodes to detect reflected infrared light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the electronic device. When insufficient reflected light is detected, the electronic device can determine that there is no object in the vicinity of the electronic device.
  • the electronic device can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed in the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can communicate the detected touch operation to the application processor to determine the type of touch event and can provide visual output related to the touch operation through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the location where the display screen 194 is located.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device may receive key input and generate key signal input related to user settings and function control of the electronic device.
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device.
  • the structure shown in FIG. 2 does not constitute a specific limitation on the electronic device, and the electronic device to which the display method provided in this application is adapted may also include more or less components than those shown in the figure, or combine some components. , or split some parts, or different parts arrangement.
  • the electronic device shown in FIG. 2 is used as an example for description.
  • the software system of the electronic device shown in FIG. 2 of the present application may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android (Android) system with a layered architecture as an example to illustrate the software structure of an electronic device.
  • FIG. 3 shows a block diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • the software structure of the electronic device can be a layered architecture, for example, the software can be divided into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer (framework, FWK), an Android runtime (Android runtime) and system libraries, and a kernel layer.
  • the application layer can include a series of applications. As shown in Figure 3, the application layer may include camera, settings, phone, SMS, gallery, calendar, and third-party applications. Among them, third-party applications can include WeChat, maps, navigation, music, video, iQiyi, etc.
  • the application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer.
  • the application framework layer can include some predefined functions. As shown in FIG. 3, the application framework layer may include: window manager, content provider, view system, telephony manager, resource manager, notification manager and so on.
  • Window manager which provides window manager service for windows.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • the window manager includes a plurality of specific management functions, such as a surface control function (SurfaceControl.Transaction).
  • the surface control function can obtain the values of some parameters from the following functions to realize the animation effect of the interface displayed on the display screen: the transparency animation function (AlphaAnimation), the stretching animation function (ScaleAnimation), and the position animation function (TranslateAnimation).
  • the transparency animation function is used to set the transparency of the interface, and the electronic device can change the transparency of the interface by changing the value of the transparency variable (or the opacity variable) in the transparency animation function.
  • the stretching animation function is used to set the enlargement or reduction of the interface, and the electronic device can realize the stretching change of the interface by changing the value of the stretching ratio variable in the stretching animation function.
  • the position animation function is used to set the position and size of the screen drawing area, and the electronic device can change the position and size of the screen drawing area by changing the values of the position variable and the size variable in the position animation function.
  • the surface control function may further include other animation functions for implementing other changes in the interface, such as color change, shape change, position change, angle change, and the like.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • An interface can consist of one or more controls.
  • the interface including the SMS notification icon may include controls for displaying text and controls for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device. For example, the management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the Android runtime includes core libraries and a virtual machine.
  • Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of the Android system.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: state detection module, folding coefficient calculation module, display module, media library, image processing library, etc.
  • the state detection module is used to identify the physical form of the foldable display screen of the electronic device.
  • the state detection module can be used to determine the physical form of the foldable display screen according to sensor data uploaded by various sensors in the hardware layer.
  • the state detection module may calculate the unfolded angle of two adjacent screen parts according to the sensor data uploaded by various sensors in the hardware layer, and then judge the state of the foldable display screen based on the unfolded angle.
  • the physical form may include a folded state, an unfolded state, and a half-folded intermediate state.
  • the folding coefficient calculation module is used for calculating the folding coefficient of the foldable display screen.
  • the folding coefficient calculation module can also calculate the unfolding angle of two adjacent screen parts according to the sensor data uploaded by various sensors in the hardware layer, and then determine the folding angle of the foldable display screen by the unfolding angle. Fold factor.
  • the display module is configured to determine the target display attribute of the multimedia file displayed in the foldable display screen according to the folding coefficient calculated by the folding coefficient calculation module, and display the multimedia file according to the determined target display attribute.
  • the display module may implement the display method provided by the embodiment of the present application by invoking the window manager in the application framework layer.
  • the media library supports playback and recording of audio and video in multiple formats, and supports opening of still images in multiple formats.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer at least includes display drivers, sensor drivers, camera drivers, audio drivers, etc., which are used to drive the hardware in the hardware layer.
  • the hardware layer can include various sensors, foldable displays, cameras, and more.
  • the embodiment of the present application provides a display method, and the method is applicable to an electronic device configured with a foldable display screen as shown in FIG. 2 .
  • the following describes the method with reference to the flowchart of the display method shown in FIG. 4 , taking the electronic device having the structure shown in FIG. 2 as an example.
  • the foldable display screen shown in FIG. 1A is taken as an example for description.
  • S401 A processor in an electronic device displays a multimedia file in a foldable display.
  • the multimedia file may be various types of files that can be displayed on the foldable display screen of the electronic device.
  • the multimedia file may be a video file or an image set containing multiple images, or an image, or a three-dimensional scene model.
  • the processor may display the multimedia file in various scenarios, for example, the processor may display the multimedia file in the scenario of displaying a wallpaper (static wallpaper or dynamic wallpaper); or the processor may Display the multimedia file in the scenario of displaying the lock screen wallpaper or the home screen; or the processor may display the opening of an application (such as a photo application, a three-dimensional scene model application, a video application, etc.) in the scenario of displaying the multimedia file.
  • the multimedia file selected by the user is displayed in the window of the application; or the processor may display the plurality of multimedia files in the main interface (for example, application icons displayed in the main interface).
  • the processor detects a user's target operation, where the target operation is a folding operation or an unfolding operation performed by the user on the foldable display screen.
  • the processor can detect the user's folding operation or unfolding operation according to real-time data collected by various sensors such as a touch sensor, an angle sensor, a gyroscope sensor, and an acceleration sensor. For example, the processor may periodically determine the unfolding angle between the first screen portion and the second screen portion constituting the foldable display screen according to the real-time data collected by the above sensors, and when it is determined that the unfolding angle changes , it can be determined that the user performs the target operation.
  • sensors such as a touch sensor, an angle sensor, a gyroscope sensor, and an acceleration sensor.
  • the processor acquires a current folding coefficient of the foldable display screen, where the current folding coefficient is used to represent the current folding degree of the foldable display screen.
  • the current folding coefficient may be the current unfolding angle ⁇ 0 between the first screen part and the second screen part constituting the folding display screen, or a normalization coefficient ⁇ 0 of the current unfolding angle ⁇ 0.
  • the value range of the unfolding angle ⁇ of the first screen portion and the second screen portion is also different. From the inward-folding foldable display screen and the outward-folding foldable display screen shown in FIG. 1A and FIG. 1B , it can be known that, for the inward-folding foldable display screen, the value range of the unfolding angle ⁇ is [0 degrees, 180 degrees]; For an outwardly folded foldable display screen, the value range of the unfolding angle ⁇ is [180 degrees, 360 degrees]; for a fully folded foldable display screen, the value range of the unfolding angle ⁇ is [0 degrees, 360 degrees]. In the following, only the foldable display screen folded inward is taken as an example for introduction. Therefore, the current deployment angle ⁇ 0 is within the value range of the deployment angle ⁇ [0 degrees, 180 degrees].
  • the processor may obtain the current unfolding angle ⁇ 0 through, but not limited to, the following implementations. It should be noted that the following embodiments of the present application do not limit the method for obtaining the current deployment angle ⁇ 0.
  • Embodiment 1 When the electronic device includes an angle sensor, the processor may directly acquire the current deployment angle ⁇ 0 according to real-time data collected by the angle sensor.
  • the angle sensor may be a virtual angle sensor composed of a combination of a gyroscope sensor, an acceleration sensor, and the like; or a solid angle sensor.
  • the second embodiment when the electronic device is provided with a corresponding gyro sensor for each screen part, the processor may be based on the orientation data of the first screen part collected by the gyro sensor of the first screen part (hereinafter referred to as the first orientation data), and the orientation data of the second screen portion collected by the gyro sensor of the second screen portion (hereinafter referred to as the second orientation data) to determine the current deployment angle ⁇ 0.
  • the first orientation data the orientation data of the first screen part collected by the gyro sensor of the first screen part
  • the second orientation data orientation data of the second screen portion collected by the gyro sensor of the second screen portion
  • a gyroscope sensor A is provided in the first screen part, and a gyroscope sensor B is provided in the second screen part.
  • the gyro sensor A measures the first orientation data (ie the first direction vector Z1)
  • the gyro sensor B measures the second orientation data (ie the second direction vector Z2)
  • the processor can measure the first orientation data and the second orientation according to the first orientation data data, and calculate the current angle between the first screen part and the second screen part (ie, the current unfolding angle ⁇ 0).
  • the coordinate system of the gyro sensor is a geographic coordinate system.
  • the origin O of the geographic coordinate system is located at the point where the carrier (that is, the device including the gyro sensor, which refers to the electronic device in the embodiment of this application) is located, and the x-axis is along the local The latitude lines point east (E), the y-axis points north (N) along the local meridian, and the z-axis points up along the local geographic vertical, and forms a right-handed Cartesian coordinate system with the x- and y-axes.
  • the plane formed by the x-axis and the y-axis is the local horizontal plane
  • the plane formed by the y-axis and the z-axis is the local meridian plane. Therefore, it can be understood that the coordinate system of the gyro sensor is: taking the gyro sensor as the origin O, the x-axis pointing east along the local latitude, the y-axis pointing north along the local meridian, and pointing up along the local geographic vertical (ie The opposite direction of the geographic vertical) is the z-axis.
  • the processor in the electronic device can use the gyro sensor provided in each screen part to measure the direction vector of the orientation of each screen part in the coordinate system corresponding to the gyro sensor.
  • the processor of the electronic device can receive the first direction vector Z1 of the first screen part in the coordinate system of the gyroscope sensor A, and the second screen part in the coordinate system of the gyroscope sensor A.
  • the second direction vector Z2 in the coordinate system of the gyro sensor B.
  • the processor can determine the current angle ⁇ 0 between Z1 and Z2 according to Z1 and Z2, and the ⁇ 0 conforms to the following formula one:
  • the current expansion angle angle ⁇ 0 180° between the first screen part and the second screen part can be obtained - ⁇ 0.
  • first direction vector Z1 and the second direction vector Z2 are not in the same coordinate system, since the axes of the two coordinate systems are parallel, the first direction vector Z1 and the second direction can still be calculated by the above formula The current angle ⁇ 0 between the vectors Z2.
  • gyroscope sensor may be an entity gyroscope sensor, or may be a virtual gyroscope sensor formed by cooperating with other multiple sensors.
  • Embodiment 3 The processor may also determine the current unfolding angle ⁇ 0 between the first screen portion and the second screen portion through real-time data collected by one or more other sensors.
  • each screen part of the foldable display screen of the electronic device may be provided with an acceleration sensor, and each acceleration sensor is used to collect the motion acceleration of the corresponding screen part.
  • the processor in the electronic device can obtain the motion acceleration when the corresponding screen part is rotated collected by each acceleration sensor; then calculate the rotation angle of one screen part relative to another screen part according to the measured motion acceleration; finally, all the The processor may determine, according to the rotation angle, the current included angle ⁇ 0 of the unfolding angle between the two screen parts (the first screen part and the second screen part).
  • the processor may, but is not limited to, through the above implementations, first The current deployment angle ⁇ 0 is acquired, and then the current deployment angle ⁇ 0 is normalized to obtain the current normalization coefficient ⁇ 0.
  • the value range of the normalization coefficient ⁇ of the unfolding angle ⁇ is [0, 1], and the current normalization coefficient ⁇ 0 is within the value range of the normalization coefficient ⁇ .
  • the processor may use the following formula 2 to normalize the current deployment angle ⁇ 0:
  • the maximum value of the unfolding angle and the minimum value of the unfolding angle are also different. From the above description of the value range of the unfolding angle ⁇ , it can be known that the maximum unfolding angle of the inwardly folded foldable display screen is 180 degrees, and the minimum unfolding angle is 0 degrees.
  • the current normalization coefficient ⁇ 0 obtained by the processor after normalizing the current deployment angle ⁇ 0 by using formula 2 is 0.65.
  • S404 The processor determines a target display attribute of the multimedia file according to the current folding coefficient; wherein the target display attribute is used to represent the display effect of the multimedia file.
  • the processor may calculate the current folding coefficient to determine the target display attribute.
  • the processor may maintain a corresponding relationship between the folding coefficient and the display attribute of the multimedia file. In this way, the processor may determine the target display attribute corresponding to the current folding coefficient according to the current folding coefficient and the corresponding relationship between the folding coefficient and the display attribute of the multimedia file.
  • the display attributes corresponding to a plurality of folding coefficients are different.
  • the display attributes of the multimedia files will also change, so that the multimedia files can be displayed in the foldable display screen. changes in the display effect.
  • S405 The processor displays the multimedia file in the foldable display screen according to the target display attribute.
  • the processor can display the multimedia file on the foldable display screen, and make the multimedia file conform to the display effect represented by the target display attribute.
  • An embodiment of the present application provides a display method, in the process of displaying a multimedia file on a foldable display screen of an electronic device, when the electronic device detects a user's folding operation and unfolding operation, the foldable display screen can be obtained. and determine the target display attribute of the multimedia file according to the current folding coefficient; and then display the multimedia file according to the target display attribute. Since different folding systems correspond to different display attributes of the multimedia files, changes in the display effects of the multimedia files can be achieved by changing the display attributes. Obviously, in the process of changing the folding degree of the foldable display screen, this method can improve the smoothness and flexibility of the displayed content, and ultimately improve the user's visual experience.
  • Example 1 The multimedia file displayed in the foldable display screen of the electronic device is a video file.
  • the target display attribute may contain a target image location in the video file.
  • the processor of the electronic device displays the video file in the foldable display screen, and after detecting the user's folding operation or unfolding operation, obtains the current folding coefficient of the foldable display screen;
  • the corresponding relationship between the folding coefficient, the stored folding coefficient and the image position in the video file determine the target image position corresponding to the current folding coefficient; the target image at the target image location and display the target image in the foldable display screen.
  • the current folding coefficient is the current unfolding angle ⁇ 0 between the first screen portion and the second screen portion (referred to as the current unfolding angle ⁇ 0 of the foldable display screen for short), that is, the folding coefficient is the unfolding angle ⁇ ,
  • the corresponding relationship between the folding coefficient and the image position in the video file conforms to the following formula 3 or formula 4:
  • Image position unfolding angle ⁇ /(maximum unfolding angle - minimum unfolding angle) * total number of video frames
  • Image position total number of video frames - unfolding angle ⁇ /(maximum unfolding angle - minimum unfolding angle) * total number of video frames
  • the current folding coefficient is the normalization coefficient ⁇ 0 of the current unfolding angle ⁇ 0 of the foldable display screen
  • the folding coefficient is the normalization coefficient ⁇ of the unfolding angle ⁇
  • the folding coefficient is the same as the
  • Image position normalization coefficient ⁇ * total number of video frames
  • Image position total number of video frames - normalization coefficient * total number of video frames
  • the user can adjust the folding angle of the foldable display screen to enable the processor to display images at different image positions in the foldable display screen.
  • the folding angle of the foldable display screen changes sequentially from large to small or from small to small, through this example, during the process of changing the folding degree of the foldable display screen, the processor can continuously broadcast or Playing back multiple images in consecutive positions in the video file realizes the smoothness and flexibility of the content displayed by the electronic device.
  • the multimedia file currently displayed by the electronic device is a video file containing 180 (frames) images.
  • the processor of the electronic device can According to different degrees of folding of the foldable display screen, images at different image positions are displayed in the foldable display screen.
  • the processor can determine that at this time The position of the target primitive is the 180th image in the video file; similarly, when the current unfolding angle ⁇ 0 of the foldable display screen is 120 degrees, the processor can determine that the position of the target primitive at this time is the video The 120th image in the file; when the current unfolding angle ⁇ 0 of the foldable display screen is 60 degrees, the processor may determine that the position of the target image element at this time is the 60th image in the video file.
  • the processor can turn on the foldable display screen in turn.
  • the display screen displays from the 180th image in the video file to the 60th image, realizing the effect of rewinding the video file.
  • the processor can sequentially display the folding display on the foldable display screen.
  • the screen displays from the 60th image in the video file to the 180th image in sequence to realize the effect of the video file being played.
  • Example 2 The multimedia file displayed in the foldable display screen of the electronic device is an image collection.
  • the target display attribute may contain a target image location in the image collection. Similar to Example 1, reference may be made to FIG. 6A for the display effect, which will not be repeated here.
  • the multimedia file displayed in the foldable display screen of the electronic device is an image.
  • the target display properties may contain target display parameters for the image.
  • the target display parameter may be, but is not limited to, at least the following or a combination of the following parameters: the target display position of the image in the foldable display screen, the target size of the image, the target transparency of the image, the target The target color of the image, the target three-dimensional rotation angle of the image, the target three-dimensional rotation perspective angle of the image, the target frame shape of the image, and the like.
  • the size of the image may be any one or a combination of the number of pixels of the image, the scaling ratio of the image, the size of the image, etc., which is not limited in this application.
  • the processor of the electronic device displays the image in the foldable display screen, and after detecting the user's folding operation or unfolding operation, obtains the current folding coefficient of the foldable display screen; then the processor obtains the current folding coefficient according to the current folding The corresponding relationship between the coefficients, the stored folding coefficients and the display parameters of the image, to determine the target display parameters corresponding to the current folding coefficients; finally, the processor processes the image according to the target display parameters ; and display the processed image in the foldable display.
  • the function can be a linear function; it can also be a nonlinear function, for example, the curve of the nonlinear function is: an acceleration change curve, or a deceleration change curve, a change curve of acceleration first and then deceleration , a change curve of deceleration and then acceleration, a Bezier change curve, and other various curves, which are not limited in the embodiments of the present application.
  • the processor can adjust the changing speed of the display parameter of the image by using the corresponding relationship satisfying different functions.
  • the corresponding relationship stored by the processor is a linear change curve
  • the display parameters of the image also change at a constant speed
  • the corresponding relationship is an acceleration change curve
  • the value range of the folding coefficient p is [the minimum value of the folding coefficient, the maximum value of the folding coefficient], wherein, when the folding coefficient p is the unfolding angle ⁇ of the foldable display screen, and the The foldable display screen is an inwardly folded foldable display screen as shown in FIG.
  • the value range of the folding coefficient p is [0 degrees, 180 degrees]; when the folding coefficient is the normalization coefficient of the unfolding angle ⁇ , the value range of the folding coefficient p is [0, 1]; the value range of the display parameter g of the image is [the minimum value of the display parameter of the image, the maximum value of the display parameter of the image], and the range can be determined according to The specific scene and the specific parameter type of the display parameter are specifically set.
  • the corresponding relationship between the folding coefficient p and the display parameter g of the image is a linear relationship, and when it conforms to a linear function, the corresponding relationship can satisfy the following formula 7:
  • K is the slope of the corresponding relationship
  • G2 is the maximum value of the display parameter of the image
  • G1 is the minimum value of the display parameter of the image.
  • the target display parameters determined in real time by the processor according to the stored correspondence between the folding coefficient and the display parameters of the image also change sequentially.
  • the processor continuously displays images of different display parameters in the foldable display screen. Therefore, through this example, in the process of changing the folding degree of the foldable display screen, the processor can continuously display images with different display parameters, so as to realize the smoothness and flexibility of the displayed content of the electronic device.
  • the display parameter of the image is the size of the image (for example, the zoom factor) as an example for description.
  • the processor of the electronic device may display images of different sizes in the folding display screen according to the degree of folding of the folding display screen. .
  • the processor may determine that the zoom factor of the image at this time is 2 times; similarly, when the unfolding angle of the foldable display screen is 2 times When it is 120 degrees, the processor can determine that the zoom factor of the image at this time is 1.5 times according to the corresponding relationship; when the unfolding angle of the foldable display screen is 60 degrees, the processor can use the corresponding relationship. relationship, determine that the zoom factor of the image at this time is 1 times.
  • the processor can turn on the foldable display screen in turn.
  • the image with the zoom factor changing from 2 times to 1 times is displayed on the display screen, realizing the effect of gradually reducing the image.
  • the processor can sequentially display the foldable display screen on the foldable display screen.
  • the screen displays the image with the zoom factor changing from 1x to 2x, realizing the effect of gradually enlarging the image.
  • the display parameter of the image is the display position of the image in the foldable display screen as an example for description.
  • the processor of the electronic device may display different display positions in the foldable display screen according to the degree of folding of the foldable display screen. Display the image. That is, when the unfolding angle of the foldable display screen changes, the effect seen by the user is that the position of the picture changes.
  • the display position of the image in the foldable display is expressed by x and y coordinates, which conform to the coordinate system of the electronic device, for example, take any point in the foldable display as the origin (different origin positions do not affect the folding coefficient and the image. the corresponding relationship of the display position).
  • the display position of the image can be expressed by the position of any pixel in the image, such as the corner of the picture, or the center point. In this embodiment, the lower left corner of the foldable display screen is taken as the origin, and the display position of the image is expressed by the center point of the image. Referring to FIG. 6D, when the foldable display screen is in the unfolded state, the display position of the image is point B (x2, y2). When the foldable display screen is in the folded state, the image The display position is point A (x1, y1).
  • the moving trajectory of the image is shown as the dotted line in Fig. 6D.
  • the image changes from point A (x1, y1) to point B (x2, y2).
  • the corresponding relationship between the folding coefficient and the display position of the image may satisfy the above formula 7.
  • G2 can be the coordinates of point B
  • G1 can be the coordinates of point A.
  • the formula seven can be decomposed into the following formula eight:
  • the description is given by taking the display parameter of the image as the transparency of the image as an example.
  • the processor of the electronic device may display different transparency in the foldable display screen according to the degree of folding of the foldable display screen. the image. That is, when the unfolding angle of the foldable display screen changes, the effect seen by the user is that the transparency of the picture changes.
  • the corresponding relationship between the folding coefficient and the transparency of the image may satisfy the above formula 7.
  • G2 can be the transparency in the unfolded state, such as 0 (the image is not transparent and completely visible);
  • G1 can be the transparency in the folded state, such as 100 (the image is completely transparent and invisible).
  • the image displayed in the foldable display screen is gradually clear from scratch.
  • Image When the user performs a folding operation on the foldable display screen to change the foldable display screen from the unfolded state to the folded state, the image displayed in the foldable display screen will change from presence to absence, and gradually blur until disappearing image.
  • the display parameter of the image is the color of the image (eg, RGB values of red, green and blue channels) as an example for description.
  • the processor of the electronic device may display the foldable display screen in different colors according to the degree of folding of the foldable display screen. image. That is, when the unfolding angle of the foldable display screen changes, the effect seen by the user is that the color of the picture changes.
  • G2 may be the RGB value in the unfolded state
  • G1 may be the RGB value in the folded state.
  • each value in the RGB value can conform to the above formula 7.
  • the formula 7 can be decomposed into the following formula 9:
  • R (R2-R1)*(folding coefficient*K)+R1 of the target pixel
  • G (G2-G1)*(folding coefficient*K)+G2 of the target pixel point
  • B (B2-B1)*(folding coefficient*K)+B1 of the target pixel
  • the processor of the electronic device may display different three-dimensional rotation angles in the folding display screen according to the degree of folding of the folding display screen. Image.
  • the processor in the electronic device is provided with a three-dimensional coordinate system for the displayed image.
  • the x-axis in the three-dimensional coordinate system is a straight line along the width of the image
  • the y-axis is a straight line along the height of the image
  • the x-axis and the y-axis form a horizontal plane
  • the image is located in the horizontal plane
  • the z-axis is located in the horizontal plane. perpendicular to this horizontal plane.
  • the three-dimensional rotation angle of the image is ( ⁇ , ⁇ , ⁇ ).
  • is the rotation angle of the image in the direction of the x-axis.
  • is the angle at which the image rotates with the y-axis or a line parallel to the y-axis as the rotation axis;
  • is the rotation angle of the image in the direction of the y-axis.
  • Rotation angle is the angle at which the image rotates with the x-axis or a line parallel to the x-axis as the rotation axis; ⁇ is the rotation angle of the image in the z-axis direction, as shown in the figure, ⁇ is The angle by which the image is rotated about the z-axis or a line parallel to the z-axis as the rotation axis.
  • the value ranges of ⁇ , ⁇ , and ⁇ are all [0 degrees, 360 degrees).
  • the corresponding relationship may conform to any of the function diagrams shown in FIG. 6B .
  • the processor can determine the three-dimensional rotation angle of the image at this time as (0 degrees, 0 degrees, 0 degrees).
  • the image displayed by the processor in the foldable display screen is the original image, as shown in (b) of FIG. 6E .
  • the processor may determine the three-dimensional rotation angle of the image at this time as (30 degrees, 30 degrees, 30 degrees) according to the corresponding relationship.
  • what the processor displays on the foldable display screen is the image after the original image is rotated according to the three-dimensional rotation angle, as shown in (c) of FIG. 6E .
  • the processor may determine the three-dimensional rotation angle of the image at this time as (60 degrees, 60 degrees, 60 degrees) according to the corresponding relationship.
  • what the processor displays on the foldable display screen is the image after the original image is rotated according to the three-dimensional rotation angle, as shown in (d) of FIG. 6E .
  • the processor can turn on the foldable display screen in turn.
  • An image whose three-dimensional rotation angle is gradually changed from (0 degree, 0 degree, 0 degree) to (60 degree, 60 degree, 60 degree) is displayed on the display screen, so as to realize the effect of three-dimensional rotation of the image.
  • the processor can sequentially display the foldable display screen on the foldable display screen.
  • the screen displays an image whose three-dimensional rotation angle gradually changes from (60 degrees, 60 degrees, 60 degrees) to (0 degrees, 0 degrees, 0 degrees) to achieve the effect of three-dimensional image rotation.
  • the display parameter of the image is the three-dimensional rotation perspective angle of the image as an example for description.
  • the processor of the electronic device may display different three-dimensional rotating perspectives in the folding display screen according to the degree of folding of the folding display screen. Angled image.
  • the three-dimensional rotation perspective angle of the image includes two parts: the three-dimensional rotation angle and the three-dimensional perspective angle.
  • the three-dimensional rotation angle reference may be made to the description of the three-dimensional coordinate system shown in (a) in FIG. 6E in the above embodiment, and details are not repeated here.
  • the three-dimensional rotation perspective angle of the image is ( ⁇ , ⁇ , ⁇ , ⁇ ).
  • ⁇ , ⁇ , and ⁇ are the rotation angles of the image in the x-axis direction, the y-axis direction, and the z-axis direction, respectively.
  • is a three-dimensional perspective angle, exemplarily, its value range may be [0 degrees, 120 degrees].
  • the corresponding relationship may conform to any of the function diagrams shown in FIG. 6B .
  • the processor can determine the three-dimensional rotation perspective angle of the image at this time as (0 degrees, 0 degrees, 0 degrees, 0 degrees) .
  • the image displayed by the processor in the foldable display screen is the original image, as shown in (a) of FIG. 6F .
  • the processor may determine the three-dimensional rotation perspective angle of the image at this time as (30 degrees, 0 degrees, 0 degrees, 30 degrees) according to the corresponding relationship.
  • what the processor displays in the foldable display screen is the image after the original image is rotated according to the three-dimensional rotation perspective angle, as shown in (b) of FIG. 6F .
  • the processor may determine the three-dimensional rotation perspective angle of the image at this time as (60 degrees, 0 degrees, 0 degrees, 60 degrees) according to the corresponding relationship.
  • what the processor displays on the foldable display screen is the image after the original image is rotated according to the three-dimensional rotation perspective angle, as shown in (c) of FIG. 6F .
  • the processor can turn on the foldable display screen in turn.
  • the display screen displays an image whose three-dimensional rotation perspective angle gradually changes from (0 degrees, 0 degrees, 0 degrees, 0 degrees) to (60 degrees, 0 degrees, 0 degrees, 60 degrees) to achieve the effect of three-dimensional rotation perspective of the image.
  • the processor can sequentially display the foldable display screen on the foldable display screen.
  • the screen displays an image whose 3D rotation perspective angle gradually changes from (60 degrees, 0 degrees, 0 degrees, 60 degrees) to (0 degrees, 0 degrees, 0 degrees, 0 degrees) to achieve the effect of three-dimensional rotation perspective of the image.
  • the display parameter of the image is the frame shape of the image as an example for description.
  • the processor of the electronic device may display different frame shapes in the foldable display screen according to the degree of folding of the foldable display screen. of this image. That is, when the unfolding angle of the foldable display screen changes, the effect seen by the user is that the shape of the frame of the picture changes.
  • the processor of the electronic device may determine according to the stored correspondence between the folding coefficient and the frame shape of the image: when the unfolding angle of the foldable display screen is 180 degrees, the frame shape of the image is a rectangle; When the unfolding angle of the foldable display screen is 120 degrees, the frame shape of the image is an octagon; when the unfolding angle of the foldable display screen is 60 degrees, the frame shape of the image is a circle.
  • the processor can turn the foldable display screen on the foldable display screen in turn.
  • the images whose frame shapes are rectangles, octagons, and circles are displayed in the middle, and the effect of changing the frame shape of the image is realized, that is, the effect of displaying images of different shapes is realized.
  • the processor can sequentially display the foldable display screen on the foldable display screen. An image whose frame shape is a circle, an octagon, or a rectangle is displayed on the screen, and the effect of changing the frame shape of the image is realized, that is, the effect of displaying images of different shapes is realized.
  • the display parameter of an image may include a plurality of different parameters, so that a richer and more varied display can be formed. effect, thereby further improving the user's visual experience.
  • Example 4 The multimedia file displayed in the foldable display screen of the electronic device is a three-dimensional scene module.
  • the target display attribute is target display information of the three-dimensional scene model.
  • the target display parameter may be, but is not limited to, any one of the following parameters: the target viewpoint position of the 3D scene model, the target physical position of the reference point in the 3D scene model set in the 3D scene model, the 3D scene model The target feature point with the center as the center point.
  • the processor of the electronic device displays the image in the foldable display screen, and after detecting the user's folding operation or unfolding operation, obtains the current folding coefficient of the foldable display screen; then the processor obtains the current folding coefficient according to the current folding The corresponding relationship between the coefficient, the stored folding coefficient and the display information of the three-dimensional scene model, to determine the target display information corresponding to the current folding coefficient; finally, the processor determines the three-dimensional display information according to the target display information. a visual image of the scene model and display the visual image in the foldable display.
  • the target display parameters determined in real time by the processor according to the stored correspondence between the folding coefficients and the display parameters of the 3D scene module also change sequentially.
  • the processor is caused to continuously display images of different display information in the foldable display screen. Therefore, through this example, during the process of changing the folding degree of the foldable display screen, the processor can continuously display images with different display information, so as to realize the smoothness and flexibility of the displayed content of the electronic device.
  • the display information of the three-dimensional scene model is taken as an example of the viewpoint position of the three-dimensional scene model for description.
  • the processor of the electronic device can display different viewpoint positions on the foldable display screen according to the different folding degrees of the foldable display screen. The visual image of the three-dimensional scene model.
  • the corresponding relationship can be represented by the following formula 10:
  • Viewpoint position ((x1,y1,z1)-(x0,y0,z0))*(folding coefficient*K)+(x0,y0,z0)
  • (x0, y0, z0) may be the viewpoint position when the foldable display screen is in the folded state
  • (x1, y1, z1) may be the viewpoint position when the foldable display screen is in the unfolded state.
  • the processor can determine the viewpoint position a at this time, and determine the visual image of the viewpoint position a as follows This is shown in (a) of FIG. 6G .
  • the processor can determine the viewpoint position b according to the corresponding relationship, and determine the visual image of the viewpoint position b as shown in FIG. 6G shown in (b).
  • the processor can determine the viewpoint position c at this time according to the corresponding relationship, and determine that the visible image of the viewpoint position c is as shown in FIG. 6G ( c) shown.
  • the processor can turn on the foldable display screen in turn.
  • the visual image from the viewpoint position a to the viewpoint position c is displayed on the display screen, so as to realize the effect of the user viewing the same scene through different visual angles.
  • the processor can sequentially display the folding display on the foldable display screen.
  • the visual image from the viewpoint position c to the viewpoint position a is displayed on the screen, which can also achieve the effect of the user viewing the same scene through different visual angles.
  • the display information of the three-dimensional scene model is used as an example for setting the target physical position of the reference point in the three-dimensional scene in the three-dimensional scene model for description.
  • the set reference point may be an obvious feature point on the object in the three-dimensional scene model. For example, the taillight of the car in the three-dimensional scene model shown in FIG. 6E .
  • the processor of the electronic device may display the foldable display screen in a three-dimensional scene according to the degree of folding of the foldable display screen.
  • the corresponding relationship can be represented by the following formula eleven:
  • the processor can sequentially display the visual images in which the physical position of the set reference point moves in the three-dimensional scene, so as to realize the three-dimensional scene.
  • the dynamic visual effect in which the reference point is set to move such as the change process of the visible image shown in Figure 6G.
  • the display information of the three-dimensional scene model is taken as an example of a feature point serving as a center point in the three-dimensional scene model for description.
  • a plurality of candidate feature points may be set in the three-dimensional scene model, and each candidate feature point corresponds to a different folding coefficient.
  • the processor of the electronic device may determine the target feature point corresponding to the current folding coefficient from among the multiple candidate feature points, and then use the target feature point as the target feature point.
  • the center point is determined, and the visible image of the three-dimensional scene model is determined, and then the visible image with the target feature point as the center point is displayed on the foldable display screen.
  • the processor can sequentially display the visual images with different candidate feature points as the core points, so that the user can view the visual images through different visual angles. Watch the effect of the same scene, such as the change process of the visible image shown in Figure 6G.
  • the present application also provides an electronic device, which is used to implement the display methods provided by the above embodiments and examples.
  • the electronic device includes: a processor 701 , a memory 702 , and a foldable display screen 703 .
  • the processor 701 is interconnected with other components.
  • the processor 701 and other components can be connected to each other through a bus;
  • the bus can be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the foldable display screen 703, used for displaying an interface may include at least one display screen.
  • the processor 701 is configured to implement the display method provided in the above embodiment, and for details, reference may be made to the description in the above embodiment, and details are not repeated here.
  • the terminal device 700 may further include a camera, various sensors, a transceiver, and the like.
  • the transceiver is used to receive and transmit data.
  • the transceiver may be the mobile communication module 150 and/or the wireless communication module 160 in the electronic device shown in FIG. 2 .
  • the memory 702 is used to store computer programs and data.
  • a computer program may include program code including instructions for computer operation.
  • the memory 702 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
  • the processor 701 executes the program instructions stored in the memory 702, and implements the above functions through the above components, thereby finally realizing the display methods provided by the above embodiments.
  • the embodiments of the present application further provide a computer program, which when the computer program runs on a computer, causes the computer to execute the display method provided by the above embodiments.
  • embodiments of the present application further provide a computer storage medium, where a computer program is stored in the computer storage medium, and when the computer program is executed by a computer, the computer executes the display method provided by the above embodiments.
  • the embodiments of the present application further provide a chip, which is used to read a computer program stored in a memory, and implement the display methods provided by the above embodiments.
  • the embodiments of the present application provide a chip system, where the chip system includes a processor for supporting the functions involved in the electronic device in the above embodiments.
  • the chip system further includes a memory for storing necessary programs and data of the computer device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the embodiments of the present application further provide a graphical user interface on an electronic device, wherein the electronic device has a foldable display screen, a memory, and a processor, and the processor is configured to execute the memory stored in the A computer program in a memory, wherein the graphical user interface includes a graphical user interface displayed when the electronic device executes the display method provided by the above embodiment.
  • the present application provides a display method and an electronic device.
  • the current folding coefficient of the foldable display screen can be obtained, and the current folding coefficient of the foldable display screen can be obtained according to the The current folding coefficient determines the target display attribute of the multimedia file; and then displays the multimedia file according to the target display attribute. Since different folding systems correspond to different display attributes of the multimedia file, changes in the display effect of the multimedia file can be achieved by changing the display attributes. Obviously, in the process of changing the folding degree of the foldable display screen, this method can improve the smoothness and flexibility of the displayed content, and ultimately improve the user's visual experience.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供了一种显示方法。该方法包括:在电子设备的可折叠显示屏显示多媒体文件的过程中,当所述电子设备检测到用户的折叠操作和展开操作时,可以获取所述可折叠显示屏的当前折叠系数,并根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;然后根据所述目标显示属性,显示所述多媒体文件。由于不同的折叠系统对应所述多媒体文件的不同显示属性,因此,通过显示属性的变化,可以实现所述多媒体文件的显示效果的变化。

Description

一种显示方法及电子设备
相关申请的交叉引用
本申请要求在2020年07月28日提交中国专利局、申请号为202010739467.3、申请名称为“一种显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术,尤其涉及一种显示方法及电子设备等。
背景技术
可折叠显示屏是目前电子设备发展的一个技术方向,其具有电子设备携带方便、屏幕尺寸大等优点。目前,在折叠过程或展开过程中,可折叠显示屏中显示的内容通常是静态不变的。这种显示方法显示内容单一、显示效果单调。
发明内容
本申请提供了一种显示方法及电子设备,用以实现可折叠显示屏的折叠程度变化过程中显示内容的平滑性和灵活性,提高用户的视觉体验。
第一方面,本申请实施例提供了一种显示方法,其中,该方法应用于配置有可折叠显示屏的电子设备。该方法包括以下步骤:
所述电子设备在所述可折叠显示屏中显示多媒体文件;当所述电子设备检测到用户的目标操作时,响应于所述目标操作,获取所述可折叠显示屏的当前折叠系数,其中,所述目标操作为用户对所述可折叠显示屏进行的折叠操作或展开操作,所述当前折叠系数用于表征所述可折叠显示屏当前的折叠程度;然后所述电子设备根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;其中,所述目标显示属性用于表征所述多媒体文件的显示效果;最后,所述电子设备根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件。
由于不同的折叠系统对应所述多媒体文件的不同显示属性,因此,通过显示属性的变化,可以实现所述多媒体文件的显示效果的变化。显然,在可折叠显示屏的折叠程度变化过程中,该方法可以提高显示内容的平滑性和灵活性,最终提高用户的视觉体验。
在一种可能的设计中,所述多媒体文件为包含多个图像的视频文件或图像集合,所述目标显示属性为所述视频文件或所述图像集合中的目标图像位置。在该情况下,所述电子设备可以根据所述当前折叠系数、存储的折叠系数与所述视频文件或所述图像集合中的图像位置的对应关系,确定与所述当前折叠系数对应的所述目标图像位置;然后,通过以下步骤,显示所述多媒体文件:在所述视频文件或所述图像集合包含的多个图像中,确定位于所述目标图像位置的目标图像;在所述可折叠显示屏中显示所述目标图像。
由于视频文件或图像集合包含的多个图像是连续的,因此,用户可以通过调整所述可折叠显示屏的折叠角度,使所述电子设备可以在所述可折叠显示屏中显示位于不同图像位 置的图像。并且由于可折叠显示屏的折叠角度是由大到小或由小到达依次变化的,因此,通过本设计,在可折叠显示屏的折叠程度变化过程中,所述电子设备可以连续的正播或倒播所述视频文件或图像集合中位置连续的多个图像,实现所述电子设备显示内容的平滑性和灵活性。
在一种可能的设计中,所述多媒体文件为图像;所述目标显示属性为所述图像的目标显示参数,其中,所述图像的目标显示参数包括以下至少一项或组合:所述图像在所述可折叠显示屏中的目标显示位置、所述图像的目标大小、所述图像的目标透明度、所述图像的目标颜色、所述图像的目标三维旋转角度、所述图像的目标三维旋转透视角度,所述图像的目标边框形状。在该情况下,所述电子设备可以根据所述当前折叠系数、存储的折叠系数与所述图像的显示参数的对应关系,确定与所述当前折叠系数对应的所述目标显示参数;然后所述电子设备通过以下步骤,显示所述多媒体文件:根据所述目标显示参数,对所述图像进行处理;在所述可折叠显示屏中显示处理后的所述图像。
由于可折叠显示屏的折叠角度是依次变化的,因此,所述处理器根据存储的折叠系数与所述图像的显示参数的对应关系实时确定的目标显示参数也是依次变化的,这样,可以使所述处理器在所述可折叠显示屏中连续显示不同显示参数的图像。因此,通过本设计,在可折叠显示屏的折叠程度变化过程中,所述处理器可以连续的显示具有不同显示参数的图像,实现所述电子设备显示内容的平滑性和灵活性。
在一种可能的设计中,所述多媒体文件为三维场景模型;所述目标显示属性为所述三维场景模型的目标显示信息,其中,所述三维场景模型的目标显示参数包括以下任一项:所述三维场景模型的目标视点位置,所述三维场景模型中设定参考点在三维场景中的目标物理位置,所述三维场景模型中作为心点的目标特征点。在该情况下,所述电子设备可以根据所述当前折叠系数、存储的折叠系数与所述三维场景模型的显示信息的对应关系,确定与所述当前折叠系数对应的所述目标显示信息;然后,所述电子设备可以通过以下步骤显示所述多媒体文件:根据所述目标显示信息,确定所述三维场景模型的可视图像;在所述可折叠显示屏中显示所述可视图像。
在一种可能的设计中,所述当前折叠系数为组成所述可折叠显示屏的第一屏幕部分和第二屏幕部分之间的当前展开角度,或者为所述当前展开角度的归一化系数。
在一种可能的设计中,所述电子设备直接获取传感器采集的所述当前折叠系数;或者所述电子设备获取传感器采集的实时数据,并对所述实时数据进行计算,得到所述当前折叠系数。
第二方面,本申请实施例还提供了一种电子设备,包括用于执行上述第一方面各个步骤的单元或模块。
第三方面,本申请提供一种电子设备,包括至少一个处理元件和至少一个存储元件,其中所述至少一个存储元件用于存储程序和数据,所述至少一个处理元件用于执行本申请第一方面中提供的方法。
第四方面,本申请实施例中还提供一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现第一方面或其中任意一种设计提供的方法。
第五方面,本申请实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或其中任一种设计提供的方法。
第六方面,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持电子设备实现上述第一方面中所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存电子设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
第七方面,本申请实施例还提供了一种电子设备上的图形用户界面,其中,所述电子设备具有可折叠显示屏、存储器,以及处理器,所述处理器用于执行存储在所述存储器中的计算机程序,所述图形用户界面包括所述电子设备执行第一方面所述的方法时显示的图形用户界面。
附图说明
图1A为本申请实施例提供的第一种可折叠显示屏的示例图;
图1B为本申请实施例提供的第二种可折叠显示屏的示例图;
图1C为本申请实施例提供的第三种可折叠显示屏的示例图;
图1D为本申请实施例提供的第四种可折叠显示屏的示例图;
图2为本申请实施例提供的一种电子设备的结构图;
图3为本申请实施例提供的一种电子设备的软件结构图示意图;
图4为本申请实施例提供的一种显示方法的流程图;
图5为本申请实施例提供的一种可折叠显示屏的展开角度计算方法示意图;
图6A为本申请实施例提供的一种显示实例示意图;
图6B为本申请实施例提供的折叠系数与图像的显示参数之间的对应关系示意图;
图6C为本申请实施例提供的另一种显示实例示意图;
图6D为本申请实施例提供的又一种显示实例示意图;
图6E为本申请实施例提供的再一种显示实例示意图;
图6F为本申请实施例提供的再一种显示实例示意图;
图6G为本申请实施例提供的又一种显示实例示意图;
图7为本申请实施例提供的一种另一种电子设备的结构图。
具体实施方式
本申请提供一种显示方法及电子设备,用以实现可折叠显示屏的折叠程度变化过程中显示内容的平滑性和灵活性,提高用户的视觉体验。其中,方法和电子设备是基于同一技术构思的,由于方法及电子设备解决问题的原理相似,因此电子设备与方法的实施可以相互参见,重复之处不再赘述。
在本申请实施例提供的方案中,在电子设备的可折叠显示屏显示多媒体文件的过程中,当所述电子设备检测到用户的折叠操作和展开操作时,可以获取所述可折叠显示屏的当前折叠系数,并根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;然后根据所述目标显示属性,显示所述多媒体文件。由于不同的折叠系统对应所述多媒体文件的不同显示属性,因此,通过显示属性的变化,可以实现所述多媒体文件的显示效果的变化。显然,在可折叠显示屏的折叠程度变化过程中,该方法可以提高显示内容的平滑性和灵活性,最终提高用户的视觉体验。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
1)、电子设备,为配置有可折叠显示屏,能够通过可折叠显示屏进行人机交互的设备。例如,所述电子设备可以为手机、平板电脑、笔记本电脑、上网本、车载设备,以及商务智能终端(包括:可视电话、会议桌面智能终端等)、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等,本申请对所述电子设备的具体形态不作限定。
2)、可折叠显示屏,可以通过外力改变形态的屏幕,包括至少两个屏幕部分。其中,各个屏幕部分的大小可以各有差异,也可以相同。以下实施例中的“屏幕”、“屏幕部分”指可折叠显示屏中的部分或全部。
其中,屏幕部分可以是一块独立完整的屏幕(或者一个独立的显示单元,如可受处理器整体控制),也可以是指一块完整的屏幕中的一部分的显示区域。电子设备可以分别对不同的屏幕部分的显示状态进行控制。基于控制,各个屏幕部分的显示状态具体可为开启显示的状态(又称为显示状态,如亮屏的状态),或者为关闭显示的状态(如黑屏的状态)。
相邻两个屏幕部分可以基于弯折部分(例如,铰链或柔性材料)进行可活动连接,在一些实现中,该连接部件的外部也覆盖有显示屏(还可称为联接屏,或折叠边)。这样,可折叠显示屏的不同屏幕部分可基于外力(如用户用手展开)平铺展开为一个全屏进行显示,也可基于外力(如用户用手折叠)折叠成一个单屏进行显示。举例来说,可折叠显示屏展开为全屏时可以是8英寸的全面屏进行显示,折叠后可以是6.6英寸或6.38英寸的一块屏幕部分进行显示。
综上可知,可折叠显示屏包含:至少一个弯折部分,以及多个位于弯折部分两侧的屏幕部分。另外,本申请实施例可以适用于内折的可折叠显示屏,也同样可以适用于外折的可折叠显示屏中,以及全折(360度)的可折叠显示屏等各种折叠方式的可折叠显示屏。
例1,参阅图1A所示的内折的可折叠显示屏,其具有三个部分:一个弯折部分和位于该弯折部分两侧的第一屏幕部分和第二屏幕部分。
当所述弯折部分发生弯折或形变时,所述第一屏幕部分和所述第二屏幕部分之间的夹角(后续简称为展开角度)会发生改变,如图1A中的(b)和(c)所示。
在实际应用中,该内折的可折叠显示屏通常具有两种常规物理状态:如图1A中的(a)所示的展开状态,以及如图1A中的(d)所示的折叠状态。在将所述可折叠显示屏从一种常规状态切换到另一种常规状态的状态变化过程中,所述可折叠显示屏还会呈现出一种半折叠的中间状态,即图1A中的(b)和(c)所示。其中,如图1A中的(d)所示,处于折叠状态的可折叠显示屏,所述第一屏幕部分和所述第二屏幕部分相对,对用户不可见。
在一些实施例中,电子设备可以通过展开角度来具体确定所述可折叠显示屏的状态。示例性的,当所述展开角度处于第一阈值和180度构成的区间内(即预设的展开状态条件),电子设备确定所述可折叠显示屏的状态为展开状态;当所述展开角度处于0度和第二阈值构成的区间内(即预设的折叠状态条件),电子设备确定所述可折叠显示屏的状态为折叠状态;当所述展开角度处于第二阈值和第一阈值构成的区间内(即预设的中间状态条件),所述电子设备确定所述可折叠显示屏的状态为中间状态,即所述可折叠显示屏处于状态变化过程中。其中,所述第一阈值的取值大于所述第二阈值的取值,所述第一阈值和所述第二阈值可以根据实际应用具体设置,例如,所述第一阈值为175度、170度、150度等,所述第二阈值为5度、45度、90度等。
例2,参阅图1B所示的外折的可折叠显示屏,与图1A类似的,也具有三个部分:一个弯折部分和该弯折部分两侧的第一屏幕部分和第二屏幕部分。并且,当所述弯折部分发生弯折或形变时,所述第一屏幕部分和所述第二屏幕部分之间的夹角(后文简称为展开角度)也可以改变,如图1B中的(b和(c)所示。
同样的,在实际应用中,该外折的可折叠显示屏也具有两种常规物理状态:如图1B中的(a)所示的展开状态,以及如图1B中的(d)所示的折叠状态。在所述可折叠显示屏的状态变化过程中,所述可折叠显示屏还会呈现出一种半折叠的中间状态,即图1B中的(b)和(c)所示。其中,如图1B中的(d)所示,处于折叠状态的可折叠显示屏,所述第一屏幕部分和所述第二屏幕部分相背,位于电子设备的两侧的表面,即一个屏幕部分在正面可见,另外一个屏幕部分在背面。
同样的,电子设备可以通过展开角度来具体确定所述可折叠显示屏的状态。示例性的,当所述展开角度处于由180度和第三阈值构成的区间内(即预设的展开状态条件),电子设备确定所述可折叠显示屏的状态为展开状态;当所述展开角度处于第四阈值和360度构成的区间内(即预设的折叠状态条件),电子设备确定所述可折叠显示屏的状态为折叠状态;当所述展开角度处于第三阈值和第四阈值构成的区间内(即预设的中间状态条件),所述电子设备确定所述可折叠显示屏的状态为中间状态,即所述可折叠显示屏处于状态变化过程中。其中,所述第四阈值的取值大于所述第三阈值的取值,所述第三阈值和所述第四阈值可以根据实际应用具体设置,例如,所述第三阈值为185度、190度、200度等,所述第四阈值为355度、350度、340度等。
还需要说明的是,图1A和图1B所示的可折叠显示屏的折叠方向为左右折叠(即纵向折叠)。在另一些实施例中,所述可折叠显示屏的折叠方向还可以为上下折叠(即横向折叠)。
需要注意的是,图1A和图1B所示的可折叠显示屏为包含两个屏幕部分。本申请提供的方法还可以适用于具有三个或三个以上的屏幕部分的可折叠显示屏。例如图1C和图1D所示的具有三个屏幕部分的可折叠显示屏。
其中,在图1C和图1D所示的可折叠显示屏中,任意相邻两个屏幕部分的展开角度符合预设的折叠状态条件时,该可折叠显示屏的状态即为折叠状态;当所有相邻两个屏幕部分均符合预设的展开状态条件时,该可折叠显示屏的状态为展开状态,其他情况为中间状态。本申请实施例提供的显示方法,适用于图1A-图1D所示的可折叠显示屏,且所述可折叠显示屏中至少两个相邻的屏幕部分作为一个独立的完整屏幕或显示单元,显示多媒体文件。以下实施例以图1A所示内折的可折叠显示屏为例,对本申请实施例提供的显示方法进行详细介绍。
还需要说明的是,本申请各实施例以及相关附图中所描述的可折叠显示屏仅用于解释本申请的技术方案而非限定。本申请对可折叠显示屏的各个屏幕部分的形状、外观、材质,屏幕部分的数量、屏幕部分间的连接方式、折叠方式均不做限定。
3)、多媒体文件,能够在电子设备的屏幕上显示的文件。可选的,所述多媒体文件可以但不限于为以下任一种文件类型:视频文件、图像集合、图像、三维场景模型等。
4)、界面,即用户界面(user interface,UI),呈现在可折叠显示屏上,是电子设备和用户之间进行交互和信息交换的媒介,它可以实现信息的设备内部数据形式与用户的视觉形式之间的转换。
界面的具体表现形式可以为图像、窗口(window)、主界面、显示各种多媒体文件时的画面。
4)、“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
需要说明的是,本申请中所涉及的多个,是指两个或两个以上。至少一个,是指一个或多个。
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。
下面结合附图对本申请实施例进行具体说明。
该方法可以适用于任何配置有可折叠显示屏的电子设备中。图2示出了一种电子设备的结构。
如图2所示,电子设备可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施 例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频、放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
显示屏194为可折叠显示屏,用于显示界面。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。
摄像头193用于捕获静态图像或视频。在一些实施例中,摄像头193可以包括至少一个摄像头,例如一个前置摄像头和一个后置摄像头。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序(例如爱奇艺应用,微信应用等)的软件代码等,其中, 所述操作系统可以为
Figure PCTCN2021101838-appb-000001
等。存储数据区可存储电子设备使用过程中所产生的数据(例如图像、视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。
电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
其中,传感器模块180可以包括角度传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
角度传感器180A,用于检测显示屏194(即可折叠显示屏)中任意两个屏幕部分之间的展开角度。
陀螺仪传感器180B用于测量电子设备的方向。可选的,所述电子设备的每个显示屏194或该显示屏194中每个屏幕部分设置有对应的陀螺仪传感器180G,用于测量对应的该显示屏194或该屏幕部分的朝向。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备通过发光二极管向外发射红外光。电子设备使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备附近有物体。当检测到不充分的反射光时,电子设备可以确定电子设备附近没有物体。电子设备可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194内,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型,并可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备的表面,与显示屏194所处的位置不同。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现与电子设备的接触和分离。
可以理解的是,图2所示的结构并不构成对电子设备的具体限定,本申请提供的显示方法适应的电子设备还可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。以下的实施例中,以图2所示的电子设备为例进行介绍。
本申请图2所示的电子设备的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android(安卓)系统为例,示例性说明电子设备的软件结构。
图3示出了本申请实施例提供的电子设备的软件结构框图。如图3所示,电子设备的软件结构可以是分层架构,例如可以将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序。如图3中所示,应用程序层可以包括相机、设置、电话、短信息、图库、日历,以及三方应用程序等。其中,三方应用程序可以包括微信、地图、导航,音乐,视频、爱奇艺等。
应用程序框架层为应用程序层中的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。如图3所示,应用程序框架层可以包括:窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器,为窗口提供窗口管理服务(window manager service)。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。示例性的,所述窗口管理器中包含多个提供具体的管理函数,例如surface控制函数(SurfaceControl.Transaction)。该surface控制函数可以从以下函数中获取一些参数的取值,实现显示屏中显示的界面的动画效果:透明度动画函数(AlphaAnimation)、拉伸动画函数(ScaleAnimation)、位置动画函数(TranslateAnimation)。其中,透明度动画函数用于设置界面的透明度,电子设备可以通过对透明度动画函数中的透明度变量(或者不透明度变量)的取值的变化,实现界面的透明度的变化。拉伸动画函数用于设置界面的放大或缩小,电子设备可以通过对拉伸动画函数中的拉伸比例变量的取值的变化,实现界面的拉伸变化。位置动画函数用于设置屏幕绘制区域的位置和大小,电子设备可以通过对位置动画函数中的位置变量和尺寸变量的取值的变化,实现屏幕绘制区域的位置和大小的变化。可选的,所述surface控制函数中还可包含其他动画函数,用于实现界面的其他变化,例如颜色变化、形状变化、位置变化、角度变化等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。界面可以由一个或多个控件组成的。例如,包括短信通知图标的界面,可以包括显示文字的控件以及显示图片的控件。
电话管理器用于提供电子设备的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。其中,核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓系统的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理, 线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:状态检测模块、折叠系数计算模块、显示模块、媒体库(media libraries),图像处理库等。
状态检测模块,用于对电子设备的可折叠显示屏的物理形态进行识别。例如,状态检测模块可以用于根据硬件层中各类传感器上传的传感器数据确定该可折叠显示屏的物理形态。示例性的,所述状态检测模块可以根据硬件层中各类传感器上传的传感器数据,计算相邻两个屏幕部分的展开夹角,然后通过该展开夹角来判断可折叠显示屏的状态。其中物理形态可以包括折叠状态,展开状态,以及半折叠的中间状态等。
所述折叠系数计算模块,用于计算所述可折叠显示屏的折叠系数。示例性的,所述折叠系数计算模块可以同样根据硬件层中各类传感器上传的传感器数据,计算相邻两个屏幕部分的展开夹角,然后通过该展开夹角确定所述可折叠显示屏的折叠系数。
所述显示模块,用于根据所述折叠系数计算模块计算的折叠系数,确定可折叠显示屏中显示的多媒体文件的目标显示属性,并根据确定的目标显示属性,显示该多媒体文件。具体的,所述显示模块可以通过调用应用程序框架层中的窗口管理器,以实现本申请实施例提供的显示方法。
媒体库支持多种格式的音频、视频的回放和录制,以及支持打开多种格式的静态图像等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,传感器驱动、摄像头驱动,音频驱动等,用于驱动硬件层中的硬件。
硬件层可以包括各类传感器、可折叠显示屏、摄像头等。
下面结合本申请实施例的显示方法,示例性说明电子设备的软件以及硬件的工作流程。
本申请实施例提供了一种显示方法,该方法适用于如图2所示的配置有可折叠显示屏的电子设备中。下面参考图4所示的显示方法流程图,以具有图2所示结构的电子设备为例,对该方法进行说明。示例性的,在该方法的描述中,以图1A所示的可折叠显示屏为例进行说明。
S401:电子设备中的处理器在可折叠显示屏中显示多媒体文件。
其中,本申请实施例不限定所述多媒体文件可以为能够在电子设备的所述可折叠显示屏中显示的各种类型的文件。示例性的,所述多媒体文件可以为包含多个图像的视频文件或图像集合,或者为一张图像,或者为一个三维场景模型。
另外,所述处理器可以在各种场景下所述多媒体文件,例如,所述处理器可以在显示屏保壁纸(静态壁纸或动态壁纸)的场景下显示所述多媒体文件;或者所述处理器可以在显示锁屏墙纸或主屏幕的场景下显示所述多媒体文件;再或者所述处理器可以在显示打开某个应用(例如照片应用、三维场景模型应用、视频应用等)的场景下,在该应用的窗口内显示用户选择的所述多媒体文件;又或者所述处理器可以在主界面中显示所述多个多媒体文件(例如在主界面中显示的应用图标)。
S402:所述处理器检测到用户的目标操作,所述目标操作为用户对所述可折叠显示屏进行的折叠操作或展开操作。
所述处理器可以根据触摸传感器、角度传感器、陀螺仪传感器、加速度传感器等各种 传感器采集的实时数据,检测用户的折叠操作或展开操作。例如,所述处理器可以周期性的根据上述传感器采集的实时数据,确定构成所述可折叠显示屏的第一屏幕部分和第二屏幕部分之间展开的角度,当确定该展开角度发生变化时,即可确定用户进行所述目标操作。
S403:所述处理器响应于所述目标操作,获取所述可折叠显示屏的当前折叠系数,所述当前折叠系数用于表征所述可折叠显示屏当前的折叠程度。
可选的,所述当前折叠系数可以为组成所述折叠显示屏的第一屏幕部分和第二屏幕部分之间的当前展开角度α0,或者为所述当前展开角度α0的归一化系数β0。
其中,所述可折叠显示屏的折叠方式的不同,第一屏幕部分和第二屏幕部分的展开角度α的取值范围也不同。通过图1A和图1B所示的内折的可折叠显示屏和外折的可折叠显示屏可知,针对内折的可折叠显示屏,展开角度α的取值范围[0度,180度];针对外折的可折叠显示屏,展开角度α的取值范围[180度,360度];针对全折的可折叠显示屏,展开角度α的取值范围[0度,360度]。以下仅以内折的可折叠显示屏为例进行介绍,因此,所述当前展开角度α0在展开角度α的取值范围[0度,180度]内。
在所述当前折叠系数为所述当前展开角度α0的场景中,所述处理器可以但不限于通过以下几种实施方式,获取所述当前展开角度α0。需要说明的是,本申请以下实施方式不对所述当前展开角度α0的获取方法进行限定。
第一种实施方式:当所述电子设备中包含角度传感器时,所述处理器可以直接根据所述角度传感器采集的实时数据中获取所述当前展开角度α0。
可选的,所述角度传感器可以是由陀螺仪传感器、加速度传感器等组合构成的虚拟角度传感器;或者为实体的角度传感器。
第二种实施方式:当所述电子设备针对每个屏幕部分设置有对应的陀螺仪传感器的情况下,所述处理器可以根据第一屏幕部分的陀螺仪传感器采集的第一屏幕部分的朝向数据(后续简称为第一朝向数据),和第二屏幕部分的陀螺仪传感器采集的第二屏幕部分的朝向数据(后续简称为第二朝向数据),确定所述当前展开角度α0。
参阅图5所示,第一屏幕部分中设置有陀螺仪传感器A,第二屏幕部分设置有陀螺仪传感器B。陀螺仪传感器A测量第一朝向数据(即第一方向向量Z1),陀螺仪传感器B测量第二朝向数据(即第二方向向量Z2),所述处理器可以根据第一朝向数据和第二朝向数据,计算第一屏幕部分和第二屏幕部分之间的当前夹角(即当前展开角度α0)。
示例性的,陀螺仪传感器的坐标系是地理坐标系。上图5中的(b)所示,地理坐标系的原点O位于运载体(即包含陀螺仪传感器的设备,在本申请实施例中所指的是电子设备)所在的点,x轴沿当地纬线指向东(E),y轴沿当地子午线指向北(N),z轴沿当地地理垂线指向上,并与x轴和y轴构成右手直角坐标系。其中,x轴与y轴构成的平面即为当地水平面,y轴与z轴构成的平面即为当地子午面。因此,可以理解的是,陀螺仪传感器的坐标系是:以陀螺仪传感器为原点O,沿当地纬线指向东为x轴,沿当地子午线指向北为y轴,沿当地地理垂线指向上(即地理垂线的反方向)为z轴。
电子设备中的处理器可以利用每个屏幕部分中设置的陀螺仪传感器测量得到每个屏幕部分在其对应陀螺仪传感器的坐标系中的朝向的方向向量。
参考图5中(a)所示的电子设备的侧视图,该电子设备的处理器可以接收到第一屏幕部分在陀螺仪传感器A的坐标系中的第一方向向量Z1、第二屏幕部分在陀螺仪传感器B的坐标系中的第二方向向量Z2。然后所述处理器可以根据Z1和Z2,确定Z1与Z2的当 前夹角θ0,所述θ0符合以下公式一:
Figure PCTCN2021101838-appb-000002
由于第一方向向量Z1与第一屏幕部分垂直,第二方向向量Z2与第二屏幕部分垂直,因此,可以得到第一屏幕部分与第二屏幕部分之间的当前展开角度夹角α0=180°-θ0。
需要说明的是,虽然第一屏幕部分和第二屏幕部分中设置的陀螺仪传感器的位置并不重叠,即第一屏幕部分和B平的陀螺仪传感器的坐标系的原点并不重叠,但是,两个坐标系的x轴、y轴、z轴是平行的,从而可以认为第一屏幕部分和第二屏幕部分中设置的陀螺仪传感器的坐标系是平行的。这样一来,虽然第一方向向量Z1和第二方向向量Z2不在同一个坐标系,但是因为两个坐标系的各轴平行,因此,仍可通过上述公式计算第一方向向量Z1和第二方向向量Z2之间的当前夹角θ0。
需要说明的是,上述陀螺仪传感器可以是一个实体的陀螺仪传感器,也可以是由其他多个传感器配合形成的虚拟陀螺仪传感器。
第三种实施方式:所述处理器还可以通过其他一个或多个传感器采集的实时数据,确定第一屏幕部分与第二屏幕部分之间的当前展开角度α0。
例如,电子设备的可折叠显示屏中每个屏幕部分可以设置一个加速度传感器,每个加速度传感器用于采集相应屏幕部分的运动加速度。该电子设备中的处理器可以根据获取每个加速度传感器采集的相应屏幕部分被转动时的运动加速度;然后根据测量得到的运动加速度计算一个屏幕部分相对于另一个屏幕部分的转动角度;最后,所述处理器可以根据该转动角度,确定两个屏幕部分(第一屏幕部分与第二屏幕部分)之间的当前展开角度夹角α0。
在所述当前折叠系数为所述当前展开角度α0的归一化系数β0(以下简称为当前归一化系数β0)的场景中,所述处理器可以但不限于通过以上几种实施方式,先获取所述当前展开角度α0,然后对所述当前展开角度α0进行归一化处理,得到所述当前归一化系数β0。其中,展开角度α的归一化系数β的取值范围为[0,1],所述当前归一化系数β0在该归一化系数β的取值范围内。
示例性的,所述处理器可以采用如下公式二,对所述当前展开角度α0进行归一化处理:
当前归一化系数β0=当前展开角度α0/(展开角度最大值-展开角度最小值)    公式二
其中,根据所述可折叠显示屏的折叠方式的不同,展开角度最大值和展开角度最小值也不同。通过以上对展开角度α的取值范围的描述可知,内折的可折叠显示屏展开角度最大值为180度,展开角度最小值为0度。
因此,假设所述当前展开角度α0为117度,那么处理器采用公式二对该当前展开角度α0进行归一化处理后,得到的当前归一化系数β0为0.65。
S404:所述处理器根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;其中,所述目标显示属性用于表征所述多媒体文件的显示效果。
在一种实施方式中,所述处理器可以对所述当前折叠系数进行计算,从而确定所述目标显示属性。
在另一种实施方式中,所述处理器中可以维护一个折叠系数与所述多媒体文件的显示 属性的对应关系。这样,所述处理器可以根据所述当前折叠系数,所述折叠系数与所述多媒体文件的显示属性的对应关系,确定与所述当前折叠系数对应的所述目标显示属性。
其中,在该对应关系中多个折叠系数对应的显示属性不同,这样,随着折叠系数的变化,所述多媒体文件的显示属性也会发生变化,从而实现在可折叠显示屏中所述多媒体文件的显示效果的变化。
S405:所述处理器根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件。
通过该步骤,所述处理器可以在所述可折叠显示屏中显示所述多媒体文件,并使所述多媒体文件符合所述目标显示属性表征的显示效果。
本申请实施例提供了一种显示方法,在电子设备的可折叠显示屏显示多媒体文件的过程中,当所述电子设备检测到用户的折叠操作和展开操作时,可以获取所述可折叠显示屏的当前折叠系数,并根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;然后根据所述目标显示属性,显示所述多媒体文件。由于不同的折叠系统对应所述多媒体文件的不同显示属性,因此,通过显示属性的变化,可以实现所述多媒体文件的显示效果的变化。显然,在可折叠显示屏的折叠程度变化过程中,该方法可以提高显示内容的平滑性和灵活性,最终提高用户的视觉体验。
在上述图4所示的实施例中,针对不同类型的多媒体文件,其显示属性也不尽相同。因此,本申请实施例还提供了以下几个显示实例,针对不同的多媒体文件进行具体说明。
实例一:电子设备的可折叠显示屏中显示的多媒体文件为视频文件。所述目标显示属性可以包含所述视频文件中的目标图像位置。
该电子设备的处理器在可折叠显示屏中显示该视频文件,当检测到用户的折叠操作或展开操作后,获取所述可折叠显示屏的当前折叠系数;然后所述处理器根据所述当前折叠系数、存储的折叠系数与所述视频文件中的图像位置的对应关系,确定与所述当前折叠系数对应的所述目标图像位置;最后在所述视频文件包含的多帧图像中,确定位于所述目标图像位置的目标图像,并在所述可折叠显示屏中显示所述目标图像。
示例性的,所述当前折叠系数为第一屏幕部分和第二屏幕部分之间的当前展开角度α0(简称为所述可折叠显示屏的当前展开角度α0),即折叠系数为展开角度α,所述折叠系数与所述视频文件中的图像位置的对应关系,符合以下公式三或公式四:
图像位置=展开角度α/(展开角度最大值-展开角度最小值)*视频总帧数   公式三
图像位置=视频总帧数-展开角度α/(展开角度最大值-展开角度最小值)*视频总帧数
公式四
示例性的,所述当前折叠系数为所述可折叠显示屏的当前展开角度α0的归一化系数β0,所述折叠系数为展开角度α的归一化系数β,所述折叠系数与所述视频文件中的图像位置的对应关系,符合以下公式五或公式六:
图像位置=归一化系数β*视频总帧数     公式五
图像位置=视频总帧数-归一化系数*视频总帧数      公式六
由于视频文件包含的多帧图像是连续的,因此,用户可以通过调整所述可折叠显示屏的折叠角度,使所述处理器在所述可折叠显示屏中显示位于不同图像位置的图像。并且由于可折叠显示屏的折叠角度是由大到小或由小到达依次变化的,因此,通过本实例,在可 折叠显示屏的折叠程度变化过程中,所述处理器可以连续的正播或倒播所述视频文件中位置连续的多个图像,实现所述电子设备显示内容的平滑性和灵活性。
参阅图6A所示,电子设备当前显示的多媒体文件为包含180个(帧)图像的视频文件,在用户对所述可折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以根据可折叠显示屏的折叠程度不同,在所述可折叠显示屏中显示不同图像位置的图像。
当所述可折叠显示屏当前展开角度α0为180度时,按照公式三或公式五所示的所述折叠系数与所述视频文件中的图像位置的对应关系,所述处理器可以确定此时的目标图元位置为视频文件中的第180个图像;类似的,当所述可折叠显示屏的当前展开角度α0为120度时,所述处理器可以确定此时的目标图元位置为视频文件中的第120个图像;当所述可折叠显示屏的当前展开角度α0为60度时,所述处理器可以确定此时的目标图元位置为视频文件中的第60个图像。
因此,当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏的展开角度按照180度—120度—60度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中从视频文件中的第180个图像显示到第60个图像,实现视频文件倒播的效果。而当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏的展开角度按照60度—120度—180度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中从视频文件中的第60个图像依次显示到第180个图像,实现视频文件正播的效果。
实例二:电子设备的可折叠显示屏中显示的多媒体文件为图像集合。所述目标显示属性可以包含所述图像集合中的目标图像位置。与实例一类似,显示效果可以参考图6A,此处不再赘述。
实例三:电子设备的可折叠显示屏中显示的多媒体文件为图像。所述目标显示属性可以包含所述图像的目标显示参数。所述目标显示参数可以但不限于为以下参数中的至少以下或组合:所述图像在可折叠显示屏中的目标显示位置、所述图像的目标大小、所述图像的目标透明度、所述目标图像的目标颜色、所述图像的目标三维旋转角度、所述图像的目标三维旋转透视角度,所述图像的目标边框形状等。
其中,所述图像的大小,可以为所述图像的像素数量、所述图像的缩放比例,所述图像的尺寸等任一项或组合,本申请对此不作限定。
该电子设备的处理器在可折叠显示屏中显示该图像,当检测到用户的折叠操作或展开操作后,获取所述可折叠显示屏的当前折叠系数;然后所述处理器根据所述当前折叠系数、存储的折叠系数与所述图像的显示参数的对应关系,确定与所述当前折叠系数对应的所述目标显示参数;最后所述处理器根据所述目标显示参数,对所述图像进行处理;并在所述可折叠显示屏中显示处理后的所述图像。
示例性的,所述折叠系数与所述图像的显示参数的对应关系,可以满足函数g=f(p),其中,所述g为图像的显示参数,p为折叠系数。可选的,参阅图6B所示,所述函数可以为线性函数;也可以为非线性函数,例如该非线性函数的曲线为:加速变化曲线、或者减速变化曲线,先加速后减速的变化曲线,先减速后加速的变化曲线、贝塞尔变化曲线,以及其他各种曲线,本申请实施例对此不作限定。这样,所述处理器可以通过使用满足不同函数的对应关系,调整所述图像的显示参数的变化速度。例如,若所述处理器存储的该对 应关系为线性变化曲线时,则用户若匀速地将可折叠显示屏展开或折叠,该图像的显示参数也是匀速地变化;若所述处理器存储的该对应关系为加速变化曲线时,则即使用户是匀速地将可折叠显示屏展开,用户看到效果依然是图像的显示参数的变化速度是逐渐加快的。
其中,在该函数中,折叠系数p的取值范围为[折叠系数的最小值,折叠系数的最大值],其中,当所述折叠系数p为可折叠显示屏的展开角度α,且所述可折叠显示屏为如图1A所示的内折的可折叠显示屏,那么折叠系数p的取值范围为[0度,180度];当所述折叠系数为展开角度α的归一化系数时,所述折叠系数p的取值范围为[0,1];所述图像的显示参数g的取值范围为[图像的显示参数最小值,图像的显示参数最大值],该范围可以根据具体场景和该显示参数的具体参数类型而具体设置。
示例性的,所述折叠系数p与所述图像的显示参数g的对应关系为线性关系,符合线性函数时,该对应关系可以满足以下公式七:
g=(G2-G1)*(折叠系数p*K)+G1     公式七
其中,K为该对应关系的斜率,G2为所述图像的显示参数最大值,G1为所述图像的显示参数最小值。
由于可折叠显示屏的折叠角度是依次变化的,因此,所述处理器根据存储的折叠系数与所述图像的显示参数的对应关系实时确定的目标显示参数也是依次变化的,这样,可以使所述处理器在所述可折叠显示屏中连续显示不同显示参数的图像。因此,通过本实例,在可折叠显示屏的折叠程度变化过程中,所述处理器可以连续的显示具有不同显示参数的图像,实现所述电子设备显示内容的平滑性和灵活性。
在一种实施方式中,参阅图6C所示,以图像的显示参数为图像的大小(例如缩放倍数)为例进行说明。在用户对所述折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中显示不同大小的图像。
示例性的,假设所述处理器中存储的折叠系数与图像的缩放倍数的对应关系符合图6C中的(a)。当所述可折叠显示屏当前展开角度为180度时,按照该对应关系,所述处理器可以确定此时的图像的缩放倍数为2倍;类似的,当所述可折叠显示屏的展开角度为120度时,所述处理器可以根据该对应关系,确定此时的图像的缩放倍数为1.5倍;当所述可折叠显示屏的展开角度为60度时,所述处理器可以根据该对应关系,确定此时图像的缩放倍数为1倍。
因此,当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏的展开角度按照180度—120度—60度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中显示缩放倍数从2倍变化到1倍的图像,实现图像逐渐缩小的效果。而当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏的展开角度按照以下顺序变化60度—120度—180度时,所述处理器可以依次在所述可折叠显示屏中显示缩放倍数从1倍变化到2倍的图像,实现图像逐渐放大的效果。
在一种实施方式中,以图像的显示参数为图像在可折叠显示屏中的显示位置为例进行说明。在用户对所述可折叠显示平进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中不同的显示位置显示 该图像。即在可折叠显示屏的展开角度发生变化时,用户看到的效果是图片的位置发生变化。
图像在可折叠显示屏中的显示位置用x、y坐标来表达,该坐标遵从电子设备的坐标系,如,以可折叠显示屏中任一个点为原点(原点位置不同不影响折叠系数与图像的显示位置的对应关系)。图像的显示位置可以用图像中任何一个像素点的位置来表达,如图片的角点,或中心点。在本实施方式中,以可折叠显示屏的左下角为原点,图像的显示位置用图像中心点来表达。参阅图6D所示,当在所述可折叠显示屏处于展开状态时,所述图像的显示位置为B点(x2,y2),当所述可折叠显示屏处于折叠状态时,所述图像的显示位置为A点(x1,y1)。
所述图像的移动轨迹如图6D中的虚线,当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏从折叠状态变化到展开状态,那么在所述可折叠显示屏中,所述图像从A点(x1,y1)变化到B点(x2,y2)。
示例性的,折叠系数与所述图像的显示位置的对应关系可以满足上述公式七。其中,G2可以为B点坐标,G1可以为A点坐标。具体来说,所述公式七可以分解为以下公式八:
图片的显示位置横坐标x=(x2-x1)*(折叠系数*K)+x2;
图片的显示位置纵坐标y=(y2-y1)*(折叠系数*K)+y2;
公式八
在一种实施方式中,以图像的显示参数为图像的透明度为例进行说明。在用户对所述可折叠显示平进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中显示不同透明度的该图像。即在可折叠显示屏的展开角度发生变化时,用户看到的效果是图片的透明度发生变化。
示例性的,折叠系数与所述图像的透明度的对应关系可以满足上述公式七。其中,G2可以为展开状态时的透明度,例如0(图像不透明,完全可见);G1可以为折叠状态时的透明度,例如100(图像完全透明,不可见)。
因此,当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏从折叠状态变化为展开状态,那么在所述可折叠显示屏中显示的图像为从无到有、逐渐清晰的图像。而当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏从展开状态变化为折叠状态,那么在所述可折叠显示屏中显示的图像为从有到无,逐渐模糊直至消失的图像。
在一种实施方式中,以图像的显示参数为图像的颜色(例如红绿蓝通道RGB值)为例进行说明。用户对所述可折叠显示平进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中显示不同颜色的该图像。即在可折叠显示屏的展开角度发生变化时,用户看到的效果是图片的颜色发生变化。
其中,折叠系数与所述图像的颜色的对应关系依然满足上述公式七。其中,G2可以为展开状态时的RGB值;G1可以为折叠状态时的RGB值。
以图像中的目标像素点为例,当所述可折叠显示屏为折叠状态时,该目标像素点为纯红色,其RGB值为:R2=255,G2=0,B2=0;当所述可折叠显示屏为展开状态时,该目标像素点为纯绿色,其RGB值为:R1=0,G1=255,B1=0。
示例性的,对于该目标像素点来说,RGB值中的每个值均可以符合上述公式七,具体来说,所述公式七可以分解为以下公式九:
该目标像素点的R=(R2-R1)*(折叠系数*K)+R1;
该目标像素点的G=(G2-G1)*(折叠系数*K)+G2;
该目标像素点的B=(B2-B1)*(折叠系数*K)+B1;
公式九
在一种实施方式中,在一种实施方式中,参阅图6E所示,以图像的显示参数为图像的三维旋转角度为例进行说明。在用户对所述折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中显示不同三维旋转角度的图像。
参阅图6E中的(a)所示,电子设备中的处理器针对显示的图像设置有三维坐标系。其中,该三维坐标系中的x轴是沿该图像的宽所在的直线,y轴是沿该图像的高所在的直线,x轴与y轴构成水平面,所述图像位于该水平面内,z轴与该水平面垂直。
在该坐标系中,图像的三维旋转角度为(λ,μ,φ)。其中,λ为图像在x轴方向上的旋转角度,如图中所示,λ为图像以y轴或与y轴平行的直线为旋转轴进行旋转的角度;μ为图像在y轴方向上的旋转角度,如图中所示,μ为图像以x轴或与x轴平行的直线为旋转轴进行旋转的角度;φ为图像在z轴方向上的旋转角度,如图中所示,φ为图像以z轴或与z轴平行的直线为旋转轴进行旋转的角度。λ,μ,φ的取值范围均为[0度,360度)。
示例性的,电子设备的处理器中存储有折叠系数与图像的三维旋转角度的对应关系,该对应关系可以满足函数g=f(p),其中,所述g为图像的三维旋转角度,p为折叠系数。该对应关系可以符合图6B所示的任一函数图。
假设当所述可折叠显示屏的展开角度为180度时,按照该对应关系,所述处理器可以确定此时的图像的三维旋转角度为(0度,0度,0度)。此时所述处理器在所述可折叠显示屏中显示的图像为原始图像,如图6E中的(b)所示。
当所述可折叠显示屏的展开角度为120度时,所述处理器可以根据该对应关系,确定此时的图像的三维旋转角度为(30度,30度,30度)。此时所述处理器在所述可折叠显示屏中显示的是原始图像按照该三维旋转角度进行旋转后的图像,如图6E中的(c)所示。
当所述可折叠显示屏的展开角度为60度时,所述处理器可以根据该对应关系,确定此时图像的三维旋转角度为(60度,60度,60度)。此时所述处理器在所述可折叠显示屏中显示的是原始图像按照该三维旋转角度进行旋转后的图像,如图6E中的(d)所示。
因此,当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏的展开角度按照180度—120度—60度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中显示三维旋转角度从(0度,0度,0度)逐渐变化到(60度,60度,60度)的图像,实现图像三维旋转的效果。而当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏的展开角度按照以下顺序变化60度—120度—180度时,所述处理器可以依次在所述可折叠显示屏中显示三维旋转角度从(60度,60度,60度)逐渐变化到(0度,0度,0度)的图像,实现图像三维旋转的效果。
在一种实施方式中,参阅图6F所示,以图像的显示参数为图像的三维旋转透视角度为例进行说明。在用户对所述折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中显示不同三维旋转透视角度的图像。
其中,图像的三维旋转透视角度包含两部分:三维旋转角度、三维透视角度。其中,所述三维旋转角度的描述可以参考针对上述实施方式中对图6E中的(a)所示的三维坐标系的描述,此处不再赘述。
在本实施方式中,图像的三维旋转透视角度为(λ,μ,φ,ω)。其中,λ,μ,φ分别为图像在x轴方向上、y轴方向上和z轴方向上的旋转角度,具体可以参考以上实施例中的描述,此处不再赘述。ω为三维透视角度,示例性的,其取值范围可以为[0度,120度]。
示例性的,电子设备的处理器中存储有折叠系数与图像的三维旋转透视角度的对应关系,该对应关系可以满足函数g=f(p),其中,所述g为图像的三维旋转透视角度,p为折叠系数。该对应关系可以符合图6B所示的任一函数图。
假设当所述可折叠显示屏的展开角度为180度时,按照该对应关系,所述处理器可以确定此时的图像的三维旋转透视角度为(0度,0度,0度,0度)。此时所述处理器在所述可折叠显示屏中显示的图像为原始图像,如图6F中的(a)所示。
当所述可折叠显示屏的展开角度为120度时,所述处理器可以根据该对应关系,确定此时的图像的三维旋转透视角度为(30度,0度,0度,30度)。此时所述处理器在所述可折叠显示屏中显示的是原始图像按照该三维旋转透视角度进行旋转后的图像,如图6F中的(b)所示。
当所述可折叠显示屏的展开角度为60度时,所述处理器可以根据该对应关系,确定此时图像的三维旋转透视角度为(60度,0度,0度,60度)。此时所述处理器在所述可折叠显示屏中显示的是原始图像按照该三维旋转透视角度进行旋转后的图像,如图6F中的(c)所示。
因此,当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏的展开角度按照180度—120度—60度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中显示三维旋转透视角度从(0度,0度,0度,0度)逐渐变化到(60度,0度,0度,60度)的图像,实现图像三维旋转透视的效果。而当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏的展开角度按照以下顺序变化60度—120度—180度时,所述处理器可以依次在所述可折叠显示屏中显示三维旋转透视角度从(60度,0度,0度,60度)逐渐变化到(0度,0度,0度,0度)的图像,实现图像三维旋转透视的效果。
在一种实施方式中,以图像的显示参数为图像的边框形状为例进行说明。在用户对所述可折叠显示平进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏中显示不同边框形状的该图像。即在可折叠显示屏的展开角度发生变化时,用户看到的效果是图片的边框形状发生变化。
示例性的,电子设备的处理器根据存储的折叠系数与所述图像的边框形状的对应关系,可以确定:当所述可折叠显示屏的展开角度为180度时,图像的边框形状为长方形;当所述可折叠显示屏的展开角度为120度时,图像的边框形状为八边形;当所述可折叠显示屏 的展开角度为60度是,图像的边框形状为圆形。
当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏的展开角度按照180度—120度—60度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中显示边框形状为长方形、八边形、圆形的图像,实现图像的边框形状变化的效果,即实现显示不同形状的图像的效果。而当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏的展开角度按照以下顺序变化60度—120度—180度时,所述处理器可以依次在所述可折叠显示屏中显示边框形状为圆形、八边形、长方形的图像,实现图像的边框形状变化的效果,即实现显示不同形状的图像的效果。
还需要说明的是,以上各实施方式以图像的显示参数为一个为例进行介绍,在一些实施方式中,图像的显示参数可以包含多个不同的参数,这样可以形成更加丰富和多变的显示效果,从而进一步提高用户的视觉体验。
实例四:电子设备的可折叠显示屏中显示的多媒体文件为三维场景模块。所述目标显示属性为所述三维场景模型的目标显示信息。所述目标显示参数可以但不限于为以下任一项参数:所述三维场景模型的目标视点位置,所述三维场景模型中设定参考点在三维场景中的目标物理位置,所述三维场景模型中作为心点的目标特征点。
该电子设备的处理器在可折叠显示屏中显示该图像,当检测到用户的折叠操作或展开操作后,获取所述可折叠显示屏的当前折叠系数;然后所述处理器根据所述当前折叠系数、存储的折叠系数与所述三维场景模型的显示信息的对应关系,确定与所述当前折叠系数对应的所述目标显示信息;最后所述处理器根据所述目标显示信息,确定所述三维场景模型的可视图像,并在所述可折叠显示屏中显示所述可视图像。
由于可折叠显示屏的折叠角度是依次变化的,因此,所述处理器根据存储的折叠系数与所述三维场景模块的显示参数的对应关系实时确定的目标显示参数也是依次变化的,这样,可以使所述处理器在所述可折叠显示屏中连续显示不同显示信息的图像。因此,通过本实例,在可折叠显示屏的折叠程度变化过程中,所述处理器可以连续的显示具有不同显示信息的图像,实现所述电子设备显示内容的平滑性和灵活性。
在一种实施方式中,以三维场景模型的显示信息为所述三维场景模型的视点位置为例进行说明。在用户对所述折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏显示不同视点位置看到的所述三维场景模型的可视图像。
示例性的,假设所述处理器中存储的折叠系数与三维场景模型的视点位置的对应关系符合图6B所示的各种函数图,该对应关系可以满足函数g=f(p),其中,g为三维场景模型的视点位置,p为折叠系数。示例性的,该对应关系可以通过以下公式十表示:
视点位置=((x1,y1,z1)-(x0,y0,z0))*(折叠系数*K)+(x0,y0,z0)   公式十
其中,(x0,y0,z0)可以为当所述可折叠显示屏为折叠状态时的视点位置,(x1,y1,z1)可以为当所述可折叠显示屏为展开状态时的视点位置。
示例性的,假设所述三维场景模型为在马路上行驶的汽车。参阅图6G所示,当所述可折叠显示屏当前展开角度为180度时,按照该对应关系,所述处理器可以确定此时的视点位置a,并确定该视点位置a的可视图像如图6G中的(a)所示。类似的,当所述可折 叠显示屏的展开角度为120度时,所述处理器可以根据该对应关系,确定此时的视点位置b,并确定该视点位置b的可视图像如图6G中的(b)所示。当所述可折叠显示屏的展开角度为60度时,所述处理器可以根据该对应关系,确定此时的视点位置c,并确定该视点位置c的可视图像为如图6G中的(c)所示。
因此,当用户对所述可折叠显示屏进行折叠操作,使所述可折叠显示屏的展开角度按照180度—120度—60度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中显示从视点位置a到视点位置c的可视图像,实现用户通过不同视觉角度观看同一场景的效果。而当用户对所述可折叠显示屏进行展开操作,使所述可折叠显示屏的展开角度按照60度—120度—180度的顺序变化时,所述处理器可以依次在所述可折叠显示屏中显示从视点位置c到视点位置a的可视图像,同样可以实现用户通过不同视觉角度观看同一场景的效果。
在另一种实施方式中,以三维场景模型的显示信息为所述三维场景模型中设定参考点在三维场景中的目标物理位置为例进行说明。可选的,所述设定参考点可以为所述三维场景模型中的物体上的明显特征点。例如图6E所示的三维场景模型中的汽车的尾灯。
在用户对所述可折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以根据所述可折叠显示屏的折叠程度的不同,在所述可折叠显示屏显示在三维场景中设定参考点的物理位置发生移动的可视图像。
示例性的,假设所述处理器中存储的折叠系数与所述设定参考点的物理位置的对应关系符合图6B所示的各种函数图,该对应关系可以满足函数g=f(p),其中,g为三维场景模型的视点位置,p为折叠系数。示例性的,该对应关系可以通过以下公式十一表示:
设定参考点的物理位置=((x1,y1,z1)-(x0,y0,z0))*(折叠系数*K)+(x0,y0,z0)
公式十一
其中,(x0,y0,z0)可以为当所述可折叠显示屏为折叠状态时该设定参考点在三维场景中的物理位置A;(x1,y1,z1)可以为当所述可折叠显示屏为展开状态时该设定参考点在三维场景中的物理位置B。
通过本实施例,当用户对所述可折叠显示屏进行折叠操作或展开操作时,所述处理器可以依次显示设定参考点的物理位置在三维场景中发生移动的可视图像,实现三维场景中设定参考点发生移动的动态视觉效果,例如图6G所示的可视图像的变化过程。
在又一种实施方式中,以三维场景模型的显示信息为所述三维场景模型中作为心点的特征点为例进行说明。其中,在所述三维场景模型中可以设置多个备选特征点,每个备选特征点对应不同的折叠系数。
在用户对所述可折叠显示屏进行折叠操作或展开操作时,所述电子设备的处理器可以在多个备选特征点中确定当前折叠系数对应的目标特征点,然后以该目标特征点为心点,确定所述三维场景模型的可视图像,进而在所述可折叠显示屏显示以该目标特征点为心点的可视图像。
通过本实施例,当用户对所述可折叠显示屏进行折叠操作或展开操作时,所述处理器可以依次显示以不同的备选特征点作为心点的可视图像,实现用户通过不同视觉角度观看同一场景的效果,例如图6G所示的可视图像的变化过程。
基于相同的技术构思,本申请还提供了一种电子设备,所述电子设备用于实现以上实施例和实例提供的显示方法。参阅图7所示,所述电子设备包括:处理器701、存储器702,可折叠显示屏703。
其中,所述处理器701与其他部件与之间相互连接。可选的,所述处理器701和其他部件可以通过总线相互连接;所述总线可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
所述可折叠显示屏703,用于显示界面,可以包括至少一个显示屏。
所述处理器701,用于实现以上实施例提供的显示方法,具体可以参见上述实施例中的描述,此处不再赘述。
在一些实施方式中,所述终端设备700还可以包括摄像头、各种传感器、收发器等。其中,所述收发器,用于接收和发送数据。示例性的,所述收发器可以为图2所示的电子设备中的移动通信模块150,和/或,无线通信模块160。
所述存储器702,用于存放计算机程序和数据等。具体地,计算机程序可以包括程序代码,该程序代码包括计算机操作的指令。存储器702可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述处理器701执行所述存储器702所存放的程序指令,并通过上述各个部件,实现上述功能,从而最终实现以上实施例提供的显示方法。
基于以上实施例,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以上实施例提供的显示方法。
基于以上实施例,本申请实施例还提供了一种计算机存储介质,该计算机存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行以上实施例提供的显示方法。
基于以上实施例,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现以上实施例提供的显示方法。
基于以上实施例,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持以上实施例中电子设备所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
基于以上实施例,本申请实施例还提供了一种电子设备上的图形用户界面,其中,所述电子设备具有可折叠显示屏、存储器,以及处理器,所述处理器用于执行存储在所述存储器中的计算机程序,所述图形用户界面包括所述电子设备执行以上实施例提供的显示方法时显示的图形用户界面。
综上所述,本申请提供一种显示方法及电子设备。通过该方法,在电子设备的可折叠显示屏显示多媒体文件的过程中,当所述电子设备检测到用户的折叠操作和展开操作时,可以获取所述可折叠显示屏的当前折叠系数,并根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;然后根据所述目标显示属性,显示所述多媒体文件。由于不同的折叠系统对应所述多媒体文件的不同显示属性,因此,通过显示属性的变化,可以实现所述 多媒体文件的显示效果的变化。显然,在可折叠显示屏的折叠程度变化过程中,该方法可以提高显示内容的平滑性和灵活性,最终提高用户的视觉体验。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (15)

  1. 一种显示方法,应用于配置有可折叠显示屏的电子设备,其特征在于,包括:
    在所述可折叠显示屏中显示多媒体文件;
    检测到用户的目标操作,所述目标操作为用户对所述可折叠显示屏进行的折叠操作或展开操作;
    响应于所述目标操作,获取所述可折叠显示屏的当前折叠系数,所述当前折叠系数用于表征所述可折叠显示屏当前的折叠程度;
    根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;其中,所述目标显示属性用于表征所述多媒体文件的显示效果;
    根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件。
  2. 如权利要求1所述的方法,其特征在于,所述多媒体文件为包含多个图像的视频文件或图像集合,所述目标显示属性为所述视频文件或所述图像集合中的目标图像位置;
    根据所述当前折叠系数,确定所述多媒体文件的目标显示属性,包括:
    根据所述当前折叠系数、存储的折叠系数与所述视频文件或所述图像集合中的图像位置的对应关系,确定与所述当前折叠系数对应的所述目标图像位置;
    根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件,包括:
    在所述视频文件或所述图像集合包含的多个图像中,确定位于所述目标图像位置的目标图像;
    在所述可折叠显示屏中显示所述目标图像。
  3. 如权利要求1所述的方法,其特征在于,所述多媒体文件为图像;所述目标显示属性为所述图像的目标显示参数,其中,所述图像的目标显示参数包括以下至少一项或组合:所述图像在所述可折叠显示屏中的目标显示位置、所述图像的目标大小、所述图像的目标透明度、所述图像的目标颜色、所述图像的目标三维旋转角度、所述图像的目标三维旋转透视角度,所述图像的目标边框形状;
    根据所述当前折叠系数,确定所述多媒体文件的目标显示属性,包括:
    根据所述当前折叠系数、存储的折叠系数与所述图像的显示参数的对应关系,确定与所述当前折叠系数对应的所述目标显示参数;
    根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件,包括:
    根据所述目标显示参数,对所述图像进行处理;
    在所述可折叠显示屏中显示处理后的所述图像。
  4. 如权利要求1所述的方法,其特征在于,所述多媒体文件为三维场景模型;所述目标显示属性为所述三维场景模型的目标显示信息,其中,所述三维场景模型的目标显示参数包括以下任一项:所述三维场景模型的目标视点位置,所述三维场景模型中设定参考点在三维场景中的目标物理位置,所述三维场景模型中作为心点的目标特征点;
    根据所述当前折叠系数,确定所述多媒体文件的目标显示属性,包括:
    根据所述当前折叠系数、存储的折叠系数与所述三维场景模型的显示信息的对应关系,确定与所述当前折叠系数对应的所述目标显示信息;
    根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件,包括:
    根据所述目标显示信息,确定所述三维场景模型的可视图像;
    在所述可折叠显示屏中显示所述可视图像。
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述当前折叠系数为组成所述可折叠显示屏的第一屏幕部分和第二屏幕部分之间的当前展开角度,或者为所述当前展开角度的归一化系数。
  6. 一种电子设备,其特征在于,所述电子设备可折叠显示屏和处理器,其中,
    所述可折叠显示屏,用于显示界面;
    所述处理器,用于在所述可折叠显示屏中显示多媒体文件;检测到用户的目标操作,所述目标操作为用户对所述可折叠显示屏进行的折叠操作或展开操作;响应于所述目标操作,获取所述可折叠显示屏的当前折叠系数,所述当前折叠系数用于表征所述可折叠显示屏当前的折叠程度;根据所述当前折叠系数,确定所述多媒体文件的目标显示属性;其中,所述目标显示属性用于表征所述多媒体文件的显示效果;根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件。
  7. 如权利要求6所述的电子设备,其特征在于,所述多媒体文件为包含多个图像的视频文件或图像集合,所述目标显示属性为所述视频文件或所述图像集合中的目标图像位置;
    所述处理器,在根据所述当前折叠系数,确定所述多媒体文件的目标显示属性时,具体用于:
    根据所述当前折叠系数、存储的折叠系数与所述视频文件或所述图像集合中的图像位置的对应关系,确定与所述当前折叠系数对应的所述目标图像位置;
    所述处理器,在根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件时,具体用于:
    在所述视频文件或所述图像集合包含的多个图像中,确定位于所述目标图像位置的目标图像;
    在所述可折叠显示屏中显示所述目标图像。
  8. 如权利要求6所述的电子设备,其特征在于,所述多媒体文件为图像;所述目标显示属性为所述图像的目标显示参数,其中,所述图像的目标显示参数包括以下至少一项或组合:所述图像在所述可折叠显示屏中的目标显示位置、所述图像的目标大小、所述图像的目标透明度、所述图像的目标颜色、所述图像的目标三维旋转角度、所述图像的目标三维旋转透视角度,所述图像的目标边框形状;
    所述处理器,在根据所述当前折叠系数,确定所述多媒体文件的目标显示属性时,具体用于:
    根据所述当前折叠系数、存储的折叠系数与所述图像的显示参数的对应关系,确定与所述当前折叠系数对应的所述目标显示参数;
    所述处理器,在根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件时,具体用于:
    根据所述目标显示参数,对所述图像进行处理;
    在所述可折叠显示屏中显示处理后的所述图像。
  9. 如权利要求6所述的电子设备,其特征在于,所述多媒体文件为三维场景模型;所述目标显示属性为所述三维场景模型的目标显示信息,其中,所述三维场景模型的目标显示参数包括以下任一项:所述三维场景模型的目标视点位置,所述三维场景模型中设定参考点在三维场景中的目标物理位置,所述三维场景模型中作为心点的目标特征点;
    所述处理器,在根据所述当前折叠系数,确定所述多媒体文件的目标显示属性时,具体用于:
    根据所述当前折叠系数、存储的折叠系数与所述三维场景模型的显示信息的对应关系,确定与所述当前折叠系数对应的所述目标显示信息;
    所述处理器,在根据所述目标显示属性,在所述可折叠显示屏中显示所述多媒体文件时,具体用于:
    根据所述目标显示信息,确定所述三维场景模型的可视图像;
    在所述可折叠显示屏中显示所述可视图像。
  10. 如权利要求6-9任一项所述的电子设备,其特征在于,所述当前折叠系数为组成所述可折叠显示屏的第一屏幕部分和第二屏幕部分之间的当前展开角度,或者为所述当前展开角度的归一化系数。
  11. 一种电子设备,其特征在于,所述电子设备包括:可折叠显示屏、处理器,以及存储器;其中,所述存储器存储有计算机程序,所述计算机程序包括指令,当所述指令被所述处理器执行时,使得所述电子设备执行如权利要求1-5任一项所述的方法。
  12. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1-5任一项所述的方法。
  13. 一种计算机程序,其特征在于,包括指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-5任一项所述的方法。
  14. 一种芯片,其特征在于,所述芯片用于读取存储器中存储的计算机程序,执行如权利要求1-5任一项所述的方法。
  15. 一种电子设备上的图形用户界面,其特征在于,所述电子设备具有可折叠显示屏、存储器,以及处理器,所述处理器用于执行存储在所述存储器中的计算机程序,所述图形用户界面包括所述电子设备执行如权利要求1-5中任一项所述的方法时显示的图形用户界面。
PCT/CN2021/101838 2020-07-28 2021-06-23 一种显示方法及电子设备 WO2022022177A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010739467.3 2020-07-28
CN202010739467.3A CN114003321B (zh) 2020-07-28 2020-07-28 一种显示方法及电子设备

Publications (1)

Publication Number Publication Date
WO2022022177A1 true WO2022022177A1 (zh) 2022-02-03

Family

ID=79920527

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101838 WO2022022177A1 (zh) 2020-07-28 2021-06-23 一种显示方法及电子设备

Country Status (2)

Country Link
CN (1) CN114003321B (zh)
WO (1) WO2022022177A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114564080A (zh) * 2022-03-21 2022-05-31 Oppo广东移动通信有限公司 设备控制方法、装置、存储介质及电子设备
CN114780012A (zh) * 2022-06-21 2022-07-22 荣耀终端有限公司 电子设备的锁屏壁纸的显示方法和相关装置
CN117348827A (zh) * 2023-09-19 2024-01-05 荣耀终端有限公司 显示模式切换时的显示方法及电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117369756A (zh) * 2022-06-30 2024-01-09 华为技术有限公司 一种折叠屏的显示方法以及相关设备
WO2024048987A1 (ko) * 2022-08-30 2024-03-07 삼성전자주식회사 힌지 또는 모터의 움직임 따라 비디오를 재생하는 전자 장치
CN116405592A (zh) * 2023-04-19 2023-07-07 维沃移动通信有限公司 壁纸处理方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130066721A (ko) * 2011-12-13 2013-06-21 엘지전자 주식회사 디스플레이 장치
US20160179236A1 (en) * 2014-12-19 2016-06-23 Lg Electronics Inc. Mobile terminal
CN109947320A (zh) * 2019-03-15 2019-06-28 Oppo广东移动通信有限公司 图片显示方法及装置、电子设备以及存储介质
CN110545354A (zh) * 2019-07-18 2019-12-06 华为技术有限公司 一种具有折叠屏的电子设备的控制方法及电子设备
CN110806829A (zh) * 2019-09-05 2020-02-18 华为技术有限公司 一种具有折叠屏的设备的显示方法及折叠屏设备
CN110992253A (zh) * 2019-11-30 2020-04-10 咪咕视讯科技有限公司 视频显示方法、系统、存储介质及具有柔性屏的终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345371B (zh) * 2013-05-31 2016-06-01 沈阳东软熙康医疗系统有限公司 一种通过显示屏平滑显示大数据量的方法
CN104751765B (zh) * 2015-03-09 2018-10-12 联想(北京)有限公司 一种显示控制方法及电子设备
CN110045936A (zh) * 2019-02-23 2019-07-23 华为技术有限公司 一种动态图像的显示方法及电子设备
CN110278295A (zh) * 2019-05-31 2019-09-24 Oppo广东移动通信有限公司 显示方法、装置、移动终端及存储介质
CN110286865B (zh) * 2019-06-20 2022-09-09 上海摩软通讯技术有限公司 一种触摸屏的显示方法及电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130066721A (ko) * 2011-12-13 2013-06-21 엘지전자 주식회사 디스플레이 장치
US20160179236A1 (en) * 2014-12-19 2016-06-23 Lg Electronics Inc. Mobile terminal
CN109947320A (zh) * 2019-03-15 2019-06-28 Oppo广东移动通信有限公司 图片显示方法及装置、电子设备以及存储介质
CN110545354A (zh) * 2019-07-18 2019-12-06 华为技术有限公司 一种具有折叠屏的电子设备的控制方法及电子设备
CN110806829A (zh) * 2019-09-05 2020-02-18 华为技术有限公司 一种具有折叠屏的设备的显示方法及折叠屏设备
CN110992253A (zh) * 2019-11-30 2020-04-10 咪咕视讯科技有限公司 视频显示方法、系统、存储介质及具有柔性屏的终端

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114564080A (zh) * 2022-03-21 2022-05-31 Oppo广东移动通信有限公司 设备控制方法、装置、存储介质及电子设备
CN114780012A (zh) * 2022-06-21 2022-07-22 荣耀终端有限公司 电子设备的锁屏壁纸的显示方法和相关装置
CN114780012B (zh) * 2022-06-21 2023-06-20 荣耀终端有限公司 电子设备的锁屏壁纸的显示方法和相关装置
CN117348827A (zh) * 2023-09-19 2024-01-05 荣耀终端有限公司 显示模式切换时的显示方法及电子设备

Also Published As

Publication number Publication date
CN114003321B (zh) 2023-05-05
CN114003321A (zh) 2022-02-01

Similar Documents

Publication Publication Date Title
WO2022022177A1 (zh) 一种显示方法及电子设备
WO2021027747A1 (zh) 一种界面显示方法及设备
WO2020168970A1 (zh) 一种控制屏幕显示的方法和电子设备
CN110389802B (zh) 一种柔性屏幕的显示方法及电子设备
US20220107821A1 (en) User interface layout method and electronic device
WO2021052279A1 (zh) 一种折叠屏显示方法及电子设备
US20220269463A1 (en) Display method and electronic device
WO2023103951A1 (zh) 一种折叠屏的显示方法及相关装置
CN114115769A (zh) 一种显示方法及电子设备
WO2023273465A1 (zh) 地图显示方法、装置与终端设备
WO2023142916A1 (zh) 图像处理方法、装置、设备及存储介质
CN114666427B (zh) 一种图像显示方法、电子设备及存储介质
WO2023142915A1 (zh) 图像处理方法、装置、设备及存储介质
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
WO2023179428A1 (zh) 一种界面的自适应显示方法及终端设备
US11989385B2 (en) Cursor display method and electronic device
CN113157357A (zh) 一种页面显示的方法、装置、终端以及存储介质
WO2020228735A1 (zh) 一种显示应用的方法及电子设备
WO2022042285A1 (zh) 一种应用程序界面显示的方法及电子设备
EP4160372A1 (en) Method for determining screenshot area, and related apparatus
CN116700655B (zh) 一种界面显示方法及电子设备
WO2023207694A1 (zh) 一种显示方法、装置及存储介质
WO2024007966A1 (zh) 一种多窗口显示方法及设备
WO2023005306A1 (zh) 光标显示方法及电子设备
CN114866641B (zh) 一种图标处理方法、终端设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21848817

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21848817

Country of ref document: EP

Kind code of ref document: A1