WO2020259470A1 - 一种触摸屏的显示方法及电子设备 - Google Patents

一种触摸屏的显示方法及电子设备 Download PDF

Info

Publication number
WO2020259470A1
WO2020259470A1 PCT/CN2020/097599 CN2020097599W WO2020259470A1 WO 2020259470 A1 WO2020259470 A1 WO 2020259470A1 CN 2020097599 W CN2020097599 W CN 2020097599W WO 2020259470 A1 WO2020259470 A1 WO 2020259470A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
message
notification bar
touch screen
foldable touch
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2020/097599
Other languages
English (en)
French (fr)
Inventor
熊刘冬
王凯心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP20830640.7A priority Critical patent/EP3964936B1/en
Priority to JP2021576696A priority patent/JP7325554B2/ja
Priority to US17/622,534 priority patent/US12081688B2/en
Publication of WO2020259470A1 publication Critical patent/WO2020259470A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • 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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • H04M1/0243Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using the relative angle between housings
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04102Flexible digitiser, i.e. constructional details for allowing the whole digitising part of a device to be flexed or rolled like a sheet of paper
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • This application relates to the field of terminal technology, and in particular to a display method and electronic device of a touch screen.
  • the present application provides a display method and electronic device of a touch screen to provide a method for users to view unread messages in a foldable electronic device in time.
  • an embodiment of the present application provides a display method of a touch screen, which is suitable for electronic devices with a foldable touch screen.
  • the foldable touch screen includes a first screen, a bendable area, and a second screen.
  • the method includes: The electronic device receives the user's first operation.
  • the first operation is that the user performs a folding or unfolding operation on the foldable touch screen, and then obtains the state data collected by the sensor.
  • the state data includes the clip between the first screen and the second screen at each time.
  • the final electronic device controls the display position of the message in the notification bar on the foldable touch screen according to the included angle.
  • the display position of the message in the notification bar will change with the size of the intersection angle, which is beneficial for the user to view unread messages in time, and to a certain extent, the number of folding and folding frequency can also be reduced.
  • the foldable touch screen is in a vertical screen state; when the difference between the included angle and 0 degrees is less than or equal to the first angle threshold, the electronic device controls the message in the notification bar to be displayed on the bottom edge of the second screen. At the edge, the angle between the second screen and the horizontal plane is the smallest, and the bottom edge of the second screen is the side away from the bendable area.
  • the message in the notification bar of the electronic device is displayed on the edge of the top edge of the second screen, and the top edge of the second screen is adjacent to bendable
  • the message in the notification bar of the electronic device control is displayed on the edge of the top edge of the first screen, and the top edge of the first screen is far away from the bendable One side of the fold area.
  • the display position of the message in the notification bar changes with the size of the intersection angle, which is beneficial for the user to view unread messages in time.
  • the electronic device controls the message in the notification bar to be displayed on the second screen on the right
  • the bottom edge of the second screen is the side away from the bendable area, and the message display direction in the notification bar is parallel to the bottom edge.
  • the message in the notification bar of the electronic device control is displayed on the edge of the upper side of the second screen on the right; the upper side of the second screen To stay away from the horizontal plane, the message display direction in the notification bar is parallel to the horizontal plane.
  • the message in the notification bar of the electronic device control is displayed on the edge of the upper side of the large screen composed of the first screen and the second screen, above the large screen
  • the side is the side away from the ground, and the message display direction in the notification bar is parallel to the horizontal plane.
  • the display position of the message in the notification bar changes with the size of the intersection angle, which is beneficial for the user to view unread messages in time.
  • the electronic device when the foldable touch screen is in the vertical state; when the foldable touch screen is switched from the fully folded state to the fully expanded state, the electronic device controls the display position of the message in the notification bar from the bottom edge of the second screen The edge gradually moves to the top edge of the first screen.
  • the electronic device controls the display position of the message in the notification bar to gradually move from the top edge of the first screen to the bottom edge of the second screen.
  • the display position of the message in the notification bar changes with the size of the intersection angle, which is beneficial for the user to view unread messages in time.
  • the electronic device controls the display position of the message in the notification bar from the bottom edge of the second screen The edge gradually moves to the edge of the upper side of the large screen composed of the first screen and the second screen.
  • the electronic device controls the display position of the message in the notification bar to gradually move from the edge of the upper side of the large screen composed of the first screen and the second screen to the second The bottom edge of the screen.
  • the display position of the message in the notification bar changes with the size of the intersection angle, which is beneficial for the user to view unread messages in time.
  • the user unfolds the mobile phone up and down from the fully curled state.
  • the electronic device controls the display position of the message in the notification bar on the curlable touch screen according to the curled state.
  • the electronic device controls the message in the notification bar to be displayed on the bottom edge portion of the unfolded touch screen.
  • the electronic device controls the message in the notification bar to be displayed on the top edge portion of the expanded touch screen.
  • an embodiment of the present application provides an electronic device, including a sensor, a foldable touch screen, a processor, and a memory.
  • the foldable touch screen includes a first screen, a bendable area, and a second screen. The area and the second screen are folded.
  • the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the electronic device can implement any one of the possible design methods in any of the foregoing aspects.
  • an embodiment of the present application also provides a device, which includes a module/unit that executes any one of the possible design methods in any of the foregoing aspects.
  • modules/units can be realized by hardware, or by hardware executing corresponding software.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium includes a computer program.
  • the computer program runs on an electronic device, the electronic device executes any of the above aspects. Possible design methods.
  • the embodiments of the present application also provide a method that includes a computer program product, which when the computer program product runs on a terminal, causes an electronic device to execute any possible design in any of the above-mentioned aspects.
  • FIG. 1 is a schematic diagram of a foldable mobile phone provided by an embodiment of the application
  • FIG. 2 is a schematic structural diagram of a mobile phone provided by an embodiment of this application.
  • FIG. 3 is a schematic structural diagram of an Android operating system provided by an embodiment of the application.
  • 4a and 4b are schematic diagrams of an expanded state of a mobile phone according to an embodiment of the application.
  • 5a and 5b are schematic diagrams of another unfolded state of a mobile phone according to an embodiment of the application.
  • FIG. 6 is a schematic flowchart of a display method of a touch screen provided by an embodiment of the application.
  • FIG. 7a to 7d are schematic diagrams of the angle change trend of an expanded scene provided by an embodiment of the application.
  • FIGS. 8a to 8c are schematic diagrams of the angle change trend of another deployment scenario provided by an embodiment of the application.
  • 9a to 9c are schematic diagrams of the angle change trend of another deployment scenario provided by an embodiment of the application.
  • 10a to 10c are schematic diagrams of the angle change trend of another deployment scenario provided by an embodiment of the application.
  • FIG. 11 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch) with wireless communication function, and so on.
  • the portable terminal has a foldable touch screen and arithmetic operation capability (which can run the touch screen display method provided in the embodiment of this application).
  • Exemplary embodiments of portable devices include but are not limited to carrying Or portable devices with other operating systems.
  • the above-mentioned portable device may also be other portable devices, as long as it has a foldable touch screen and arithmetic operation capability (which can run the touch screen display method provided in the embodiments of the present application).
  • the above-mentioned electronic device may not be a portable device, but a desktop with a foldable touch screen and arithmetic operation capability (that can run the touch screen display method provided in the embodiments of the present application). computer.
  • FIG. 2 shows a schematic structural diagram of the mobile phone 100.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 151, a wireless communication module 152, Audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, SIM card interface 195 and so on.
  • a processor 110 an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 151, a wireless communication module 152, Audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, SIM card interface 195 and
  • the sensor module 180 may include a gyroscope sensor 180A, an acceleration sensor 180B, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180K, and a hinge sensor 180M (Of course, the mobile phone 100 may also include other sensors, such as temperature sensors, pressure sensors, and distance sensors. Sensors, magnetic sensors, ambient light sensors, air pressure sensors, bone conduction sensors, etc., not shown in the figure).
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100.
  • the mobile phone 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (Neural-network Processing Unit, NPU) Wait.
  • AP application processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • NPU neural network Processing Unit
  • the different processing units can be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 can run the computer instructions of the touch screen display method provided in the embodiments of the present application, so that the user can view unread messages in the foldable electronic device in time.
  • the processor 110 integrates different devices, such as integrated CPU and GPU, the CPU and GPU can cooperate to execute the instructions of the touch screen display method provided by the embodiment of the present application. For example, some of the algorithms in the touch screen display method are executed by the CPU, and the other part of the algorithm Executed by GPU to get faster processing efficiency.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
  • the processor 110 may control the corresponding display position of the message in the notification bar on the display screen 194.
  • the camera 193 (a front camera or a rear camera, or a camera can be used as a front camera or a rear camera) is used to capture still images or videos.
  • the camera 193 may include photosensitive elements such as a lens group and an image sensor, where the lens group includes a plurality of lenses (convex lens or concave lens) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor .
  • the image sensor generates the original image of the object to be photographed according to the light signal.
  • the internal memory 121 may be used to store computer executable program code, and the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store operating system, application program (such as camera application, WeChat application, etc.) codes and so on.
  • the data storage area can store data created during the use of the mobile phone 100 (for example, images and videos collected by a camera application).
  • the internal memory 121 may also store the code of the display position control algorithm provided by the embodiment of the present application.
  • the processor 110 controls the message in the notification bar to be displayed in the corresponding display position on the display screen 194.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • the code of the display position control algorithm provided by the embodiment of the present application can also be stored in an external memory.
  • the processor 110 can run the display position control algorithm code stored in the external memory through the external memory interface 120, and the processor 110 controls the message in the notification bar to be displayed in the corresponding display position on the display screen 194.
  • the functions of the sensor module 180 are described below.
  • the gyroscope sensor 180A can be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes i.e., x, y, and z axes
  • the gyroscope sensor 180A can be used to detect the current movement state of the mobile phone 100, such as shaking or static.
  • the gyroscope sensor 180A is used to detect the folding or unfolding operation on the display screen 194.
  • the gyroscope sensor 180A may report the detected folding operation or unfolding operation as an event to the application processor 110 to determine the folding state or unfolding state of the display screen 194.
  • the acceleration sensor 180B can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). That is, the gyroscope sensor 180A can be used to detect the current movement state of the mobile phone 100, such as shaking or static. In the embodiment of the present application, the acceleration sensor 180B is used to detect folding or unfolding operations on the display screen 194. The acceleration sensor 180B may report the detected folding operation or unfolding operation as an event to the application processor to determine the folding state or unfolding state of the display screen 194.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the mobile phone emits infrared light through light-emitting diodes. Mobile phones use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the phone can determine that there is no object near the phone.
  • the proximity light sensor 180G may be disposed on the first screen of the foldable display screen 194, and the proximity light sensor 180G detects the folding or unfolding angle of the first screen and the second screen according to the optical path difference of the infrared signal.
  • the gyroscope sensor 180A (or acceleration sensor 180B) may send the detected motion state information (such as angular velocity) to the processor 110.
  • the processor 110 determines whether it is currently in a hand-held state or a tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the mobile phone 100 is in the hand-held state).
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100, which is different from the position of the display screen 194.
  • the display screen 194 of the mobile phone 100 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.).
  • the display screen 194 displays an interface of the camera application, such as a viewfinder interface.
  • the processor 110 controls the display position of the message in the notification bar on the display screen 194.
  • the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 151, the wireless communication module 152, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 151 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the mobile phone 100.
  • the mobile communication module 151 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 151 can receive electromagnetic waves by the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation.
  • the mobile communication module 151 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 151 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 151 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 151 or other functional modules.
  • the wireless communication module 152 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 152 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 152 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 152 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave
  • the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the mobile phone 100 can receive the key 190 input, and generate key signal input related to the user settings and function control of the mobile phone 100.
  • the mobile phone 100 can use the motor 191 to generate a vibration notification (such as an incoming call vibration notification).
  • the indicator 192 in the mobile phone 100 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 in the mobile phone 100 is used to connect to the SIM card.
  • the SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195.
  • the mobile phone 100 may include more or less components than those shown in FIG. 1, which is not limited in the embodiment of the present application.
  • the software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes a layered Android system as an example to illustrate the software structure of the mobile phone 100.
  • FIG. 3 is a block diagram of the software structure of the mobile phone 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and native layer, and the hardware abstraction layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer.
  • the application framework layer includes some predefined functions, such as functions for receiving events sent by the application framework layer.
  • the application framework layer in the embodiment of the present application mainly involves a power management service module (PowerManagerService, PMS) and a window management service (WindowManagerService, WMS) module.
  • PowerManagerService PMS
  • WindowManagerService WMS
  • the PMS module is used to notify the WMS module of the corresponding status when the screen is on or off.
  • the WMS module is used to manage the upper display window.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system. Among them, the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the local framework layer can include multiple functional modules. For example: sensor service module, display position control algorithm module.
  • the sensor service module reports the folding state of the foldable touch screen, and the specific reporting method of the sensor service module can be implemented with reference to the prior art.
  • the display position control algorithm module mainly determines the included angle according to the sensor service module, and the horizontal and vertical screen status of the foldable screen, and controls the display position of the message in the notification bar. That is to say, in the process of folding or unfolding, the display position of the message in the notification bar will change with the size of the intersection.
  • the hardware abstraction layer is the layer of hardware and software.
  • the hardware abstraction layer includes at least display driver, camera driver, audio driver, sensor driver, touch screen driver, etc.
  • the sensor driver in the embodiment of the present application is mainly used to enable the sensor and register and monitor it, that is, monitor the angle of the foldable screen at each moment.
  • the touch screen driver is mainly used to obtain touch events of the foldable touch screen and report the touch events.
  • the following embodiments can all be implemented on the mobile phone 100 having the above hardware structure.
  • the following embodiments will take the mobile phone 100 as an example to describe the display method of the touch screen provided in the embodiments of the present application.
  • FIG. 4a and FIG. 4b a schematic diagram of an unfolded and folded state of a mobile phone provided by an embodiment of this application.
  • the foldable touch screen 50 provided by the embodiment of the present application is applied to a foldable mobile phone.
  • Fig. 4a shows the state of the mobile phone when it is unfolded
  • Fig. 4b shows the shape of the mobile phone after being folded.
  • Fig. 4a when the mobile phone is unfolded, the housing 40 of the mobile phone is unfolded; at the same time, the foldable touch screen 50 is also unfolded.
  • Figure 4b when the mobile phone is folded, the housing 40 of the mobile phone is also folded; at the same time, the foldable touch screen 50 is also folded.
  • the mobile phone is folded outward, that is, the display screen is exposed outside after the mobile phone is folded; It should be understood that the mobile phone may also be folded inward, that is, after the mobile phone is folded, the display screen is folded and hidden inside, and the housing 40 is exposed outside.
  • the foldable touch screen provided by the embodiment of the present application may adopt an integrated flexible display screen, or may adopt a display screen composed of two rigid screens and a flexible screen located between the two rigid screens. As shown in FIG. 4a, it is assumed that the foldable touch screen provided by the embodiment of the present application includes three parts, namely a first screen 51, a second screen 53, and a bendable area 52 connecting the first screen 51 and the second screen 53.
  • the sensor module 180 detects that the angle between the first screen 51 and the second screen 53 is 180 Degree (the actual angle may not reach 180 degrees, subject to the actual reported angle), as shown in Figure 4a.
  • the sensor module 180 detects that the angle between the first screen 51 and the second screen 53 is 0 degrees (the actual angle may not reach 0 degrees, the actual reported angle shall prevail), as shown in the figure Shown in 4b.
  • FIG. 5a it is a schematic diagram of a mobile phone deployment process provided by an embodiment of this application.
  • the user unfolds the phone from the fully folded state to left and right. After unfolding, the display of the phone is in the horizontal screen state.
  • the first screen 51 is the part of the screen held by the user's left hand
  • the second screen 53 is the part of the screen held by the user's right hand.
  • the user unfolds the phone from the fully folded state. After unfolding, the screen of the phone is in Portrait state.
  • the first screen 51 is the upper half of the screen
  • the second screen 53 is the lower half of the screen.
  • an embodiment of the present application provides a touch screen display method, as shown in Figure 6, this method is suitable for having the foldable touch screen shown in Figure 4a and Figure 4b Electronic device with touch screen.
  • the processor 110 in the electronic device receives a first operation of the user, and the first operation may be a folding operation or an unfolding operation performed by the user on the foldable touch screen.
  • the electronic device is the mobile phone 100 shown in FIG. 2, the user applies the left and right expansion operation shown in FIG. 5 a to the mobile phone 100, or the user applies the up and down expansion operation shown in FIG. 5 b to the mobile phone 100.
  • step 602 the processor 110 in the electronic device obtains the state data collected by the sensor module 180, and the state data includes the angle between the first screen and the second screen at each time.
  • the acceleration sensor 180B and the gyroscope sensor 180A of the mobile phone periodically collect status data.
  • the status data includes the angle between the first screen and the second screen, and the sensor
  • the driver sends a sensor event including status data, the sensor driver forwards the sensor event to the sensor service module, and then the sensor service module sends the sensor event to the display position control algorithm module.
  • Step 603 The processor 110 in the electronic device controls the display position of the message in the notification bar on the foldable touch screen according to the angle between the first screen and the second screen.
  • the acceleration sensor 180B and the gyroscope sensor 180A can periodically report sensor events to the display position control algorithm module in the processor 110 in the mobile phone 100, that is to say, report the first event to the processor 110 every set duration.
  • the processor 110 controls the messages in the notification bar to display different positions on the foldable touch screen.
  • the processor 110 in the mobile phone 100 receives the angle value reported by the sensor module 180, and the display position control algorithm module in the processor 110 determines the angle interval in which the angle is located. , It can be determined that the message in the notification bar is located on the screen where the user’s right hand is.
  • the method can adaptively display the message of the notification bar on the corresponding screen during the process of folding or unfolding the foldable screen of the folding screen electronic device, so that the user can view the message in time.
  • the user unfolds the phone from the fully folded state to the left and right.
  • the processor 110 controls the notification bar according to the different angles between the first screen and the second screen.
  • the details of the display position of the message on the foldable touch screen are as follows.
  • the processor 110 controls the message in the notification bar to be displayed on the bottom edge of the second screen 53 on the right. the edge of.
  • the specific value of the first angle threshold can be obtained based on experience, for example, the first angle threshold is 20 degrees. Exemplarily, as shown in Figure 7a, suppose that there are two notification messages in the notification bar.
  • the bottom edge of the second screen 53 displays two notification messages, the bottom edge is the side away from the bendable area, and the display direction of the two notification messages is parallel to the bottom edge.
  • the message displayed on the bottom edge of the second screen 53 may be the new message closest to the current moment, and other messages are sequentially received in the order of the closest to the farthest.
  • the display is arranged from the edge to the inside. Wherein, the inner side points to the side close to the bendable area. It can be seen that this method is convenient for users to view and reply to the latest received new messages in time to improve processing efficiency.
  • the foldable touch screen applicable to this application may have a small screen 54 as shown in FIG. 7b.
  • the small screen 54 can be used to display time or display unread messages.
  • the processor 110 controls the message in the notification bar to be displayed on the second screen 53 on the right.
  • the specific value of the second angle threshold can be obtained based on experience.
  • the second angle threshold can be 30 degrees, and the value range of the included angle is [60, 120].
  • Figure 7c suppose that there are two new messages in the notification bar.
  • the absolute value of the difference between the angle ⁇ 2 and 90 degrees is less than or equal to 30 degrees, For example, when ⁇ 2 is 100 degrees, the upper side edge of the second screen 53 displays two notification messages, the upper side of the second screen 53 is the side away from the horizontal plane, and the notification message display direction in the notification bar is parallel to the horizontal plane.
  • the message displayed on the edge of the upper side of the second screen 53 may be the new message closest to the current moment, and the other messages are in descending order according to the receiving time.
  • the order is displayed from the edge to the bottom side.
  • the lower side refers to the side close to the horizontal plane.
  • the processor 110 controls the message in the notification bar to be displayed on the first screen and the second screen.
  • the specific value of the third angle threshold may be obtained based on experience, for example, the third angle threshold may be 20 degrees. Exemplarily, as shown in Figure 7d, suppose that there are two new messages in the notification bar.
  • ⁇ 3 is At 180 degrees
  • two notification messages are displayed on the upper side edge of the large screen composed of the first screen and the second screen (that is, the foldable touch screen 50).
  • the upper side of the foldable touch screen 50 is the side away from the ground.
  • the message display direction in the notification bar is parallel to the horizontal plane.
  • the message displayed on the edge of the upper side of the foldable touch screen 50 may be the new message closest to the current moment, and the other messages are the ones closest to the farthest according to the receiving time.
  • the order is displayed in order from the edge of the upper side to the lower side.
  • the lower side refers to the side close to the horizontal plane.
  • the processor 110 controls the display position of the message in the notification bar to gradually move from the bottom edge of the second screen to the large screen composed of the first screen and the second screen The edge of the upper side.
  • the unfolding angle first increases from ⁇ 1 to ⁇ 2, and then from ⁇ 2 to increase To ⁇ 3, the processor 110 first controls the display position of the message in the notification bar to gradually move from the bottom edge of the second screen 53 (as shown on the right side of FIG. 7a) to the upper edge of the second screen 53 (such as Figure 7c), and then gradually move from the edge of the upper side of the second screen 53 to the edge of the upper side of the foldable touch screen 50 (as shown in Figure 7d).
  • the processor 110 controls the display position of the message in the notification bar to gradually move from the edge of the upper side of the large screen composed of the first screen and the second screen to the second screen. The bottom edge of the second screen.
  • the folding angle first decreases from ⁇ 3 to ⁇ 2, and then from ⁇ 2 until it decreases to ⁇ 1, then the processor 110 first controls the display position of the message in the notification bar to move from the edge of the upper side of the foldable touch screen 50 (as shown in Figure 7d) to the edge of the upper side of the second screen 53 (as shown in Figure 7c), Then gradually move from the edge of the upper side of the second screen 53 to the edge of the bottom edge of the second screen 53 (as shown on the right side of FIG. 7a).
  • the user unfolds the phone up and down from the fully folded state.
  • the processor 110 controls the notification bar according to the different angles between the first screen and the second screen.
  • the details of the display position of the message on the foldable touch screen are as follows.
  • the processor 110 controls the message in the notification bar to be displayed on the edge of the bottom edge of the second screen.
  • the second screen is the lower screen, and the bottom edge of the second screen is the side away from the bendable area.
  • the specific value of the first angle threshold can be obtained based on experience, for example, the first angle threshold is 20 degrees.
  • the message displayed on the bottom edge of the second screen 53 may be the new message closest to the current moment, and the other messages are sequentially received from the nearest to the farthest.
  • the bottom edge is arranged inward.
  • the inner side points to the side close to the bendable area.
  • the processor 110 controls the message in the notification bar to be displayed on the top edge of the second screen 53
  • the top edge of the second screen 53 is the side adjacent to the bendable area.
  • the specific value of the second angle threshold can be obtained based on experience.
  • the second angle threshold is 20 degrees
  • the processor 110 controls the message in the notification bar to be displayed on the edge of the top edge of the second screen 53.
  • the message displayed on the top edge of the second screen 53 may be the new message closest to the current moment, and other messages are sequentially received from nearer to farthest.
  • the top edge is displayed aligned to the bottom edge, and the bottom edge refers to the side away from the bendable area.
  • the processor 110 controls the message in the notification bar to be displayed on the edge of the top edge of the first screen.
  • the top edge of a screen is the side away from the bendable area.
  • the specific value of the second angle threshold can be obtained based on experience, for example, the third angle threshold is 20 degrees.
  • the message displayed on the top edge of the first screen 51 may be the new message closest to the current moment, and other messages are sequentially received from the nearest to the farthest.
  • the display is arranged from the top edge to the bottom edge. Wherein, the bottom edge points to the side close to the bendable area.
  • the processor 110 controls the display position of the message in the notification bar to gradually move from the bottom edge of the second screen 53 to the top edge of the first screen 51.
  • the expansion angle first increases from ⁇ 1 to ⁇ 2, and then from ⁇ 2 to increase To ⁇ 3, the processor 110 controls the display position of the message in the notification bar to gradually move from the bottom edge of the second screen 53 (as shown on the right side of Fig. 8a) to the top edge of the second screen 53 (as shown in Fig. 8b) ), and then move from the edge of the top edge of the second screen 53 to the edge of the upper side of the foldable touch screen 50 (as shown in the left or right image in FIG. 8c).
  • the processor 110 controls the display position of the message in the notification bar to gradually move from the top edge of the first screen 51 to the bottom edge of the second screen 53.
  • the expansion angle first decreases from ⁇ 3 to ⁇ 2, and then from ⁇ 2 until it decreases To ⁇ 0, the processor 110 controls the display position of the message in the notification bar to gradually move from the edge of the upper side of the foldable touch screen 50 (as shown in the left or right image in FIG. 8c) to the top edge of the second screen 53 ( Figure 8b), and then move from the top edge of the second screen 53 to the bottom edge of the second screen 53 (as shown on the right side of Figure 8a).
  • the user unfolds the mobile phone from the fully rolled state to the left and right, and when the foldable touch screen is in the horizontal screen state; the processor 110 controls the display position of the message in the notification bar on the rollable touch screen according to the curled state.
  • the processor 110 controls the message in the notification bar to be displayed on the right edge portion of the unfolded touch screen.
  • the user performs a left and right expansion operation on the fully curled mobile phone (see FIG. 9a) to expand to the state shown in FIG. 9b.
  • the processor 110 controls the notification message to be displayed vertically on the right edge of the rollable touch screen.
  • the processor 110 may also control the notification message to be displayed horizontally on the unfolded touch screen of the rollable touch screen.
  • the message displayed on the right edge of the unfolded rollable touch screen may be the new message closest to the current moment, and other messages are sequentially received in the order of the closest to the farthest.
  • the display is arranged from the edge to the inside. Among them, the inside is the side pointing to the reel.
  • the processor 110 controls the message in the notification bar to be displayed on the upper edge portion of the expanded touch screen.
  • the processor 110 controls the notification message to be horizontally displayed in the notification bar of the rollable touch screen.
  • the user unfolds the mobile phone up and down from the fully rolled state, and when the foldable touch screen is in the vertical screen state; the processor 110 controls the display position of the message in the notification bar on the rollable touch screen according to the curled state.
  • the specific conditions are as follows.
  • the processor 110 controls the message in the notification bar to be displayed on the bottom edge of the unfolded touch screen.
  • the bottom side refers to the side close to the horizontal plane.
  • the processor 110 controls the notification message to be displayed horizontally on the bottom edge of the rollable touch screen.
  • the message displayed on the bottom edge of the unfolded rollable touch screen may be the new message closest to the current moment, and the other messages are the closest to the farthest according to the receiving time.
  • the order is displayed from the bottom edge to the top edge.
  • the top edge refers to the side away from the horizontal plane.
  • the processor 110 controls the message in the notification bar to be displayed on the edge of the top edge of the unfolded touch screen, where the top edge refers to the side away from the horizontal plane .
  • the processor 110 controls the notification message to be horizontally displayed in the notification bar of the rollable touch screen, that is, displayed on the top edge of the expanded touch screen.
  • the message displayed on the top edge of the unfolded rollable touch screen may be the new message closest to the current moment, and the other messages are the ones closest to the farthest according to the receiving time.
  • the order is displayed from the top edge to the bottom edge.
  • the bottom side refers to the side close to the horizontal plane.
  • other messages will be displayed in the notification bar in the order of receiving time from near to far.
  • the embodiments of the present application disclose an electronic device.
  • the electronic device may include: a foldable touch screen 1101, wherein the foldable touch screen 1101 includes a touch panel 1107 And a foldable display screen 1108; one or more processors 1102; a memory 1103; one or more application programs (not shown); and one or more computer programs 1104, a sensor 1105, and the above-mentioned devices can be passed through one or more A communication bus 1106 is connected.
  • the one or more computer programs 1104 are stored in the aforementioned memory 1103 and are configured to be executed by the one or more processors 1102, and the one or more computer programs 1104 include instructions, and the aforementioned instructions can be used for execution as shown in FIG. 6 Each step in the corresponding embodiment.
  • the embodiments of the present application also provide a computer storage medium, the computer storage medium stores computer instructions, when the computer instructions run on the electronic device, the electronic device executes the above-mentioned related method steps to realize the touch screen display in the above-mentioned embodiment method.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the touch screen display method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the touch screen display method in the foregoing method embodiments.
  • the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本申请实施例提供一种触摸屏的显示方法及电子设备,该方法应用于具有可折叠触摸屏的电子设备,该电子设备包括第一屏、可弯折区和第二屏,第一屏通过可弯折区与第二屏进行折叠。该方法用以提供一种便于用户快速查看未读消息的方法,该方法包括:电子设备接收用户的第一操作,该第一操作为用户对可折叠触摸屏进行折叠操作或者展开操作,然后电子设备获取传感器所采集的状态数据,该状态数据包括各个时刻第一屏和第二屏之间的夹角,最终电子设备第一屏和第二屏之间的夹角,控制通知栏中的消息在可折叠触摸屏上的显示位置。

