WO2021258984A1 - Display method and device, computer readable storage medium, and electronic device - Google Patents

Display method and device, computer readable storage medium, and electronic device Download PDF

Info

Publication number
WO2021258984A1
WO2021258984A1 PCT/CN2021/096488 CN2021096488W WO2021258984A1 WO 2021258984 A1 WO2021258984 A1 WO 2021258984A1 CN 2021096488 W CN2021096488 W CN 2021096488W WO 2021258984 A1 WO2021258984 A1 WO 2021258984A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
angle
display
indicate
user
Prior art date
Application number
PCT/CN2021/096488
Other languages
French (fr)
Chinese (zh)
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 WO2021258984A1 publication Critical patent/WO2021258984A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the embodiments of the present disclosure relate to the field of smart terminals, and in particular, to a display method and device, a computer-readable storage medium, and an electronic device.
  • the continuous increase of the terminal screen is one of the current development trends of the terminal. With the increase of the terminal screen, the portability of the terminal will also be considerably affected.
  • some terminals use multiple screens or folding screens to increase the displayable area while ensuring portability.
  • the foldable flexible folding screen terminal can provide a large area of the screen when the flexible display is unfolded, and achieve good portability through the foldable feature, thus becoming the application of the future terminal One of the directions.
  • the flexible display screen can achieve more interface display methods than traditional screens. For example, when the flexible display screen is unfolded, the entire flexible display screen Display the content, or when the flexible screen is folded, display the content through the folded part of the flexible display screen.
  • the display of the above-mentioned flexible folding screen terminal cannot be displayed in a targeted manner according to the user's operation mode or operation habits, which still has shortcomings in user experience.
  • the embodiments of the present disclosure provide a display method and device, a computer-readable storage medium, and an electronic device to at least solve the problem that a terminal with multiple display areas, such as a flexible folding screen terminal, cannot display according to a user's operation mode.
  • a display method which is applied to a terminal, the terminal includes a first display area and a second display area; the method includes:
  • Detecting the position status information of the terminal wherein the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
  • target content is displayed in the first display area and/or the second display area.
  • a display device which is provided in a terminal, the terminal includes a first display area and a second display area; the device includes:
  • the detection module is configured to detect the position status information of the terminal; wherein the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
  • the display module is configured to display target content in the first display area and/or the second display area according to the position status information.
  • a computer-readable storage medium having a computer program stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above methods when running Steps in the embodiment.
  • an electronic device including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute any of the foregoing Steps in the method embodiment.
  • the embodiments of the present disclosure it is possible to detect the position status information used to indicate the relative position status of the first display area and/or the second display area and the user in the terminal, and according to the position status information, display the position status information in the first display area and/or Or the target content is displayed in the second display area, so the display method in the embodiment of the present disclosure can enable the terminal to select a different display area to display the target content according to the relative position status with the user. Therefore, the embodiments of the present disclosure can solve the problem that terminals with multiple display areas in related technologies, such as flexible folding screen terminals, cannot display according to the user's operation mode, thereby achieving display according to the user's operation mode to significantly improve the user experience. Effect.
  • FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal according to an embodiment of the present disclosure
  • Fig. 2 is a flowchart of a display method provided according to an embodiment of the present disclosure
  • Fig. 3 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (1);
  • Fig. 4 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (2);
  • FIG. 5 is a schematic diagram (1) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure
  • Fig. 6 is a schematic diagram (2) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure
  • FIG. 7 is a flowchart of determining usage status information according to an embodiment of the present disclosure.
  • FIG. 8 is a flowchart of determining location state information provided according to an embodiment of the present disclosure.
  • Fig. 9 is a structural block diagram of a display device provided according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal provided according to an embodiment of the present disclosure.
  • the mobile terminal in the embodiment of the present disclosure includes:
  • Radio frequency unit 001 storage unit 002, WIFI unit 003, power supply unit 004, processor 005, sensor 006, interface unit 007, audio output unit 008, display unit 009, input unit 010, A/V input unit 011 and other components.
  • the mobile terminal shown in FIG. 1 does not constitute a limitation on the mobile terminal.
  • the mobile terminal may include more or less components than those shown in FIG. 1, or a combination of certain components, or different components. Layout.
  • the specific introduction of the above components is as follows:
  • the radio frequency unit 001 is set to send and receive information or receive and send signals during a call. Specifically, the radio frequency unit 001 can send uplink information to the base station, or after receiving the downlink information sent by the base station, send it to the processor 005 of the mobile terminal for processing; the downlink information sent by the base station to the radio frequency unit 001 can be based on the radio frequency unit The uplink information sent by 001 is generated, or it can be actively pushed to the radio frequency unit 001 after detecting that the information of the mobile terminal is updated. The radio frequency unit 001 sends a message notification of the geographic location change.
  • the radio frequency unit 001 can send the message notification to the processor 005 of the mobile terminal for processing, and the processor 005 of the mobile terminal can control the message notification to be displayed on On the flexible display panel 009a of the mobile terminal.
  • the radio frequency unit 001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, and so on.
  • the radio frequency unit 001 can also communicate with the network and other devices through wireless communication. Specifically, it may include: communicating with a server in a network system through wireless communication. For example, a mobile terminal may download file resources from the server through wireless communication, such as from The server downloads the application program.
  • the server can push the resource update message notification to the mobile terminal through wireless communication to remind the user Update the application.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000 (Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division Duplex Long Term Evolution (Frequency Division Duplexing-Long Term Evolution, FDD-LTE) and Time Division Duplexing-Long Term Evolution (TDD-LTE), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • Code Division Multiple Access 2000 Code Division Multiple Access 2000, CDMA2000
  • WCDMA Wideband Code Division Multiple Access
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access
  • FDD-LTE Frequency Division Duplexing-Long Term Evolution
  • the storage unit 002 is configured to store software programs and various data.
  • the storage unit 002 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required for at least one function, etc.; Data etc.
  • the storage unit 002 may include a high-speed random access memory, and may also include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the WIFI unit 003 is set to provide wireless broadband Internet access.
  • WIFI is a short-distance wireless transmission technology, and the mobile terminal can access the network through the WIFI module 003 to realize functions such as sending and receiving emails, browsing webpages, and accessing streaming media.
  • the power supply unit 004 is configured to supply power to the mobile terminal. Specifically, the power supply unit 004 is logically connected to the processor 005 through a power management system, so that functions such as management of charging, discharging, and power consumption management are realized through the power management system.
  • the processor 005 which constitutes the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the storage unit 002, and calls the storage unit 002.
  • the data inside performs various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole.
  • the processor 005 can execute the display method in the embodiment of the present disclosure.
  • the processor 005 may include one or more processing units; in addition, the processor 005 may also integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated in the processor 005.
  • the sensor 006 for example, a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 009a according to the brightness of the ambient light, and the proximity sensor can close the display panel 009a or close the display panel 009a when the mobile terminal is moved to the ear.
  • Motion sensors can include accelerometer sensors.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of the mobile terminal's posture (such as horizontal and vertical screen switching) , Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.
  • the mobile terminal can also be equipped with other sensors such as gravity sensors, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. on the basis shown in Figure 1.
  • sensors such as gravity sensors, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. on the basis shown in Figure 1.
  • sensors such as gravity sensors, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. on the basis shown in Figure 1.
  • the embodiments of the present disclosure do not limit this.
  • the interface unit 007 is configured to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements of the mobile terminal or may be configured to be between the mobile terminal and the external device transfer data.
  • the interface unit 007 includes at least one interface through which an external device can be connected to the mobile terminal.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, and wired or wireless data. Ports, memory card ports, ports set to connect devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, etc.
  • the audio output unit 008 is set to receive the radio frequency unit 001 or the WIFI unit 003 or store it in the memory 002 when the mobile terminal is in the call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc.
  • the stored audio data is converted into an audio signal and output as sound.
  • the audio output unit 008 may also provide audio output related to a specific function performed by the mobile terminal (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 008 may include a speaker, a buzzer, and so on.
  • the display unit 009 is configured to display information input by the user or information provided to the user.
  • the display unit 009 may include a display panel 009a, and the display panel 009a may use Active Matrix/Organic Light-Emitting Diode (AMOLED), Passive Organic Light-Emitting Diode (AMOLED), etc. Panels of different types, structures or materials.
  • AMOLED Active Matrix/Organic Light-Emitting Diode
  • AMOLED Passive Organic Light-Emitting Diode
  • the user input unit 010 is configured to receive input digital or character information and generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 010 may include a touch panel 010a and other input devices 010b.
  • the touch panel 010a also called a touch screen, can collect user touch operations on or near it, and drive the corresponding connection device according to a preset program.
  • the touch panel 010a can include two parts: a touch detection device and a touch controller; the touch detection device detects the user’s touch position and detects the signal caused by the touch operation, and transmits the signal to the touch controller;
  • the detection device receives touch information and converts it into contact coordinates to send to the processor 005, and can receive and execute commands from the processor 005.
  • the touch panel 010a can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 010 may also include other input devices 010b, including but not limited to one of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, joystick, etc.
  • function keys such as volume control buttons, switch buttons, etc.
  • trackball such as trackball, mouse, joystick, etc.
  • the A/V input unit 011 is set to receive audio or video signals.
  • the A/V input unit 011 may include a microphone 011a, a graphics processing unit (GPU) 011b, and an image capturing device 011c.
  • the image processor 011b processes image data of still pictures or videos obtained by the image capture device 011c (such as a front camera, a rear camera, etc.) in the video capture mode or the image capture mode.
  • the processed image frame can be displayed on the display unit 009.
  • the image frame processed by the image processor 011b can be stored in the memory 002 or sent via the radio frequency unit 001 or the WIFI module 003.
  • the microphone 011a can receive audio data via the microphone 011a in operating modes such as telephone call mode, recording mode, voice recognition mode, etc., and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 001 for output in the case of a telephone call mode.
  • the microphone 011a can implement various types of noise cancellation or suppression, and algorithms can eliminate or suppress noise or interference generated in the process of receiving and sending audio signals.
  • the display unit 009 of the aforementioned mobile terminal may adopt a foldable flexible display unit, or other display units with multiple display areas.
  • the embodiment of the present disclosure provides a display method, which is applied to a terminal.
  • the terminal includes a first display area and a second display area;
  • FIG. 2 is a flowchart of the display method provided according to an embodiment of the present disclosure.
  • the method in the disclosed embodiment includes:
  • S102 Detect position status information of the terminal; where the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user.
  • the terminal in the embodiment of the present disclosure may be a flexible folding screen terminal, and the display unit may be a foldable flexible display unit.
  • the display unit is a flexible display unit
  • the first display area and the second display in the embodiment of the present disclosure The area can be used to indicate different screen areas in the flexible display unit.
  • the flexible display unit may include an expanded state, a folded state, and a process state of adjusting from the expanded state to the folded state.
  • 3 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (1).
  • the expanded state of the flexible display unit is shown in FIG. 3.
  • the flexible display unit includes a first display area 101 on the right and a first display area 101 on the left As shown in FIG. 3, in the expanded state, the first display area and the second display area are located on the same plane. At this time, the first display area and the second display area together serve as the screen display target content.
  • FIG. 4 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (2).
  • the folded state of the flexible display unit is shown in FIG. 4.
  • the first display area and the second display area are folded to each other.
  • the target content is displayed through the first display area or the second display area, for example, as shown in FIG. 4 , To display the target content through the first display area located in the front.
  • the position status information indicates the relative position status of the first display area and/or the second display area and the user.
  • the first display area and the second display area The display area is opposite to the user at the same time.
  • the first display area is opposite to the user, or the second display area is opposite to the user; in addition, in the process state, the user will not need to browse or The operation display area is folded, so in the process state, the display area opposite to the user is the first display area or the second display area.
  • the display method in the embodiments of the present disclosure is not limited to be applied to a flexible folding screen terminal adopting a foldable flexible display unit.
  • a terminal with multiple display areas for example, a terminal with front and rear dual screens, or A folding screen terminal composed of multiple non-flexible display units, etc., can be applicable to the display method in the embodiment of the present disclosure, which is not limited in the embodiment of the present disclosure.
  • detecting the location state information of the terminal includes:
  • the first angle corresponding to the first display area is detected, where the first angle is used to indicate the angle between the preset first determination direction of the first display area and the direction of gravity, and the first determination direction is used to indicate perpendicular to The direction of the first display area;
  • the second angle corresponding to the second display area is detected, where the second angle is used to indicate the angle between the preset second determination direction of the second display area and the direction of gravity, and the second determination direction is used to indicate perpendicular to the direction of gravity.
  • the position status information is determined according to the first angle and the second angle.
  • the direction of gravity is a vertical downward direction
  • the first determination direction is a direction perpendicular to the first display area
  • the first determination direction changes with the position of the first display area.
  • the first determination direction may be a vertical upward direction
  • the first determination direction may be a horizontal direction indicating the front of the first display area
  • the second determination direction is a direction perpendicular to the second display area, and the second determination direction changes with the position of the second display area.
  • the second determination direction can be It is a vertical upward direction, and when the second display area is placed perpendicular to a horizontal plane, the second determination direction may be a horizontal direction indicating the front of the second display area.
  • FIG. 5 is a schematic diagram (1) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure.
  • the three-dimensional coordinate systems S1 and S2 are established on the plane where the first display area and the second display area are located, where the Z1 axis coordinate in S1 is the upward direction perpendicular to the first display area, and this direction is the first determination direction, similar ,
  • the Z2 axis coordinate in S2 is the upward direction perpendicular to the second display area, and this direction is the second determination direction, and G1 and G2 are both vertical downward gravity directions.
  • ⁇ Z1O1G1 is the first angle. Since Z1 and G1 are both in the vertical direction and opposite in direction, the first angle should be 180°; ⁇ Z2O2G2 is the second angle, because Z2 and G2 are both located The vertical direction is opposite, so the second angle should be 180°.
  • FIG. 6 is a schematic diagram (2) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure.
  • the flexible display unit is transformed from the horizontal direction to the horizontal direction in the unfolded state.
  • Z1 and Z2 in the above-mentioned three-dimensional coordinate systems S1 and S2 also change accordingly.
  • Z1 since Z1 remains perpendicular to the first display area, when the first display area is tilted relative to the horizontal plane, Z1 also deviates from the vertical direction, so that there is a certain angle between Z1 and G1.
  • the first angle ⁇ Z1O1G1 should be greater than 90° and less than 180°.
  • the second angle ⁇ Z2O2G2 should be greater than 90° and less than 180°.
  • the first determination direction is opposite to the second determination direction.
  • the example shown in FIG. 5 is used for explanation.
  • the flexible display unit is folded from the unfolded state to the folded state in the horizontal position shown in FIG.
  • One display area is placed upwards, and the second display area is placed downwards; at this time, Z1 of the first display area is vertically upward, and Z2 of the second display area is vertically downward.
  • the first angle ⁇ Z1O1G1 is 180°
  • the second angle ⁇ Z2O2G2 is 0°.
  • the example shown in FIG. 6 is used for explanation.
  • the first display area and the second display area are opposite to each other, and The first display area is placed obliquely upward, and the second display area is placed obliquely downward; at this time, Z1 of the first display area is tilted upward, and Z2 of the second display area is tilted downward.
  • the first angle ⁇ Z1O1G1 should be Greater than 90° and less than 180°
  • the second angle ⁇ Z2O2G2 should be greater than 0° and less than 90°.
  • the first angle and the second angle in the above optional embodiment can be acquired by a sensor provided in the terminal.
  • the terminal is provided with a gravity sensor in the first display area and the second display area.
  • the gravity sensor can determine the preset first determination direction and the second determination direction, such as Z1 and Z2 in the above-mentioned three-dimensional coordinate system 01 and 02, relative to the deviation of the gravity direction, that is, detect the first determination direction in the above-mentioned optional embodiment One angle and second angle. After the first angle and the second angle are obtained, the position state information can be determined.
  • the following describes the process of determining the position state information according to the first angle and the second angle in the foregoing optional embodiment:
  • determining the position state information according to the first angle and the second angle includes:
  • At least the location status information is determined based on the usage status information.
  • the current use status of the first display area and the second display area of the terminal can be determined by this, that is, the use status information is determined.
  • the user's current use of the terminal indicated by the status information is used.
  • the use may be to expand the first display area and the second display area.
  • use The method may be to use the first display area and the second display area relative to each other after being folded.
  • the use method may be a process of adjusting the first display area and the second display area from the unfolded state to the folded state.
  • the foregoing determining the use state information of the terminal according to the first angle and the second angle may include:
  • the use status information is determined according to the angle difference.
  • the above-mentioned use state information may be determined by the difference between the first angle and the second angle.
  • the first angle and the second angle corresponding to the first display area and the second display area are the same, then the first angle and the second angle The difference between is 0°. Therefore, when the angle difference between the first angle and the second angle is 0°, the first display area and the second display area are expanded for use.
  • the first angle and the second angle are complementary, and the difference between the first angle and the second angle is The value is 180°. Therefore, when the angle difference between the first angle and the second angle is 180°, the first display area and the second display area are folded for use.
  • the foregoing determination of the use state information according to the angle difference includes:
  • the use status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content; wherein the target content is determined by The composition of the first sub-content and the second sub-content;
  • the use status information is used to indicate that the first display area or the second display area is used to display the target content, and the first display area is relative to the second display area Make position adjustments;
  • the use state information is used to indicate that the first display area or the second display area is used to display the target content.
  • the above-mentioned first threshold is 15°. Therefore, when the difference between the first angle and the second angle is 0 to 15°, the first display area and the second display area can be determined.
  • the display area is expanded or approximately expanded for use, corresponding to the expanded state of the flexible folding screen terminal; at this time, the part displayed in the first display area is the first sub-content, and the part displayed in the second display area is the second sub-content.
  • the target content can be obtained by splicing the first sub-content and the second sub-content.
  • the above-mentioned second threshold is 165°. Therefore, when the difference between the first angle and the second angle is 165 to 180°, it can be determined that the first display area and the second display area are folded or Approximately folded use, corresponding to the folded state of the flexible folding screen terminal; at this time, the first display area and the second display area are opposite to each other, or close to each other, the target content can be displayed in the first display area or the second display area.
  • the flexible display unit when the difference between the first angle and the second angle is 15 to 165°, it can be determined that the flexible display unit is the first display area relative to the second display area (or the second display area is relative to the second display area).
  • the process state of gradually folding from the unfolded state; corresponding to the intermediate state of the flexible folding screen terminal; at this time, the target content can be displayed in the first display area or the second display area that has not been folded.
  • FIG. 7 is a flow chart for determining the use state information provided by an embodiment of the present disclosure.
  • the above-mentioned process of determining the use state information based on the angle difference is shown in FIG. 7.
  • the use state information of the terminal can be determined according to the angle difference.
  • the location status information can be further determined based on the use status information.
  • determining the location status information at least according to the usage status information includes:
  • the determined position status information is used to indicate the first display area and the second display area All relative to the user;
  • the position status information is determined according to the use status information, the first angle and the second angle; wherein, according to the use status information, the second angle The first angle and the second angle determine the position status information, including:
  • the position state information is used to indicate that the second display area is opposite to the user.
  • the above use status information indicates that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content, that is, the flexible folding screen terminal is in the unfolded state, and the first display area is used for displaying the first sub-content.
  • the first display area and the second display area are expanded and used, when the user uses the terminal, the first display area and the second display area will be opposite to the user at the same time, so the position status information indicates the first display area and the second display area All are opposite to the user.
  • the above-mentioned use status information indicates that the first display area or the second display area is used to display target content, that is, the flexible folding screen terminal is in the folded state or the intermediate state, and the first display area and the second display area are folded for use , Or in the process of folding operation.
  • the position status information is used to indicate that the first display area or the second display area is opposite to the user.
  • the position status information can be further determined according to the third threshold.
  • the user uses the terminal in a standing or sitting manner, In this case, the opposite surface of the terminal and the user is in a horizontal or inclined upward state, and the other side of the terminal is in a horizontal or inclined downward state.
  • the first display area is the opposite surface of the terminal and the user
  • the first The first angle corresponding to the display area is greater than 90°
  • the second angle corresponding to the second display area is less than 90°
  • the third threshold may be 90°, so that the display area opposite to the user in the first display area and the second display area can be determined, and the position state information can be determined.
  • the use status information in the case where the use status information is used to indicate the position adjustment of the first display area relative to the second display area, according to the position status information, in the first display area and/or the second display area Display target content, also includes:
  • the above-mentioned use status information indicates that the position of the first display area is adjusted relative to the second display area, that is, the situation where the first display area and the second display area are in the process of folding operation; for the above situation, In the process of displaying the target content from the first display area or the second display area, the sub-content displayed in the other display area can be gradually moved to the display area for displaying the target content as the bending operation progresses.
  • the user displays the target content through the first display area, and folds the second display area relative to the first area.
  • the second display area can gradually move the originally displayed second sub-content to the first display area in a translational manner, so that the display effect of the first display area is, the first sub-content, and gradually move At least part of the second sub-content to the first display area and spliced with the first sub-content, until the second display area is bent over a certain preset angle with respect to the first display area, for example, when 60°, the second The sub content is completely moved to the first display area, so that the first display area displays the complete target content.
  • the gradual switching of the displayed content can be realized through the above method when the flexible folding screen terminal is folded, thereby improving the user's browsing experience.
  • FIG. 8 is a flow chart of determining location status information according to an embodiment of the present disclosure. The above-mentioned process of determining location status information based on use status information is shown in FIG. 8.
  • the terminal further includes a user input unit, and the user input unit is configured to generate a manipulation signal in response to an input instruction input by the user;
  • the method further includes:
  • the above-mentioned use status information is used to indicate that the position of the first display area is adjusted relative to the second display area, that is, the flexible folding screen terminal is in an intermediate state.
  • the user operates the terminal to perform the folding process. It is inevitable that there will be a certain touch on the first display area or the second display area, but the touch is not for the purpose of inputting instructions, but for the purpose of changing the structure of the flexible folding screen terminal; therefore, in the above-mentioned intermediate state, By instructing the user input unit to stop responding to input instructions; or instructing the user input unit to reduce the sensitivity of responding to input instructions, it can effectively prevent the user from touching the first display area or the second display area during the folding process. operate.
  • the above method of detecting the position status information of the terminal can be applied to flexible folding screen terminals, especially during the switching process of the user's unfolding and folding operations on the flexible display unit, the target content can be adjusted in real time according to the user's use status of the flexible display unit Display area; it should be noted that, for a folding screen terminal composed of multiple inflexible display units, the above-mentioned method can also be used to display the target content.
  • a folding screen terminal for a flexible folding screen terminal that has been folded, a folding screen terminal, or other terminals with multiple display areas, for example, a terminal with front and rear dual screens, the first angle and the The position status information is determined by two angles, and the process is described below:
  • the position status information is used to indicate that the first display area is opposite to the user
  • the position status information is used to indicate that the second display area is opposite to the user.
  • the first angle and the second display area corresponding to the first display area are directly passed through.
  • the corresponding second angle determines the position status information.
  • the position of the first display area and the second display area relative to the user can be determined directly according to the relationship between the first angle or the second angle and 90°, and then the position status can be determined information.
  • the detection of the location status information of the terminal can also be achieved by image recognition or face recognition.
  • the detection of the location status information of the terminal includes:
  • the position status information is determined according to the first image and the second image.
  • the acquisition of the above-mentioned first image and the second image can be achieved by the camera of the terminal or the light structure sensor for face recognition.
  • the current image can be captured by the camera to obtain the first image.
  • Image and second image The foregoing determination of position state information based on the first image and the second image includes:
  • determining the position status information is used to indicate that the first display area is opposite to the user;
  • the determined position state information is used to indicate that the second display area is opposite to the user.
  • only the first image or only the second image may be obtained.
  • the first image or the second image
  • the first image can be obtained through the camera. If the user is not included in the first image, it can be determined that the first display area is not opposite to the user, and then it can be determined that the second display area is opposite to the user.
  • S104 Display target content in the first display area and/or the second display area according to the position status information.
  • the target content in the embodiments of the present disclosure is content that the terminal currently needs to display, such as pictures, videos, and text or information, which are not limited in the embodiments of the present disclosure.
  • the foregoing displaying target content in the first display area and/or the second display area according to the position status information includes:
  • the position status information is used to indicate that the first display area is opposite to the user, display the target content in the first display area; or,
  • the position status information is used to indicate that the second display area is opposite to the user, display the target content in the second display area; or,
  • the target content is displayed in the first display area and the second display area.
  • the target content is displayed in the display area opposite to the user indicated by the position status information, so as to ensure that the terminal in the embodiment of the present disclosure remains in a position relative to the user.
  • the display area displays the target content, and further realizes that the content is displayed to the user in a targeted manner according to the user's use or operation mode.
  • step S104 it can be determined whether the terminal still has target content to be displayed by detecting whether the terminal screen is turned off.
  • the terminal screen is turned off, that is, when the user stops operating on the terminal.
  • the location status information can be determined in real time, and then the corresponding display can be displayed in time according to the user's use or operation mode.
  • the target content is displayed in the area.
  • the display method in the embodiment of the present disclosure since the position status information used to indicate the relative position status of the first display area and/or the second display area in the terminal and the user can be detected by detecting the position status information, and according to the position status information, in the first The target content is displayed in the display area and/or the second display area. Therefore, the display method in the embodiment of the present disclosure can enable the terminal to select different display areas to display the target content according to the relative position state with the user.
  • the display method in the embodiments of the present disclosure can solve the problem that terminals with multiple display areas in related technologies, such as flexible folding screen terminals, cannot be displayed according to the user's operation mode, so that the terminal can be used according to the user's Use or operation methods to display content on the opposite side of the user to significantly improve the user experience.
  • the flexible screen mobile phone in the folded state is placed on a horizontal desktop, the first display area is downward, the second display area is upward, and the earpiece 103 of the terminal is set in the first display area.
  • the second angle corresponding to the second display area is 180°, which is greater than the third threshold 90°, so the position status information indicates that the second display area is opposite to the user. In this way, the target content, that is, the incoming call information, can be displayed in the second display area.
  • the terminal When the user picks up the terminal to answer an incoming call, according to the operating habits, the user needs to face the earpiece of the user to make a call; therefore, after the user picks up the terminal with the second display area upwards, the terminal needs to be turned over and the earpiece
  • the first display area where it is located faces itself to answer incoming calls.
  • the first display area of the terminal is inclined upward, and the corresponding first angle is greater than 90°. Therefore, the position status information indicates that the first display area is opposite to the user. In this way, the target content displayed in the second display area can be displayed. Switch to the first display area for display.
  • the flexible screen mobile phone in the folded state is placed on a horizontal desktop, the first display area is downward, and the second display area is upward.
  • the terminal receives the text information, since the second display area is upward, the second angle corresponding to the second display area is 180°, which is greater than the third threshold 90°, so the position status information indicates that the second display area is In this way, the user can display target content, that is, text information, in the second display area.
  • the user picks up the terminal to operate the text information.
  • the text information is displayed in the second display area on the front of the terminal.
  • the second display area the text information cannot be operated in the second display area in the above-mentioned posture. If the user needs to operate the text information in the second display area, the user needs to flip the wrist or the cooperation of the hands to change the holding posture of the terminal, so that there is no obstruction on the second display area, so that the user can read the above text. Information to operate.
  • the user can directly flip the terminal without changing the holding posture of the terminal.
  • the first display area is inclined upward, and the corresponding first angle is greater than 90°, so the position status information Instruct the first display area to be opposite to the user, so that the target content displayed in the second display area can be switched to the first display area for display.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • the embodiment of the present disclosure also provides a display device, which is set in a terminal, and the terminal includes a first display area and a second display area.
  • the device is configured to implement the above-mentioned embodiments and optional implementation manners.
  • the term "module" can implement a combination of software and/or hardware with predetermined functions.
  • the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
  • FIG. 9 is a structural block diagram of a display device provided according to an embodiment of the present disclosure. As shown in FIG. 9, the display device in an embodiment of the present disclosure includes:
  • the detection module 202 is configured to detect the position status information of the terminal; where the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
  • the display module 204 is configured to display target content in the first display area and/or the second display area according to the position status information.
  • displaying the target content in the first display area and/or the second display area according to the position status information includes:
  • the position status information is used to indicate that the first display area is opposite to the user, display the target content in the first display area; or,
  • the position status information is used to indicate that the second display area is opposite to the user, display the target content in the second display area; or,
  • the target content is displayed in the first display area and the second display area.
  • detecting the position state information of the terminal includes:
  • the first angle corresponding to the first display area is detected, where the first angle is used to indicate the angle between the preset first determination direction of the first display area and the direction of gravity, and the first determination direction is used to indicate perpendicular to The direction of the first display area;
  • the second angle corresponding to the second display area is detected, where the second angle is used to indicate the angle between the preset second determination direction of the second display area and the direction of gravity, and the second determination direction is used to indicate perpendicular to the direction of gravity.
  • the position status information is determined according to the first angle and the second angle.
  • the foregoing determining position state information according to the first angle and the second angle includes:
  • At least the location status information is determined based on the usage status information.
  • the foregoing determining the use state information of the terminal according to the first angle and the second angle includes:
  • the use status information is determined according to the angle difference.
  • the foregoing determining the usage status information according to the angle difference includes:
  • the use status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content; wherein the target content is determined by The composition of the first sub-content and the second sub-content;
  • the use status information is used to indicate that the first display area or the second display area is used to display the target content, and the first display area is relative to the second display area Make position adjustments;
  • the use state information is used to indicate that the first display area or the second display area is used to display the target content.
  • the foregoing determining the location status information at least according to the use status information includes:
  • the determined position status information is used to indicate the first display area and the second display area All relative to the user;
  • the position status information is determined according to the use status information, the first angle and the second angle; wherein, according to the use status information, the second angle The first angle and the second angle determine the position status information, including:
  • the position state information is used to indicate that the second display area is opposite to the user.
  • the use status information when used to indicate the position adjustment of the first display area relative to the second display area, according to the position status information, in the first display area and/or the second display area
  • the target content is displayed in, and also includes:
  • the terminal in the embodiment of the present disclosure further includes a user input unit, and the user input unit is configured to generate a manipulation signal in response to an input instruction input by the user;
  • the detection module 202 in the embodiment of the present disclosure may also be configured as:
  • determining the position state information according to the first angle and the second angle includes:
  • the position status information is used to indicate that the first display area is opposite to the user
  • the position status information is used to indicate that the second display area is opposite to the user.
  • detecting the position state information of the terminal includes:
  • the position status information is determined according to the first image and the second image.
  • the foregoing determining position state information based on the first image and the second image includes:
  • determining the position status information is used to indicate that the first display area is opposite to the user;
  • the determined position state information is used to indicate that the second display area is opposite to the user.
  • each of the above-mentioned modules can be implemented by software or hardware.
  • it can be implemented in the following way, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules are in any combination The forms are located in different processors.
  • the embodiment of the present disclosure also provides a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
  • the foregoing computer-readable storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, RAM for short) , Mobile hard drives, magnetic disks or optical discs and other media that can store computer programs.
  • U disk Read-Only Memory
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Mobile hard drives magnetic disks or optical discs and other media that can store computer programs.
  • An embodiment of the present disclosure also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in any of the foregoing method embodiments.
  • the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
  • modules or steps of the present disclosure can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Above, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, and in some cases, they can be executed in a different order than shown here. Or the described steps, or fabricate them into individual integrated circuit modules respectively, or fabricate multiple modules or steps of them into a single integrated circuit module to achieve. In this way, the present disclosure is not limited to any specific combination of hardware and software.

Abstract

Embodiments of the present disclosure provide a display method and device, a computer readable storage medium, and an electronic device. The display method comprises: detecting position state information of a terminal, wherein the position state information is used for indicating a relative position state of a first display area and/or a second display area and a user; and displaying target content in the first display area and/or the second display area according to the position state information. The present disclosure solves the problem in the related art that a terminal such as a flexible folding screen terminal having multiple display areas cannot display according to an operation mode of the user, thereby achieving the effect of displaying according to the operation mode of the user so as to significantly improve user experience.

Description

显示方法及装置、计算机可读存储介质、电子装置Display method and device, computer readable storage medium, electronic device 技术领域Technical field
本公开实施例涉及智能终端领域,具体而言,涉及一种显示方法及装置、计算机可读存储介质、电子装置。The embodiments of the present disclosure relate to the field of smart terminals, and in particular, to a display method and device, a computer-readable storage medium, and an electronic device.
背景技术Background technique
终端屏幕的不断增大是目前终端的发展趋势之一,随着终端屏幕的增大,终端的便携性亦会受到相当的影响。对此,随着屏幕材料以及结构技术的发展,部分终端通过多屏,或折叠屏的方式以在保证便携性的同时,增加可显示的区域。以柔性折叠屏终端为例,可折叠的柔性折叠屏终端由于可在柔性显示屏展开状态下提供大面积的屏幕的同时,通过可折叠的特性而实现良好的便携性,因而成为未来终端的应用方向之一。The continuous increase of the terminal screen is one of the current development trends of the terminal. With the increase of the terminal screen, the portability of the terminal will also be considerably affected. In this regard, with the development of screen materials and structural technology, some terminals use multiple screens or folding screens to increase the displayable area while ensuring portability. Take the flexible folding screen terminal as an example. The foldable flexible folding screen terminal can provide a large area of the screen when the flexible display is unfolded, and achieve good portability through the foldable feature, thus becoming the application of the future terminal One of the directions.
柔性折叠屏终端在使用过程中,随着柔性显示屏的折叠或展开,柔性显示屏可较于传统屏幕实现更多的界面显示方式,例如,在柔性显示屏展开时,通过整块柔性显示屏显示内容,或在柔性屏折叠时,通过折叠后的部分柔性显示屏显示内容。然而,相关技术中,上述柔性折叠屏终端的显示无法根据用户的操作方式或操作习惯进行针对性的显示,其在用户体验上仍存在不足。During the use of the flexible folding screen terminal, as the flexible display screen is folded or unfolded, the flexible display screen can achieve more interface display methods than traditional screens. For example, when the flexible display screen is unfolded, the entire flexible display screen Display the content, or when the flexible screen is folded, display the content through the folded part of the flexible display screen. However, in the related art, the display of the above-mentioned flexible folding screen terminal cannot be displayed in a targeted manner according to the user's operation mode or operation habits, which still has shortcomings in user experience.
针对上述相关技术中,如柔性折叠屏终端等存在多显示区域的终端无法根据用户的操作方式进行显示的问题,相关技术中尚未提出有效的解决方案。Regarding the above-mentioned related technologies, such as flexible folding screen terminals and other terminals with multiple display areas that cannot display according to the user's operation mode, effective solutions have not yet been proposed in the related technologies.
发明内容Summary of the invention
本公开实施例提供了一种显示方法及装置、计算机可读存储介质、电子装置,以至少解决如柔性折叠屏终端等存在多显示区域的终端无法根据用户的操作方式进行显示的问题。The embodiments of the present disclosure provide a display method and device, a computer-readable storage medium, and an electronic device to at least solve the problem that a terminal with multiple display areas, such as a flexible folding screen terminal, cannot display according to a user's operation mode.
根据本公开的一个实施例,提供了一种显示方法,应用于终端,所述终端包括第一显示区域与第二显示区域;所述方法包括:According to an embodiment of the present disclosure, there is provided a display method, which is applied to a terminal, the terminal includes a first display area and a second display area; the method includes:
检测所述终端的位置状态信息;其中,所述位置状态信息用于指示所述第一显示区域和/或所述第二显示区域与用户的相对位置状态;Detecting the position status information of the terminal; wherein the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
根据所述位置状态信息,在所述第一显示区域和/或所述第二显示区域中显示目标内容。According to the position state information, target content is displayed in the first display area and/or the second display area.
根据本公开的另一个实施例,还提供了一种显示装置,设置于终端,所述终端包括第一显示区域与第二显示区域;所述装置包括:According to another embodiment of the present disclosure, there is also provided a display device, which is provided in a terminal, the terminal includes a first display area and a second display area; the device includes:
检测模块,设置为检测所述终端的位置状态信息;其中,所述位置状态信息用于指示所述第一显示区域和/或所述第二显示区域与用户的相对位置状态;The detection module is configured to detect the position status information of the terminal; wherein the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
显示模块,设置为根据所述位置状态信息,在所述第一显示区域和/或所述第二显示区域中显示目标内容。The display module is configured to display target content in the first display area and/or the second display area according to the position status information.
根据本公开的另一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to another embodiment of the present disclosure, there is also provided a computer-readable storage medium having a computer program stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above methods when running Steps in the embodiment.
根据本公开的另一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储 器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to another embodiment of the present disclosure, there is also provided an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute any of the foregoing Steps in the method embodiment.
通过本公开实施例,由于可以通过检测用于指示终端中第一显示区域和/或第二显示区域与用户的相对位置状态的位置状态信息,并根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容,故本公开实施例中的显示方法可令终端根据与用户的相对位置状态而选择不同的显示区域显示目标内容。因此,本公开实施例可以解决相关技术中如柔性折叠屏终端等存在多显示区域的终端无法根据用户的操作方式进行显示的问题,进而达到根据用户的操作方式进行显示,以显著改善用户体验的效果。Through the embodiments of the present disclosure, it is possible to detect the position status information used to indicate the relative position status of the first display area and/or the second display area and the user in the terminal, and according to the position status information, display the position status information in the first display area and/or Or the target content is displayed in the second display area, so the display method in the embodiment of the present disclosure can enable the terminal to select a different display area to display the target content according to the relative position status with the user. Therefore, the embodiments of the present disclosure can solve the problem that terminals with multiple display areas in related technologies, such as flexible folding screen terminals, cannot display according to the user's operation mode, thereby achieving display according to the user's operation mode to significantly improve the user experience. Effect.
附图说明Description of the drawings
图1是根据本公开实施例提供的移动终端的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal according to an embodiment of the present disclosure;
图2是根据本公开实施例提供的显示方法的流程图;Fig. 2 is a flowchart of a display method provided according to an embodiment of the present disclosure;
图3是根据本公开实施例提供的柔性折叠屏终端的状态示意图(一);Fig. 3 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (1);
图4是根据本公开实施例提供的柔性折叠屏终端的状态示意图(二);Fig. 4 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (2);
图5是根据本公开实施例提供的第一判定方向与第二判定方向的坐标示意图(一);FIG. 5 is a schematic diagram (1) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure;
图6是根据本公开实施例提供的第一判定方向与第二判定方向的坐标示意图(二);Fig. 6 is a schematic diagram (2) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure;
图7是根据本公开实施例提供的使用状态信息确定的流程图;FIG. 7 is a flowchart of determining usage status information according to an embodiment of the present disclosure;
图8是根据本公开实施例提供的位置状态信息确定的流程图;FIG. 8 is a flowchart of determining location state information provided according to an embodiment of the present disclosure;
图9是根据本公开实施例提供的显示装置的结构框图。Fig. 9 is a structural block diagram of a display device provided according to an embodiment of the present disclosure.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本公开的实施例。Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the drawings and in conjunction with the embodiments.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms “first” and “second” in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
为进一步阐述本公开实施例中的影像显示方法及装置、计算机可读存储介质、电子装置,以下对本公开实施例中的影像显示方法及装置、计算机可读存储介质、电子装置的应用场景进行阐述:In order to further explain the image display method and device, computer-readable storage medium, and electronic device in the embodiments of the present disclosure, the following describes the application scenarios of the image display method and device, computer-readable storage medium, and electronic device in the embodiments of the present disclosure. :
本公开实施例中的终端可以为移动终端、平板电脑、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是根据本公开实施例提供的移动终端的硬件结构示意图,如图1所示,本公开实施例中的移动终端包括:The terminal in the embodiments of the present disclosure may be executed in a mobile terminal, a tablet computer, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal provided according to an embodiment of the present disclosure. As shown in FIG. 1, the mobile terminal in the embodiment of the present disclosure includes:
射频单元001、存储单元002、WIFI单元003、电源单元004、处理器005、传感器006、接口单元007、音频输出单元008、显示单元009、输入单元010、A/V输入单元011等部件。需要说明的是,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图1所示更多或更少的部件,或者组合某些部件,或者不同的部件布置。对于以上部件的具体介绍如下: Radio frequency unit 001, storage unit 002, WIFI unit 003, power supply unit 004, processor 005, sensor 006, interface unit 007, audio output unit 008, display unit 009, input unit 010, A/V input unit 011 and other components. It should be noted that the structure of the mobile terminal shown in FIG. 1 does not constitute a limitation on the mobile terminal. The mobile terminal may include more or less components than those shown in FIG. 1, or a combination of certain components, or different components. Layout. The specific introduction of the above components is as follows:
射频单元001,设置为收发信息或通话过程中信号的接收和发送。具体而言,射频单元001可以将上行信息发送给基站,也可以将基站发送的下行信息接收后,发送给移动终端的处理器005处理;基站向射频单元001发送的下行信息可以是根据射频单元001发送的上行信息生成的,也可以是在检测到移动终端的信息更新后主动向射频单元001推送的,例如, 在检测到移动终端所处的地理位置发生变化后,基站可以向移动终端的射频单元001发送地理位置变化的消息通知,射频单元001在接收到该消息通知后,可以将该消息通知发送给移动终端的处理器005处理,移动终端的处理器005可以控制该消息通知显示在移动终端的柔性显示面板009a上。通常而言,射频单元001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器等。此外,射频单元001还可以通过无线通信与网络和其他设备通信,具体可包括:通过无线通信与网络系统中的服务器通信,例如,移动终端可以通过无线通信从服务器中下载文件资源,比如可以从服务器中下载应用程序,在移动终端将某一应用程序下载完成之后,若服务器中该应用程序对应的文件资源更新,则该服务器可以通过无线通信向移动终端推送资源更新的消息通知,以提醒用户对该应用程序进行更新。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址2000(Code Division Multiple Access 2000,CDMA2000)、宽带码分多址WCDMA(Wideband Code Division Multiple Access,WCDMA)、时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,TD-SCDMA)、频分双工长期演进(Frequency Division Duplexing-Long Term Evolution,FDD-LTE)以及分时双工长期演进(Time Division Duplexing-Long Term Evolution,TDD-LTE)等。The radio frequency unit 001 is set to send and receive information or receive and send signals during a call. Specifically, the radio frequency unit 001 can send uplink information to the base station, or after receiving the downlink information sent by the base station, send it to the processor 005 of the mobile terminal for processing; the downlink information sent by the base station to the radio frequency unit 001 can be based on the radio frequency unit The uplink information sent by 001 is generated, or it can be actively pushed to the radio frequency unit 001 after detecting that the information of the mobile terminal is updated. The radio frequency unit 001 sends a message notification of the geographic location change. After receiving the message notification, the radio frequency unit 001 can send the message notification to the processor 005 of the mobile terminal for processing, and the processor 005 of the mobile terminal can control the message notification to be displayed on On the flexible display panel 009a of the mobile terminal. Generally speaking, the radio frequency unit 001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, and so on. In addition, the radio frequency unit 001 can also communicate with the network and other devices through wireless communication. Specifically, it may include: communicating with a server in a network system through wireless communication. For example, a mobile terminal may download file resources from the server through wireless communication, such as from The server downloads the application program. After the mobile terminal downloads an application program, if the file resource corresponding to the application program in the server is updated, the server can push the resource update message notification to the mobile terminal through wireless communication to remind the user Update the application. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000 (Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division Duplex Long Term Evolution (Frequency Division Duplexing-Long Term Evolution, FDD-LTE) and Time Division Duplexing-Long Term Evolution (TDD-LTE), etc.
存储单元002,设置为存储软件程序以及各种数据。具体而言,存储单元002可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据等。此外,存储单元002可以包括高速随机存取存储器,还可以包括非易失性存储器,例如,至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The storage unit 002 is configured to store software programs and various data. Specifically, the storage unit 002 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required for at least one function, etc.; Data etc. In addition, the storage unit 002 may include a high-speed random access memory, and may also include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
WIFI单元003,设置为提供无线的宽带互联网访问。具体而言,WIFI属于短距离无线传输技术,移动终端通过WIFI模块003可以访问网络,以实现用户收发电子邮件、浏览网页和访问流式媒体等功能。The WIFI unit 003 is set to provide wireless broadband Internet access. Specifically, WIFI is a short-distance wireless transmission technology, and the mobile terminal can access the network through the WIFI module 003 to realize functions such as sending and receiving emails, browsing webpages, and accessing streaming media.
电源单元004,设置为向移动终端供电。具体而言,电源单元004通过电源管理系统与处理器005逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power supply unit 004 is configured to supply power to the mobile terminal. Specifically, the power supply unit 004 is logically connected to the processor 005 through a power management system, so that functions such as management of charging, discharging, and power consumption management are realized through the power management system.
处理器005,构成移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储单元002内的软件程序和/或模块,以及调用存储在存储单元002内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控,例如,处理器005可执行本公开实施例中的显示方法。具体而言,处理器005可包括一个或多个处理单元;此外,处理器005还可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信,可以理解的是,上述调制解调处理器也可以不集成于处理器005中。The processor 005, which constitutes the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the storage unit 002, and calls the storage unit 002. The data inside performs various functions of the mobile terminal and processes data, thereby monitoring the mobile terminal as a whole. For example, the processor 005 can execute the display method in the embodiment of the present disclosure. Specifically, the processor 005 may include one or more processing units; in addition, the processor 005 may also integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated in the processor 005.
传感器006,例如,光传感器、运动传感器以及其他传感器。具体而言,光传感器包括环境光传感器以及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板009a的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板009a或背光。运动传感器可包括加速计传感器,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。需要说明的是,移动终端还可 在图1中所示基础上配置重力传感器、指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,本公开实施例对此不做限定。The sensor 006, for example, a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 009a according to the brightness of the ambient light, and the proximity sensor can close the display panel 009a or close the display panel 009a when the mobile terminal is moved to the ear. Backlight. Motion sensors can include accelerometer sensors. The accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of the mobile terminal's posture (such as horizontal and vertical screen switching) , Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc. It should be noted that the mobile terminal can also be equipped with other sensors such as gravity sensors, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. on the basis shown in Figure 1. The embodiments of the present disclosure do not limit this.
接口单元007,设置为接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端的一个或多个元件或者可以设置为在移动终端和外部装置之间传输数据。具体而言,接口单元007包括至少一个外部装置与移动终端连接可以通过的接口,例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、设置为连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。The interface unit 007 is configured to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements of the mobile terminal or may be configured to be between the mobile terminal and the external device transfer data. Specifically, the interface unit 007 includes at least one interface through which an external device can be connected to the mobile terminal. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, and wired or wireless data. Ports, memory card ports, ports set to connect devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, etc.
音频输出单元008,设置为在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元001或WIFI单元003接收的或者在存储器002中存储的音频数据转换成音频信号并且输出为声音。同时,音频输出单元008还可以提供与移动终端执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元008可以包括扬声器、蜂鸣器等等。The audio output unit 008 is set to receive the radio frequency unit 001 or the WIFI unit 003 or store it in the memory 002 when the mobile terminal is in the call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. The stored audio data is converted into an audio signal and output as sound. At the same time, the audio output unit 008 may also provide audio output related to a specific function performed by the mobile terminal (for example, call signal reception sound, message reception sound, etc.). The audio output unit 008 may include a speaker, a buzzer, and so on.
显示单元009,设置为显示由用户输入的信息或提供给用户的信息。具体而言,显示单元009可包括显示面板009a,显示面板009a可采用有源矩阵有机发光二极管(Active Matrix/Organic Light-Emitting Diode,AMOLED)、无源有机电激发光二极管(Passive matrix OLED)等不同类型、结构或材质的面板。The display unit 009 is configured to display information input by the user or information provided to the user. Specifically, the display unit 009 may include a display panel 009a, and the display panel 009a may use Active Matrix/Organic Light-Emitting Diode (AMOLED), Passive Organic Light-Emitting Diode (AMOLED), etc. Panels of different types, structures or materials.
用户输入单元010,设置为接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体而言,用户输入单元010可包括触控面板010a以及其他输入设备010b。触控面板010a,也称为触摸屏,可收集用户在其上或附近的触摸操作,并根据预先设定的程式驱动相应的连接装置。触控面板010a可包括触摸检测装置和触摸控制器两个部分;其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将其转换成触点坐标以发送给处理器005,并能接收处理器005发来的命令并加以执行。此外,可采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板010a。除了触控面板010a,用户输入单元010还可以包括其他输入设备010b,可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,本公开实施例对此不做限定。The user input unit 010 is configured to receive input digital or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 010 may include a touch panel 010a and other input devices 010b. The touch panel 010a, also called a touch screen, can collect user touch operations on or near it, and drive the corresponding connection device according to a preset program. The touch panel 010a can include two parts: a touch detection device and a touch controller; the touch detection device detects the user’s touch position and detects the signal caused by the touch operation, and transmits the signal to the touch controller; The detection device receives touch information and converts it into contact coordinates to send to the processor 005, and can receive and execute commands from the processor 005. In addition, the touch panel 010a can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 010a, the user input unit 010 may also include other input devices 010b, including but not limited to one of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, joystick, etc. One or more types, which are not limited in the embodiments of the present disclosure.
A/V输入单元011,设置为接收音频或视频信号。A/V输入单元011可以包括麦克风011a、图像处理器(Graphics Processing Unit,GPU)011b、图像捕捉装置011c。图像处理器011b对在视频捕获模式或图像捕获模式中由图像捕获装置011c(如前置摄像头、后置摄像头等)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元009上。经图像处理器011b处理后的图像帧可以存储在存储器002中或者经由射频单元001或WIFI模块003进行发送。麦克风011a可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风011a接收音频数据,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元001发送到移动通信基站的格式输出。麦克风011a可以实施各种类型的噪声消除或抑制,算法以消除或抑制,在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 011 is set to receive audio or video signals. The A/V input unit 011 may include a microphone 011a, a graphics processing unit (GPU) 011b, and an image capturing device 011c. The image processor 011b processes image data of still pictures or videos obtained by the image capture device 011c (such as a front camera, a rear camera, etc.) in the video capture mode or the image capture mode. The processed image frame can be displayed on the display unit 009. The image frame processed by the image processor 011b can be stored in the memory 002 or sent via the radio frequency unit 001 or the WIFI module 003. The microphone 011a can receive audio data via the microphone 011a in operating modes such as telephone call mode, recording mode, voice recognition mode, etc., and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 001 for output in the case of a telephone call mode. The microphone 011a can implement various types of noise cancellation or suppression, and algorithms can eliminate or suppress noise or interference generated in the process of receiving and sending audio signals.
需要说明的是,上述移动终端的显示单元009可以采用可折叠的柔性显示单元,或其它 存在多个显示区域的显示单元。以下对于本公开实施例中的显示方法及装置、计算机可读存储介质、电子装置进行阐述:It should be noted that the display unit 009 of the aforementioned mobile terminal may adopt a foldable flexible display unit, or other display units with multiple display areas. The following describes the display method and device, computer-readable storage medium, and electronic device in the embodiments of the present disclosure:
本公开实施例提供了一种显示方法,应用于终端,终端包括第一显示区域与第二显示区域;图2是根据本公开实施例提供的显示方法的流程图,如图2所示,本公开实施例中的方法包括:The embodiment of the present disclosure provides a display method, which is applied to a terminal. The terminal includes a first display area and a second display area; FIG. 2 is a flowchart of the display method provided according to an embodiment of the present disclosure. The method in the disclosed embodiment includes:
S102,检测终端的位置状态信息;其中,位置状态信息用于指示第一显示区域和/或第二显示区域与用户的相对位置状态。S102: Detect position status information of the terminal; where the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user.
本公开实施例中的终端可以为柔性折叠屏终端,显示单元可以采用可折叠的柔性显示单元,在显示单元为柔性显示单元的情形下,本公开实施例中的第一显示区域与第二显示区域可以用于指示柔性显示单元中的不同的屏幕区域。柔性显示单元可包括展开状态、折叠状态,以及由展开状态向折叠状态调整的过程状态。图3是根据本公开实施例提供的柔性折叠屏终端的状态示意图(一),柔性显示单元的展开状态如图3所示,柔性显示单元包括位于右侧的第一显示区域101与位于左侧的第二显示区域102,如图3所示,在展开状态下,第一显示区域与第二显示区域位于同一平面,此时,第一显示区域与第二显示区域共同作为屏幕显示目标内容。The terminal in the embodiment of the present disclosure may be a flexible folding screen terminal, and the display unit may be a foldable flexible display unit. When the display unit is a flexible display unit, the first display area and the second display in the embodiment of the present disclosure The area can be used to indicate different screen areas in the flexible display unit. The flexible display unit may include an expanded state, a folded state, and a process state of adjusting from the expanded state to the folded state. 3 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (1). The expanded state of the flexible display unit is shown in FIG. 3. The flexible display unit includes a first display area 101 on the right and a first display area 101 on the left As shown in FIG. 3, in the expanded state, the first display area and the second display area are located on the same plane. At this time, the first display area and the second display area together serve as the screen display target content.
图4是根据本公开实施例提供的柔性折叠屏终端的状态示意图(二),柔性显示单元的折叠状态如图4所示,在折叠状态下,第一显示区域与第二显示区域通过折叠彼此相对,由于用户在操作过程中往往仅能对于终端与用户的相对面进行操作,因此,在折叠状态下,目标内容通过第一显示区域或第二显示区域进行显示,例如,如图4所示,通过位于前方的第一显示区域显示目标内容。4 is a schematic diagram of a state of a flexible folding screen terminal according to an embodiment of the present disclosure (2). The folded state of the flexible display unit is shown in FIG. 4. In the folded state, the first display area and the second display area are folded to each other. In contrast, since the user can often only operate on the opposite side of the terminal and the user during the operation, in the folded state, the target content is displayed through the first display area or the second display area, for example, as shown in FIG. 4 , To display the target content through the first display area located in the front.
本公开实施例中,位置状态信息即指示第一显示区域和/或第二显示区域与用户的相对位置状态,例如,在一示例中,柔性显示单元展开状态下,第一显示区域与第二显示区域同时与用户相对,在另一示例中,柔性显示单元折叠状态下,第一显示区域与用户相对,或第二显示区域与用户相对;此外,在过程状态下,用户将无需进行浏览或操作的显示区域进行折叠,故过程状态下,与用户相对的显示区域为第一显示区域或第二显示区域。In the embodiment of the present disclosure, the position status information indicates the relative position status of the first display area and/or the second display area and the user. For example, in an example, when the flexible display unit is unfolded, the first display area and the second display area The display area is opposite to the user at the same time. In another example, when the flexible display unit is folded, the first display area is opposite to the user, or the second display area is opposite to the user; in addition, in the process state, the user will not need to browse or The operation display area is folded, so in the process state, the display area opposite to the user is the first display area or the second display area.
需要说明的是,本公开实施例中的显示方法并不限制应用于采用可折叠的柔性显示单元的柔性折叠屏终端,对于存在多个显示区域的终端,例如,具有前后双屏的终端,或者,由多块非柔性显示单元构成的折叠屏终端等,均可适用于本公开实施例中的显示方法,本公开实施例对此不做限定。It should be noted that the display method in the embodiments of the present disclosure is not limited to be applied to a flexible folding screen terminal adopting a foldable flexible display unit. For a terminal with multiple display areas, for example, a terminal with front and rear dual screens, or A folding screen terminal composed of multiple non-flexible display units, etc., can be applicable to the display method in the embodiment of the present disclosure, which is not limited in the embodiment of the present disclosure.
以下以应用于柔性折叠屏终端作为示例,对于上述步骤S102中检测终端的位置状态信息的方法进行阐述:The following uses a flexible folding screen terminal as an example to describe the method of detecting the position state information of the terminal in the above step S102:
在一可选实施例中,上述步骤S102中,检测终端的位置状态信息,包括:In an optional embodiment, in the foregoing step S102, detecting the location state information of the terminal includes:
检测第一显示区域对应的第一角度,其中,第一角度用于指示第一显示区域预设的第一判定方向与重力方向之间的夹角的角度,第一判定方向用于指示垂直于第一显示区域的方向;The first angle corresponding to the first display area is detected, where the first angle is used to indicate the angle between the preset first determination direction of the first display area and the direction of gravity, and the first determination direction is used to indicate perpendicular to The direction of the first display area;
检测第二显示区域对应的第二角度,其中,第二角度用于指示第二显示区域预设的第二判定方向与重力方向之间的夹角的角度,第二判定方向用于指示垂直于第二显示区域的方向,第一显示区域与第二显示区域相对的情形下,第一判定方向与第二判定方向相反;The second angle corresponding to the second display area is detected, where the second angle is used to indicate the angle between the preset second determination direction of the second display area and the direction of gravity, and the second determination direction is used to indicate perpendicular to the direction of gravity. The direction of the second display area, where the first display area is opposite to the second display area, the first determination direction is opposite to the second determination direction;
根据第一角度与第二角度确定位置状态信息。The position status information is determined according to the first angle and the second angle.
需要说明的是,上述可选实施例中,重力方向为垂直向下的方向;第一判定方向为垂直 于第一显示区域的方向,第一判定方向是随第一显示区域的位置变化而变化的,例如,第一显示区域水平向上放置时,第一判定方向可为垂直向上的方向,第一显示区域垂直于水平面放置时,第一判定方向可为水平指示第一显示区域前方的方向;类似的,第二判定方向为垂直于第二显示区域的方向,第二判定方向是随第二显示区域的位置变化而变化的,例如,第二显示区域水平向上放置时,第二判定方向可为垂直向上的方向,第二显示区域垂直于水平面放置时,第二判定方向可为水平指示第二显示区域前方的方向。It should be noted that in the above optional embodiment, the direction of gravity is a vertical downward direction; the first determination direction is a direction perpendicular to the first display area, and the first determination direction changes with the position of the first display area. For example, when the first display area is placed horizontally upward, the first determination direction may be a vertical upward direction, and when the first display area is placed perpendicular to a horizontal plane, the first determination direction may be a horizontal direction indicating the front of the first display area; Similarly, the second determination direction is a direction perpendicular to the second display area, and the second determination direction changes with the position of the second display area. For example, when the second display area is placed horizontally upward, the second determination direction can be It is a vertical upward direction, and when the second display area is placed perpendicular to a horizontal plane, the second determination direction may be a horizontal direction indicating the front of the second display area.
在一示例中,图5是根据本公开实施例提供的第一判定方向与第二判定方向的坐标示意图(一),如图5所示,在柔性显示单元于水平方向上展开状态下,分别以第一显示区域与第二显示区域所在平面建立三维坐标系S1与S2,其中,S1中的Z1轴坐标为垂直于第一显示区域向上的方向,该方向即为第一判定方向,类似的,S2中的Z2轴坐标为垂直于第二显示区域向上的方向,该方向即为第二判定方向,G1与G2均为垂直向下的重力方向。如图5所示,∠Z1O1G1即为第一角度,由于Z1与G1均位于垂直方向,且方向相反,故第一角度应为180°;∠Z2O2G2即为第二角度,由于Z2与G2均位于垂直方向,且方向相反,故第二角度应为180°。In an example, FIG. 5 is a schematic diagram (1) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure. As shown in FIG. 5, when the flexible display unit is expanded in the horizontal direction, respectively The three-dimensional coordinate systems S1 and S2 are established on the plane where the first display area and the second display area are located, where the Z1 axis coordinate in S1 is the upward direction perpendicular to the first display area, and this direction is the first determination direction, similar , The Z2 axis coordinate in S2 is the upward direction perpendicular to the second display area, and this direction is the second determination direction, and G1 and G2 are both vertical downward gravity directions. As shown in Figure 5, ∠Z1O1G1 is the first angle. Since Z1 and G1 are both in the vertical direction and opposite in direction, the first angle should be 180°; ∠Z2O2G2 is the second angle, because Z2 and G2 are both located The vertical direction is opposite, so the second angle should be 180°.
在另一示例中,图6是根据本公开实施例提供的第一判定方向与第二判定方向的坐标示意图(二),如图6所示,柔性显示单元于展开状态下由水平方向转化为倾斜方向,则上述三维坐标系S1与S2中的Z1与Z2亦随之产生变化。如图6所示,由于Z1保持与第一显示区域垂直,故在第一显示区域相对水平面倾斜时,Z1也随之偏离垂直方向,以令Z1与G1之间一定的夹角,此时,第一角度∠Z1O1G1应大于90°且小于180°,类似的,由于Z2保持与第二显示区域垂直,故在第二显示区域相对水平面倾斜时,Z2也随之偏离垂直方向,以令Z2与G2之间一定的夹角,此时,第二角度∠Z2O2G2应大于90°且小于180°。In another example, FIG. 6 is a schematic diagram (2) of the coordinates of the first determination direction and the second determination direction provided according to an embodiment of the present disclosure. As shown in FIG. 6, the flexible display unit is transformed from the horizontal direction to the horizontal direction in the unfolded state. Inclined direction, Z1 and Z2 in the above-mentioned three-dimensional coordinate systems S1 and S2 also change accordingly. As shown in Figure 6, since Z1 remains perpendicular to the first display area, when the first display area is tilted relative to the horizontal plane, Z1 also deviates from the vertical direction, so that there is a certain angle between Z1 and G1. At this time, The first angle ∠Z1O1G1 should be greater than 90° and less than 180°. Similarly, since Z2 remains perpendicular to the second display area, when the second display area is tilted relative to the horizontal plane, Z2 will also deviate from the vertical direction, so that Z2 and A certain included angle between G2, at this time, the second angle ∠Z2O2G2 should be greater than 90° and less than 180°.
需要说明的是,为实现第一角度与第二角度的区别,第一显示区域与第二显示区域相对的情形下,第一判定方向与第二判定方向相反。在一示例中,以图5所示的示例进行说明,柔性显示单元于图5所示的水平位置由展开状态进行折叠以至折叠状态后,第一显示区域与第二显示区域彼此相对,且第一显示区域向上放置,第二显示区域向下放置;此时,第一显示区域的Z1为垂直向上,第二显示区域的Z2为垂直向下,对应的,第一角度∠Z1O1G1为180°,第二角度∠Z2O2G2为0°。It should be noted that, in order to realize the difference between the first angle and the second angle, when the first display area and the second display area are opposite, the first determination direction is opposite to the second determination direction. In an example, the example shown in FIG. 5 is used for explanation. After the flexible display unit is folded from the unfolded state to the folded state in the horizontal position shown in FIG. One display area is placed upwards, and the second display area is placed downwards; at this time, Z1 of the first display area is vertically upward, and Z2 of the second display area is vertically downward. Correspondingly, the first angle ∠Z1O1G1 is 180°, The second angle ∠Z2O2G2 is 0°.
在另一示例中,以图6所示的示例进行说明,柔性显示单元于图6所示的倾斜位置由展开状态进行折叠以至折叠状态后,第一显示区域与第二显示区域彼此相对,且第一显示区域倾斜向上放置,第二显示区域倾斜向下放置;此时,第一显示区域的Z1为倾斜向上,第二显示区域的Z2为倾斜向下,对应的,第一角度∠Z1O1G1应大于90°且小于180°,第二角度∠Z2O2G2应大于0°且小于90°。In another example, the example shown in FIG. 6 is used for explanation. After the flexible display unit is folded from the unfolded state to the folded state in the inclined position shown in FIG. 6, the first display area and the second display area are opposite to each other, and The first display area is placed obliquely upward, and the second display area is placed obliquely downward; at this time, Z1 of the first display area is tilted upward, and Z2 of the second display area is tilted downward. Correspondingly, the first angle ∠Z1O1G1 should be Greater than 90° and less than 180°, the second angle ∠Z2O2G2 should be greater than 0° and less than 90°.
需要说明的是,上述可选实施例中的第一角度与第二角度可由设置在终端中的传感器获取,在一示例中,终端于第一显示区域与第二显示区域分别设置有一重力传感器,该重力传感器可确定预设的第一判定方向与第二判定方向,如上述三维坐标系01与02中的Z1与Z2,相对于重力方向的偏移,即检测上述可选实施例中的第一角度与第二角度。在获取上述第一角度与第二角度后,即可确定位置状态信息。以下对于上述可选实施例中,根据第一角度与第二角度确定位置状态信息的过程进行说明:It should be noted that the first angle and the second angle in the above optional embodiment can be acquired by a sensor provided in the terminal. In an example, the terminal is provided with a gravity sensor in the first display area and the second display area. The gravity sensor can determine the preset first determination direction and the second determination direction, such as Z1 and Z2 in the above-mentioned three-dimensional coordinate system 01 and 02, relative to the deviation of the gravity direction, that is, detect the first determination direction in the above-mentioned optional embodiment One angle and second angle. After the first angle and the second angle are obtained, the position state information can be determined. The following describes the process of determining the position state information according to the first angle and the second angle in the foregoing optional embodiment:
在一可选实施例中,根据第一角度与第二角度确定位置状态信息,包括:In an optional embodiment, determining the position state information according to the first angle and the second angle includes:
根据第一角度与第二角度确定终端的使用状态信息;其中,使用状态信息用于指示第一显示区域与第二显示区域的使用状态;Determine the use status information of the terminal according to the first angle and the second angle; wherein the use status information is used to indicate the use status of the first display area and the second display area;
至少根据使用状态信息确定位置状态信息。At least the location status information is determined based on the usage status information.
需要说明的是,在检测至第一角度与第二角度的情形下,即可以此确定终端当前第一显示区域与第二显示区域的使用状态,即确定使用状态信息。上述可选实施例中,使用状态信息所指示的用户当前对终端的使用方式,在一示例中,使用方式可为将第一显示区域与第二显示区域展开使用,在另一示例中,使用方式可为将第一显示区域与第二显示区域折叠后彼此相对使用,在另一示例中,使用方式可为将第一显示区域与第二显示区域由展开状态向折叠状态调整的过程。It should be noted that when the first angle and the second angle are detected, the current use status of the first display area and the second display area of the terminal can be determined by this, that is, the use status information is determined. In the foregoing optional embodiment, the user's current use of the terminal indicated by the status information is used. In one example, the use may be to expand the first display area and the second display area. In another example, use The method may be to use the first display area and the second display area relative to each other after being folded. In another example, the use method may be a process of adjusting the first display area and the second display area from the unfolded state to the folded state.
在一可选实施例中,上述根据第一角度与第二角度确定终端的使用状态信息,可包括:In an optional embodiment, the foregoing determining the use state information of the terminal according to the first angle and the second angle may include:
根据第一角度与第二角度确定角度差值;其中,角度差值用于指示第一角度与第二角度的差值的绝对值;Determine the angle difference according to the first angle and the second angle; where the angle difference is used to indicate the absolute value of the difference between the first angle and the second angle;
根据角度差值确定使用状态信息。The use status information is determined according to the angle difference.
需要说明的是,上述使用状态信息可由第一角度与第二角度之间的差值确定。以图5与图6所示的示例进行说明,柔性显示单元为展开状态下,第一显示区域与第二显示区域对应的第一角度与第二角度均相同,则第一角度与第二角度之间的差值为0°。因此,第一角度与第二角度之间的角度差值为0°时,则第一显示区域与第二显示区域展开使用。在另一示例中,柔性显示单元为折叠状态下,第一显示区域与第二显示区域彼此相对,此时,第一角度与第二角度互补,则第一角度与第二角度之间的差值为180°。因此,第一角度与第二角度之间的角度差值为180°时,则第一显示区域与第二显示区域折叠使用。It should be noted that the above-mentioned use state information may be determined by the difference between the first angle and the second angle. Taking the examples shown in FIGS. 5 and 6 for illustration, when the flexible display unit is in the expanded state, the first angle and the second angle corresponding to the first display area and the second display area are the same, then the first angle and the second angle The difference between is 0°. Therefore, when the angle difference between the first angle and the second angle is 0°, the first display area and the second display area are expanded for use. In another example, when the flexible display unit is in the folded state, the first display area and the second display area are opposite to each other. At this time, the first angle and the second angle are complementary, and the difference between the first angle and the second angle is The value is 180°. Therefore, when the angle difference between the first angle and the second angle is 180°, the first display area and the second display area are folded for use.
在一可选实施例中,上述对于根据角度差值确定使用状态信息,包括:In an optional embodiment, the foregoing determination of the use state information according to the angle difference includes:
在角度差值小于或等于第一阈值的情形下,确定使用状态信息用于指示第一显示区域用于显示第一子内容以及第二显示区域用于显示第二子内容;其中,目标内容由第一子内容与第二子内容构成;In the case that the angle difference is less than or equal to the first threshold, it is determined that the use status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content; wherein the target content is determined by The composition of the first sub-content and the second sub-content;
在角度差值大于第一阈值且小于第二阈值的情形下,确定使用状态信息用于指示第一显示区域或第二显示区域用于显示目标内容,且第一显示区域相对于第二显示区域进行位置调整;In the case where the angle difference is greater than the first threshold and less than the second threshold, it is determined that the use status information is used to indicate that the first display area or the second display area is used to display the target content, and the first display area is relative to the second display area Make position adjustments;
在角度差值大于或等于第二阈值的情形下,确定使用状态信息用于指示第一显示区域或第二显示区域用于显示目标内容。In the case where the angle difference is greater than or equal to the second threshold, it is determined that the use state information is used to indicate that the first display area or the second display area is used to display the target content.
需要说明的是,在一示例中,上述第一阈值为15°,以此,当第一角度与第二角度之间的差值为0至15°时,可确定第一显示区域与第二显示区域展开或近似展开使用,对应柔性折叠屏终端的展开状态;此时,第一显示区域中显示的部分即为第一子内容,第二显示区域中显示的部分即为第二子内容,目标内容则可由第一子内容与第二子内容拼接获得。It should be noted that, in an example, the above-mentioned first threshold is 15°. Therefore, when the difference between the first angle and the second angle is 0 to 15°, the first display area and the second display area can be determined. The display area is expanded or approximately expanded for use, corresponding to the expanded state of the flexible folding screen terminal; at this time, the part displayed in the first display area is the first sub-content, and the part displayed in the second display area is the second sub-content. The target content can be obtained by splicing the first sub-content and the second sub-content.
在另一示例中,上述第二阈值为165°,以此,当第一角度与第二角度之间的差值为165至180°时,可确定第一显示区域与第二显示区域折叠或近似折叠使用,对应柔性折叠屏终端的折叠状态;此时,第一显示区域与第二显示区域彼此相对,或接近于彼此相对,则可由第一显示区域或第二显示区域显示目标内容。In another example, the above-mentioned second threshold is 165°. Therefore, when the difference between the first angle and the second angle is 165 to 180°, it can be determined that the first display area and the second display area are folded or Approximately folded use, corresponding to the folded state of the flexible folding screen terminal; at this time, the first display area and the second display area are opposite to each other, or close to each other, the target content can be displayed in the first display area or the second display area.
在另一示例中,对于第一角度与第二角度之间的差值为15至165°时,则可确定柔性显示单元为第一显示区域相对于第二显示区域(或第二显示区域相对于第一显示区域)由展开状 态逐渐折叠的过程状态;对应柔性折叠屏终端的中间状态;此时,则可由未进行折叠操作的第一显示区域或第二显示区域显示目标内容。In another example, when the difference between the first angle and the second angle is 15 to 165°, it can be determined that the flexible display unit is the first display area relative to the second display area (or the second display area is relative to the second display area). In the first display area) the process state of gradually folding from the unfolded state; corresponding to the intermediate state of the flexible folding screen terminal; at this time, the target content can be displayed in the first display area or the second display area that has not been folded.
图7是根据本公开实施例提供的使用状态信息确定的流程图,上述根据角度差值确定使用状态信息的过程如图7所示。根据上述可选实施例,即可根据角度差值确定终端的使用状态信息。以此,即可进一步根据使用状态信息确定位置状态信息。在一可选实施例中,至少根据使用状态信息确定位置状态信息,包括:FIG. 7 is a flow chart for determining the use state information provided by an embodiment of the present disclosure. The above-mentioned process of determining the use state information based on the angle difference is shown in FIG. 7. According to the foregoing optional embodiment, the use state information of the terminal can be determined according to the angle difference. In this way, the location status information can be further determined based on the use status information. In an optional embodiment, determining the location status information at least according to the usage status information includes:
在使用状态信息用于指示第一显示区域用于显示第一子内容以及第二显示区域用于显示第二子内容的情形下,确定位置状态信息用于指示第一显示区域与第二显示区域均与用户相对;In the case where the usage status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content, the determined position status information is used to indicate the first display area and the second display area All relative to the user;
在使用状态信息用于指示第一显示区域或第二显示区域用于显示目标内容的情形下,根据使用状态信息、第一角度与第二角度确定位置状态信息;其中,根据使用状态信息、第一角度与第二角度确定位置状态信息,包括:In the case where the use status information is used to indicate that the first display area or the second display area is used to display the target content, the position status information is determined according to the use status information, the first angle and the second angle; wherein, according to the use status information, the second angle The first angle and the second angle determine the position status information, including:
在第一角度大于预设的第三阈值的情形下,确定位置状态信息用于指示第一显示区域与用户相对;In the case that the first angle is greater than the preset third threshold, determining that the position state information is used to indicate that the first display area is opposite to the user;
在第二角度大于预设的第三阈值的情形下,确定位置状态信息用于指示第二显示区域与用户相对。In the case that the second angle is greater than the preset third threshold, it is determined that the position state information is used to indicate that the second display area is opposite to the user.
需要说明的是,在一示例中,上述使用状态信息指示第一显示区域用于显示第一子内容以及第二显示区域用于显示第二子内容,即柔性折叠屏终端位于展开状态下,第一显示区域与第二显示区域展开使用的情形,此时,用户使用终端时第一显示区域与第二显示区域则会同时相对于用户,故位置状态信息指示第一显示区域与第二显示区域均与用户相对。It should be noted that, in an example, the above use status information indicates that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content, that is, the flexible folding screen terminal is in the unfolded state, and the first display area is used for displaying the first sub-content. When the first display area and the second display area are expanded and used, when the user uses the terminal, the first display area and the second display area will be opposite to the user at the same time, so the position status information indicates the first display area and the second display area All are opposite to the user.
在另一示例中,上述使用状态信息指示第一显示区域或第二显示区域用于显示目标内容,即柔性折叠屏终端位于折叠状态或中间状态下,第一显示区域与第二显示区域折叠使用,或正处于折叠操作的过程中,此时,用户使用终端时与当前位于终端正面的显示区域相对,则位置状态信息用于指示第一显示区域或第二显示区域与用户相对。In another example, the above-mentioned use status information indicates that the first display area or the second display area is used to display target content, that is, the flexible folding screen terminal is in the folded state or the intermediate state, and the first display area and the second display area are folded for use , Or in the process of folding operation. At this time, when the user uses the terminal and is opposite to the display area currently located on the front of the terminal, the position status information is used to indicate that the first display area or the second display area is opposite to the user.
上述使用状态信息指示第一显示区域或第二显示区域用于显示目标内容的情形下,可进一步根据第三阈值确定位置状态信息,在一示例中,用户以站立或坐立的方式使用终端,则该情形下,终端与用户的相对面处于水平或倾斜向上的状态,终端的另一面则处于水平或倾斜向下的状态,假设第一显示区域为上述终端与用户的相对面,则第一显示区域对应的第一角度大于90°,第二显示区域对应的第二角度小于90°;类似的,假设第二显示区域为上述终端与用户的相对面,则第二显示区域对应的第二角度大于90°,第一显示区域对应的第一角度小于90°。因此,本示例中,第三阈值可为90°,以此即可判断第一显示区域与第二显示区域中与用户相对的显示区域,进而确定位置状态信息。In the case where the above-mentioned use status information indicates that the first display area or the second display area is used to display the target content, the position status information can be further determined according to the third threshold. In one example, the user uses the terminal in a standing or sitting manner, In this case, the opposite surface of the terminal and the user is in a horizontal or inclined upward state, and the other side of the terminal is in a horizontal or inclined downward state. Assuming that the first display area is the opposite surface of the terminal and the user, the first The first angle corresponding to the display area is greater than 90°, and the second angle corresponding to the second display area is less than 90°; similarly, assuming that the second display area is the opposite surface of the terminal and the user, the second display area corresponds to the second The angle is greater than 90°, and the first angle corresponding to the first display area is less than 90°. Therefore, in this example, the third threshold may be 90°, so that the display area opposite to the user in the first display area and the second display area can be determined, and the position state information can be determined.
在一可选实施例中,在使用状态信息用于指示第一显示区域相对于第二显示区域进行位置调整的情形下,根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容,还包括:In an optional embodiment, in the case where the use status information is used to indicate the position adjustment of the first display area relative to the second display area, according to the position status information, in the first display area and/or the second display area Display target content, also includes:
将第一子内容移动至第二显示区域中显示;或者,将第二子内容移动至第一显示区域中显示。Move the first sub-content to the second display area for display; or, move the second sub-content to the first display area for display.
需要说明的是,上述使用状态信息指示第一显示区域相对于第二显示区域进行位置调整的情形,即第一显示区域与第二显示区域处于折叠操作的过程中的情形;对于上述情形,在 由第一显示区域或第二显示区域显示目标内容的过程中,可将另一显示区域中显示的子内容随弯折操作的进行以逐渐移动至用于显示目标内容的显示区域中。在一示例中,用户通过第一显示区域显示目标内容,并将第二显示区域相对于第一区域进行折叠。在上述过程中,第二显示区域可将原显示的第二子内容以平移的方式逐渐移动至第一显示区域,以令第一显示区域的显示效果为,第一子内容,以及,逐渐移动至第一显示区域并与第一子内容进行拼接的至少部分第二子内容,直至第二显示区域相对于第一显示区域弯折超过某个预设的角度,例如,60°时,第二子内容完全移动至第一显示区域,以令第一显示区域显示完整的目标内容。It should be noted that the above-mentioned use status information indicates that the position of the first display area is adjusted relative to the second display area, that is, the situation where the first display area and the second display area are in the process of folding operation; for the above situation, In the process of displaying the target content from the first display area or the second display area, the sub-content displayed in the other display area can be gradually moved to the display area for displaying the target content as the bending operation progresses. In an example, the user displays the target content through the first display area, and folds the second display area relative to the first area. In the above process, the second display area can gradually move the originally displayed second sub-content to the first display area in a translational manner, so that the display effect of the first display area is, the first sub-content, and gradually move At least part of the second sub-content to the first display area and spliced with the first sub-content, until the second display area is bent over a certain preset angle with respect to the first display area, for example, when 60°, the second The sub content is completely moved to the first display area, so that the first display area displays the complete target content.
通过上述方案,即可在柔性折叠屏终端折叠的情形下,通过上述方式实现显示内容的逐渐切换,进而改善用户的浏览体验。With the above solution, the gradual switching of the displayed content can be realized through the above method when the flexible folding screen terminal is folded, thereby improving the user's browsing experience.
图8是根据本公开实施例提供的位置状态信息确定的流程图,上述根据使用状态信息确定位置状态信息的过程如图8所示。FIG. 8 is a flow chart of determining location status information according to an embodiment of the present disclosure. The above-mentioned process of determining location status information based on use status information is shown in FIG. 8.
在一可选实施例中,终端还包括用户输入单元,用户输入单元设置为响应于用户输入的输入指令以生成操控信号;In an optional embodiment, the terminal further includes a user input unit, and the user input unit is configured to generate a manipulation signal in response to an input instruction input by the user;
在使用状态信息用于指示第一显示区域相对于第二显示区域进行位置调整的情形下,方法还包括:In the case where the use status information is used to indicate the position adjustment of the first display area relative to the second display area, the method further includes:
指示用户输入单元停止对输入指令的响应;或者,指示用户输入单元降低对输入指令产生响应的灵敏度。Instruct the user input unit to stop responding to the input instruction; or instruct the user input unit to reduce the sensitivity of responding to the input instruction.
需要说明的是,上述使用状态信息用于指示第一显示区域相对于第二显示区域进行位置调整的情形,即柔性折叠屏终端位于中间状态下,在该情形下,由于用户操作终端进行折叠过程中不可避免对第一显示区域或第二显示区域存在一定的触摸,但该触摸并非以输入指令为目的,而是以令柔性折叠屏终端的结构变化为目的;因此,在上述中间状态下,通过指示用户输入单元停止对输入指令的响应;或者,指示用户输入单元降低对输入指令产生响应的灵敏度,即可有效避免用户进行折叠过程中对第一显示区域或第二显示区域的触摸形成误操作。It should be noted that the above-mentioned use status information is used to indicate that the position of the first display area is adjusted relative to the second display area, that is, the flexible folding screen terminal is in an intermediate state. In this case, the user operates the terminal to perform the folding process. It is inevitable that there will be a certain touch on the first display area or the second display area, but the touch is not for the purpose of inputting instructions, but for the purpose of changing the structure of the flexible folding screen terminal; therefore, in the above-mentioned intermediate state, By instructing the user input unit to stop responding to input instructions; or instructing the user input unit to reduce the sensitivity of responding to input instructions, it can effectively prevent the user from touching the first display area or the second display area during the folding process. operate.
以上检测终端的位置状态信息的方法可适用于柔性折叠屏终端,尤其是用户对于柔性显示单元进行展开、折叠操作的切换过程中,即可根据用户对柔性显示单元使用状态以实时调整目标内容的显示区域;需要说明的是,对于由多块非柔性显示单元构成的折叠屏终端,也可采用上述方式进行目标内容的显示。The above method of detecting the position status information of the terminal can be applied to flexible folding screen terminals, especially during the switching process of the user's unfolding and folding operations on the flexible display unit, the target content can be adjusted in real time according to the user's use status of the flexible display unit Display area; it should be noted that, for a folding screen terminal composed of multiple inflexible display units, the above-mentioned method can also be used to display the target content.
另一方面,对于已经完成折叠的柔性折叠屏终端,折叠屏终端,或其它存在多个显示区域的终端,例如,具有前后双屏的终端等,可在使用过程中直接根据第一角度与第二角度确定位置状态信息,以下对该过程进行说明:On the other hand, for a flexible folding screen terminal that has been folded, a folding screen terminal, or other terminals with multiple display areas, for example, a terminal with front and rear dual screens, the first angle and the The position status information is determined by two angles, and the process is described below:
在第一角度大于预设的第三阈值的情形下,位置状态信息用于指示第一显示区域与用户相对;In the case that the first angle is greater than the preset third threshold, the position status information is used to indicate that the first display area is opposite to the user;
在第二角度大于预设的第三阈值的情形下,位置状态信息用于指示第二显示区域与用户相对。In the case that the second angle is greater than the preset third threshold, the position status information is used to indicate that the second display area is opposite to the user.
需要说明的是,上述可选实施例中,对于完成折叠的柔性折叠屏终端,折叠屏终端,或其它存在多个显示区域的终端直接通过第一显示区域对应的第一角度与第二显示区域对应的第二角度确定位置状态信息。在一示例中,第三阈值为90°时,则可直接根据第一角度或第 二角度与90°的关系,确定第一显示区域与第二显示区域相对于用户的位置,进而确定位置状态信息。It should be noted that, in the above-mentioned optional embodiment, for the folded flexible folding screen terminal, folding screen terminal, or other terminal with multiple display areas, the first angle and the second display area corresponding to the first display area are directly passed through. The corresponding second angle determines the position status information. In an example, when the third threshold is 90°, the position of the first display area and the second display area relative to the user can be determined directly according to the relationship between the first angle or the second angle and 90°, and then the position status can be determined information.
需要说明的是,对于终端的位置状态信息的检测也可以图像识别或人脸识别的方式得以实现,在一可选实施例中,检测终端的位置状态信息,包括:It should be noted that the detection of the location status information of the terminal can also be achieved by image recognition or face recognition. In an optional embodiment, the detection of the location status information of the terminal includes:
获取第一显示区域对应的第一图像;其中,第一图像用于指示第一显示区域相对区域的图像;Acquiring a first image corresponding to the first display area; wherein the first image is used to indicate an image of a relative area of the first display area;
获取第二显示区域对应的第二图像;其中,第二图像用于指示第二显示区域相对区域的图像;Acquiring a second image corresponding to the second display area; wherein the second image is used to indicate an image of a relative area of the second display area;
根据第一图像与第二图像确定位置状态信息。The position status information is determined according to the first image and the second image.
需要说明的是,上述第一图像与第二图像的获取可以通过终端的摄像头,或用于人脸识别的光结构传感器实现,在一示例中,可通过摄像头拍摄当前画面,以获取上述第一图像与第二图像。上述根据第一图像与第二图像确定位置状态信息,包括:It should be noted that the acquisition of the above-mentioned first image and the second image can be achieved by the camera of the terminal or the light structure sensor for face recognition. In one example, the current image can be captured by the camera to obtain the first image. Image and second image. The foregoing determination of position state information based on the first image and the second image includes:
在第一图像中包括用户的情形下,确定位置状态信息用于指示第一显示区域与用户相对;In the case where the user is included in the first image, determining the position status information is used to indicate that the first display area is opposite to the user;
在第二图像中包括用户的情形下,确定位置状态信息用于指示第二显示区域与用户相对。In the case where the user is included in the second image, the determined position state information is used to indicate that the second display area is opposite to the user.
需要说明的是,在获取第一图像与第二图像后,即可通过人脸识别的方式,确定该图像中是否包括用户,以确定相应的显示区域是否与用户相对,进而确定位置状态信息。It should be noted that after acquiring the first image and the second image, it is possible to determine whether the image includes a user by means of face recognition, to determine whether the corresponding display area is opposite to the user, and to determine the position status information.
此外,上述可选实施例中也可以仅获取第一图像或仅获取第二图像,例如,柔性折叠屏终端中仅设置有一个摄像头时,可通过该摄像头获取第一图像(或第二图像),如第一图像中不包括用户,则可确定第一显示区域未相对于用户,进而可确定第二显示区域与用户相对。In addition, in the above optional embodiment, only the first image or only the second image may be obtained. For example, when only one camera is provided in the flexible folding screen terminal, the first image (or the second image) can be obtained through the camera. If the user is not included in the first image, it can be determined that the first display area is not opposite to the user, and then it can be determined that the second display area is opposite to the user.
S104,根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容。S104: Display target content in the first display area and/or the second display area according to the position status information.
需要说明的是,本公开实施例中的目标内容为终端当前需显示的内容,例如,图片、视频、以及文本或信息等,本公开实施例对此不做限定。在一可选实施例中,上述根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容,包括:It should be noted that the target content in the embodiments of the present disclosure is content that the terminal currently needs to display, such as pictures, videos, and text or information, which are not limited in the embodiments of the present disclosure. In an optional embodiment, the foregoing displaying target content in the first display area and/or the second display area according to the position status information includes:
在位置状态信息用于指示第一显示区域与用户相对的情形下,在第一显示区域中显示目标内容;或者,In the case where the position status information is used to indicate that the first display area is opposite to the user, display the target content in the first display area; or,
在位置状态信息用于指示第二显示区域与用户相对的情形下,在第二显示区域中显示目标内容;或者,In the case where the position status information is used to indicate that the second display area is opposite to the user, display the target content in the second display area; or,
在位置状态信息用于指示第一显示区域与第二显示区域均与用户相对的情形下,在第一显示区域与第二显示区域中显示目标内容。In the case where the position status information is used to indicate that both the first display area and the second display area are opposite to the user, the target content is displayed in the first display area and the second display area.
需要说明的是,上述可选实施例中,即将目标内容显示于位置状态信息所指示的与用户相对的显示区域中,以此,即可确保本公开实施例中的终端保持在相对于用户的显示区域显示目标内容,进而实现根据用户的使用或操作方式,以针对性的向用户显示内容。It should be noted that, in the foregoing optional embodiment, the target content is displayed in the display area opposite to the user indicated by the position status information, so as to ensure that the terminal in the embodiment of the present disclosure remains in a position relative to the user. The display area displays the target content, and further realizes that the content is displayed to the user in a targeted manner according to the user's use or operation mode.
需要说明的是,在上述步骤S104执行结束之后,可通过检测终端是否熄屏的方式,以确定终端是否还有目标内容需要显示,在终端熄屏,即用户停止对终端的操作的情形下,即可结束本公开实施例中的显示方法;在终端未熄屏,即仍有内容需显示的情形下,可通过实时确定位置状态信息,进而及时根据用户的使用或操作方式以在相应的显示区域内进行目标内容的显示。It should be noted that after the execution of the above step S104 is completed, it can be determined whether the terminal still has target content to be displayed by detecting whether the terminal screen is turned off. When the terminal screen is turned off, that is, when the user stops operating on the terminal, This can end the display method in the embodiments of the present disclosure; when the terminal is not turned off, that is, when there is still content to be displayed, the location status information can be determined in real time, and then the corresponding display can be displayed in time according to the user's use or operation mode. The target content is displayed in the area.
通过本公开实施例中的显示方法,由于可以通过检测用于指示终端中第一显示区域和/或第二显示区域与用户的相对位置状态的位置状态信息,并根据位置状态信息,在第一显示 区域和/或第二显示区域中显示目标内容,故本公开实施例中的显示方法可令终端根据与用户的相对位置状态而选择不同的显示区域显示目标内容。因此,本公开实施例中的显示方法可以解决相关技术中如柔性折叠屏终端等存在多显示区域的终端无法根据用户的操作方式进行显示的问题,进而令上述终端使用过程中,可根据用户的使用或操作方式,以在用户的相对面上进行内容的显示,以显著改善用户体验的效果。Through the display method in the embodiment of the present disclosure, since the position status information used to indicate the relative position status of the first display area and/or the second display area in the terminal and the user can be detected by detecting the position status information, and according to the position status information, in the first The target content is displayed in the display area and/or the second display area. Therefore, the display method in the embodiment of the present disclosure can enable the terminal to select different display areas to display the target content according to the relative position state with the user. Therefore, the display method in the embodiments of the present disclosure can solve the problem that terminals with multiple display areas in related technologies, such as flexible folding screen terminals, cannot be displayed according to the user's operation mode, so that the terminal can be used according to the user's Use or operation methods to display content on the opposite side of the user to significantly improve the user experience.
为进一步说明本公开实施例中的显示方法,以下通过两个示例性实施例对本公开实施例中的显示方法进行阐述:To further illustrate the display method in the embodiment of the present disclosure, the following two exemplary embodiments are used to illustrate the display method in the embodiment of the present disclosure:
示例性实施例1 Exemplary embodiment 1
以图3所示的柔性折叠屏终端进行说明,折叠状态下的柔性屏手机放置于水平桌面上,第一显示区域向下,第二显示区域向上,终端的听筒103设置于第一显示区域。此时,当终端来电时,由于第二显示区域向上,故第二显示区域对应的第二角度为180°,其大于第三阈值90°,故位置状态信息指示第二显示区域与用户相对,以此,即可在第二显示区域中显示目标内容,即来电信息。Taking the flexible folding screen terminal shown in FIG. 3 for description, the flexible screen mobile phone in the folded state is placed on a horizontal desktop, the first display area is downward, the second display area is upward, and the earpiece 103 of the terminal is set in the first display area. At this time, when the terminal calls, since the second display area is upward, the second angle corresponding to the second display area is 180°, which is greater than the third threshold 90°, so the position status information indicates that the second display area is opposite to the user. In this way, the target content, that is, the incoming call information, can be displayed in the second display area.
用户拿起终端接听来电时,根据操作习惯,用户需将听筒所在位置面对用户耳部以进行通话;因而,用户将第二显示区域向上的终端拿起后,需对终端进行翻转,将听筒所在的第一显示区域面对自身,以进行来电的接听。此时,终端的第一显示区域倾斜向上,其对应的第一角度大于90°,故位置状态信息指示第一显示区域与用户相对,以此,即可将第二显示区域中显示的目标内容切换到第一显示区域中进行显示。When the user picks up the terminal to answer an incoming call, according to the operating habits, the user needs to face the earpiece of the user to make a call; therefore, after the user picks up the terminal with the second display area upwards, the terminal needs to be turned over and the earpiece The first display area where it is located faces itself to answer incoming calls. At this time, the first display area of the terminal is inclined upward, and the corresponding first angle is greater than 90°. Therefore, the position status information indicates that the first display area is opposite to the user. In this way, the target content displayed in the second display area can be displayed. Switch to the first display area for display.
示例性实施例2 Exemplary embodiment 2
以图3所示的柔性折叠屏终端进行说明,折叠状态下的柔性屏手机放置于水平桌面上,第一显示区域向下,第二显示区域向上。此时,当终端接收到文字信息时,由于第二显示区域向上,故第二显示区域对应的第二角度为180°,其大于第三阈值90°,故位置状态信息指示第二显示区域与用户相对,以此,即可在第二显示区域中显示目标内容,即文字信息。Taking the flexible folding screen terminal shown in FIG. 3 for description, the flexible screen mobile phone in the folded state is placed on a horizontal desktop, the first display area is downward, and the second display area is upward. At this time, when the terminal receives the text information, since the second display area is upward, the second angle corresponding to the second display area is 180°, which is greater than the third threshold 90°, so the position status information indicates that the second display area is In this way, the user can display target content, that is, text information, in the second display area.
用户拿起终端以对该文字信息进行操作,如浏览或回复时,由于文字信息显示于位于终端正面的第二显示区域,根据操作习惯,用户拿起终端时手心正对于终端正面,即上述第二显示区域,上述姿势下无法在第二显示区域对该文字信息进行操作。如用户需在第二显示区域对该文字信息进行操作,则需通过手腕的翻转或双手的配合以改变对终端的握持姿势,进而令第二显示区域之上没有遮挡,以便用户对上述文字信息进行操作。本示例性实施例中,用户可直接翻转终端,而不改变对终端的握持姿势,翻转后的终端中,第一显示区域倾斜向上,其对应的第一角度大于90°,故位置状态信息指示第一显示区域与用户相对,以此,即可将第二显示区域中显示的目标内容切换到第一显示区域中进行显示。The user picks up the terminal to operate the text information. For example, when browsing or replying, the text information is displayed in the second display area on the front of the terminal. The second display area, the text information cannot be operated in the second display area in the above-mentioned posture. If the user needs to operate the text information in the second display area, the user needs to flip the wrist or the cooperation of the hands to change the holding posture of the terminal, so that there is no obstruction on the second display area, so that the user can read the above text. Information to operate. In this exemplary embodiment, the user can directly flip the terminal without changing the holding posture of the terminal. In the flipped terminal, the first display area is inclined upward, and the corresponding first angle is greater than 90°, so the position status information Instruct the first display area to be opposite to the user, so that the target content displayed in the second display area can be switched to the first display area for display.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
本公开实施例还提供了一种显示装置,设置于终端,终端包括第一显示区域与第二显示区域,该装置设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下 所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The embodiment of the present disclosure also provides a display device, which is set in a terminal, and the terminal includes a first display area and a second display area. The device is configured to implement the above-mentioned embodiments and optional implementation manners. . As used below, the term "module" can implement a combination of software and/or hardware with predetermined functions. Although the devices described in the following embodiments are preferably implemented by software, implementation by hardware or a combination of software and hardware is also possible and conceived.
图9是根据本公开实施例提供的显示装置的结构框图,如图9所示,本公开实施例中的显示装置包括:FIG. 9 is a structural block diagram of a display device provided according to an embodiment of the present disclosure. As shown in FIG. 9, the display device in an embodiment of the present disclosure includes:
检测模块202,设置为检测终端的位置状态信息;其中,位置状态信息用于指示第一显示区域和/或第二显示区域与用户的相对位置状态;The detection module 202 is configured to detect the position status information of the terminal; where the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
显示模块204,设置为根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容。The display module 204 is configured to display target content in the first display area and/or the second display area according to the position status information.
需要说明的是,本公开实施例中的显示装置的其余可选实施例及技术效果均与本公开实施例中的显示方法相对应,故在此不再赘述。It should be noted that the remaining optional embodiments and technical effects of the display device in the embodiment of the present disclosure are corresponding to the display method in the embodiment of the present disclosure, so they will not be repeated here.
在一可选实施例中,上述显示模块204中,根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容,包括:In an optional embodiment, in the above-mentioned display module 204, displaying the target content in the first display area and/or the second display area according to the position status information includes:
在位置状态信息用于指示第一显示区域与用户相对的情形下,在第一显示区域中显示目标内容;或者,In the case where the position status information is used to indicate that the first display area is opposite to the user, display the target content in the first display area; or,
在位置状态信息用于指示第二显示区域与用户相对的情形下,在第二显示区域中显示目标内容;或者,In the case where the position status information is used to indicate that the second display area is opposite to the user, display the target content in the second display area; or,
在位置状态信息用于指示第一显示区域与第二显示区域均与用户相对的情形下,在第一显示区域与第二显示区域中显示目标内容。In the case where the position status information is used to indicate that both the first display area and the second display area are opposite to the user, the target content is displayed in the first display area and the second display area.
在一可选实施例中,上述检测模块202中,检测终端的位置状态信息,包括:In an optional embodiment, in the above-mentioned detection module 202, detecting the position state information of the terminal includes:
检测第一显示区域对应的第一角度,其中,第一角度用于指示第一显示区域预设的第一判定方向与重力方向之间的夹角的角度,第一判定方向用于指示垂直于第一显示区域的方向;The first angle corresponding to the first display area is detected, where the first angle is used to indicate the angle between the preset first determination direction of the first display area and the direction of gravity, and the first determination direction is used to indicate perpendicular to The direction of the first display area;
检测第二显示区域对应的第二角度,其中,第二角度用于指示第二显示区域预设的第二判定方向与重力方向之间的夹角的角度,第二判定方向用于指示垂直于第二显示区域的方向,第一显示区域与第二显示区域相对的情形下,第一判定方向与第二判定方向相反;The second angle corresponding to the second display area is detected, where the second angle is used to indicate the angle between the preset second determination direction of the second display area and the direction of gravity, and the second determination direction is used to indicate perpendicular to the direction of gravity. The direction of the second display area, where the first display area is opposite to the second display area, the first determination direction is opposite to the second determination direction;
根据第一角度与第二角度确定位置状态信息。The position status information is determined according to the first angle and the second angle.
在一可选实施例中,上述根据第一角度与第二角度确定位置状态信息,包括:In an optional embodiment, the foregoing determining position state information according to the first angle and the second angle includes:
根据第一角度与第二角度确定终端的使用状态信息;其中,使用状态信息用于指示第一显示区域与第二显示区域的使用状态;Determine the use status information of the terminal according to the first angle and the second angle; wherein the use status information is used to indicate the use status of the first display area and the second display area;
至少根据使用状态信息确定位置状态信息。At least the location status information is determined based on the usage status information.
在一可选实施例中,上述根据第一角度与第二角度确定终端的使用状态信息,包括:In an optional embodiment, the foregoing determining the use state information of the terminal according to the first angle and the second angle includes:
根据第一角度与第二角度确定角度差值;其中,角度差值用于指示第一角度与第二角度的差值的绝对值;Determine the angle difference according to the first angle and the second angle; where the angle difference is used to indicate the absolute value of the difference between the first angle and the second angle;
根据角度差值确定使用状态信息。The use status information is determined according to the angle difference.
在一可选实施例中,上述根据角度差值确定使用状态信息,包括:In an optional embodiment, the foregoing determining the usage status information according to the angle difference includes:
在角度差值小于或等于第一阈值的情形下,确定使用状态信息用于指示第一显示区域用于显示第一子内容以及第二显示区域用于显示第二子内容;其中,目标内容由第一子内容与第二子内容构成;In the case that the angle difference is less than or equal to the first threshold, it is determined that the use status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content; wherein the target content is determined by The composition of the first sub-content and the second sub-content;
在角度差值大于第一阈值且小于第二阈值的情形下,确定使用状态信息用于指示第一显示区域或第二显示区域用于显示目标内容,且第一显示区域相对于第二显示区域进行位置调 整;In the case where the angle difference is greater than the first threshold and less than the second threshold, it is determined that the use status information is used to indicate that the first display area or the second display area is used to display the target content, and the first display area is relative to the second display area Make position adjustments;
在角度差值大于或等于第二阈值的情形下,确定使用状态信息用于指示第一显示区域或第二显示区域用于显示目标内容。In the case where the angle difference is greater than or equal to the second threshold, it is determined that the use state information is used to indicate that the first display area or the second display area is used to display the target content.
在一可选实施例中,上述至少根据使用状态信息确定位置状态信息,包括:In an optional embodiment, the foregoing determining the location status information at least according to the use status information includes:
在使用状态信息用于指示第一显示区域用于显示第一子内容以及第二显示区域用于显示第二子内容的情形下,确定位置状态信息用于指示第一显示区域与第二显示区域均与用户相对;In the case where the usage status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content, the determined position status information is used to indicate the first display area and the second display area All relative to the user;
在使用状态信息用于指示第一显示区域或第二显示区域用于显示目标内容的情形下,根据使用状态信息、第一角度与第二角度确定位置状态信息;其中,根据使用状态信息、第一角度与第二角度确定位置状态信息,包括:In the case where the use status information is used to indicate that the first display area or the second display area is used to display the target content, the position status information is determined according to the use status information, the first angle and the second angle; wherein, according to the use status information, the second angle The first angle and the second angle determine the position status information, including:
在第一角度大于预设的第三阈值的情形下,确定位置状态信息用于指示第一显示区域与用户相对;In the case that the first angle is greater than the preset third threshold, determining that the position state information is used to indicate that the first display area is opposite to the user;
在第二角度大于预设的第三阈值的情形下,确定位置状态信息用于指示第二显示区域与用户相对。In the case that the second angle is greater than the preset third threshold, it is determined that the position state information is used to indicate that the second display area is opposite to the user.
在一可选实施例中,上述在使用状态信息用于指示第一显示区域相对于第二显示区域进行位置调整的情形下,根据位置状态信息,在第一显示区域和/或第二显示区域中显示目标内容,还包括:In an optional embodiment, when the use status information is used to indicate the position adjustment of the first display area relative to the second display area, according to the position status information, in the first display area and/or the second display area The target content is displayed in, and also includes:
将第一子内容移动至第二显示区域中显示;或者,将第二子内容移动至第一显示区域中显示。Move the first sub-content to the second display area for display; or, move the second sub-content to the first display area for display.
在一可选实施例中,本公开实施例中的终端还包括用户输入单元,用户输入单元设置为响应于用户输入的输入指令以生成操控信号;In an optional embodiment, the terminal in the embodiment of the present disclosure further includes a user input unit, and the user input unit is configured to generate a manipulation signal in response to an input instruction input by the user;
在使用状态信息用于指示第一显示区域相对于第二显示区域进行位置调整的情形下,本公开实施例中的检测模块202还可设置为:In the case where the use status information is used to indicate the position adjustment of the first display area relative to the second display area, the detection module 202 in the embodiment of the present disclosure may also be configured as:
指示用户输入单元停止对输入指令的响应;或者,指示用户输入单元降低对输入指令产生响应的灵敏度。Instruct the user input unit to stop responding to the input instruction; or instruct the user input unit to reduce the sensitivity of responding to the input instruction.
在一可选实施例中,上述检测模块202中,根据第一角度与第二角度确定位置状态信息,包括:In an optional embodiment, in the detection module 202 described above, determining the position state information according to the first angle and the second angle includes:
在第一角度大于预设的第三阈值的情形下,位置状态信息用于指示第一显示区域与用户相对;In the case that the first angle is greater than the preset third threshold, the position status information is used to indicate that the first display area is opposite to the user;
在第二角度大于预设的第三阈值的情形下,位置状态信息用于指示第二显示区域与用户相对。In the case that the second angle is greater than the preset third threshold, the position status information is used to indicate that the second display area is opposite to the user.
在一可选实施例中,上述检测模块202中,检测终端的位置状态信息,包括:In an optional embodiment, in the above-mentioned detection module 202, detecting the position state information of the terminal includes:
获取第一显示区域对应的第一图像;其中,第一图像用于指示第一显示区域相对区域的图像;Acquiring a first image corresponding to the first display area; wherein the first image is used to indicate an image of a relative area of the first display area;
获取第二显示区域对应的第二图像;其中,第二图像用于指示第二显示区域相对区域的图像;Acquiring a second image corresponding to the second display area; wherein the second image is used to indicate an image of a relative area of the second display area;
根据第一图像与第二图像确定位置状态信息。The position status information is determined according to the first image and the second image.
在一可选实施例中,上述根据第一图像与第二图像确定位置状态信息,包括:In an optional embodiment, the foregoing determining position state information based on the first image and the second image includes:
在第一图像中包括用户的情形下,确定位置状态信息用于指示第一显示区域与用户相对;In the case where the user is included in the first image, determining the position status information is used to indicate that the first display area is opposite to the user;
在第二图像中包括用户的情形下,确定位置状态信息用于指示第二显示区域与用户相对。In the case where the user is included in the second image, the determined position state information is used to indicate that the second display area is opposite to the user.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above-mentioned modules can be implemented by software or hardware. For the latter, it can be implemented in the following way, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules are in any combination The forms are located in different processors.
本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。The embodiment of the present disclosure also provides a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the foregoing computer-readable storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, RAM for short) , Mobile hard drives, magnetic disks or optical discs and other media that can store computer programs.
本公开实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present disclosure also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in any of the foregoing method embodiments.
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the aforementioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the aforementioned processor, and the input-output device is connected to the aforementioned processor.
本公开实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in the embodiments of the present disclosure, reference may be made to the examples described in the foregoing embodiments and exemplary implementations, and details are not described herein again in this embodiment.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present disclosure can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Above, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, and in some cases, they can be executed in a different order than shown here. Or the described steps, or fabricate them into individual integrated circuit modules respectively, or fabricate multiple modules or steps of them into a single integrated circuit module to achieve. In this way, the present disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的可选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The foregoing descriptions are only optional embodiments of the present disclosure, and are not used to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims (15)

  1. 一种显示方法,应用于终端,所述终端包括第一显示区域与第二显示区域;所述方法包括:A display method applied to a terminal, the terminal including a first display area and a second display area; the method includes:
    检测所述终端的位置状态信息;其中,所述位置状态信息用于指示所述第一显示区域和/或所述第二显示区域与用户的相对位置状态;Detecting the position status information of the terminal; wherein the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
    根据所述位置状态信息,在所述第一显示区域和/或所述第二显示区域中显示目标内容。According to the position state information, target content is displayed in the first display area and/or the second display area.
  2. 根据权利要求1所述的方法,其中,所述根据所述位置状态信息,在所述第一显示区域和/或所述第二显示区域中显示所述目标内容,包括:The method according to claim 1, wherein the displaying the target content in the first display area and/or the second display area according to the position state information comprises:
    在所述位置状态信息用于指示所述第一显示区域与所述用户相对的情形下,在所述第一显示区域中显示所述目标内容;或者,In the case where the position status information is used to indicate that the first display area is opposite to the user, display the target content in the first display area; or,
    在所述位置状态信息用于指示所述第二显示区域与所述用户相对的情形下,在所述第二显示区域中显示所述目标内容;或者,In the case where the position status information is used to indicate that the second display area is opposite to the user, display the target content in the second display area; or,
    在所述位置状态信息用于指示所述第一显示区域与所述第二显示区域均与所述用户相对的情形下,在所述第一显示区域与所述第二显示区域中显示所述目标内容。In the case where the position state information is used to indicate that the first display area and the second display area are both opposite to the user, the first display area and the second display area are displayed in the Target content.
  3. 根据权利要求1或2所述的方法,其中,所述检测所述终端的位置状态信息,包括:The method according to claim 1 or 2, wherein the detecting the location status information of the terminal includes:
    检测所述第一显示区域对应的第一角度,其中,所述第一角度用于指示所述第一显示区域预设的第一判定方向与重力方向之间的夹角的角度,所述第一判定方向用于指示垂直于所述第一显示区域的方向;The first angle corresponding to the first display area is detected, where the first angle is used to indicate the angle of the included angle between the first determination direction preset in the first display area and the direction of gravity, the first A determination direction is used to indicate a direction perpendicular to the first display area;
    检测所述第二显示区域对应的第二角度,其中,所述第二角度用于指示所述第二显示区域预设的第二判定方向与重力方向之间的夹角的角度,所述第二判定方向用于指示垂直于所述第二显示区域的方向,所述第一显示区域与所述第二显示区域相对的情形下,所述第一判定方向与所述第二判定方向相反;The second angle corresponding to the second display area is detected, where the second angle is used to indicate the angle of the included angle between the second determination direction preset in the second display area and the direction of gravity, and the first The second determination direction is used to indicate a direction perpendicular to the second display area, and when the first display area is opposite to the second display area, the first determination direction is opposite to the second determination direction;
    根据所述第一角度与所述第二角度确定所述位置状态信息。The position state information is determined according to the first angle and the second angle.
  4. 根据权利要求3所述的方法,其中,所述根据所述第一角度与所述第二角度确定所述位置状态信息,包括:The method according to claim 3, wherein said determining said position state information according to said first angle and said second angle comprises:
    根据所述第一角度与所述第二角度确定所述终端的使用状态信息;其中,所述使用状态信息用于指示所述第一显示区域与所述第二显示区域的使用状态;Determine the usage status information of the terminal according to the first angle and the second angle; wherein the usage status information is used to indicate the usage status of the first display area and the second display area;
    至少根据所述使用状态信息确定所述位置状态信息。The location state information is determined at least according to the use state information.
  5. 根据权利要求4所述的方法,其中,所述根据所述第一角度与所述第二角度确定所述终端的使用状态信息,包括:The method according to claim 4, wherein the determining the use state information of the terminal according to the first angle and the second angle comprises:
    根据所述第一角度与所述第二角度确定角度差值;其中,所述角度差值用于指示所述第一角度与所述第二角度的差值的绝对值;Determine an angle difference value according to the first angle and the second angle; wherein the angle difference value is used to indicate the absolute value of the difference value between the first angle and the second angle;
    根据所述角度差值确定所述使用状态信息。The use state information is determined according to the angle difference.
  6. 根据权利要求5所述的方法,其中,所述根据所述角度差值确定所述使用状态信息,包括:The method according to claim 5, wherein the determining the usage status information according to the angle difference value comprises:
    在所述角度差值小于或等于第一阈值的情形下,确定所述使用状态信息用于指示所述第一显示区域用于显示第一子内容以及所述第二显示区域用于显示第二子内容;其中,所述目标内容由所述第一子内容与所述第二子内容构成;In the case that the angle difference is less than or equal to the first threshold, it is determined that the use status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content. Sub-content; wherein the target content is composed of the first sub-content and the second sub-content;
    在所述角度差值大于第一阈值且小于第二阈值的情形下,确定所述使用状态信息用于指示所述第一显示区域或所述第二显示区域用于显示所述目标内容,且所述第一显示区域相对于所述第二显示区域进行位置调整;In a case where the angle difference is greater than a first threshold and less than a second threshold, it is determined that the use state information is used to indicate that the first display area or the second display area is used to display the target content, and Adjusting the position of the first display area relative to the second display area;
    在所述角度差值大于或等于第二阈值的情形下,确定所述使用状态信息用于指示所述第一显示区域或所述第二显示区域用于显示所述目标内容。In a case where the angle difference is greater than or equal to a second threshold, it is determined that the use state information is used to indicate that the first display area or the second display area is used to display the target content.
  7. 根据权利要求6所述的方法,其中,所述至少根据所述使用状态信息确定所述位置状态信息,包括:The method according to claim 6, wherein the determining the location status information at least according to the usage status information comprises:
    在所述使用状态信息用于指示所述第一显示区域用于显示第一子内容以及所述第二显示区域用于显示第二子内容的情形下,确定所述位置状态信息用于指示所述第一显示区域与所述第二显示区域均与所述用户相对;In the case where the use status information is used to indicate that the first display area is used to display the first sub-content and the second display area is used to display the second sub-content, it is determined that the location state information is used to indicate all The first display area and the second display area are opposite to the user;
    在所述使用状态信息用于指示所述第一显示区域或所述第二显示区域用于显示所述目标内容的情形下,根据所述使用状态信息、所述第一角度与所述第二角度确定所述位置状态信息;其中,所述根据所述使用状态信息、所述第一角度与所述第二角度确定所述位置状态信息,包括:In the case where the use status information is used to indicate that the first display area or the second display area is used to display the target content, according to the use status information, the first angle and the second Determining the position state information by an angle; wherein the determining the position state information according to the use state information, the first angle and the second angle includes:
    在所述第一角度大于预设的第三阈值的情形下,确定所述位置状态信息用于指示所述第一显示区域与所述用户相对;In a case where the first angle is greater than a preset third threshold, determining that the position state information is used to indicate that the first display area is opposite to the user;
    在所述第二角度大于预设的第三阈值的情形下,确定所述位置状态信息用于指示所述第二显示区域与所述用户相对。In a case where the second angle is greater than a preset third threshold, it is determined that the position state information is used to indicate that the second display area is opposite to the user.
  8. 根据权利要求6所述的方法,其中,在所述使用状态信息用于指示所述第一显示区域相对于所述第二显示区域进行位置调整的情形下,所述根据所述位置状态信息,在所述第一显示区域和/或所述第二显示区域中显示目标内容,还包括:7. The method according to claim 6, wherein, in the case where the use status information is used to indicate the position adjustment of the first display area relative to the second display area, the position status information is: Displaying target content in the first display area and/or the second display area further includes:
    将所述第一子内容移动至所述第二显示区域中显示;或者,将所述第二子内容移动至所述第一显示区域中显示。The first sub-content is moved to the second display area for display; or, the second sub-content is moved to the first display area for display.
  9. 根据权利要求3所述的方法,其中,所述终端还包括用户输入单元,所述用户输入单元设置为响应于用户输入的输入指令以生成操控信号;The method according to claim 3, wherein the terminal further comprises a user input unit configured to generate a manipulation signal in response to an input instruction input by the user;
    在所述使用状态信息用于指示所述第一显示区域相对于所述第二显示区域进行位置调整的情形下,所述方法还包括:In a case where the use status information is used to indicate that the first display area is to be adjusted relative to the second display area, the method further includes:
    指示所述用户输入单元停止对所述输入指令的响应;或者,指示所述用户输入单元降低对所述输入指令产生响应的灵敏度。Instruct the user input unit to stop responding to the input instruction; or instruct the user input unit to reduce the sensitivity of responding to the input instruction.
  10. 根据权利要求3所述的方法,其中,所述根据所述第一角度与所述第二角度确定所述位置状态信息,包括:The method according to claim 3, wherein said determining said position state information according to said first angle and said second angle comprises:
    在所述第一角度大于预设的第三阈值的情形下,所述位置状态信息用于指示所述第一显示区域与所述用户相对;In a case where the first angle is greater than a preset third threshold, the position state information is used to indicate that the first display area is opposite to the user;
    在所述第二角度大于预设的第三阈值的情形下,所述位置状态信息用于指示所述第二显示区域与所述用户相对。In a case where the second angle is greater than a preset third threshold, the position state information is used to indicate that the second display area is opposite to the user.
  11. 根据权利要求1或2所述的方法,其中,所述检测所述终端的位置状态信息,包括:The method according to claim 1 or 2, wherein the detecting the location status information of the terminal includes:
    获取所述第一显示区域对应的第一图像;其中,所述第一图像用于指示所述第一显示区域相对区域的图像;Acquiring a first image corresponding to the first display area; wherein the first image is used to indicate an image of a relative area of the first display area;
    获取所述第二显示区域对应的第二图像;其中,所述第二图像用于指示所述第二显示区域相对区域的图像;Acquiring a second image corresponding to the second display area; wherein the second image is used to indicate an image of a relative area of the second display area;
    根据所述第一图像与所述第二图像确定所述位置状态信息。The position state information is determined according to the first image and the second image.
  12. 根据权利要求11所述的方法,其中,所述根据所述第一图像与所述第二图像确定所述位置状态信息,包括:The method according to claim 11, wherein said determining said position state information according to said first image and said second image comprises:
    在所述第一图像中包括所述用户的情形下,确定所述位置状态信息用于指示所述第一显示区域与所述用户相对;In a case where the user is included in the first image, determining that the position state information is used to indicate that the first display area is opposite to the user;
    在所述第二图像中包括所述用户的情形下,确定所述位置状态信息用于指示所述第二显示区域与所述用户相对。In the case where the user is included in the second image, it is determined that the position state information is used to indicate that the second display area is opposite to the user.
  13. 一种显示装置,设置于终端,所述终端包括第一显示区域与第二显示区域;所述装置包括:A display device is provided in a terminal, the terminal includes a first display area and a second display area; the device includes:
    检测模块,设置为检测所述终端的位置状态信息;其中,所述位置状态信息用于指示所述第一显示区域和/或所述第二显示区域与用户的相对位置状态;The detection module is configured to detect the position status information of the terminal; wherein the position status information is used to indicate the relative position status of the first display area and/or the second display area and the user;
    显示模块,设置为根据所述位置状态信息,在所述第一显示区域和/或所述第二显示区域中显示目标内容。The display module is configured to display target content in the first display area and/or the second display area according to the position status information.
  14. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至12任一项中所述的方法。A computer-readable storage medium having a computer program stored in the computer-readable storage medium, wherein the computer program is configured to execute the method described in any one of claims 1 to 12 when running.
  15. 一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至12任一项中所述的方法。An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any one of claims 1 to 12 The method described.