Description

一种触摸屏的显示方法及电子设备
本申请要求在2019年6月24日提交中国国家知识产权局、申请号为201910551528.0的中国专利申请的优先权,发明名称为“一种触摸屏的显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种触摸屏的显示方法及电子设备。
背景技术
随着当前柔性屏技术的突飞猛进,柔性可折叠触摸屏已应用于手机产品中,使得用户可以对屏幕做出折叠或展开操作,满足用户对不同屏幕尺寸的使用需求。目前,针对图1所示的可折叠手机,当处于完全折叠状态的可折叠手机收到新消息时,用户通常需要对可折叠手机进行展开操作,将可折叠手机从完全折叠状态切换为完全展开状态,如图1所示,然后用户查看在手机的显示屏上方所显示的新消息001。可见,当可折叠手机处于非完全展开状态,用户需要对手机进行展开操作,才能查看到信息,并不便于用户及时查看新消息,并且当可折叠手机折叠过于频繁,或者折叠次数太多时,会影响机器的使用寿命。
发明内容
本申请提供一种触摸屏的显示方法及电子设备,用以提供一种便于用户及时查看可折叠电子设备中的未读消息的方法。
第一方面,本申请实施例提供了一种触摸屏的显示方法,该方法适用于具有可折叠触摸屏的电子设备,可折叠触摸屏包括第一屏、可弯折区和第二屏,该方法包括:电子设备接收用户的第一操作,第一操作为用户对可折叠触摸屏进行折叠操作或者展开操作,然后获取传感器所采集的状态数据,状态数据包括各个时刻第一屏和第二屏之间的夹角,最终电子设备根据夹角,控制通知栏中的消息在可折叠触摸屏上的显示位置。
本申请实施例中,通过采用上述方法,通知栏中消息的显示位置会随着交角的大小进行变化,有利于用户及时查看未读消息,而且一定程度上也可以减少折叠次数和折叠频率。
在一种可能的实现中,可折叠触摸屏处于竖屏状态;当夹角与0度的差值小于等于第一角度阈值时,电子设备控制通知栏中的消息显示在第二屏的底边的边缘,第二屏与水平面夹角最小,第二屏的底边为远离可弯折区的一边。当夹角与90度的差值的绝对值小于等于第二角度阈值时,电子设备控制通知栏中的消息显示在第二屏的顶边的边缘,第二屏的顶边为邻近可弯折区的一边;当180度与夹角的差值小于等于第三角度阈值时,电子设备控制通知栏中的消息显示在第一屏的顶边的边缘,第一屏的顶边为远离可弯折区的一边。
本申请实施例中,在竖屏状态下,通知栏中消息的显示位置会随着交角的大小进行变化,有利于用户及时查看未读消息。
在一种可能的实现中,可折叠触摸屏处于横屏状态时;当夹角与0度的差值小于等于第一角度阈值时,电子设备控制通知栏中的消息显示在右侧的第二屏的底边的边缘;第二屏的底边为远离可弯折区的一边,通知栏中的消息显示方向与底边平行。当夹角与90度的差值的绝对值小于等于第二角度阈值时,电子设备控制通知栏中的消息显示在右侧的第二屏的上方 侧边的边缘;第二屏的上方侧边为远离水平面的一边,通知栏中的消息显示方向与水平面平行。当180度与夹角的差值小于等于第三角度阈值时,电子设备控制通知栏中的消息显示在由第一屏和第二屏组成的大屏的上方侧边的边缘,大屏的上方侧边为远离地面的一边,通知栏中的消息显示方向与水平面平行。
本申请实施例中,通知栏中消息的显示位置会随着交角的大小进行变化,有利于用户及时查看未读消息。
在一种可能的实现中,可折叠触摸屏处于竖屏状态时;当可折叠触摸屏从完全折叠状态切换至完全展开状态时,电子设备控制通知栏中的消息的显示位置从第二屏的底边边缘逐渐移动至第一屏的顶边边缘。当可折叠触摸屏从完全展开状态切换至完全折叠状态时,电子设备控制通知栏中的消息的显示位置从第一屏的顶边边缘逐渐移动至第二屏的底边边缘。
本申请实施例中,通知栏中消息的显示位置会随着交角的大小进行变化,有利于用户及时查看未读消息。
在一种可能的实现中,可折叠触摸屏处于横屏状态时;当可折叠触摸屏从完全折叠状态切换至完全展开状态时,电子设备控制通知栏中的消息的显示位置从第二屏的底边边缘逐渐移动至由第一屏和第二屏组成的大屏的上方侧边的边缘。当可折叠触摸屏从完全展开状态切换至完全折叠状态时,电子设备控制通知栏中的消息的显示位置从由第一屏和第二屏组成的大屏的上方侧边的边缘逐渐移动至第二屏的底边边缘。
本申请实施例中,通知栏中消息的显示位置会随着交角的大小进行变化,有利于用户及时查看未读消息。
在一种可能的实现中,用户将手机从完全卷曲状态进行上下展开操作,可折叠触摸屏处于竖屏状态时,电子设备根据卷曲状态,控制通知栏中的消息在可卷曲触摸屏上的显示位置。当被卷曲到壳体中的可卷曲触摸屏被拉伸至半展开时,电子设备控制通知栏中的消息显示在被展开的触摸屏的底侧边缘部分。当被卷曲到壳体中的可卷曲触摸屏被拉伸至完全展开时,电子设备控制通知栏中的消息显示在被展开的触摸屏的顶边边缘部分。
第二方面,本申请实施例提供一种电子设备,包括传感器、可折叠触摸屏、处理器和存储器,可折叠触摸屏包括第一屏、可弯折区和第二屏,第一屏通过可弯折区与第二屏进行折叠。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得该电子设备能够实现上述任一方面的任意一种可能的设计的方法。
第三方面,本申请实施例还提供一种装置,该装置包括执行上述任一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。
第四方面,本申请实施例中还提供一种计算机可读存储介质,计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得电子设备执行上述任一方面的任意一种可能的设计的方法。
第五方面,本申请实施例还提供一种包含计算机程序产品,当计算机程序产品在终端上运行时,使得电子设备执行上述任一方面的任意一种可能的设计的方法。
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
附图说明
图1为本申请实施例提供的一种可折叠手机示意图;
图2为本申请实施例提供的一种手机的结构示意图;
图3为本申请实施例提供的安卓操作系统结构示意图;
图4a和图4b为本申请实施例提供的一种手机的展开状态示意图;
图5a和图5b为本申请实施例提供的另一种手机展开状态示意图;
图6为本申请实施例提供的一种触摸屏的显示方法流程示意图;
图7a至图7d为本申请实施例提供的一种展开场景的角度变化趋势示意图;
图8a至图8c为本申请实施例提供的另一种展开场景的角度变化趋势示意图;
图9a至图9c为本申请实施例提供的另一种展开场景的角度变化趋势示意图;
图10a至图10c为本申请实施例提供的另一种展开场景的角度变化趋势示意图;
图11为本申请实施例提供的另一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
在本申请一些实施例中,电子设备可以是便携式设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便捷式终端具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的触摸屏的显示方法)。便携式设备的示例性实施例包括但不限于搭载
Figure PCTCN2020097599-appb-000001
或者其它操作系统的便携式设备。上述便携式设备也可以是其它便携式设备,只要具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的触摸屏的显示方法)即可。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式设备,而是具备可折叠触摸屏和算法运算能力(能够运行本申请实施例提供的触摸屏的显示方法)的台式计算机。
以电子设备是手机为例,图2示出了手机100的结构示意图。
手机100可以包括处理器110,外部存储器接口120,内部存储器121,USB接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块151,无线通信模块152,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括陀螺仪传感器180A,加速度传感器180B,接近光传感器180G、指纹传感器180H,触摸传感器180K、转轴传感器180M(当然,手机100还可以包括其它传感器,比如温度传感器,压力传感器、距离传感器、磁传感器、环境光传感器、气压传感器、骨传导传感器等,图中未示出)。
可以理解的是,本发明实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多 个处理器中。其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
处理器110可以运行本申请实施例提供的触摸屏的显示方法的计算机指令,以便于用户及时查看可折叠电子设备中的未读消息。当处理器110集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的触摸屏的显示方法的指令,比如触摸屏的显示方法中一部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。
在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的拼接的显示屏。当处理器110运行本申请实施例提供的触摸屏的显示方法后,处理器110可以控制通知栏中的消息在显示屏194的相应显示位置。
摄像头193(前置摄像头或者后置摄像头,或者一个摄像头既可作为前置摄像头,也可作为后置摄像头)用于捕获静态图像或视频。通常,摄像头193可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根据光信号生成待拍摄物体的原始图像。
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储手机100使用过程中所创建的数据(比如相机应用采集的图像、视频等)等。
内部存储器121还可以存储本申请实施例提供的显示位置控制算法的代码。当内部存储器121中存储的显示位置控制算法的代码被处理器110运行时,处理器110控制通知栏中的消息显示在显示屏194上的相应显示位置。
此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
当然,本申请实施例提供的显示位置控制算法的代码还可以存储在外部存储器中。这种情况下,处理器110可以通过外部存储器接口120运行存储在外部存储器中的显示位置控制算法的代码,处理器110控制通知栏中的消息显示在显示屏194上的相应显示位置。
下面介绍传感器模块180的功能。
陀螺仪传感器180A,可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀 螺仪传感器180A确定手机100围绕三个轴(即,x,y和z轴)的角速度。即陀螺仪传感器180A可以用于检测手机100当前的运动状态,比如抖动还是静止。
本申请实施例中陀螺仪传感器180A用于检测作用于显示屏194上的折叠或者展开操作。陀螺仪传感器180A可以将检测到的折叠操作或者展开操作作为事件上报给应用处理器110,以确定显示屏194的折叠状态或展开状态。
加速度传感器180B可检测手机100在各个方向上(一般为三轴)加速度的大小。即陀螺仪传感器180A可以用于检测手机100当前的运动状态,比如抖动还是静止。本申请实施例中加速度传感器180B用于检测作用于显示屏194上的折叠或者展开操作。加速度传感器180B可以将检测到的折叠操作或者展开操作作为事件上报给应用处理器,以确定显示屏194的折叠状态或展开状态。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机通过发光二极管向外发射红外光。手机使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机附近有物体。当检测到不充分的反射光时,手机可以确定手机附近没有物体。接近光传感器180G可以设置在可折叠的显示屏194的第一屏上,接近光传感器180G根据红外信号的光程差来检测第一屏与第二屏的折叠角度或者展开角度的大小。
陀螺仪传感器180A(或加速度传感器180B)可以将检测到的运动状态信息(比如角速度)发送给处理器110。处理器110基于运动状态信息确定当前是手持状态还是脚架状态(比如,角速度不为0时,说明手机100处于手持状态)。
指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。
示例性的,手机100的显示屏194显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器180K点击主界面中相机应用的图标,触发处理器110启动相机应用,打开摄像头193。显示屏194显示相机应用的界面,例如取景界面。在本申请实施例中,在显示屏194折叠或者展开过程中,处理器110控制通知栏中的消息在显示屏194上的显示位置。
手机100的无线通信功能可以通过天线1,天线2,移动通信模块151,无线通信模块152,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块151可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块151可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块151可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块151还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块 151的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块151的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块151或其他功能模块设置在同一个器件中。
无线通信模块152可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块152可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块152经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块152还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
另外,手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。手机100可以接收按键190输入,产生与手机100的用户设置以及功能控制有关的键信号输入。手机100可以利用马达191产生振动提示(比如来电振动提示)。手机100中的指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。手机100中的SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。
应理解,在实际应用中,手机100可以包括比图1所示的更多或更少的部件,本申请实施例不作限定。
手机100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android(安卓)系统为例,示例性说明手机100的软件结构。
图3是本申请实施例的手机100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和本地框架层(Native layer)、以及硬件抽象层。
应用程序层可以包括一系列应用程序包。
如图3所示,应用程序包可以包括相机,图库,日历,通话、地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数,例如用于接收应用程序框架层所发送的事件的函数。
如图3所示,本申请实施例中应用程序框架层主要涉及电源管理服务模块 (PowerManagerService,PMS)、窗口管理服务(WindowManagerService,WMS)模块。
其中,PMS模块用于当屏幕点亮或熄灭时将对应的状态通知到WMS模块。WMS模块用于管理上层显示窗口。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。其中,核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
本地框架层可以包括多个功能模块。例如:传感器服务模块、显示位置控制算法模块。
其中,传感器服务模块,上报可折叠触摸屏的折叠状态,其中,传感器服务模块具体地上报方式可以参照现有技术执行。
显示位置控制算法模块主要在根据传感器服务模块确定夹角,以及可折叠屏幕横竖屏状态,控制通知栏中的消息的显示位置。也就是说在折叠过程或者展开过程中,通知栏中消息的显示位置会随着交角的大小进行变化。
硬件抽象层是硬件和软件的层。硬件抽象层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动、触摸屏驱动等。本申请实施例中传感器驱动主要用于对传感器进行使能,并对其进行注册监听,也就是监听在各个时刻可折叠屏的夹角。触摸屏驱动则主要用于获取可折叠触摸屏的触摸事件,并将触摸事件上报。
以下实施例均可以在具有上述硬件结构的手机100上实现。以下实施例将以手机100为例,对本申请实施例提供的触摸屏的显示方法进行说明。
如图4a和图4b所示,为本申请实施例提供的一种手机的展开和折叠状态示意图。本申请实施例提供的可折叠触摸屏50应用于可折叠的手机上。其中,图4a示出了手机在展开时的情况;图4b示出了手机折叠后的形状。首先如图4a中所示,在手机展开时,手机的壳体40展开;同时,可折叠触摸屏50也展开。如图4b中所示,在手机折叠时,手机的壳体40也折叠;同时,可折叠触摸屏50也折叠,这种是手机外折情况,即手机折叠后,显示屏露于外侧的情形;应当理解的是,手机也可以存在内折情况,即手机折叠后,显示屏被折叠隐藏于内部,而壳体40露于外侧的情况。
本申请实施例提供的可折叠触摸屏可以采用一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的显示屏。结合图4a所示,假设本申请实施例提供的可折叠触摸屏包括三部分,分别为第一屏51、第二屏53和连接第一屏51和第二屏53的可弯折区52。在手机的可折叠触摸屏被展开时,第一屏51、第二屏53及可弯折区52连接成一个整屏幕,传感器模块180检测到第一屏51和第二屏53的夹角为180度(实际角度可能无法达到180度,以实际上报角度为准),如图4a所示。在手机的可折叠触摸屏被完全折叠时,传感器模块180检测到第一屏51和第二屏53的夹角为0度(实际角度可能无法达到0度,以实际上报角度为准),如图4b所示。
如图5a所示,为本申请实施例提供的一种手机展开过程示意图。图5a中,用户将手机从完全折叠状态进行左右展开操作,展开之后,手机的显示屏处于横屏状态。第一屏51为用户左手握持的屏幕部分,第二屏53为用户右手握持的屏幕部分;图5b中,用户将手机从完全折叠状态进行上下展开操作,展开之后,手机的显示屏处于竖屏状态。第一屏51为上半部分的屏幕,第二屏53为下半部分的屏幕。
基于图2、图4a和图4b所示的可折叠触摸屏结构,本申请实施例提供一种触摸屏的显示方法,如图6所示,该方法适用于具有图4a和图4b所示的可折叠触摸屏的电子设备。
步骤601,电子设备中的处理器110接收用户的第一操作,该第一操作可以为用户对可折叠触摸屏进行折叠操作或者展开操作。示例性地,假设电子设备为图2所示的手机100,用户对手机100施加图5a所示的左右展开操作,或者用户对手机100施加图5b所示的上下展开操作。
步骤602,电子设备中的处理器110获取传感器模块180所采集的状态数据,状态数据包括各个时刻第一屏和第二屏之间的夹角。
具体来说,如图2和图3所示,手机的加速度传感器180B和陀螺仪传感器180A周期性地采集状态数据,该状态数据包括第一屏和第二屏之间的夹角,并向传感器驱动发送包括状态数据的传感器事件,传感器驱动将该传感器事件转发至传感器服务模块,然后传感器服务模块将传感器事件发送至显示位置控制算法模块。
步骤603,电子设备中的处理器110根据第一屏和第二屏之间的夹角,控制通知栏中的消息在可折叠触摸屏上的显示位置。
具体来说,加速度传感器180B和陀螺仪传感器180A可以周期地向手机100中的处理器110中的显示位置控制算法模块上报传感器事件,也就是说每隔设定时长向处理器110上报一次第一屏和第二屏之间的夹角。当夹角的值位于不同的角度区间时,处理器110控制通知栏中的消息在可折叠触摸屏上的显示位置不同。
例如用户对手机施加图5a所示的左右展开操作时,手机100中的处理器110接收到传感器模块180上报的夹角值,处理器110中的显示位置控制算法模块根据夹角所在的角度区间,可以确定出通知栏中的消息位于用户右手所在的屏幕上。该方法可以在折叠屏电子设备折叠或者展开可折叠屏幕的过程中,将通知栏的消息自适应显示在相应的屏幕上,便于用户及时查看消息。
以下将结合附图和应用场景,对本申请实施例提供的触摸屏的显示方法进行详细介绍。需要说明的是,折叠过程和展开过程实际上是互逆的过程,除了角度变化趋势相反外,在处理方法上没有区别,本申请实施例以下将以折叠过程举例说明。
场景一
如图5a所示,用户将手机从完全折叠状态进行左右展开操作,可折叠触摸屏处于横屏状态时;处理器110根据第一屏和第二屏之间的不同夹角,控制通知栏中的消息在可折叠触摸屏上的显示位置的具体情况如下。
情况一
当第一屏51和第二屏53之间的夹角与0度的差值小于等于第一角度阈值时,处理器110控制通知栏中的消息显示在右侧的第二屏53的底边的边缘。其中,第一角度阈值的具体取值可以根据经验取得,例如,第一角度阈值为20度。示例性地,如图7a所示,假设通知栏有两条通知消息,用户对完全折叠的手机(θ0等于0度)施加左右展开操作时,当夹角θ1与0度的差值小于等于20度时,第二屏53的底边边缘显示两条通知消息,该底边为远离可弯折区的一边,且两条通知消息显示方向与底边平行。
在一种可能的实施例中,当消息数目超过一条时,第二屏53的底边的边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从边缘向内侧排列显示。其中,内侧指向可弯折区靠近的一侧。可见,该方法便于用户及时查看和回复最新接收到新消息,以提高处理效率。
在一种可能的实施例中,本申请所适用的可折叠触摸屏可以具有如图7b所示的小屏54。当可折叠触摸屏被完全折叠时,该小屏54可以用于显示时间或者显示未读消息。
情况二
当第一屏51和第二屏53之间的夹角与90度的差值的绝对值小于等于第二角度阈值时,处理器110控制通知栏中的消息显示在右侧的第二屏53的上方侧边的边缘。其中,第二角度阈值的具体取值可以根据经验取得,例如,第二角度阈值可以为30度,夹角的取值范围为[60,120]。示例性地,如图7c所示,假设通知栏有两条新消息,用户对完全折叠的手机施加左右展开操作时,当夹角θ2与90度的差值的绝对值小于等于30度时,例如θ2为100度时,第二屏53的上方侧边边缘显示两条通知消息,该第二屏53的上方侧边为远离水平面的一边,通知栏中的通知消息显示方向与水平面平行。
在一种可能的实施例中,当消息数目超过一条时,第二屏53的上方侧边的边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从边缘向下方侧边排列显示。其中,下方侧边指靠近离水平面的一边。
情况三
当180度与第一屏51和第二屏53之间的夹角的差值小于等于第三角度阈值时,处理器110控制通知栏中的消息显示在由第一屏和第二屏组成的大屏的上方侧边的边缘。其中,第三角度阈值的具体取值可以根据经验取得,例如,第三角度阈值可以为20度。示例性地,如图7d所示,假设通知栏有两条新消息,用户对完全折叠的手机施加左右展开操作时,当夹角θ3与180度的差值小于等于20度时,例如θ3为180度时,由第一屏和第二屏组成的大屏(也就是可折叠触摸屏50)的上方侧边边缘显示两条通知消息,该可折叠触摸屏50的上方侧边为远离地面的一边,通知栏中的消息显示方向与水平面平行。
在一种可能的实施例中,当消息数目超过一条时,可折叠触摸屏50的上方侧边的边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从上方侧边的边缘向下方侧边排列显示。其中,下方侧边是指靠近水平面的一侧。
情况四
当可折叠触摸屏从完全折叠状态切换至完全展开状态时,处理器110控制通知栏中的消息的显示位置从第二屏的底边边缘逐渐移动至由第一屏和第二屏组成的大屏的上方侧边的边缘。
示例性地,也就是说,假设通知栏有两条新消息,用户对处于横屏状态的完全折叠的手机施加左右展开操作时,展开角度先从θ1增大至θ2,再从θ2直至增大至θ3,那么处理器110先控制通知栏中的消息的显示位置从第二屏53的底边边缘(如图7a右侧的图)逐渐移动至第二屏53的上方侧边的边缘(如图7c),再从第二屏53的上方侧边的边缘逐渐移动至可折叠触摸屏50的上方侧边的边缘(如图7d)。
情况五
当可折叠触摸屏从完全展开状态切换至完全折叠状态时,处理器110控制通知栏中的消息的显示位置从由第一屏和第二屏组成的大屏的上方侧边的边缘逐渐移动至第二屏的底边边缘。
示例性地,也就是说,假设通知栏有两条新消息,用户对处于横屏状态的完全展开的手机施加折叠操作时,折叠角度先从θ3减小至θ2,再从θ2直至减小至θ1,那么处理器110先控制通知栏中的消息的显示位置从可折叠触摸屏50的上方侧边的边缘(如图7d)移动至第二屏53的上方侧边的边缘(如图7c),再从第二屏53的上方侧边的边缘逐渐移动至第二 屏53的底边边缘(如图7a右侧的图)。
场景二
如图5b所示,用户将手机从完全折叠状态进行上下展开操作,可折叠触摸屏处于竖屏状态时;处理器110根据第一屏和第二屏之间的不同夹角,控制通知栏中的消息在可折叠触摸屏上的显示位置的具体情况如下。
情况一
当第一屏51和第二屏53之间的夹角与0度的差值小于等于第一角度阈值时,处理器110控制通知栏中的消息显示在第二屏的底边的边缘,第二屏为下方屏幕,第二屏的底边为远离可弯折区的一边。其中,第一角度阈值的具体取值可以根据经验取得,例如,第一角度阈值为20度。
示例性地,如图8a所示,假设通知栏有两条通知消息,用户对完全折叠的手机(θ0等于0度)施加上下展开操作时,当夹角θ1与0度的差值小于等于20度时,第二屏53的底边边缘显示两条通知消息。
在一种可能的实施例中,当消息数目超过一条时,第二屏53的底边边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从底边边缘向内侧排列显示。其中,内侧指向可弯折区靠近的一侧。
情况二
当第一屏51和第二屏53之间的夹角与90度的差值的绝对值小于等于第二角度阈值时,处理器110控制通知栏中的消息显示在第二屏53的顶边的边缘,第二屏53的顶边为邻近可弯折区的一边。其中,第二角度阈值的具体取值可以根据经验取得,例如,第二角度阈值为20度,当第一屏51和第二屏53之间的夹角的取值范围为[70,110],处理器110会控制通知栏中的消息显示在第二屏53的顶边的边缘。
示例性地,如图8b所示,假设通知栏有两条通知消息,用户对完全折叠的手机施加上下展开操作时,当夹角θ2与90度的差值小于等于20度时,例如θ2为100度时,第二屏53的顶边边缘显示两条通知消息,顶边为邻近可弯折区的一边。
在一种可能的实施例中,当消息数目超过一条时,第二屏53的顶边边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从顶边边缘向底边一侧排列显示,底边指远离可弯折区的一边。
情况三
当180度与第一屏51和第二屏53之间的夹角的差值小于等于第三角度阈值时,处理器110控制通知栏中的消息显示在第一屏的顶边的边缘,第一屏的顶边为远离可弯折区的一边。其中,第二角度阈值的具体取值可以根据经验取得,例如,第三角度阈值为20度。
示例性地,如图8c所示,假设通知栏有两条通知消息,用户对完全折叠的手机施加上下展开操作时,当180度与夹角θ3的差值小于等于20度时,例如θ3为160度时,第一屏51的顶边边缘显示两条通知消息。或者,当夹角θ3为180时,第一屏51的通知栏显示两条通知消息。
在一种可能的实施例中,当消息数目超过一条时,第一屏51的顶边边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从顶边边缘向底边排列显示。其中,底边指向可弯折区靠近的一侧。
情况四
当可折叠触摸屏从完全折叠状态切换至完全展开状态时,处理器110控制通知栏中的消息的显示位置从第二屏53的底边边缘逐渐移动至第一屏51的顶边边缘。
示例性地,也就是说,假设通知栏有两条新消息,用户对处于竖屏状态的完全折叠的手机施加上下展开操作时,展开角度先从θ1增大至θ2,再从θ2直至增大至θ3,那么处理器110控制通知栏中的消息的显示位置从第二屏53的底边边缘(如图8a右侧的图)逐渐移动至第二屏53的顶边的边缘(如图8b),再从第二屏53的顶边的边缘移动至可折叠触摸屏50的上方侧边的边缘(如图8c中的左图或右图)。
情况五
当可折叠触摸屏从完全展开状态切换至完全折叠状态时,处理器110控制通知栏中的消息的显示位置从第一屏51的顶边边缘逐渐移动至第二屏53的底边边缘。
示例性地,也就是说,假设通知栏有两条新消息,用户对处于竖屏状态的完全展开的手机施加上下折叠操作时,展开角度先从θ3减小至θ2,再从θ2直至减小至θ0,那么处理器110控制通知栏中的消息的显示位置从可折叠触摸屏50的上方侧边的边缘(如图8c中的左图或右图)逐渐移动到第二屏53的顶边边缘(如图8b),再从第二屏53的顶边边缘移动至第二屏53的底边边缘(如图8a右侧的图)。
场景三
用户将手机从完全卷曲状态进行左右展开操作,可折叠触摸屏处于横屏状态时;处理器110根据卷曲状态,控制通知栏中的消息在可卷曲触摸屏上的显示位置的具体情况如下。
情况一
当被卷曲到壳体中的可卷曲触摸屏被拉伸至半展开时,处理器110控制通知栏中的消息显示在被展开的触摸屏的右侧边缘部分。示例性地,如图9a和图9b所示,假设通知栏有一条通知消息,用户对完全卷曲的手机(参见图9a)进行左右展开操作,展开至图9b所示的状态。处理器110控制该通知消息竖状显示在可卷曲触摸屏的右侧边缘。在其它可能的实施例中,处理器110也可以控制该通知消息横状显示在可卷曲触摸屏被展开的触摸屏上。
在一种可能的实施例中,当消息数目超过一条时,被展开的可卷曲触摸屏的右边边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从边缘向内侧排列显示。其中,内侧为指向卷轴的一侧。
情况二
当被卷曲到壳体中的可卷曲触摸屏被拉伸至完全展开时,处理器110控制通知栏中的消息显示在被展开的触摸屏的上侧边缘部分。示例性地,如图9c所示,假设通知栏有一条通知消息,用户对完全卷曲的手机(参见图9a)进行左右展开操作,展开至图9c所示的状态。处理器110控制该通知消息横状显示在可卷曲触摸屏的通知栏。
场景四
用户将手机从完全卷曲状态进行上下展开操作,可折叠触摸屏处于竖屏状态时;处理器110根据卷曲状态,控制通知栏中的消息在可卷曲触摸屏上的显示位置的具体情况如下。
情况一
当被卷曲到壳体中的可卷曲触摸屏被拉伸至半展开时,处理器110控制通知栏中的消息显示在被展开的触摸屏的底边边缘部分。底边指靠近水平面的一边。示例性地,如图10a和图10b所示,假设通知栏有一条通知消息,用户对完全卷曲的手机(参见图10a)进行上下 展开操作,展开至图10b所示的状态。处理器110控制该通知消息横状显示在可卷曲触摸屏的底侧边缘。
在一种可能的实施例中,当消息数目超过一条时,被展开的可卷曲触摸屏的底边边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从底边边缘向顶边排列显示。其中,顶边为指远离水平面的一边。
情况二
当被卷曲到壳体中的可卷曲触摸屏被拉伸至完全展开时,处理器110控制通知栏中的消息显示在被展开的触摸屏的顶边边缘部分,其中,顶边为指远离水平面的一边。。示例性地,如图10c所示,假设通知栏有一条通知消息,用户对完全卷曲的手机(参见图10a)进行上下展开操作,展开至图10c所示的状态。处理器110控制该通知消息横状显示在可卷曲触摸屏的通知栏,即展示在被展开的触摸屏的顶边边缘部分。
在一种可能的实施例中,当消息数目超过一条时,被展开的可卷曲触摸屏的顶边边缘显示的消息可以是距离当前时刻最近的新消息,其它消息依次按照接收时间由近及远的顺序从顶边边缘向底边排列显示。其中,底边为指靠近水平面的一边。或者,其它消息依次按照接收时间由近及远的顺序在通知栏中排列显示。
在本申请的另一些实施例中,本申请实施例公开了一种电子设备,如图11所示,该电子设备可以包括:可折叠触摸屏1101,其中,该可折叠触摸屏1101包括触控面板1107和可折叠显示屏1108;一个或多个处理器1102;存储器1103;一个或多个应用程序(未示出);以及一个或多个计算机程序1104,传感器1105、上述各器件可以通过一个或多个通信总线1106连接。其中该一个或多个计算机程序1104被存储在上述存储器1103中并被配置为被该一个或多个处理器1102执行,该一个或多个计算机程序1104包括指令,上述指令可以用于执行如图6相应实施例中的各个步骤。
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的触摸屏的显示方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的触摸屏的显示方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的显示方法。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅 仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (12)

  1. 一种触摸屏的显示方法,应用于具有可折叠触摸屏的电子设备,所述可折叠触摸屏包括第一屏、可弯折区和第二屏,所述第一屏通过所述可弯折区与所述第二屏进行折叠,其特征在于,所述方法包括:
    接收用户的第一操作,所述第一操作为用户对所述可折叠触摸屏进行折叠操作或者展开操作;
    获取传感器所采集的状态数据,所述状态数据包括各个时刻第一屏和第二屏之间的夹角;
    根据所述夹角,控制通知栏中的消息在所述可折叠触摸屏上的显示位置。
  2. 根据权利要求1所述的方法,其特征在于,所述可折叠触摸屏处于竖屏状态;
    根据所述夹角,控制通知栏中的消息在所述可折叠触摸屏上的显示位置,包括:
    当所述夹角与0度的差值小于等于第一角度阈值时,控制所述通知栏中的消息显示在所述第二屏的底边边缘,所述第二屏与水平面夹角最小,所述第二屏的底边为远离所述可弯折区的一边;
    当所述夹角与90度的差值的绝对值小于等于第二角度阈值时,控制所述通知栏中的消息显示在所述第二屏的顶边边缘,所述第二屏的顶边为邻近所述可弯折区的一边;
    当180度与所述夹角的差值小于等于第三角度阈值时,控制所述通知栏中的消息显示在所述第一屏的顶边边缘,所述第一屏的顶边为远离所述可弯折区的一边。
  3. 根据权利要求1所述的方法,其特征在于,所述可折叠触摸屏处于横屏状态;
    根据所述夹角,控制通知栏中的消息在所述可折叠触摸屏上的显示位置,包括:
    当所述夹角与0度的差值小于等于第一角度阈值时,控制所述通知栏中的消息显示在右侧的第二屏的底边边缘;所述第二屏的底边为远离所述可弯折区的一边,所述通知栏中的消息显示方向与所述底边平行;
    当所述夹角与90度的差值的绝对值小于等于第二角度阈值时,控制所述通知栏中的消息显示在右侧的第二屏的上方侧边的边缘;所述第二屏的上方侧边为远离水平面的一边,所述通知栏中的消息显示方向与所述水平面平行;
    当180度与所述夹角的差值小于等于第三角度阈值时,控制所述通知栏中的消息显示在由所述第一屏和所述第二屏组成的大屏的上方侧边的边缘,所述大屏的上方侧边为远离地面的一边,所述通知栏中的消息显示方向与所述水平面平行。
  4. 根据权利要求1或2所述的方法,其特征在于,所述可折叠触摸屏处于竖屏状态;
    当所述可折叠触摸屏从完全折叠状态切换至完全展开状态时,控制所述通知栏中的消息的显示位置从所述第二屏的底边边缘逐渐移动至所述第一屏的顶边边缘;
    当所述可折叠触摸屏从完全展开状态切换至完全折叠状态时,控制所述通知栏中的消息的显示位置从第一屏的顶边边缘逐渐移动至所述第二屏的底边边缘。
  5. 根据权利要求1或3所述的方法,其特征在于,所述可折叠触摸屏处于横屏状态;
    当所述可折叠触摸屏从完全折叠状态切换至完全展开状态时,控制所述通知栏中的消息的显示位置从所述第二屏的底边边缘逐渐移动至由所述第一屏和所述第二屏组成的大屏的上方侧边的边缘;
    当所述可折叠触摸屏从完全展开状态切换至完全折叠状态时,控制所述通知栏中的消息的显示位置从由所述第一屏和所述第二屏组成的大屏的上方侧边的边缘逐渐移动至所述第二屏的底边边缘。
  6. 一种电子设备,其特征在于,包括传感器、可折叠触摸屏、处理器和存储器,所述可折叠触摸屏包括第一屏、可弯折区和第二屏,所述第一屏通过所述可弯折区与所述第二屏进行折叠;
    所述存储器用于存储一个或多个计算机程序;
    当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备执行:
    接收用户的第一操作,所述第一操作为用户对所述可折叠触摸屏进行折叠操作或者展开操作;
    获取传感器所采集的状态数据,所述状态数据包括各个时刻第一屏和第二屏之间的夹角;
    根据所述夹角,控制通知栏中的消息在所述可折叠触摸屏上的显示位置。
  7. 根据权利要求6所述的电子设备,其特征在于,所述可折叠触摸屏处于竖屏状态时,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备根据所述夹角,控制通知栏中的消息在所述可折叠触摸屏上的显示位置,具体执行:
    当所述夹角与0度的差值小于等于第一角度阈值时,控制所述通知栏中的消息显示在所述第二屏的底边边缘,所述第二屏与水平面夹角最小,所述第二屏的底边为远离所述可弯折区的一边;
    当所述夹角与90度的差值的绝对值小于等于第二角度阈值时,控制所述通知栏中的消息显示在所述第二屏的顶边边缘,所述第二屏的顶边为邻近所述可弯折区的一边;
    当180度与所述夹角的差值小于等于第三角度阈值时,控制所述通知栏中的消息显示在所述第一屏的顶边边缘,所述第一屏的顶边为远离所述可弯折区的一边。
  8. 根据权利要求6所述的电子设备,其特征在于,所述可折叠触摸屏处于横屏状态时,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备根据所述夹角,控制通知栏中的消息在所述可折叠触摸屏上的显示位置,具体执行:
    当所述夹角与0度的差值小于等于第一角度阈值时,控制所述通知栏中的消息显示在右侧的第二屏的底边边缘;所述第二屏的底边为远离所述可弯折区的一边,所述通知栏中的消息显示方向与所述底边平行;
    当所述夹角与90度的差值的绝对值小于等于第二角度阈值时,控制所述通知栏中的消息显示在右侧的第二屏的上方侧边的边缘;所述第二屏的上方侧边为远离水平面的一边,所述通知栏中的消息显示方向与所述水平面平行;
    当180度与所述夹角的差值小于等于第三角度阈值时,控制所述通知栏中的消息显示在由所述第一屏和所述第二屏组成的大屏的上方侧边的边缘,所述大屏的上方侧边为远离水平面的一边,所述通知栏中的消息显示方向与所述水平面平行。
  9. 根据权利要求6或7所述的电子设备,其特征在于,所述可折叠触摸屏处于横屏状态时,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,还使得所述电子设备执行:
    当所述可折叠触摸屏从完全折叠状态切换至完全展开状态时,控制所述通知栏中的消息的显示位置从所述第二屏的底边边缘逐渐移动至所述第一屏的顶边边缘;
    当所述可折叠触摸屏从完全展开状态切换至完全折叠状态时,控制所述通知栏中的消息的显示位置从第一屏的顶边边缘逐渐移动至所述第二屏的底边边缘。
  10. 根据权利要求6或8所述的电子设备,其特征在于,所述可折叠触摸屏处于横屏状态时,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,还使得所述电子设 备执行:
    当所述可折叠触摸屏从完全折叠状态切换至完全展开状态时,控制所述通知栏中的消息的显示位置从所述第二屏的底边边缘逐渐移动至由所述第一屏和所述第二屏组成的大屏的上方侧边的边缘;
    当所述可折叠触摸屏从完全展开状态切换至完全折叠状态时,控制所述通知栏中的消息的显示位置从由所述第一屏和所述第二屏组成的大屏的上方侧边的边缘逐渐移动至所述第二屏的底边边缘。
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至5任一项所述的触摸屏的显示方法。
  12. 一种芯片,其特征在于,所述芯片与存储器耦合,用于执行所述存储器中存储的计算机程序,以执行如权利要求1至5任一项所述的触摸屏的显示方法。