PCT/CN2021/096488 2020-06-24 2021-05-27 Display method and device, computer readable storage medium, and electronic device WO2021258984A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010591427.9 2020-06-24
CN202010591427.9A CN113923298A (en) 2020-06-24 2020-06-24 Display method and device, computer readable storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2021258984A1 true WO2021258984A1 (en) 2021-12-30

Family

ID=79231269

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096488 WO2021258984A1 (en) 2020-06-24 2021-05-27 Display method and device, computer readable storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN113923298A (en)
WO (1) WO2021258984A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024054041A1 (en) * 2022-09-06 2024-03-14 삼성전자 주식회사 Method for processing content, and electronic device supporting same

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130738A1 (en) * 2012-05-14 2015-05-14 Lg Electronics Inc. Portable device and method for controlling the same
CN107133005A (en) * 2017-04-28 2017-09-05 维沃移动通信有限公司 The display methods and mobile terminal of a kind of flexible screen
CN108227897A (en) * 2017-11-29 2018-06-29 努比亚技术有限公司 Control method for screen display, flexible screen terminal and computer readable storage medium
EP3385819A1 (en) * 2015-12-24 2018-10-10 Samsung Electronics Co., Ltd. Deformable display device and image display method using same
CN109614182A (en) * 2018-11-20 2019-04-12 维沃移动通信有限公司 A kind of display methods and terminal device
CN110381201A (en) * 2019-07-09 2019-10-25 努比亚技术有限公司 Screen management method, mobile terminal and computer readable storage medium
CN111124561A (en) * 2019-11-08 2020-05-08 华为技术有限公司 Display method applied to electronic equipment with folding screen and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150130738A1 (en) * 2012-05-14 2015-05-14 Lg Electronics Inc. Portable device and method for controlling the same
EP3385819A1 (en) * 2015-12-24 2018-10-10 Samsung Electronics Co., Ltd. Deformable display device and image display method using same
CN107133005A (en) * 2017-04-28 2017-09-05 维沃移动通信有限公司 The display methods and mobile terminal of a kind of flexible screen
CN108227897A (en) * 2017-11-29 2018-06-29 努比亚技术有限公司 Control method for screen display, flexible screen terminal and computer readable storage medium
CN109614182A (en) * 2018-11-20 2019-04-12 维沃移动通信有限公司 A kind of display methods and terminal device
CN110381201A (en) * 2019-07-09 2019-10-25 努比亚技术有限公司 Screen management method, mobile terminal and computer readable storage medium
CN111124561A (en) * 2019-11-08 2020-05-08 华为技术有限公司 Display method applied to electronic equipment with folding screen and electronic equipment