PCT/CN2020/097599 2019-06-24 2020-06-23 一种触摸屏的显示方法及电子设备 Ceased WO2020259470A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP20830640.7A EP3964936B1 (en) 2019-06-24 2020-06-23 Display method for touch screen, and electronic device
JP2021576696A JP7325554B2 (ja) 2019-06-24 2020-06-23 タッチスクリーン表示方法および電子デバイス
US17/622,534 US12081688B2 (en) 2019-06-24 2020-06-23 Touchscreen display method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910551528.0 2019-06-24
CN201910551528.0A CN110442288B (zh) 2019-06-24 2019-06-24 一种触摸屏的显示方法及电子设备

Publications (1)

Publication Number Publication Date
WO2020259470A1 true WO2020259470A1 (zh) 2020-12-30

Family

ID=68428292

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/097599 Ceased WO2020259470A1 (zh) 2019-06-24 2020-06-23 一种触摸屏的显示方法及电子设备

Country Status (5)

Country Link
US (1) US12081688B2 (zh)
EP (1) EP3964936B1 (zh)
JP (1) JP7325554B2 (zh)
CN (1) CN110442288B (zh)
WO (1) WO2020259470A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885242A (zh) * 2021-02-09 2021-06-01 维沃移动通信有限公司 显示设备、柔性显示屏的显示方法和可读存储介质

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442288B (zh) * 2019-06-24 2021-04-20 华为技术有限公司 一种触摸屏的显示方法及电子设备
EP4009317A4 (en) * 2019-08-16 2022-08-10 Sony Group Corporation Information processing device, information processing method, and information processing program
CN111182137A (zh) * 2019-12-19 2020-05-19 华为技术有限公司 具有柔性屏幕的电子设备的显示方法和电子设备
CN114762035B (zh) * 2020-07-30 2024-02-27 株式会社村田制作所 电子设备
KR20220017152A (ko) 2020-08-04 2022-02-11 삼성전자주식회사 폴더블 전자 장치 및 상기 폴더블 전자 장치에서 정보를 표시하는 방법
CN112099746B (zh) * 2020-09-17 2024-12-20 北京小米移动软件有限公司 显示设备、方法和装置
CN112181269B (zh) * 2020-09-23 2022-06-10 维沃移动通信有限公司 内容显示方法、装置及电子设备
CN116583813A (zh) * 2020-12-03 2023-08-11 三星电子株式会社 具有可折叠显示器的电子装置及其控制方法
CN112599011B (zh) * 2020-12-16 2023-03-28 维沃移动通信有限公司 电子设备、显示方法及计算机可读存储介质
CN112684854B (zh) * 2021-01-04 2024-08-23 联想(北京)有限公司 一种电子设备及处理方法
CN113157229A (zh) * 2021-03-25 2021-07-23 联想(北京)有限公司 一种显示控制方法及电子设备、电子装置
CN113778273B (zh) * 2021-07-29 2022-12-23 荣耀终端有限公司 光斑显示方法、电子设备及计算机可读存储介质
CN113687691A (zh) * 2021-08-30 2021-11-23 维沃移动通信有限公司 显示方法、装置及电子设备
KR20230044760A (ko) * 2021-09-27 2023-04-04 삼성전자주식회사 사용자 인터페이스를 제공하는 방법 및 그 전자 장치
CN114035727A (zh) * 2021-11-04 2022-02-11 河北雄安三千科技有限责任公司 一种电子日历系统及其显示方法
EP4507286A4 (en) * 2022-07-27 2025-08-13 Samsung Electronics Co Ltd ELECTRONIC DEVICE AND METHOD FOR DISPLAYING SCREEN VIA FLEXIBLE DISPLAY
CN115412625A (zh) * 2022-08-26 2022-11-29 联想(北京)有限公司 一种信息处理方法和装置
CN117931042A (zh) * 2022-10-26 2024-04-26 Oppo广东移动通信有限公司 信息的显示方法、装置、电子设备以及存储介质
CN118276717A (zh) * 2022-12-29 2024-07-02 Oppo广东移动通信有限公司 消息显示方法、装置、电子设备及存储介质
CN116991300B (zh) * 2023-02-17 2026-03-03 北京仁光科技有限公司 触控方法、装置、设备及计算机可读存储介质
WO2024192614A1 (en) * 2023-03-20 2024-09-26 Huawei Technologies Co., Ltd. Foldable screen capacitive sensing for hinge and fold state related interaction
CN117707352B (zh) * 2023-07-11 2024-09-20 荣耀终端有限公司 一种轮盘方向的显示方法及电子设备
CN117389449B (zh) * 2023-09-19 2025-02-18 荣耀终端有限公司 基于折叠屏的截图方法、终端设备及计算机可读存储介质
EP4579418A4 (en) * 2023-10-30 2025-10-15 Samsung Electronics Co Ltd Method and apparatus for displaying an execution screen of an application based on a fold angle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459797A (zh) * 2018-01-23 2018-08-28 维沃移动通信有限公司 一种折叠屏的控制方法及移动终端
CN108475171A (zh) * 2015-12-28 2018-08-31 三星电子株式会社 具有柔性显示器的电子设备以及用于操作电子设备的方法
KR20180116722A (ko) * 2017-04-17 2018-10-25 박현민 라운드지지바가 설치된 디스플레이 장치용 반자동 힌지장치
CN109407932A (zh) * 2018-10-31 2019-03-01 维沃移动通信有限公司 一种图标移动方法及移动终端
CN110442288A (zh) * 2019-06-24 2019-11-12 华为技术有限公司 一种触摸屏的显示方法及电子设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130088410A1 (en) * 2011-10-07 2013-04-11 Research In Motion Limited Notification device
US10324580B2 (en) 2013-08-02 2019-06-18 Nokia Technologies Oy Causing display of a notification
WO2016108439A1 (en) * 2014-12-29 2016-07-07 Samsung Electronics Co., Ltd. Foldable device and method of controlling the same
KR102537922B1 (ko) 2015-09-11 2023-05-30 삼성전자 주식회사 디스플레이 사이의 각도를 측정하는 방법 및 이를 사용하는 전자 장치
CN106227488B (zh) * 2016-07-29 2019-01-22 维沃移动通信有限公司 一种提醒消息的显示方法及移动终端
KR102571369B1 (ko) * 2016-08-03 2023-08-29 삼성전자주식회사 디스플레이 제어 방법, 저장 매체 및 전자 장치
CN107589836B (zh) * 2017-08-16 2018-10-19 维沃移动通信有限公司 一种屏幕显示区域调整方法和移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108475171A (zh) * 2015-12-28 2018-08-31 三星电子株式会社 具有柔性显示器的电子设备以及用于操作电子设备的方法
KR20180116722A (ko) * 2017-04-17 2018-10-25 박현민 라운드지지바가 설치된 디스플레이 장치용 반자동 힌지장치
CN108459797A (zh) * 2018-01-23 2018-08-28 维沃移动通信有限公司 一种折叠屏的控制方法及移动终端
CN109407932A (zh) * 2018-10-31 2019-03-01 维沃移动通信有限公司 一种图标移动方法及移动终端
CN110442288A (zh) * 2019-06-24 2019-11-12 华为技术有限公司 一种触摸屏的显示方法及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885242A (zh) * 2021-02-09 2021-06-01 维沃移动通信有限公司 显示设备、柔性显示屏的显示方法和可读存储介质
CN112885242B (zh) * 2021-02-09 2022-11-25 维沃移动通信有限公司 显示设备、柔性显示屏的显示方法和可读存储介质

Also Published As

Publication number Publication date
JP7325554B2 (ja) 2023-08-14
CN110442288A (zh) 2019-11-12
JP2022539043A (ja) 2022-09-07
CN110442288B (zh) 2021-04-20
EP3964936B1 (en) 2025-11-26
US12081688B2 (en) 2024-09-03
US20220360654A1 (en) 2022-11-10
EP3964936A4 (en) 2022-07-06
EP3964936A1 (en) 2022-03-09

Similar Documents

Publication Publication Date Title
WO2020259470A1 (zh) 一种触摸屏的显示方法及电子设备
CN110661917B (zh) 一种显示方法及电子设备
CN109871147B (zh) 一种触摸屏的响应方法及电子设备
CN110554816B (zh) 一种界面生成方法及设备
CN116723257B (zh) 一种图像显示方法及电子设备
WO2020253758A1 (zh) 一种用户界面布局方法及电子设备
CN111610874B (zh) 一种触摸屏的响应方法及电子设备
CN114095905B (zh) 设备交互方法和电子设备
WO2021037223A1 (zh) 一种触控方法与电子设备
CN116048436A (zh) 应用界面显示方法、电子设备及存储介质
WO2021082564A1 (zh) 一种操作提示的方法和电子设备
WO2021052223A1 (zh) 快速进入应用的方法与折叠屏电子设备
CN116684516B (zh) 壁纸设置方法和电子设备
WO2020228735A1 (zh) 一种显示应用的方法及电子设备
WO2023284568A1 (zh) 一种电子设备的按键控制方法及电子设备
CN116048833A (zh) 一种线程处理方法、终端设备及芯片系统
WO2022105793A1 (zh) 图像处理方法及其设备
WO2023160224A9 (zh) 一种拍摄方法及相关设备
CN116028148B (zh) 一种界面处理方法、装置及电子设备
CN116795306A (zh) 图像显示方法和电子设备
CN112306314B (zh) 一种界面显示方法及电子设备
EP4273679A1 (en) Method and apparatus for executing control operation, storage medium, and control
CN121957519A (zh) 一种显示方法及电子设备

Legal Events

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

Ref document number: 20830640

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020830640

Country of ref document: EP

Effective date: 20211203

ENP Entry into the national phase

Ref document number: 2021576696

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWG Wipo information: grant in national office

Ref document number: 2020830640

Country of ref document: EP