Also Published As

Publication number Publication date
CN113923298A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2019154181A1 (en) Display control method and mobile terminal
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
US20220286504A1 (en) Application sharing method, electronic device and computer readable storage medium
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
WO2021204045A1 (en) Audio control method and electronic device
WO2021017763A1 (en) Transaction processing method, terminal device, and computer-readable storage medium
WO2019179332A1 (en) Method for closing application and mobile terminal
WO2021109925A1 (en) Method for sharing application, electronic apparatus, and computer readable storage medium
WO2019174459A1 (en) Application processing method and mobile terminal
WO2019062364A1 (en) Display method and mobile terminal
WO2021109959A1 (en) Application sharing method and electronic device
WO2021104230A1 (en) Synchronization method and electronic device
WO2019114522A1 (en) Screen control method, screen control apparatus, and mobile terminal
WO2021068885A1 (en) Control method and electronic device
WO2021004306A1 (en) Operation control method and terminal
US11778079B2 (en) Method for controlling foldable terminal and foldable terminal
WO2020156123A1 (en) Information processing method and terminal device
WO2019228296A1 (en) Display processing method and terminal device
WO2021115172A1 (en) Display method and electronic device
WO2019154360A1 (en) Interface switching method and mobile terminal
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2020199986A1 (en) Video call method and terminal device
WO2021104251A1 (en) Control method and first electronic device

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: 21828643

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21828643

Country of ref document: EP

Kind code of ref document: A1