WO2020155876A1 - 控制屏幕显示的方法及电子设备 - Google Patents
控制屏幕显示的方法及电子设备 Download PDFInfo
- Publication number
- WO2020155876A1 WO2020155876A1 PCT/CN2019/125050 CN2019125050W WO2020155876A1 WO 2020155876 A1 WO2020155876 A1 WO 2020155876A1 CN 2019125050 W CN2019125050 W CN 2019125050W WO 2020155876 A1 WO2020155876 A1 WO 2020155876A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- electronic device
- touch
- user
- display screen
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1615—Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
- G06F1/1616—Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1675—Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
- G06F1/1677—Miscellaneous 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0206—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
- H04M1/0241—Portable 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/0245—Portable 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 open/close detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
Definitions
- This application relates to the field of electronic technology, and in particular to a method and electronic equipment for controlling screen display.
- the purpose of this application is to provide a method and electronic device for controlling screen display, which can intelligently control the lighting or extinguishing of the touch screen of the electronic device.
- a method for controlling screen display is provided, which is applied to an electronic device equipped with a foldable touch display screen, the touch display screen displays a first interface, and the touch display screen includes a first area and a second area ,
- the method includes: when the touch display screen is in a folded form, detecting a user's first touch operation on the touch display screen; in response to the detected first touch operation, determining the first area of the touch display screen Whether a touch area is greater than or equal to the second touch area of the second area of the touch screen; in response to determining that the first touch area is greater than or equal to the second touch area, the electronic device turns off the first area, and The first interface is displayed in the second area.
- the acceleration of the first area and the second area obtained by the acceleration sensor determines the direction of movement of the first area and the second area, and determines that the electronic device will enter the expanded form, and the original can be turned off. To light up the first area.
- this application does not limit the interface displayed after the first area is lit.
- the first area can display the original interface displayed in the second area as a whole with the second area; or After one area is lit, the main interface of the mobile phone is displayed; or, after the first area is lit, the interface displayed in the second area is the same, and the user can change the way the interface is displayed.
- the acceleration of the first area and the acceleration of the second area are acquired according to the acceleration sensor; according to the acceleration of the first area , Determine the movement direction of the first area; determine the movement direction of the second area according to the acceleration of the second area; determine the attitude angle of the electronic device according to the gyroscope sensor; according to the movement direction of the first area, the The movement direction of the second area and the attitude angle of the electronic device determine that the second area is the area facing the user; the first area is extinguished.
- the above method of controlling the screen display can be applied to electronic equipment, or a separate application program, which can realize intelligent lighting through the cooperation of the power button, the touch device of the touch screen and the multiple components of the sensor Or extinguish the display screen of the electronic device, and realize the intelligent switching between lighting and extinguishing, and the lighting part of the touch screen, which makes up for the shortcomings of a single component in different scenarios, realizes seamless switching, and can improve many The folding experience of screen phones.
- the difference between the first touch area and the second touch area is greater than or equal to a second threshold.
- the present application provides an electronic device, including: a foldable touch display screen, wherein the touch display screen includes a touch-sensitive surface and a display; a camera; one or more processors; one or more memories; Applications; and one or more computer programs.
- one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
- the electronic device is caused to execute the method for controlling the screen display in any possible implementation of any one of the foregoing aspects.
- this application provides an electronic device including one or more processors and one or more memories.
- the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
- the computer program codes include computer instructions.
- the electronic device executes A method for controlling screen display in a possible implementation of any one of the foregoing aspects.
- FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by some embodiments of the application.
- FIG. 6 is a schematic diagram of an example of a user holding an electronic device with a touch display screen provided by some embodiments of the present application.
- FIG. 10 is an effect diagram of an example of screen display provided by some embodiments of the present application.
- FIG. 13 is a schematic flowchart of an example of determining the physical state of an electronic device according to some embodiments of the present application.
- FIG. 15 is a schematic diagram of a possible composition of an example of an electronic device provided by some embodiments of the present application.
- the method for controlling the screen display provided by the embodiments of the application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and ultra mobile
- AR augmented reality
- VR virtual reality
- UMPC ultra-mobile personal computers
- PDAs personal digital assistants
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transmitter/receiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
- the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
- the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the electronic device 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 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 electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
- the flexible screen has attracted much attention due to its unique characteristics and great potential.
- flexible screens have the characteristics of strong flexibility and bendability, which can provide users with new interactive methods based on bendable characteristics, and can meet more users' needs for electronic devices.
- the foldable display screen on the electronic device can be switched between a small screen in a folded configuration and a large screen in an unfolded configuration at any time. Therefore, users use the split screen function on electronic devices equipped with foldable display screens more and more frequently.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
- Video codecs are used to compress or decompress digital video.
- the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
- MPEG moving picture experts group
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
- the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
- the processor 110 can execute the above-mentioned instructions stored in the internal memory 121, so that the electronic device 100 executes the method for controlling the display of data on the display screen 194 provided in some embodiments of the present application, as well as various functional applications and data processing.
- the internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on.
- the data storage area can store data (such as images, contacts, etc.) created during the use of the electronic device 100.
- the pressure sensor 180A is used to sense a pressure signal and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A may be provided on the display 194.
- the capacitive pressure sensor may include at least two parallel plates with conductive materials.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
- a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
- touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
- the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
- the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
- the gyro sensor 180B can be used for image stabilization.
- the gyroscope sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
- the gyroscope sensor 180B can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
- the electronic device in the folded configuration may be turned over, so that the positional relationship between different display areas of the display screen and the user may change.
- the gyroscope sensor can be used to monitor the flip process of the electronic device 100.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
- the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
- the fingerprint sensor 180H is used to collect fingerprints.
- the electronic device 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 device”.
- the touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch display 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 electronic device 100, which is different from the position of the display screen 194.
- the display screen 194 and the touch sensor 180K are taken as a whole, which is called a "touch display screen".
- the touch display screen in this application can not only be folded along any axis, but also
- the user's touch operation such as clicking, double-clicking, sliding, etc., can be received, and the operation information can be transmitted to the processor 110, and the processor 110 determines the operation type and operation result, and executes the corresponding operation result.
- the bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
- the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
- the electronic device 100 is an electronic device with a foldable touch display screen, and may also include an angle sensor 180N.
- the angle sensor 180N may be arranged at the bending part of the touch screen of the electronic device 100.
- the electronic device 100 can use the angle sensor 180N to measure the angle between the two ends of the middle bending part of the foldable touch screen during the folding process. Therefore, the physical form of the electronic device 100, such as the folded form or the unfolded form, is determined based on the angle formed by the two ends of the bent portion of the electronic device 100.
- 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 can include some predefined functions.
- the window manager is used to manage window programs.
- the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
- the content provider is used to store and retrieve data, and make these data accessible to applications.
- the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
- the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
- the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a short stay without user interaction.
- the notification manager is used to notify the download completion, message reminders, and so on.
- the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
- the status bar prompts text messages, sounds prompts, electronic equipment vibrates, and indicator lights flash.
- the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
- the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
- surface manager surface manager
- media library media libraries
- 3D graphics processing library for example: OpenGL ES
- 2D graphics engine for example: SGL
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
- the 2D graphics engine is a drawing engine for 2D drawing.
- the method for controlling screen display is mainly based on the interaction between a touch panel (touch panel, TP) module, the above-mentioned one or more physical components, and various layers of the software architecture layer of the electronic device 100 achieve.
- a touch panel touch panel, TP
- TP touch panel
- the state machine management module may record the state of the two display areas of the touch display screen and manage the physical state of the electronic device.
- the state machine management module may record the screen display state of the electronic device 100 according to the user gesture recognized by the physical state recognition module. For example, to record the display status of the electronic device, 0 represents the first area display, 1 represents the second area display, and 2 represents the large screen display.
- the state machine management module may also record the screen lighting state of the electronic device 100, for example, 0 means the first area is turned on, 1 means the second region is turned on, and 2 is the large screen turned on. The user presses the power button, and the electronic device 100 starts the recognition.
- the state of the touch device can be determined according to the detected user's holding posture and hand contact area, or the state of the electronic device 100 can be recorded by the state machine management module by recognizing the double-click to light up the screen. Carry out assignment and correction, calculate which screen area should be activated currently, and output the display state to the window management system of the state management machine to control the FWK layer, and control the lighting or extinguishing of the touch screen.
- the following embodiments of the present application will take the electronic device having the structure shown in FIG. 1 and FIG. 2 as an example, and combine the accompanying drawings and application scenarios to specifically describe the method for controlling screen display provided by the embodiments of the present application.
- the display area of the touch display screen 300 in the folded form can be divided into three areas, namely a first area 301, a second area 302, and a third area 303.
- (a), (b), (c) and (d) in FIG. 3 illustrate at least three physical forms that the touch display screen 300 of an electronic device may include: folding form, folding form at a certain angle Half-folded form and unfolded form.
- the middle bending part shown by the dashed border of the touch display screen 300 is the aforementioned third area 303.
- the touch display screen 300 can be divided into the left screen Part and the right screen part, the right screen part is the aforementioned first area 301, and the left screen part is the aforementioned second area 302.
- the bending parts may also be distributed horizontally in Figure (a), and the folding display screen may be folded up and down, that is, the first area 301 and the second area 302 of the touch display screen may correspond to the upper and lower parts of the middle bending part.
- this application will take the first area 301 and the second area 302 distributed left and right as shown in Figure (a) as an example.
- the method of controlling screen display provided by this application is also applicable to the way of folding up and down. There is no restriction on this.
- the touch display screen 300 can be folded in the direction facing the first area 301 and the second area 302 in the unfolded state, or can be folded in the direction opposite to the A screen and the B screen.
- the touch display screen 300 can be bent toward the direction facing the first area 301 and the second area 302 into a folded configuration with an included angle of 30 degrees, or it can be moved toward the first area 301 and the second area 302.
- the opposite directions are bent into a folded configuration with an included angle of 30 degrees.
- the angle between the two regions of the touch display screen listed above can be obtained by measuring the angle sensor 180N of the electronic device 100 in FIG. 1. For example, when the included angle is greater than or equal to a 1 and less than or equal to a 4 , it can be determined that the electronic device 100 is in a half-folded configuration. When the angle is less than or equal to a 1, the electronic device 100 may be determined in a folded configuration.
- the electronic device 100 can also recognize whether the electronic device 100 is in a folded configuration through the physical buttons provided at the bending part of the touch display screen 300. For example, when an electronic device receives a user's folding operation, and a physical button provided on the electronic device 100 is triggered to open, it can be determined that the electronic device 100 is in a folded state. When the electronic device 100 receives the user's unfolding operation, the physical button provided on the electronic device is triggered to close, and it can be determined that the electronic device is in the unfolded state. This application does not limit this.
- the above describes the physical form of the electronic device 100.
- the user may want the touch screen 300 to have different display modes.
- the display mode here can be understood as the display method of the touch screen 300, such as full-screen display, the first area 301 is displayed while the second area 302 is off, the second area 302 is displayed while the first area 301 is off, or the first area 301 and the first area 301 are off.
- the two areas 302 simultaneously display multiple display modes such as different interfaces.
- FIG. 5 is a schematic diagram of an example of a user setting the display mode of the touch screen 300 according to an embodiment of the present application.
- the user can select different display modes by clicking different controls in the display mode selection box 304 below the foldable screen 300.
- the electronic device 100 may cause the touch display screen 300 to display as shown in FIG. 5(a).
- A" mode indicates that the first area 301 and the second area 302 of the touch display screen 300 are used to display the same interface content. Specifically, the first area 301 and the second area 302 may both display the main interface of the electronic device.
- the main interface may display the current time, date, weather, etc., and may also include other applications (App), such as the first The first area 301 and the second area 302 display dial numbers, information, contacts, cameras, or can also display Alipay, task card stores, photo albums, Weibo, WeChat, card packages, settings, etc. It should be understood that the interface content 301 may also include other more application programs, which is not limited in this application.
- the interface content displayed by the mobile phone may be the interface content displayed by the mobile phone in response to the inputted user operation.
- the user operation may include part of the application in the desktop displayed by the user on the mobile phone. Click the icon of. For example, when the user clicks on the applications such as WeChat, Alipay, Task Card Store, Weibo, Photo Album, Card Pack, Settings, etc. displayed on the main interface 301 of the mobile phone, the user enters the corresponding display interface of each application.
- the electronic device 100 can cause the touch screen 300 to display as shown in Figure 5 (c), "A
- the overall large screen of the touch display screen 300 displays the main interface of the electronic device 100, which can display the current time, date and weather, etc.
- applications, App such as dialing, information, contacts, and cameras displayed on the interface, this application does not limit this.
- the display mode selection box 304 can always be displayed under the touch display screen 300 of the electronic device, or can enter the screen display settings through setting options, or can be set by clicking other shortcuts, which is not limited in this application.
- the part of the touch display 300 used to display the interface can be The content is displayed in a part of the display area, or the content can be displayed in the entire area.
- the electronic device 100 in the folded configuration may only have a part of the second area 302 to display the interface content output by the system.
- the second area 302 may be used to display the interface content output by the system, or only the second area 302 and the third area 303 may be used to display the interface content output by the system.
- the first area 301 may be off the screen without displaying any interface elements.
- the first area 301 may also be used to display the date, time, etc., which is not limited in this application.
- the touch display screen 300 can display content on the full screen.
- the interface content when the interface content is displayed on a full screen, the interface content may occupy all the display area of the touch display screen 300.
- the interface content may only occupy part of the display area of the electronic device 100.
- the display screen is a notch screen
- the center part of the notch screen displays the interface content, and one side Or when there are black screens at the edges of both sides, it can also be seen that the touch screen displays the interface content in full screen. This application is not limited.
- the electronic device may be the first region 301 and the contact area of the hand grip position S 1 is determined by the user. For example, in the grip position shown in (a) of FIG. 6, the abdomen positions of the four fingers of the user can all be in contact with the first area 301. It is assumed that the sum of the contact area between the user's finger and the first region 301 is S 1 , that is, the sum of the area of the shaded part shown in (b) in FIG. 6 is S 1 .
- the electronic device determines that the first area 301 with the current contact area is the portion of the display screen facing the user's hand of the electronic device in the folded configuration, that is, the first area 301
- the part of the display screen that does not need to face the user; the second area 302 opposite to the first area 301 is the display screen facing the user.
- the positional relationship between the first area 301 and the second area 302 of the touch display screen 300 and the user is determined, and the electronic device automatically lights up the second area 302 facing the user and turns off the first area 301.
- the electronic device can simultaneously determine the user's grip posture by combining the first area 301 and the contact area S 1 of the user's hand, and the third area 303 and the contact area S 2 of the user's hand.
- the abdomen positions of the four fingers of the user can all be in contact with the first area 301, and the abdomen position of the user's thumb can be in contact with the third area 303.
- the sum of the contact area between the user's four fingers and the first area 301 is S 1
- the sum of the contact area between the thumb and the third area 303 is S 2 . That is, the total area of the shaded parts of the first region 301 shown in (c) in FIG. 6 is S 1
- the total area of the shaded parts of the third region 303 is S 2 .
- the electronic device determines the current display screen area
- the larger first area 301 is the screen facing the user's hand when the user holds the folded electronic device
- the third area 303 with a smaller display area is the side screen
- the second area 302 is the screen facing the user.
- the positional relationship between the first area 301 and the second area 302 of the touch display screen 300 and the user is determined, and the electronic device automatically lights up the second area 302 and turns off the first area 301.
- the electronic device determines that the current first area 301 is the screen facing the user's hand when the user is holding the folded electronic device, the third area 303 is the side screen, and the second area 302 is the screen facing the user. The positional relationship between the first area 301 and the second area 302 of the touch display screen 300 and the user is determined, and the electronic device automatically lights up the third area 303 and turns off the first area 301.
- the electronic device also detects that four elliptical or leaf-shaped contact areas appear on the first area 301 according to S 1 + S 2 ⁇ the second area threshold at the same time.
- the electronic device determines that the current first area 301 is the screen facing the user's hand when the user is holding the folded electronic device, and the third area 303 is the side screen.
- the second area 302 is a screen facing the user. The positional relationship between the first area 301 and the second area 302 of the touch display screen 300 and the user is determined, and the electronic device automatically lights up the second area 302 and turns off the first area 301.
- FIG. 7 is a schematic diagram of an example of an electronic device in a horizontal screen state. As shown in FIG. 7, in order to adapt to different applications, the user may horizontally position the touch screen of the electronic device during use. As shown in Figure (a), after the electronic device is folded, when the touch display screen of the electronic device is in the lit state, the horizontal screen (for example, the first area 301 or the second area 302) can display the main interface.
- the horizontal screen for example, the first area 301 or the second area 302
- the electronic device can display a touch by a user's hand and the contact area S 1 to determine the user's grip position, for example according to the user's hand and the first region 301, third region 302 or second region 303 at least one of The contact area of the area determines the user's holding posture. For example, when the user holds the electronic device with the left hand, in the holding position shown in (b) of FIG. 7, the abdomen positions of the four fingers of the user may all be in contact with the second area 302. It can be determined according to the aforementioned method that the first area 301 is the portion of the display screen facing the user, and the second area 302 is the display screen facing the user's hand. The positional relationship between the first area 301 and the second area 302 of the touch display screen and the user is determined, and the electronic device automatically lights up the first area 301 and turns off the second area 302.
- the abdomen positions of the four fingers of the user’s two hands can be in the same position as the second area. 302 contact. It can be determined according to the aforementioned method that the first area 301 is the portion of the display screen facing the user, and the second area 302 is the display screen facing the user's hand. The positional relationship between the first area 301 and the second area 302 of the touch display screen and the user is determined, and the electronic device automatically lights up the first area 301 and turns off the second area 302.
- the electronic device can determine the user's holding posture according to the contact area between the user's hand and the second area, and further determine the positional relationship between the first area 301, the second area 302 of the touch screen and the user.
- the above-mentioned back screen or the screen facing the user's hand can be understood as a display screen that does not face the user.
- the ellipse or leaf shape listed above is only a possible situation, and other shapes may appear according to the usage habits of different users. For example, with different pressing forces, other possible shapes such as rectangles may appear, which is not limited in this application.
- the contact area of four fingers may be connected together, such as three; or a user only uses the index finger, middle finger, and ring finger to touch the display screen of the electronic device. This is not limited.
- the above solution can recognize the user's holding posture, according to the user's habit of holding a foldable electronic device, and simultaneously combine the user's five fingers with the contact characteristics of each area of the touch screen, such as the area, number and shape of the contact area, etc. , Through the coordination of multiple components such as the touch sensor of the electronic device and the power button, it is determined that when the electronic device is in the folded state, the display screen facing the user and the display screen facing the user's hand holding the electronic device are intelligently lit Facing the user’s display screen, turn off the display facing the user’s hand, reducing user operations and improving the folding experience of the multi-screen mobile phone system.
- the above introduces that when the electronic device is in the folded state, by detecting the contact characteristics of the user's five fingers and each area of the touch screen, such as the area, number and shape of the contact area, it is judged whether the touch screen faces the user's display screen. And the display screen facing the user's hand holding the electronic device, intelligently lights the display screen facing the user, and turns off the display screen facing the user's hand holding the electronic device.
- the foldable electronic device is not in the folded state, for example, when the electronic device changes from the unfolded form to the folded form, the physical form of the electronic device is switched.
- the present application also provides a method for controlling the screen display, which can recognize the user’s holding posture according to the acceleration sensor and the gyroscope sensor of the electronic device, thereby judging the display screen facing the user and the screen facing the user’s handheld electronic device.
- the display screen of the hand and intelligently lights the display screen facing the user.
- the change in the physical form of the electronic device 100 is determined by the acceleration sensor 180E.
- FIG. 8 is a schematic diagram of an example of changes in the physical form of an electronic device provided by an embodiment of the present application.
- the touch display screen and the folding axis are the y-axis, and the user controls the first area 301 and the second area 302 of the folding screen with both hands at the same time.
- the area 302 is folded with the central axis of the side screen as the folding axis.
- the first area 301 has an acceleration a 1
- the second area 302 has an acceleration a 2 .
- the acceleration a 1 in the first area 301 and the acceleration a 2 in the second area 302 may be the same or different in accordance with the usage habits of different users.
- the electronic device can determine that the second area 302 is the display screen facing the user, and the first area 301 is the display screen facing the hand when the user holds the electronic device after being folded.
- the second area 302 facing the user is automatically lit and turned off.
- the first area 301 of the electronic device is automatically lit and turned off.
- the electronic device can determine that the first area 301 is the display screen facing the user, and the second area 302 is the display screen facing the hand when the user holds the electronic device after being folded.
- the first area 301 facing the user is automatically lit and turned off.
- the second area 302 of the electronic device is automatically lit and turned off.
- the electronic device may also detect the contact position of the user's finger on the display screen to further determine whether the electronic device is in a folded form.
- the touch area of the user can be detected on the touch display screen 300.
- the electronic device can determine that the electronic device is in a folded form. Then judge the display screen facing the user and the display screen facing the hand when the user holds the electronic device according to the acceleration monitored by the acceleration sensor, and automatically light up the display screen facing the user and turn off the display screen facing the hand.
- the user's touch area can be detected on the touch display screen 300.
- the electronic device can determine that the electronic device is in an expanded form. When it is judged that the touch screen is in an expanded form, the full screen of the touch screen is automatically lit.
- an acceleration sensor and a gyroscope sensor can also be combined to determine the physical form change of the electronic device.
- the gyroscope sensor can measure the acceleration caused by gravity during the movement of the electronic device.
- the tilt angle of the electronic device relative to the horizontal plane can be calculated.
- the gravitational acceleration of the electronic device is different. Therefore, the electronic device can dynamically obtain the acceleration value of the gyroscope sensor and analyze the change of the acceleration, thereby determining the change process of the inclination angle of the electronic device, and further determining the movement mode of the electronic device.
- the inclination angle of the electronic device or the inclination angle between the electronic device and a plane (for example, a horizontal plane) can be determined according to the components in different directions of gravity.
- the user’s gestures are monitored to determine the change process of the physical form of the electronic device, such as the process of the electronic device from the unfolded form to the folded form, the first area 301 and the second area 301
- the change in the acceleration of the area 302 determines the change in the physical form of the electronic device.
- the touch area of the user is monitored on the touch screen, for example, the touch area of the user and the side screen of the touch screen is combined to determine the display screen of the electronic device facing the user and the display screen facing the hand when the user holds the electronic device.
- the display screen facing the user is automatically turned on, and the hand-facing display screen of the electronic device is turned off.
- This solution realizes the intelligent control of the lighting and extinguishing of the touch screen through the coordination of multiple components such as the touch sensor, acceleration sensor, gyroscope sensor and power button of the electronic device, reducing user operations and improving the performance of the multi-screen mobile phone system. Folding experience.
- FIG. 9 is a schematic diagram of an example of correcting the on-off of the screen provided in some embodiments of the present application.
- the process of the change of the physical form of the electronic device for example, the process of the electronic device from the unfolded form to the folded form, or the process from the folded form to the unfolded form, it may be caused by user behavior.
- the device flips, etc., causing deviations in the control of the screen on and off.
- the user wants the first area 301 to light up and the second area 302 to turn off the screen, but the user may actually turn the electronic device over so that the electronic device determines that the second area 302 is the display screen facing the user.
- the first area 301 In the lit state the second area 302 is in the off state.
- the user may perform a click operation as shown in FIG. 9(a) 901, and in response to the user's click operation, light up the display screen clicked by the user. Specifically, the user clicks on the first area 301 that is turned off, and the electronic device changes to the display interface shown in Figure (b), that is, the display interface of the second area 302 in Figure (a) is switched to the first area 301 and turned off The second area 302.
- the click operation 801 may be a single-click operation, a double-click operation, or a long press, or other preset specific operations, which are not limited in this application.
- the side screen 303 may be in a lighted state or an off state.
- the side screen 303 is in the lit state, if the user wants the side screen 303 to be in the lit state, he can also click on the side screen 303 through a tap operation to switch the side screen on and off. This application There is no restriction on this.
- FIG. 10 is an effect diagram of an example of a screen display provided by an embodiment of the present application, where (a) and (b) in FIG. 10 are a display mode of the electronic device in a refolded state.
- the screen control method provided in this application for example, when the user uses the electronic device, if the electronic device is in a folded form, the surface can be automatically illuminated according to the user's touch hand gesture on the touch screen and the user's holding posture. To the user's screen.
- the electronic device judges that the first area 301 as shown in figure (a) is the display screen facing the user, lights up the first area 301, and the display interface of the first area 301 may be the main interface of the electronic device; the judgment is shown in figure (b)
- the second area 302 shown in) is the display screen facing the hand when the user holds the electronic device.
- the second area 302 is turned off.
- the display interface of the second area 302 may be in a black screen state, or it may only display the time and date in the off state. , This application does not limit this.
- the electronic device if it is in an expanded form, it can be displayed as shown in Figure (c).
- the second area 302 can be corrected, such as double-clicking the second area 302, and the second area 302 is switched from the off state to Light up the display state, you can switch to the full-screen display state shown in Figure (d).
- any one of the methods can be used to control the lighting or extinguishing of the touch screen, or at least two of them can be combined.
- Control the on or off of the touch screen For example, if the electronic device is in a folded form, it can automatically light up the screen facing the user according to the user's touch hand shape and holding posture on the touch screen; if a change in the physical form of the electronic device is detected, it can be based on the acceleration sensor and The gyroscope sensor detects gestures, and can detect the user's holding posture on the side screen, determine the screen facing the user after the physical form of the electronic device changes, and automatically light the screen facing the user.
- the user can correct the screen display mode, for example, double-click the display screen to switch between off and on states.
- This solution can recognize the user’s holding posture through the coordination of the touch sensor, acceleration sensor, gyroscope sensor, and power button of the electronic device, and then determine the touch display of the folded electronic device according to the user’s holding posture
- the positional relationship between the first area, the second area of the screen and the user determines the display screen facing the user, realizes the intelligent control of the on and off of the touch screen, reduces user operations, and improves the folding experience of the multi-screen mobile phone system.
- the embodiments of the present application provide a method for controlling screen display.
- This method can be used in electronic devices with touch screens and various sensors as shown in Figure 1 and Figure 2 (such as mobile phones). , Tablet PC, etc.).
- the following describes the method for controlling screen display provided by the embodiment of the present application from the implementation process of the electronic device in conjunction with FIG. 11.
- FIG. 11 is a schematic diagram of an example of the process of controlling screen display of an electronic device provided by the present application. It should be understood that, corresponding to the schematic diagram of the software structure of the electronic device in FIG. 2, FIG. 11 shows the cooperation between the software and the hardware in the process of controlling the screen display of the electronic device, and each other on the basis of the software structure of the electronic device shown in FIG. The collaborative process between modules. It should be understood that the architecture of the electronic device is described in detail in Figures 1 and 2. Figure 11 only shows some of the modules or physical components that control the screen display process related to this application. For other modules or other physical components, I won't repeat them here.
- the touch panel (TP) module of the hardware layer receives the user's touch operation on the touch screen, and transmits the user's touch operation to the physical state monitoring module of the system library.
- the sensor module of the hardware layer collects information, for example, the touch sensor acquires the contact area and shape of the user's hand and the touch screen, the acceleration sensor acquires the acceleration value of the electronic device, and the gyroscope sensor acquires the gravity change and angle of the electronic device. The sensor acquires the angle change of the first area and the second area of the electronic device during the folding process. 3.
- the resolution of the active-matrix organic light-emitting diode (AMOLED) display is reported. 4.
- the physical state monitoring module determines the state of the electronic device according to the data obtained in steps 1 to 3, and reports the state information of the electronic device to the display strategy management module of the application framework layer.
- the display strategy management module can be based on the state information of the electronic device Develop a display strategy. It should be understood that the state of the electronic device may include the physical form of the electronic device (folded, half-folded, or unfolded), and the display strategy may include the display mode of the electronic device, such as full-screen display, first area display, or second area display Wait. 5.
- the display strategy management module reports the status information of the electronic device to the application layer. 6.
- the application layer receives the operation of switching the display mode input by the user, and sends the switching information of the display mode to the display policy management module. 7.
- the electronic device when the user presses the power button, the electronic device starts to recognize, and the physical state monitoring module determines the angle between the first area and the second area obtained by the angle sensor.
- the electronic device is in a folded form, and the contact area and shape of the user's hand and the touch display screen are acquired by the touch sensor to determine the positional relationship between the first area 301 and the second area 302 of the touch display screen of the electronic device and the user.
- the display strategy management module can formulate a display strategy according to the status information of the electronic device.
- the display strategy at this time includes lighting the second area 302 and turning off the first area 301, and passing the display strategy to the notification manager, window manager, and skin module of the application layer of the application framework layer, so as to realize The second area 302 is automatically turned on, and the first area 301 is turned off.
- the physical state monitoring module can also record the display status of the electronic device. For example, 0 represents the display in the first area 301, 1 represents the display in the second area 302, and 2 is the large-screen display; it can also record the screen lighting status of the electronic device, such as 0 represents the first area 301 is lit, 1 represents the second area 302 is lit, and 2 is the large screen lit.
- the method described in Figure 9 can be changed by double-clicking the off-screen area.
- the touch sensor acquires the user's touch operation, and the physical state monitoring module recognizes the touch operation as a double-click operation according to the touch operation reported by the sensor, assigns and corrects the recorded display state of the electronic device, calculates which screen should be activated currently, and displays it
- the status is output to the window management system of the application framework layer to control the lighting or extinguishing of the touch screen.
- the aforementioned Figure 8 also introduces a method of controlling the screen display, which can determine the movement mode of the electronic device according to the data of the acceleration sensor and the gyroscope sensor during the change of the shape of the electronic device from the expanded shape to the folded shape.
- the display screen facing the user and the display screen facing the hand when the user holds the electronic device are determined according to the movement mode of the electronic device, and the display screen facing the user is automatically turned on, and the hand-facing display screen of the electronic device is turned off.
- the corresponding data can be obtained from the sensor first.
- FIG. 12 is a schematic diagram of a method for controlling screen display provided by an embodiment of the present application. Taking an electronic device in a half-folded form as an example, a coordinate system as shown in FIG. 12 is established, in which coordinate systems are respectively established for both sides of the touch screen , X 1 -Y 1 -Z 1 and X 2 -Y 2 -Z 2 .
- the coordinate system X 1 -Y 1 -Z 1 can be denoted as b 1 (body frame1), b 1 is the long side of the touch screen as the X axis and the short side as the Y axis, with the axis perpendicular to the second area 302
- the straight line is the coordinate system of the Z axis.
- the coordinate system X 2 -Y 2 -Z 2 can be recorded as b 2 (body frame2), b 2 is the long side of the touch screen as the X axis, the short side as the Y axis, and the straight line perpendicular to the A screen 302 as Z axis.
- the angle between the Y 1 axis and the Y 2 axis of the two coordinate systems ⁇ y 0, the angle between the X 1 axis and the X 2 axis is ⁇ x , the Z 1 axis and the Z 2 axis
- FIG. 13 is a schematic flowchart of an example of determining the physical state of an electronic device according to an embodiment of the present application.
- the method may include the following steps: 1201, acquiring six-axis data according to acceleration sensor and gravity sensor; 1202, making static judgment based on the acquired six-axis data; 1203, when according to the acquired six-axis data When the axis data determines that the electronic device is in a stationary state, the zero offset is removed synchronously; 1204, when the electronic device is determined to be in a non-stationary state according to the acquired six-axis data, the gravity of the electronic device is synchronously extracted; 1205, quaternion Q 1 and Q 2 Independent update; 1206, calculate two sets of attitude angles; 1207, determine whether the attitude angle is close to 90 degrees; 1208, when the attitude angle is close to 90 degrees, the quaternions Q 1 and Q 2 are updated independently; 1209, when the attitude angle is not approaching Calculate
- the six-axis data may include the acceleration measured by the acceleration sensor and the gravity measured by the gyroscope sensor respectively in each coordinate axis of the coordinate system X 1 -Y 1 -Z 1 and X 2 -Y 2 -Z 2 shown in FIG.
- the component of acceleration measured by the acceleration sensor on each coordinate axis can include a x1 , a y1 , a z1 , a x2 , a y2 , and a z2 ; the gravity measured by the gyroscope sensor is on each coordinate axis
- the above components may include g x1 , g y1 , g z1 , g x2 , g y2 , and g z2 .
- the purpose of removing the zero offset is mainly to provide zero-angle calibration in the initial state, and the removing of the zero offset can improve the accuracy of the static judgment process. If the zero offset is not removed, it will affect the accuracy of the angle calculation during the subsequent changes in the physical state of the electronic device.
- a quaternion can also be called a four-dimensional vector, which is used to represent any rotation in a three-dimensional space.
- a quaternion can be expressed as Among them (i, j, k) is the unit vector.
- the attitude angle can be understood as the angle between the two screens. Gravity extracts and solves the pitch, roll, and yaw angles. The combined attitude angle of pitch/roll/yaw can be obtained through the rotation matrix.
- the purpose of the quaternion independent update is to independently obtain the original calculation and substitute parameters from the sensor.
- the second quaternion independent update needs to determine whether the absolute value of yaw is close to 90 degrees, and X is the error range. When the absolute value of yaw is within the range of (90 ⁇ X) degrees, the quaternions Q 1 and Q 2 are updated.
- the rotation matrix here may refer to the direction cosine matrix of a vector.
- the cosines of the three directions of a vector are the cosines of the angles between the vector and the three coordinate axes.
- the direction cosines between two vectors refer to the three coordinates between the two vectors.
- the directional cosine matrix can be used to express the relationship between a set of orthonormal basis and another set of orthonormal basis, and it can also be used to express the directional cosine of a vector to another group of orthonormal basis.
- the directional cosine matrix may be a matrix formed by the directional cosines between the basis vectors of two different orthonormal bases.
- n is the geographic coordinate system.
- the x direction points to the west
- the y direction points to the north
- the z direction points to the sky and remains perpendicular to the ground.
- Can represent the directional cosine matrix from b 1 to n It contains the attitude angle of one side of the electronic device's b 1 coordinate system relative to the horizontal plane.
- Can represent the directional cosine matrix from b 2 to n It contains the attitude angle of one side of the b 2 coordinate system of the electronic device relative to the horizontal plane.
- It can represent the directional cosine matrix between b 1 and b 2 and describes the rotation relationship between b 1 and b 2 .
- the posture angle of the second area 302 relative to the first area 301 during the folding process of the touch display screen can also be called the opening and closing angle, and then the angle ⁇ between the two screens is calculated.
- the quaternion integral is yaw.
- Atan2 is the function in the corresponding matlab
- the capital C represents the rotation matrix between the two coordinate systems
- the corresponding subscript number is the corresponding matrix element.
- the method for controlling screen display provided by the present application can realize intelligent lighting or extinguishing of the display screen of an electronic device through the cooperation of the power button, the touch device of the touch screen and the multiple components of the sensor, and It realizes the intelligent switching between on and off, and the lighted part of the touch screen, which makes up for the shortcomings of a single component in different scenarios, realizes seamless switching, and improves the folding experience of multi-screen phones.
- FIG. 14 is a schematic flowchart of a method for controlling screen display according to an embodiment of the present application. As shown in FIG. 14, the method may include the following steps:
- the touch sensor and the pressure sensor may be in a sleep mode, and the detection of the user's touch operation in this application may be triggered by the power button. For example, when the user presses the power button, the electronic device starts to detect the user's touch operation on the touch display screen.
- the present application does not limit the method of triggering the electronic device to detect the user's touch operation.
- the first touch operation corresponds to the contact operation of the user's hand holding the electronic device 100 in FIG. 6 with the touch screen of the electronic device.
- the touch sensor and the pressure sensor can detect that the user's touch operation produces different contact areas on different areas of the touch screen.
- the first contact area on the first area 301 is S 1
- the second contact area on the second area 302 is S 2 .
- the side panel area is referred to as the third area.
- the third area may also be divided into the first area, or the third area may be divided into the second area, or The third area is divided equally into the first area and the second area along the central axis. Because the third area occupies a small proportion of the touch display screen, and the contact area of the third area is relatively small when the user holds the electronic device, the contact area of the third area is not limited.
- the first touch operation determine whether the first touch area of the first area is greater than or equal to the second touch area of the second area.
- the difference between the first touch area and the second touch area is greater than or equal to a second threshold.
- the electronic device In response to determining that the first touch area is greater than or equal to the second touch area, the electronic device turns off the first area, and displays the first interface in the second area.
- a second touch operation of the user is detected on the first area; according to the second touch operation, the first area is illuminated.
- the second touch operation may be a double-click operation as shown in (a) of FIG. 9, and the user can correct the lighting and extinction of the touch display screen through the double-click operation.
- the acceleration of the first area and the acceleration of the second area are acquired according to the acceleration sensor; according to the acceleration of the first area, Determine the movement direction of the first area; determine the movement direction of the second area according to the acceleration of the second area; light up the first area according to the movement direction of the first area and the movement direction of the second area.
- the electronic device in the process from the folded form shown in (b) of FIG. 8 to the expanded form shown in (a), it can be determined that the electronic device will enter the expanded form according to the movement direction of the first area and the second area. You can light up the first area that was originally extinguished.
- This application does not limit the interface displayed after the first area is lit. For example, after the first area is lit, it can display the original interface displayed in the second area as a whole with the second area; or the first area is After being lit, the main interface of the mobile phone is displayed; or, after the first area is lit, the interface displayed in the second area is the same, and the user can change the way the interface is displayed.
- the touch display screen when the touch display screen is switched from the folded form to the expanded form, in addition to the above-mentioned judgment based on the movement direction of the first area and the movement direction of the second area, it may further According to the angle sensor obtained by the angle sensor between the first area and the second area, it is determined that the touch display screen is in an expanded state, and the first area is illuminated.
- the acceleration of the first area and the acceleration of the second area are acquired according to the acceleration sensor; according to the acceleration of the first area , Determine the movement direction of the first area; determine the movement direction of the second area according to the acceleration of the second area; determine the attitude angle of the electronic device according to the gyroscope sensor; according to the movement direction of the first area, the The movement direction of the second area and the attitude angle of the electronic device determine that the second area is the area facing the user; the first area is extinguished.
- an electronic device includes hardware and/or software modules corresponding to each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
- the electronic device may be divided into functional modules according to the foregoing method examples.
- each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- the display unit 1501 may be used to support the electronic device 1500 to perform the above-mentioned steps 1403, etc., and/or used in other processes of the technology described herein.
- the detection unit 1502 may be used to support the electronic device 1500 to perform the above-mentioned steps 1401, etc., and/or other processes used in the technology described herein.
- the processing unit 1503 may be used to support the electronic device 1500 to perform the above-mentioned steps 1402, etc., and/or other processes used in the technology described herein.
- the electronic device provided in this embodiment is used to execute the above-mentioned method for controlling screen display, and therefore can achieve the same effect as the above-mentioned implementation method.
- the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of this application.
- the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, and so on.
- the storage module may be a memory.
- the communication module may specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other electronic devices.
- the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1.
- This embodiment also provides a computer storage medium.
- the computer storage medium stores computer instructions.
- the electronic device executes the above-mentioned related method steps to realize the control screen display in the above-mentioned embodiment. method.
- This embodiment also provides 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 realize the method of controlling the screen display 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 method for controlling screen display in the foregoing method embodiments.
- the electronic device, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above. The beneficial effects of the method will not be 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 parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or 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.
- the term “when” can be interpreted as meaning “if" or “after” or “in response to determining" or “in response to detecting".
- the phrase “when determining" or “if detected (condition or event stated)” can be interpreted as meaning “if determined" or “in response to determining" or “when detected (Condition or event stated)” or “in response to detection of (condition or event stated)”.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Signal Processing (AREA)
- Mathematical Physics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种控制屏幕显示的方法及电子设备,该方法应用于配置有可折叠的触摸显示屏的电子设备,通过电子设备的触摸传感器,检测用户的手指和触摸显示屏的各个区域的接触特征,判断面对用户的显示屏区域和面对用户手持电子设备的手的显示屏区域,智能控制触摸显示屏的点亮与熄灭;此外,还可以通过加速度传感器、陀螺仪传感器以及电源键等多个组件的协同配合,确定电子设备的物理形态的变化过程,实现智能控制电子设备的触摸显示屏的点亮或熄灭,减少用户的操作,提升多屏手机系统的折叠体验。
Description
本申请要求在2019年1月31日提交中国国家知识产权局、申请号为201910099124.2、发明名称为“控制屏幕显示的方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及电子技术领域,尤其涉及一种控制屏幕显示的方法及电子设备。
随着手机等移动设备应用的普及化,人们对大屏幕手机的需求越来越强烈。但是大屏幕手机的应用同时带来携带便利性的问题,为了提升携带便利性,屏幕可伸展变形的折叠屏手机成为手机发展的主要方向。
对于折叠屏手机,屏幕处于展开状态时为大屏,屏幕处于折叠状态时可以包括主屏和辅屏。在用户使用过程中,例如看电影和玩游戏时,使用大屏会提升用户体验;当只需要显示拨打电话等普通应用得桌面时,可以采用主屏显示;当手机只需要进行灭屏显示(always on display,AOD)或者只需要显示智能图标等简单的内容时,可以采用辅屏显示。手机支持的多种屏幕显示,不同应用适配不同的屏幕状态,可以满足用户不同的差异化体验需求。
在更换不同的屏幕显示方式的过程中,用户需要通过设置菜单选择不同的显示方式,操作繁琐复杂,耗费了用户的时间。
发明内容
本申请的目的在于提供了一种控制屏幕显示的方法及电子设备,可以实现智能控制电子设备的触摸显示屏的点亮或熄灭。
上述目标和其他目标将通过独立权利要求中的特征来达成。进一步的实现方式在从属权利要求、说明书和附图中体现。
第一方面,提供了一种控制屏幕显示的方法,应用于配置有可折叠的触摸显示屏的电子设备,该触摸显示屏显示第一界面,且该触摸显示屏包括第一区域和第二区域,该方法包括:当该触摸显示屏处于折叠形态时,在该触摸显示屏检测用户的第一触摸操作;响应于检测到的该第一触摸操作,确定该触摸显示屏的第一区域的第一触摸面积是否大于或等于该触摸显示屏的第二区域的第二触摸面积;响应于确定出该第一触摸面积大于或等于该第二触摸面积时,该电子设备熄灭该第一区域,且在该第二区域显示该第一界面。
上述方案识别用户握姿的过程中,根据用户手握可折叠电子设备的习惯,同时结合用户的五个手指和触摸显示屏的各个区域的接触特征,例如接触区域的面积、数量和形状等,通过电子设备的触摸传感器以及电源键等多个组件的协同配合,确定电子设备在折叠状态时,面对用户的显示屏和面对用户手持电子设备的手的显示屏,并智能的点亮面对用户的显示屏,熄灭面对用户的手的显示屏,减少用户的操作,提升多屏手机系统的折叠体验。
具体地,当电子设备处于折叠状态时,通过检测用户的五个手指和触摸显示屏的各个区域的接触特征,例如接触区域的面积、数量和形状等,判断触摸显示屏的面对用户的显示屏和面对用户手持电子设备的手的显示屏,智能的点亮面对用户的显示屏,熄灭面对用户手持电子设备的手的显示屏。
在一种可能的实现方式中,当该触摸显示屏从折叠形态切换到该展开形态时,根据加速度传感器获取该第一区域的加速度和该第二区域的加速度;根据该第一区域的加速度,确定该第一区域的运动方向;根据该第二区域的加速度,确定该第二区域的运动方向;根据该第一区域的运动方向和该第二区域的运动方向,点亮该第一区域。
具体地,当触摸显示屏处于折叠形态,由加速度传感器获取的第一区域和第二区域的加速度确定第一区域和第二区域的运动方向,并判断电子设备将进入展开形态,可以将原熄灭的第一区域进行点亮。
应理解,本申请对第一区域点亮后显示的界面不做限定,例如,第一区域被点亮后,可以和第二区域作为一个整体,共同显示原第二区域显示的界面;或者第一区域被点亮后,显示手机的主界面;又或者,第一区域被点亮后,与第二区域显示的界面相同,用户可以对界面显示的方式进行变更操作。
在另一种可能的实现方式中,当该触摸显示屏从展开形态切换到该折叠形态时,根据加速度传感器获取该第一区域的加速度和该第二区域的加速度;根据该第一区域的加速度,确定该第一区域的运动方向;根据该第二区域的加速度,确定该第二区域的运动方向;根据陀螺仪传感器获取的该电子设备的姿态角;根据该第一区域的运动方向、该第二区域的运动方向和该电子设备的姿态角,确定该第二区域是面对用户的区域;熄灭该第一区域。
当可折叠的电子设备并未处于折叠状态,例如电子设备从展开形态到折叠形态的变化过程中,该电子设备的物理形态发生了切换。在此过程中,本申请的控制屏幕显示的方法,可以根据电子设备的加速度传感器和陀螺仪传感器识别用户的握姿,从而判断面对用户的显示屏和面对用户手持电子设备的手的显示屏,并熄灭面对用户手持电子设备的手的显示屏。
在另一种可能的实现方式中,该触摸显示屏处于折叠形态具体包括:根据角度传感器获取的该第一区域和该第二区域之间的夹角;确定该第一区域和该第二区域之间的夹角是否小于或等于该第一阈值;响应于确定第一区域和该第二区域之间的夹角小于或等于该第一阈值,该电子设备确定该触摸显示屏处于折叠形态。
在另一种可能的实现方式中,该第一触摸面积与该第二面触摸面积的差值大于或等于第二阈值。
在另一种可能的实施例中,该方法还包括:在该第一区域上检测用户的第二触摸操作;根据该第二触摸操作,点亮该第一区域。
示例性的,该第二触摸操作可以是用户的双击操作,用户可以通过双击操作对触摸显示屏的点亮与熄灭进行修正。
在另一种可能的实现方式中,在该第一区域检测用户的第一触摸操作之前,该方法还包括:在电源键检测用户的按压操作。
应理解,当电子设备处于锁屏且熄灭的状态下,触摸传感器和压力传感器可以处于休眠模式,本申请中对用户的触摸操作的检测可以通过电源键进行触发。例如,当用户按下电源键,电子设备开始在触摸显示屏上检测用户的触摸操作,本申请对触发电子设备检测 用户的触摸操作的方式不做限定。
上述控制屏幕显示的方法,可以应用于电子设备,也可是单独的应用程序,该应用程序可以通过电源键、触摸显示屏的触控器件以及传感器的多个组件的协同配合,实现智能的点亮或熄灭电子设备的显示屏,并实现点亮和熄灭、以及触摸显示屏的点亮部分之间的智能切换,弥补了单个组件在不同的场景下的不足,实现了无缝切换,可以提升多屏手机的折叠体验。
第二方面,提供了一种电子设备,其特征在于,包括:可折叠的触摸显示屏;一个或多个处理器;一个或多个存储器;该存储器存储有一个或多个计算机程序,该一个或多个计算机程序包括指令,当该指令被一个或多个处理器执行时,使得该电子设备执行以下步骤:当该触摸显示屏处于折叠形态时,在该触摸显示屏检测用户的第一触摸操作;根据该第一触摸操作,确定该第一区域的第一触摸面积是否大于或等于该第二区域的第二触摸面积;响应于确定出该第一触摸面积大于或等于该第二触摸面积时,该电子设备熄灭该第一区域,且在该第二区域显示该第一界面。
在一种可能的实现方式中,当该指令被一个或多个处理器执行时,使得该电子设备还执行以下步骤:当该触摸显示屏从折叠形态切换到该展开形态时,根据加速度传感器获取该第一区域的加速度和该第二区域的加速度;根据该第一区域的加速度,确定该第一区域的运动方向;根据该第二区域的加速度,确定该第二区域的运动方向;根据该第一区域的运动方向和该第二区域的运动方向,点亮该第一区域。
在另一种可能的实现方式中,当该指令被一个或多个处理器执行时,使得该电子设备还执行以下步骤:根据角度传感器获取的该第一区域和该第二区域之间的夹角;确定该第一区域和该第二区域之间的夹角是否小于或等于该第一阈值;响应于确定第一区域和该第二区域之间的夹角小于或等于该第一阈值,该电子设备确定该触摸显示屏处于折叠形态。
在另一种可能的实现方式中,该第一触摸面积与该第二面触摸面积的差值大于或等于第二阈值。
在另一种可能的实现方式中,该第一触摸面积与该第二面触摸面积的差值大于或等于第二阈值。
在另一种可能的实施例中,当该指令被一个或多个处理器执行时,使得该电子设备还执行以下步骤:在该第一区域上检测用户的第二触摸操作;根据该第二触摸操作,点亮该第一区域。
在另一种可能的实现方式中,该在该第一区域检测用户的第一触摸操作之前,该电子设备还包括:在电源键检测用户的按压操作。
第三方面,本申请提供了一种装置,该装置包含在电子设备中,该装置具有实现上述方面及上述方面的可能实现方式中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,显示模块或单元、检测模块或单元、处理模块或单元等。
第四方面,本申请提供了一种电子设备,包括:可折叠的触摸显示屏,其中,触摸显示屏包括触敏表面和显示器;摄像头;一个或多个处理器;一个或多个存储器;多个应用程序;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被电子设备执行时,使得电子设备执行上述任一方面任一项可能的实现中的控制屏幕显示的方法。
第五方面,本申请提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述任一方面任一项可能的实现中的控制屏幕显示的方法。
第六方面,本申请提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述任一方面任一项可能的控制屏幕显示的方法。
第七方面,本申请提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述任一方面任一项可能的控制屏幕显示的方法。
图1为本申请一些实施例提供的一种电子设备的硬件结构示意图。
图2为本申请一些实施例提供的一种电子设备的软件结构示意图。
图3是本申请一些实施例中提供的一例可折叠电子设备的示意图。
图4是本申请一些实施例提供的一例可折叠电子设备物理形态的划分示意图。
图5是本申请一些实施例提供的一例用户设置触摸显示屏得显示模式的示意图。
图6是本申请一些实施例提供的一例用户手持具有触摸显示屏的电子设备的示意图。
图7是一些实施例中一例电子设备为横屏状态下的示意图。
图8本申请另一些实施例提供的一例电子设备物理形态的变化示意图。
图9是本申请另一些实施例提供的一例矫正屏幕亮灭的示意图。
图10是本申请一些实施例提供的一例屏幕显示的效果图。
图11是本申请一些实施例中提供的电子设备控制屏幕显示的过程示意图。
图12是本申请一些实施例提供的控制屏幕显示的方法的示意图。
图13是本申请一些实施例提供的一例确定电子设备物理状态的流程示意图。
图14是本申请一些实施例提供的一例控制屏幕显示的方法的流程示意图。
图15是本申请一些实施例提供的一例电子设备的一种可能的组成示意图。
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有” 及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请实施例提供了一种控制屏幕显示的方法,可以应用于电子设备,也可是单独的应用程序,该应用程序可以通过电源键、触摸显示屏的触控器件以及传感器的多个组件的协同配合,实现智能的点亮或熄灭电子设备的显示屏,并实现点亮和熄灭、以及触摸显示屏的点亮部分之间的智能切换,弥补了单个组件在不同的场景下的不足,实现了无缝切换,可以提升多屏手机的折叠体验。
本申请实施例提供的控制屏幕显示的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图1示出了电子设备100的结构示意图。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus, USB)接口等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
无线通信模块160可以提供应用在电子设备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)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个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的正整数。
在本申请的一些实施例中,当显示面板采用OLED、AMOLED、FLED等材料时,上述图1中的显示屏194可以被弯折。这里,上述显示屏194可以被弯折是指显示屏可以在任意部位沿任意轴线被弯折到任意角度,并可以在该角度保持,例如,显示屏194可以从中部左右对折。也可以从中部上下对折。本申请中,将可以被弯折的显示屏称为可折叠的显示屏。其中,该可折叠的显示屏可以是一块屏幕,也可以是多块屏幕拼凑在一起组合成 的显示屏,在此不做限定。电子设备100的显示屏194是一种柔性屏,目前,柔性屏以其独特的特性和巨大的潜力而备受关注。柔性屏相对于传统屏幕而言,具有柔韧性强和可弯曲的特点,可以给用户提供基于可弯折特性的新交互方式,可以满足用户对于电子设备的更多需求。对于配置有可折叠显示屏的电子设备而言,电子设备上的可折叠显示屏可以随时在折叠形态下的小屏和展开形态下大屏之间切换。因此,用户在配置有可折叠显示屏的电子设备上使用分屏功能,也越来越频繁。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的控制在显示屏194上显示数据的方法,以及各种功能应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如图像,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备执行本申请实施例中所提供的控制显示的方法。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些 实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
例如,在本申请的一些实施例中,压力传感器180A可以设置于显示屏194,并且可以根据检测到的用户的手触摸显示屏194的检测信号确定用户的触摸位置、以及触摸过程中手指与显示屏194的接触面积,根据用户的触摸位置和手指接触面积确定用户的握姿或手形,从而确定处于折叠形态的显示屏面向用户的区域,实现本申请智能控制屏幕显示的方法,自动点亮面对用户的显示屏区域。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
应理解,当电子设备100静止时,陀螺仪传感器180B可以检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
陀螺仪传感器还可以测量电子设备运动过程中的因为重力引起的加速度,通过陀螺仪传感器测量重力加速度,可以计算出电子设备相对于水平面的倾斜角度。对于不同的倾斜角度,电子设备的重力加速度不同。因此,电子设备可以通过动态获取陀螺仪传感器的加速度数值,分析加速度的变化,从而确定电子设备倾斜角度的变化过程,进一步确定电子设备移动的方式。
示例性的,在本申请的一些实施例中,处于折叠形态的电子设备可能发生翻转,从而显示屏的不同显示区域与用户的位置关系可能发生变化。陀螺仪传感器可以用于监测电子设备100的翻转过程。电子设备100从水平状态进行翻转,陀螺仪传感器可以监测电子设备100围绕三个轴(即,x,y和z轴)的角速度,从而确定电子设备的翻转过程,从而确定翻转后的电子设备100的显示屏的不同显示区域与用户的位置关系,实现本申请中控制屏幕显示的方法,智能亮灭屏,自动点亮面对用户的显示屏区域。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。
示例性的,在本申请的一些实施例中,折叠形态的电子设备可能移动或者翻转,从而显示屏的不同显示区域与用户的位置关系可能发生变化。加速度传感器180E可以用于监测电子设备100围绕三个轴(即,x,y和z轴)的加速度变化情况。此外,可以结合加速度和陀螺仪传感器的监测,例如加速度传感器180E获取加速度变化情况,以及陀螺仪传感器确定电子设备100倾斜角度的变化过程,确定电子设备的移动方式或者翻转过程,从而确定翻转后的电子设备100的显示屏的不同显示区域与用户的位置关系,实现本申请中控制屏幕显示的方法,智能亮灭屏,自动点亮面对用户的显示屏区域。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸显示屏。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
应理解,在本申请实施例的描述中,将显示屏194和触摸传感器180K作为一个整体,称为“触摸显示屏”,换言之,本申请中的触摸显示屏不但可以沿任意轴线进行折叠,还可以接收用户的触摸操作,例如点击、双击、滑动等操作,并将操作信息传递到处理器110,由处理器110确定操作类型以及操作结果,并执行相应的操作结果。骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例 中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
在本申请中,该电子设备100为具有可折叠的触摸显示屏的电子设备,还可以包括角度传感器180N。该角度传感器180N可以设置在该电子设备100的触摸显示屏的弯折部位处。电子设备100可以通过角度传感器180N,测量该可折叠的触摸显示屏在折叠过程中,中间弯折部位两端所成夹角。从而根据电子设备100的弯折部位的两端所成的夹角判断电子设备100的物理形态,例如折叠形态或者展开形态等。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、三方应用程序等。其中,三方应用程序可以包括图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消 息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
此外,系统库还可以包括状态监测服务模块等,例如物理状态识别模块,用于对用户手势进行分析和识别;传感器服务模块,用于对硬件层各类传感器上传的传感器数据进行监测,确定电子设备100的物理状态。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
硬件层可以包括各类传感器,例如本申请实施例中涉及的加速度传感器、陀螺仪传感器、触摸传感器等。
在本申请实施例中,电子设备100涉及的物理元器件主要包括传感器、决策支持系统(decision support systems,DSS)显示芯片、触摸显示屏、指纹识别模块等硬件组件;以及屏幕管理模块、显示驱动、指纹驱动、防误触等内核软件层;防误触输入、屏幕控制、灭屏显示(always on display,AOD)服务、电源管理等应用程序框架层功能;以及特殊适配应用(camera)、三方应用、系统休眠、AOD等应用层业务。
下面结合本申请实施例的控制屏幕显示的方法,示例性说明电子设备100软件以及硬件的工作流程。
本申请实施例提供的控制屏幕显示的方法,主要由触摸面板(touch panel,TP)模块和上述一种或多种物理元器件以及电子设备100的软件架构层的各层之间的相互配合来实现。
其中,TP模块接收用户对触摸显示屏的触摸操作,将用户的触摸操作传递给系统库的物理状态识别模块,由物理状态监测模块进行监测,识别用户的手势,例如用户的握姿等。物理状态监测模块将识别的手势传递给电子设备的状态机管理模块,通过状态机管理模块控制FWK层的窗口管理系统,从而控制电子设备的显示方式,实现触摸显示屏的显示方式的切换。
此外,整个过程的实现还需要其他多个模块、传感器的协同参与,例如应用程序层的 皮肤模块,用于控制触摸屏显示界面;又如FWK层的防误触模块,用于防止对用户触摸操作的误判,提高识别手势的准确率。
示例性的,在触摸显示屏的点亮过程中,状态机管理模块可以记录触摸显示屏的两个显示区域的状态,并管理的电子设备的物理状态。以本申请的第一屏幕和第二屏幕为例,状态机管理模块可以根据物理状态识别模块识别的用户手势记录电子设备100的屏幕显示状态。例如记录电子设备的显示状态,0代表第一区域显示,1代表第二区域显示,2为大屏显示。或者,状态机管理模块还可以记录电子设备100的屏幕点亮状态,例如0代表第一区域点亮,1代表第二区域点亮,2为大屏点亮。用户按下电源键,电子设备100启动识别,可以根据检测的用户握姿和手接触面积确定触控器件的状态,或者通过双击亮屏动作的识别,对状态机管理模块记录电子设备100的状态进行赋值和修正,计算出当前应该激活哪个屏幕区域,并将显示状态输出到状态管理机控制FWK层的窗口管理系统,控制触摸显示屏的点亮或者熄灭。为了便于理解,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的控制屏幕显示的方法进行具体阐述。
如背景技术所介绍,电子设备的屏幕越做越大,为了充分发挥大屏幕的应用价值,对应开发了不同的屏幕显示技术,使得用户可以在同一触控屏幕上同时处理多个应用。此外,为了提高大屏幕手机的便携性,柔性屏开始被广泛应用在电子设备上。柔性屏相对于传统屏幕而言,具有柔韧性强和可弯曲的特点,可以给用户提供基于可弯折特性的新交互方式,可以满足用户对于电子设备的更多需求。对于配置有触摸显示屏的电子设备而言,电子设备上的触摸显示屏可以随时在折叠形态下的小屏和展开形态下大屏之间切换。因此,用户在配置有触摸显示屏的电子设备上使用分屏功能,也越来越频繁。
图3是本申请提供的一例可折叠电子设备的示意图,图4是本申请实施例提供的一例可折叠电子设备物理形态的划分示意图。先结合图3和图4对该电子设备的触摸显示屏进行介绍。
本申请一实施例中,折叠形态下的该触摸显示屏300的显示区域可以被划分为三个区域,分别是第一区域301、第二区域302和第三区域303。示例性的,图3中的(a)、(b)、(c)和(d)图示出了电子设备的触摸显示屏300可以包括的至少三种物理形态:折叠形态、折叠一定角度的半折叠形态和展开形态。如(a)图所示,该触摸显示屏300虚线边界示出的中间弯折部位即前述的第三区域303,以该第三区域303为中心,可以将该触摸显示屏300分为左屏部分和右屏部分,右屏部分即前述的第一区域301,左屏部分即前述的第二区域302。
当该电子设备100的触摸显示屏300为折叠形态时可以如(d)图所示。具体地,(d)图中折叠形态时第一区域301和第二区域302之间的夹角可以为第一角度α,其中0°≤α≤a
1,a
1小于或等于90度且大于或等于0度,例如a
1可以是0度或者90度。
当该电子设备100的触摸显示屏300为折叠一定角度的半折叠形态时可以如(c)图所示。具体地,(c)图中半折叠形态时,第一区域301和第二区域302之间的夹角为第二角度β,其中a
1≤β≤a
4,a
1小于或等于90度且大于或等于0度,a
4大于或等于90度且小于180度,例如a
1可以是0度或者90度,a
4可以是90度。此外,对应于图4中可折叠电子设备物理形态的划分,该触摸显示屏300的半折叠形态还可以包括非稳定支架态和稳定支架态。其中,稳定支架态时,第一区域301和第二区域302之间的夹角为第二角度β, 且第二角度β的范围为a
2≤β≤a
3,a
2小于或者等于90度,a
3大于或者等于90度且小于180度。在电子设备100的半折叠形态中,除了稳定支架态之外的形态就是该电子设备100的非稳定支架态。应理解,本申请中对于触摸显示屏300的物理形态的划分以及对各个物理形态的定义不作限定。
当该电子设备的触摸显示屏300为展开形态时可以如(a)图或者(b)图所示。具体地,触摸显示屏300展开形态时,第一区域301和第二区域302之间的夹角为第三角度ε,其中a
4≤ε≤180度,a
4大于或等于90度且小于180度,例如a
4可以是90度。例如(a)图示出的是第三角度ε为180度时的形态,(b)图示出的是第三角度ε为大于a
4且小于180度时的形态。
应理解,弯折部位还可以在图(a)中横向分布,折叠显示屏可以是上下折叠,即该触摸显示屏的第一区域301和第二区域302可以对应于中间弯折部位的上下两端,本申请将以图(a)所示的左右分布的第一区域301和第二区域302为例进行介绍,本申请提供的控制屏幕显示的方法也同样适用于上下折叠的方式,本申请对此不作限定。
还应理解,该触摸显示屏300在展开形态下可以朝着第一区域301和第二区域302相面对的方向折叠,也可以朝着A屏和B屏相背对的方向折叠。例如,触摸显示屏300可以往朝着第一区域301和第二区域302相面对的方向弯折成夹角为30度的折叠形态,也可以往朝着第一区域301和第二区域302相背对的方向弯折成夹角为30度的折叠形态。
以上列举的触摸显示屏的两个区域的夹角可以通过图1中个电子设备100的角度传感器180N测量获取。例如,当该夹角大于或等于a
1且小于或等于a
4时,可以确定该电子设备100处于半折叠形态。当该夹角小于或等于a
1时,可以确定电子设备100处于折叠形态。
在另外一些实施例中,电子设备100也可以通过设置在该触摸显示屏300的弯折部位的物理按键,识别出该电子设备100是否处于折叠形态。例如,当电子设备接收到用户的折叠操作,设置在该电子设备100上的物理按键被触发打开,可以确定该电子设备100处于折叠形态。当电子设备100接收到用户的展开操作,该设置在该电子设备上的物理按键被触发关闭,可以确定该电子设备处于展开形态。本申请对此不作限定。
以上介绍了电子设备100的物理形态,对于不同的物理形态,或者对于电子设备运行的不同应用类型,用户可能希望触摸显示屏300有不同的显示模式。这里显示模式,可以理解为触摸显示屏300的显示方法,例如全屏显示、第一区域301显示同时第二区域302熄灭、第二区域302显示同时第一区域301熄灭、或者第一区域301和第二区域302同时显示不同的界面等多种显示模式。
图5是本申请一实施例提供的一例用户设置触摸显示屏300的显示模式的示意图。用户在更换可折叠屏幕300的显示模式时,可以通过点击可折叠屏幕300下方的显示模式选择框304中的不同控件选择不同的显示模式。
例如,当用户点击控件501,即点击“A|A”控件,则响应于该点击操作,电子设备100可以使得触摸显示屏300显示如图5中(a)图所示。“A|A”模式表示触摸显示屏300的第一区域301和第二区域302用于显示相同的界面内容。具体地,第一区域301和第二区域302可以都显示的是电子设备的主界面,该主界面可以显示当前时间、日期和天气等,还可以包括其他应用程序(application,App),例如第一区域301和第二区域302显示的拨号、信息、联系人、相机,或者还可以显示支付宝、任务卡商店、相册、微博、微信、卡包、设置等。应理解,界面内容301还可以包括其他更多的应用程序,本申请对此不作 限定。
在一些实施例中,不限于手机的主界面,手机显示的界面内容可以是手机响应于输入的用户操作后,显示的界面内容,该用户操作可以包括用户对手机显示的桌面中的部分应用程序的图标的点击操作。例如,当用户点击手机主界面301显示的微信、支付宝、任务卡商店、微博、相册、卡包、设置等应用程序后分别进入各应用程序相应地显示界面。
或者,当用户点击控件502,即点击“A|B”控件,响应于该点击操作,电子设备100可以使得触摸显示屏300显示如图5中(b)图所示,“A|B”模式表示触摸显示屏300的第一区域301和第二区域302显示不同的界面内容,例如第一区域301和第二区域302用于显示不相同的界面。具体地,第二区域302显示的是电子设备的主界面,该主界面可以显示当前时间、日期和天气等,还可以包括多款第三方应用程序(application,App);第一区域301用于显示应用程序界面,例如第一区域301显示的天气、邮件、支付宝、QQ、微信、音乐、视频、图库、应用商店、股票、计算器、设置等。应理解,第一区域301的界面内容还可以包括其他更多的应用程序,本申请对此不作限定。
又或者,当用户点击控件503,即点击“A|—”控件,响应于该的点击操作,电子设备100可以使得触摸显示屏300显示如图5中(c)图所示,“A|—”模式表示触摸显示屏300作为一整个显示屏用于显示界面,例如触摸显示屏300整体大屏显示的是电子设备100的主界面,该主界面可以显示当前时间、日期和天气等,还可以包括多款第三方应用程序(application,App),例如界面显示的拨号、信息、联系人、相机,本申请对此不作限定。
又或者,当用户点击控件504,即点击“A|黑屏”控件,响应于该点击操作,电子设备100可以使得触摸显示屏300显示如图5中(d)图所示,“A|黑屏”模式表示触摸显示屏300的第二区域302用于显示电子设备100的界面,第一区域301为灭屏状态。第二区域302可以显示电子设备100的主界面,该主界面可以显示当前时间、日期和天气等,还可以包括多款第三方应用程序(application,App);第一区域301为灭屏状态,本申请实施例对此不作限定。
应理解,显示模式选择框304可以一直显示于电子设备的触摸显示屏300下方,也可以通过设置选项进入屏幕显示设置,也可以通过点击其他快捷方式进行设置,本申请对此不作限定。
还应理解,以上介绍的触摸显示屏300的任意一种显示状态,不论电子设备100处于展开形态、半折叠形态或者折叠形态中的何种形态,触摸显示屏300上用于显示界面的部分可以是该显示部分的部分区域显示内容,也可以全部区域显示内容。例如,如图5中的(e)图所示,处于折叠形态下的电子设备100,可以仅有第二区域302的部分区域显示系统输出的界面内容。或者,可以仅有第二区域302用于显示系统输出的界面内容,也可以仅有第二区域302和第三区域303用于显示系统输出的界面内容。其中,第一区域301可以灭屏不显示任何界面元素,在一种可能的实现方式中,第一区域301也用于可以显示日期、时间等,本申请对此不作限定。
同理,当触摸显示屏处于展开形态时,该触摸显示屏300可全屏显示内容。在一种可能的实施方式中,全屏显示界面内容时,该界面内容可以占用该触摸显示屏300的全部显示区域。在另一种可能的实施方式中,界面内容可以仅占用该电子设备100的部分显示区域,例如显示屏为异形切割屏(Notch屏)时,异形切割屏的中间部分显示该界面内容,一侧或两侧边缘部分黑屏时,也可以看作该触摸显示屏全屏显示该界面内容。本申请对此 不作限定。
在上述技术方案中,要实现更改屏幕显示模式,用户需要经过点击不同的显示模式控件进行切换,切换繁琐,操作效率低。因此,本申请以下实施例将提出一种亮屏控制方法,通过自动识别用户的行为,根据用户的行为实施状态切换,智能亮灭屏,解决现有亮屏显示过程中显示模式切换繁琐,操作效率低的问题,同时也提高了用户体验。
图6是一实施例提供的用户手持具有可折叠的触摸显示屏的电子设备的示意图。示例性的,当该电子设备为折叠状态,用户手持该折叠的电子设备,电子设备可以通过识别用户与触摸显示屏300接触的握姿或者用户的手型,自动点亮面对用户的显示屏。
例如图6中的(a)图所示,电子设备的触摸显示屏300包括前述介绍的第一区域301、第二区域302和第三区域303,当电子设备处于折叠形态且在用户手持的情况下,第一区域301和第三区域303为用户手可接触的显示屏区域,第二区域302为面对用户的显示屏区域。
在一些实施例中,电子设备可以通过第一区域301和手的接触面积S
1来判断用户的握姿。例如图6中的(a)图所示的握姿,用户的四个手指的指腹部位可以都和第一区域301接触。设用户的手指和第一区域301的接触面积总和为S
1,即图6中的(b)图所示的阴影部分的面积总和为S
1。
在一些实施例中,当S
1≥第一面积阈值时,电子设备确定当前有接触面积的第一区域301为处于折叠形态后的电子设备的面向用户手的显示屏部分,即第一区域301为不需要面对用户的显示屏部分;第一区域301相对的第二区域302为面对用户的显示屏。确定了触摸显示屏300的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮面对用户的第二区域302,并熄灭第一区域301。
在其他一些实施例中,当检测到在显示屏上出现4个椭圆状或者树叶形状等不同形状的接触面积时,电子设备确定有接触面积的第一区域301为面向用户手的显示屏部分,即第一区域301为不需要面对用户的显示屏部分;第二区域302为面对用户的显示屏。确定了触摸显示屏300的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第二区域302,并熄灭第一区域301。
在另外一些实施例中,电子设备还可以同时根据第一区域301和手的接触面积S
1大于或等于预设的第一面积阈值,且检测到在第一区域301上出现4个椭圆状或者树叶形状等不同形状的接触面积时,电子设备确定当前有接触面积的第一区域301为面向用户手的显示屏部分;第一区域301相对的第二区域302为面对用户的显示屏。确定了触摸显示屏300的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第二区域302,并熄灭第一区域301。
应理解,上述实施例介绍了电子设备确定第一区域301为面向用户手的显示屏,以第二区域302为面向用户的显示屏的过程,在不同的使用场景中,根据用户的不同使用习惯,电子设备还可以确定第一区域301为面向用户的显示屏,以第二区域302为面向用户手的显示屏,并控制屏幕的显示方式,本申请对此不做限定。
在一些实施例中,电子设备可以在用户按下物理按键(例如同时按下音量键和电源键)之后,打开/关闭触摸显示屏的触摸检测功能,在触摸显示屏上检测用户的触摸操作,确定用户的手型或握姿等。通过电源键触发检测机制可以避免电子设备长期处于检测状态,从而降低电子设备的功耗。
上述方案可以通过电子设备的触摸传感器以及电源键等多个组件的协同配合,实现在电子设备黑屏状态下识别用户的握姿,从而根据用户的握姿判断电子设备在折叠状态时,面对用户的显示屏和背对用户的显示屏,并智能的点亮面对用户的显示屏,熄灭背对用户的显示屏,减少用户的操作,提升多屏手机系统的折叠体验。
在另外一种情况下,电子设备可以同时结合第一区域301和用户手的接触面积S
1、以及第三区域303和用户手的接触面积S
2来判断用户的握姿。
例如图6中的(a)图所示的握姿,用户的四个手指的指腹部位可以都和第一区域301接触,同时用户的大拇指的指腹部位可以和第三区域303接触。设用户的四个手指和第一区域301的接触面积总和为S
1,大拇指和第三区域303的接触面积总和为S
2。即图6中的(c)图所示的第一区域301的阴影部分的面积总和为S
1,第三区域303的阴影部分的面积总和为S
2。
在一些实施例中,当S
1+S
2≥第二面积阈值,且第一区域301上的接触面积S
1大于第二部分显示屏上的接触面积S
2时,电子设备确定当前显示屏面积较大的第一区域301为用户手持折叠后的电子设备时,面向用户手的屏幕,显示屏面积较小的第三区域303为侧边屏,第二区域302为面对用户的屏幕。确定了触摸显示屏300的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第二区域302,并熄灭第一区域301。
在其他一些实施例中,当检测到在第一区域301上出现4个椭圆状或者树叶形状等不同形状的接触面积,且检测到在第三区域303上出现一个椭圆状或者树叶形状等不同形状的接触面积时,电子设备判断当前第一区域301为用户手持折叠后的电子设备时,面向用户手的屏幕,第三区域303为侧边屏,第二区域302为面对用户的屏幕。确定了触摸显示屏300的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第三区域303,并熄灭第一区域301。
在另外一些实施例中,电子设备同时根据S
1+S
2≥第二面积阈值,且检测到在第一区域301上出现4个椭圆状或者树叶形状等不同形状的接触面积,检测到在第三区域303上出现一个椭圆状或者树叶形状的接触面积时,电子设备判断当前第一区域301为用户手持折叠后的电子设备时,面向用户手的屏幕,第三区域303为侧边屏,第二区域302为面对用户的屏幕。确定了触摸显示屏300的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第二区域302,并熄灭第一区域301。
在另外一些实施例中,当电子设备为折叠形态时,该电子设备可能处于横屏的折叠形态。图7是一例电子设备为横屏状态下的示意图,如图7所示,用户在使用过程中,为了适应不同的应用程序,可能将电子设备的触摸显示屏进行横置。如图(a)所示,电子设备经过折叠后,当电子设备的触摸显示屏为点亮状态时,横屏(例如第一区域301或者第二区域302)可以显示主界面。
应理解,前述介绍了电子设备可以通过用户手和触摸显示屏的接触面积S
1来判断用户的握姿,例如根据用户手和第一区域301、第二区域302或者第三区域303中至少一个区域的接触面积,确定用户的握姿。例如,当用户左手手持电子设备时,如图7中的(b)图所示的握姿,用户的四个手指的指腹部位可以都和第二区域302接触。可以根据前述介绍的方法确定第一区域301为面向用户的显示屏部分,第二区域302为面对用户手的显示屏。确定了触摸显示屏的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第一区域301,并熄灭第二区域302。
在其他一些实施例中,当用户双手同时手持电子设备时,如图7中的(c)图所示的握姿,用户的两只手的四个手指的指腹部位可以都和第二区域302接触。可以根据前述介绍的方法确定第一区域301为面向用户的显示屏部分,第二区域302为面对用户手的显示屏。确定了触摸显示屏的第一区域301、第二区域302和用户的位置关系,电子设备自动点亮第一区域301,并熄灭第二区域302。
在另外一些实施例中,电子设备可以根据用户的手和第二区域的接触面积来确定用户的握姿,进一步确定触摸显示屏的第一区域301、第二区域302和用户的位置关系,该过程参照前述图6中的相关描述,此处不再赘述。应理解,以上说的背屏或者面向用户手的屏幕可以理解为没有面对用户的显示屏。此外,以上列举的椭圆状或者树叶形状只是一种可能的情况,根据不同用户的使用习惯,可能会出现其他形状。例如不同的按压力度,可能会出现如矩形等其他可能的形状,本申请对此不做限定。
还应理解,以上出现4个不同形状的接触面积,根据不同用户的使用习惯,可能接触面积的数量会减少或者增加,或者用于接触该第一区域301的手指数量为3个等。例如不同的按压力度,可能会出现4个手指的接触面积连在一起的情况,如可能为3个;或者某用户只用食指、中指和无名指来触摸电子设备的显示屏等情况,本申请对此不做限定。
上述方案可以识别用户握姿的过程中,根据用户手握可折叠电子设备的习惯,同时结合用户的五个手指和触摸显示屏的各个区域的接触特征,例如接触区域的面积、数量和形状等,通过电子设备的触摸传感器以及电源键等多个组件的协同配合,确定电子设备在折叠状态时,面对用户的显示屏和面对用户手持电子设备的手的显示屏,并智能的点亮面对用户的显示屏,熄灭面对用户的手的显示屏,减少用户的操作,提升多屏手机系统的折叠体验。
上述介绍了电子设备处于折叠状态时,通过检测用户的五个手指和触摸显示屏的各个区域的接触特征,例如接触区域的面积、数量和形状等,判断触摸显示屏的面对用户的显示屏和面对用户手持电子设备的手的显示屏,智能的点亮面对用户的显示屏,熄灭面对用户手持电子设备的手的显示屏。当可折叠的电子设备并未处于折叠状态,例如电子设备从展开形态到折叠形态的变化过程中,该电子设备的物理形态发生了切换。在此过程中,本申请也提供一种控制屏幕显示的方法,可以根据电子设备的加速度传感器和陀螺仪传感器识别用户的握姿,从而判断面对用户的显示屏和面对用户手持电子设备的手的显示屏,并智能的点亮面对用户的显示屏。
在一些实施例中,通过加速度传感器180E判断电子设备100物理形态的变化。图8是本申请实施例提供的一例电子设备物理形态的变化示意图。例如,如图8中的(a)图所示,触摸显示屏与折叠轴为y轴,用户通过双手同时控制折叠屏的第一区域301和第二区域302,将第一区域301和第二区域302以侧边屏的中心轴线为折叠轴进行折叠。如图8中的(a)图所示,第一区域301具有加速度a
1,第二区域302具有加速度a
2。
在其他一些实施例中,针对不同用户的使用习惯,第一区域301加速度a
1和第二区域302加速度a
2可以大小相同,也可以大小不同。
在另一种情况下,第一区域301加速度a
1和第二区域302加速度a
2中的任意一个可以等于0,也可以同时为0。
示例性的,当a
1为0且a
2不为0时,判断用户左手握第二区域302为静止,右手握第一区域301并将第一区域301绕侧边屏进行折叠,使电子设备为折叠形态。此时,电子设 备可以确定第二区域302为面对用户的显示屏,第一区域301为折叠后用户手持电子设备时面向手的显示屏,自动点亮面对用户的第二区域302,熄灭电子设备的第一区域301。
当a
1不为0且a
2为0时,判断用户右手握第一区域301静止,左手握第二区域302并将第二区域302绕侧边屏进行折叠,使电子设备为折叠形态。此时,电子设备可以确定第一区域301为面对用户的显示屏,第二区域302为折叠后用户手持电子设备时面向手的显示屏,自动点亮面对用户的第一区域301,熄灭电子设备的第二区域302。
当在一定时间内a
1=a
2=0,判断触摸显示屏没有发生物理形态的切换,可以进一步根据触摸显示屏上的用户手指的接触部位等判断电子设备的形态。
在其他一些实施例中,电子设备还可以在显示屏上检测用户手指的接触部位,进一步确定电子设备是否为折叠形态。
例如,当a
1不为0且a
2不为0时,可以在触摸显示屏300上检测用户的触摸区域。当在侧边屏上检测到用户的触摸区域,电子设备可以判断该电子设备为折叠形态。再根据加速度传感器监测的加速度判断面对用户的显示屏和用户手持电子设备时面向手的显示屏,并自动点亮面对用户的显示屏,熄灭面向手的显示屏。
或者,当a
1=a
2=0时,可以在触摸显示屏300上检测用户的触摸区域,当在侧边屏上没有检测到用户的触摸区域,电子设备可以判断该电子设备为展开形态。当判断触摸显示屏为展开形态时,并自动点亮触摸显示屏的全屏。
在另一种实施方式中,还可以结合加速度传感器和陀螺仪传感器判断电子设备的物理形态变化。具体地,陀螺仪传感器可以测量电子设备运动过程中的因为重力引起的加速度,通过陀螺仪传感器测量重力加速度,可以计算出电子设备相对于水平面的倾斜角度。对于不同的倾斜角度,电子设备的重力加速度不同。因此,电子设备可以通过动态获取陀螺仪传感器的加速度数值,分析加速度的变化,从而确定电子设备倾斜角度的变化过程,进一步确定电子设备移动的方式。如图8中的(b)图所示,可以根据重力的不同方向上的分量确定电子设备的倾斜角,或者电子设备与平面(例如水平面)之间的倾斜角度。
通过上述方案,通过加速度传感器和陀螺仪传感器的协同合作,监测用户的手势动作,判断电子设备的物理形态的变化过程,例如电子设备从展开形态到折叠形态的过程,第一区域301和第二区域302的加速度的变化判断电子设备的物理形态变化。此外,在触摸显示屏上监测用户的触摸区域,例如结合用户和触摸显示屏的侧边屏的接触区域,确定电子设备的面对用户的显示屏和用户手持电子设备时面向手的显示屏,自动点亮面对用户的显示屏,熄灭电子设备的面向手的显示屏。本方案通过电子设备的触摸传感器、加速度传感器、陀螺仪传感器以及电源键等多个组件的协同配合,实现智能的控制触摸显示屏的点亮和熄灭,减少用户的操作,提升多屏手机系统的折叠体验。
除上述的各种判断场景之外,根据不同用户的使用习惯,或者用户在使用过程中,可能出现翻转屏幕等情况。例如,折叠形态的电子设备在用户手持下处于水平状态,用户只是翻转了该电子设备,电子设备的面对用户的显示屏和面对用户手的显示屏的位置发生了变化,或者用户手持习惯的差异导致电子设备并没有识别出用户的握姿和手形。针对以上情况,本申请还提供一种方法,可以通过用户的点击操作矫正屏幕亮灭的显示状态。
图9是本申请一些实施例中提供的一例矫正屏幕亮灭的示意图。如图9中的(a)图所示,在电子设备物理形态变化的过程中,例如电子设备从展开形态到折叠形态的过程,或者折叠形态到展开形态的过程中,可能由于用户行为使电子设备发生翻转等导致亮灭屏 的控制出现偏差。如用户希望第一区域301点亮第二区域302灭屏,但是实际上用户可能翻转了电子设备,使电子设备确定第二区域302是面对用户的显示屏,此时,第一区域301为点亮状态,第二区域302为熄灭状态。
在一种可能的实施方式中,用户可以执行如图9中(a)图901所示的点击操作,响应于用户的点击操作,点亮用户点击的显示屏。具体地,用户点击熄灭的第一区域301,电子设备变化为图(b)所示的显示界面,即将(a)图中的第二区域302的显示界面切换到第一区域301上,并熄灭第二区域302。
应理解,该点击操作801可以是单击操作、双击操作或者长按,或其他预设的特定操作等,本申请对此不做限定。
应理解,在以上过程中,侧边屏303可以是点亮状态或者熄灭状态。例如,当侧边屏303是点亮状态时,用户如果希望侧边屏303为点亮状态,也可以通过点击操作点击侧边屏303,实现侧边屏点亮和熄灭状态的切换,本申请对此不做限定。
图10是本申请实施例提供的一例屏幕显示的效果图,其中,图10中的(a)图和(b)图是电子设备再折叠形态下一种显示方式。通过本申请提供的屏幕控制的方法,例如,在用户使用电子设备的过程中,如果电子设备处于折叠形态,可以根据用户在触摸显示屏的触摸手行和用户握姿的检测,自动点亮面对用户的屏幕。电子设备判断如图(a)示出的第一区域301为面对用户的显示屏,点亮第一区域301,第一区域301的显示界面可以是电子设备的主界面;判断如图(b)示出的第二区域302为用户手持电子设备时面向手的显示屏,熄灭第二区域302,第二区域302的显示界面可以呈现黑屏状态,也可以在熄灭状态下只显示时间和日期等,本申请对此不作限定。
或者,如果电子设备为展开形态,可以显示如图(c)所示,当用户希望全屏显示时,可以通过矫正第二区域302,例如双击第二区域302,第二区域302由熄灭状态切换为点亮显示状态,可以切换到图(d)所示的全屏显示状态。
应理解,在显示方式的切换过程中,侧边屏可以协同第一区域301或第二区域302中的任意一个显示屏的显示方式呈现熄灭或点亮状态,也可以是用户手动切换,例如侧边屏可以响应于用户的双击操作实现熄灭和点亮状态的切换等,或者侧边屏被设置为在全屏显示方式时处于点亮状态,当进入折叠形态时处于熄灭状态。本申请对侧边屏的显示方式不作限定。
综上所述,介绍了本申请提供的控制屏幕显示的方法,在具体的实现过程中,可以采用其中任一种方法控制触摸显示屏的点亮或熄灭,也可以结合其中的至少两种来控制触摸显示屏的点亮或熄灭。例如,如果电子设备处于折叠形态,可以根据用户在触摸显示屏的触摸手形和握姿的检测,自动点亮面对用户的屏幕;如果检测到电子设备的物理形态发生变化,可以根据加速度传感器和陀螺仪传感器侦测手势动作,同时可以在侧边屏检测用户的握姿,判断电子设备物理形态发生变化后面对用户的屏幕,并自动点亮面对用户的屏幕。除此之外,在其他场景中,例如电子设备翻转或者触摸显示屏的屏幕显示出现异常时,用户可以对屏幕显示方式进行校正,如可以通过双击显示屏实现熄灭和点亮状态的切换。本方案可以通过电子设备的触摸传感器、加速度传感器和、陀螺仪传感器以及电源键等多个组件的协同配合,识别用户的握姿,再根据用户的握姿确定经过折叠后的电子设备的触摸显示屏的第一区域、第二区域和用户的位置关系,确定面对用户的显示屏,实现智能的控制触摸显示屏的点亮和熄灭,减少用户的操作,提升多屏手机系统的折叠体验。
结合上述实施例及相关附图,本申请实施例提供了一种控制屏幕显示的方法,该方法可以在如图1、图2所示的具有触摸显示屏和各类传感器的电子设备(例如手机、平板电脑等)中实现。下面将结合图11,从电子设备的实现过程介绍本申请实施例提供的控制屏幕显示的方法。
图11是一例本申请提供的电子设备控制屏幕显示的过程示意图。应理解,对应于图2中电子设备的软件结构示意图,图11在图2示出的电子设备的软件结构基础上,示出了电子设备控制屏幕显示的过程中软件和硬件相互配合、以及各个模块之间的协同合作过程。应理解,电子设备的架构在前面图1和图2中有详细的描述,图11中只示出部分跟本申请相关的控制屏幕显示过程的模块或者物理部件,对于其他模块或者其他物理部件,此处不再赘述。
如图11所示,包括以下内容:1.硬件层的触摸面板(touch panel,TP)模块接收用户对触摸显示屏的触摸操作,将用户的触摸操作传递给系统库的物理状态监测模块。2.由硬件层的传感器模块采集信息,例如触摸感器获取用户的手与触摸显示屏的接触面积和形状,加速度传感器获取电子设备的加速度数值,陀螺仪传感器获取电子设备的重力变化情况,角度传感器获取电子设备在折叠过程中第一区域和第二区域的角度变化等。3.有源矩阵有机发光二极体(active-matrix organic light-emitting diode,AMOLED)显示屏的分辨率上报。4.物理状态监测模块根据步骤1至3中获取的数据确定电子设备的状态,将电子设备的状态信息上报到应用程序框架层的显示策略管理模块,显示策略管理模块可以根据电子设备的状态信息制定显示策略。应理解,这里电子设备的状态可以包括电子设备的物理形态(折叠形态、半折叠形态或者展开形态),显示策略可以包括电子设备的显示模式,例如全屏显示、第一区域显示或者第二区域显示等。5.显示策略管理模块向应用程序层上报电子设备的状态信息。6.应用程序层接收用户的输入的切换显示模式的操作,并向显示策略管理模块发送显示模式的切换信息。7.显示策略管理模块根据显示模式的切换信息,确定电子设备的显示模式,并将显示模式信息发送到通知管理器。8.通知管理器向窗口管理器(window manager service,WMS)发送窗口系统刷新消息。9.通知管理器还可以通知物理状态监测模块当前电子设备的显示模式。10.窗口管理器向应用程序层发送应用修改通知,用于修改应用程序的显示方式。
应理解,以上列举的多种信息的上报过程可以由硬件层的物理部件结合内核层的相应的驱动进行实现。此外,以上信息的编号仅用于表示本申请实施例种类,本申请对物理状态监测模块获取数据的顺序不做限定。
示例性的,结合前述图6介绍的控制屏幕显示的方法,当用户按下电源键,电子设备启动识别,物理状态监测模块根据角度传感器获取的第一区域和第二区域之间的夹角确定电子设备处于折叠形态,再根据触摸感器获取用户的手与触摸显示屏的接触面积和形状,确定电子设备的触摸显示屏的第一区域301、第二区域302和用户的位置关系。当物理状态监测模块确定第二区域302是面对用户的显示屏区域,第一区域301是用户手持电子设备时面对手的显示屏,将电子设备的状态信息上报到应用程序框架层的显示策略管理模块,显示策略管理模块可以根据电子设备的状态信息制定显示策略。此时的显示策略包括点亮第二区域302,并熄灭第一区域301,并将该显示策略通知道应用程序框架层的通知管理器、窗口管理器以及应用程序层的皮肤模块等,从而实现自动点亮第二区域302,并熄灭第一区域301。
此外,物理状态监测模块还可以记录电子设备的显示状态,例如0代表第一区域301显示,1代表第二区域302显示,2为大屏显示;还可以记录电子设备的屏幕点亮状态,例如0代表第一区域301点亮,1代表第二区域302点亮,2为大屏点亮。
当用户要对当前的屏幕显示状态进行更改时,如图9中介绍的方法,可以通过双击灭屏区域进行更改。触摸传感器获取用户的触摸操作,物理状态监测模块根据传感器上报的触摸操作识别该触摸操作是双击操作,对记录的电子设备的显示状态进行赋值和修正,计算出当前应该激活哪个屏,并将显示状态输出到应用程序框架层层的窗口管理系统,控制触摸显示屏的点亮或者熄灭。前述图8中还介绍了一种控制屏幕显示的方法,该方法可以在电子设备的形态从展开形态到折叠形态的变化过程中,可以根据加速度传感器和陀螺仪传感器的数据确定电子设备的移动方式,从而根据电子设备的移动方式确定面对用户的显示屏和用户手持电子设备时面向手的显示屏,自动点亮面对用户的显示屏,熄灭电子设备的面向手的显示屏。在确定电子设备的移动方式的过程中,可以先从传感器获取相应的数据。
下面将结合图12和图13具体介绍确定电子设备的移动方式的方法。图12是本申请实施例提供的控制屏幕显示的方法的示意图,以半折叠形态的电子设备为例,建立如图12所示的坐标系,其中分别对触摸显示屏的两侧分别建立坐标系,X
1-Y
1-Z
1和X
2-Y
2-Z
2。其中,坐标系X
1-Y
1-Z
1可以记做b
1(body frame1),b
1是以触摸显示屏的长边为X轴,短边为Y轴,以垂直于第二区域302的直线为Z轴的坐标系。坐标系X
2-Y
2-Z
2可以记做b
2(body frame2),b
2是以触摸显示屏的长边为X轴,短边为Y轴,以垂直于A屏302的直线为Z轴。因此,两个坐标系的Y
1轴和Y
2轴之间的夹角θ
y=0,X
1轴和X
2轴之间的夹角为θ
x,Z
1轴和Z
2轴之间的夹角θ
z,即θ
x=θ
z=θ。
在通过TP模块检测用户的握姿之前,电子设备可以先确定当前的物理状态。图13是本申请实施例提供的一例确定电子设备物理状态的流程示意图。该方法可以包括以下步骤:1201,根据加速度传感(acceleration sensor)和陀螺仪传感器(gravity sensor),获取六轴数据;1202,根据获取的六轴数据进行静止判断;1203,当根据获取的六轴数据判断电子设备为静止状态时,同步去零偏;1204,当根据获取的六轴数据判断电子设备为非静止状态时,同步提取电子设备的重力;1205,四元数Q
1和Q
2独立更新;1206,计算两套姿态角;1207,判断姿态角是否接近90度;1208,当姿态角接近90度时,四元数Q
1和Q
2独立更新;1209,当姿态角未在接近90度的范围内时,计算旋转矩阵
和
1210,计算相对横滚角roll;1211,通过旋转矩阵计算四元数Q
1和Q
2。
其中,六轴数据可以包括加速度传感器测量的加速度和陀螺仪传感器测量的重力分别在图11所示的坐标系X
1-Y
1-Z
1和X
2-Y
2-Z
2的每个坐标轴上的数据分量,例如加速度传感器测量的加速度在每个坐标轴上的分量可以包括a
x1、a
y1、a
z1、a
x2、a
y2、a
z2;陀螺仪传感器测量的重力在每个坐标轴上的分量可以包括g
x1、g
y1、g
z1、g
x2、g
y2、g
z2。
电子设备可以通过以上列举的分量判断在对应的坐标轴的方向上是否静止。例如,当a
x1=0,就可以判断在坐标系b
1中,X
1方向上的加速度为0,X
1方向上为静止状态。同理,根据其他六轴数据可以判断电子设备的静止、折叠或者翻转等状态。
应理解,去零偏主要是为了提供初始状态0角度的校准,去零偏可以提高静止判断过程的精确度。如果不去零偏,会影响后续电子设备物理状态变化过程中角度计算的精确度。
还应理解,四元数还可以称为四维向量,用于表征三维空间的任意旋转,例如,四元 数可以表示为
其中(i,j,k)为单位向量。姿态角可以理解为两个屏幕的夹角,重力提取求解俯仰角(pitch)、横滚角(roll)和航向角(yaw),pitch/roll/yaw组合姿态角,可以通过旋转矩阵求得。四元数独立更新的目的是从传感器独立获取原始计算代入参数,第二次四元数独立更新需要判定yaw的绝对值是否接近90度,X是误差范围。当yaw的绝对值在(90±X)度的范围内时,更新四元数Q
1和Q
2。
应理解,这里旋转矩阵可以指一个向量的方向余弦矩阵。在解析几何中,一个向量的三个方向的余弦分别是该向量与三个坐标轴之间的角度的余弦,两个向量之间的方向余弦指的是这两个向量之间,三个坐标轴中的每个坐标轴之间的角度的余弦。方向余弦矩阵可以用来表达一组标准正交基与另一组标准正交基之间的关系,也可以用来表达一个向量对于另一组标准正交基的方向余弦。在本申请中,方向余弦矩阵可以是由两组不同的标准正交基的基底向量之间的方向余弦所形成的矩阵。
此外,n为地理坐标系,在地里坐标系中,x方向指向西,y方向指向北,z方向指向天空方向与地面保持垂直。
可以表示从b
1到n的方向余弦矩阵,
里面包含的是电子设备的b
1坐标系的一侧相对于水平面的姿态角。同理,
可以表示从b
2到n的方向余弦矩阵,
里面包含的是电子设备的b
2坐标系的一侧相对于水平面的姿态角。
可以表示b
1和b
2之间的方向余弦矩阵,描述了b
1到b
2的旋转关系。可以认为就是触摸显示屏在折叠过程中,第二区域302相对于第一区域301的姿态角,还可以称为开合角度,然后求两个屏幕的夹角θ。
在1210中,计算相对横滚角roll时,可以通过以下公式(2)进行计算。
其中,atan2是对应matlab里面的函数,大写的C代表的是两个坐标系间的旋转矩阵,对应的下标数字是相应的矩阵元素。
通过以上过程,可以确定电子设备所处的物理状态的切换过程,例如确定电子设备的开合角度,从而判断电子设备的折叠形态、半折叠形态和展开形态。此外,还可以确定电子设备是否发生了翻转等场景切换过程,从而再结合触摸显示屏上检测的用户触摸手形等确定电子设备面对用户的显示屏和面对用户的手的显示屏,并自动点亮面用户的显示屏,熄灭面对用户的手的显示屏,实现自动控制触摸显示屏的点亮和熄灭过程。
综上所述,本申请提供的控制屏幕显示的方法可以通过电源键、触摸显示屏的触控器件以及传感器的多个组件的协同配合,实现智能的点亮或熄灭电子设备的显示屏,并实现点亮和熄灭、以及触摸显示屏的点亮部分之间的智能切换,弥补了单个组件在不同的场景下的不足,实现了无缝切换,可以提升多屏手机的折叠体验。
结合上述实施例及相关附图,本申请实施例提供了一种控制屏幕显示的方法,该方法可以在如图1、图2所示的具有触摸屏和摄像头的电子设备(例如手机、平板电脑等)中实现。图14是本申请实施例提供的控制屏幕显示的方法的示意性流程图,如图14所示, 该方法可以包括以下步骤:
1401,当该触摸显示屏处于折叠形态时,在该触摸显示屏检测用户的第一触摸操作。
在一种可能的实施例中,可以根据角度传感器获取的该第一区域和该第二区域之间的夹角,确定该第一区域和该第二区域之间的夹角是否小于或等于该第一阈值;响应于确定第一区域和该第二区域之间的夹角小于或等于该第一阈值,该电子设备确定该触摸显示屏处于折叠形态。
示例性的,在图3和图4中介绍了本申请中对触摸显示屏的物理形态的划分,可以根据电子设备100的角度传感器180M获取触摸显示屏的第一区域和第二区域之间的夹角,从而根据第一区域和第二区域之间的夹角的范围确定触摸显示屏的物理形态。例如这里的第一阈值可以对应前述的第一角度α,此处不再赘述。
在另一种可能的实施例中,在该第一区域检测用户的第一触摸操作之前,该方法还包括:在电源键检测用户的按压操作。
应理解,当电子设备处于锁屏且熄灭的状态下,触摸传感器和压力传感器可以处于休眠模式,本申请中对用户的触摸操作的检测可以通过电源键进行触发。例如,当用户按下电源键,电子设备开始在触摸显示屏上检测用户的触摸操作,本申请对触发电子设备检测用户的触摸操作的方式不做限定。
还应理解,第一触摸操作对应图6中用户手持电子设备100,用户的手与电子设备的触摸显示屏的接触操作。通过触摸传感器和压力传感器可以检测该用户的触摸操作在触摸显示屏的不同区域上产生不同的接触面积。例如,在第一区域301上的第一接触面积为S
1,在第二区域302上的第二接触面积为S
2。
还应理解,前述图6的描述中讲侧边屏区域称为第三区域,在本申请中,还可以将第三区域划分到第一区域,或者将第三区域划分到第二区域,或者将第三区域沿中轴线分别平分到第一区域和第二区域。因为第三区域占触摸显示屏的比例很小,且在用户手持电子设备过程中,第三区域的接触面积较小,因此对第三区域的接触面积不做限定。
1402,根据该第一触摸操作,确定该第一区域的第一触摸面积是否大于或等于该第二区域的第二触摸面积。
在一种可能的实施例中,根据不同的用户使用习惯,第二区域的第二接触面积可以为零。
在一种可能的实施例中,该第一触摸面积与该第二面触摸面积的差值大于或等于第二阈值。
1403,响应于确定出该第一触摸面积大于或等于该第二触摸面积时,该电子设备熄灭该第一区域,且在该第二区域显示该第一界面。
在一种可能的实施例中,在该第一区域上检测用户的第二触摸操作;根据该第二触摸操作,点亮该第一区域。
示例性的,该第二触摸操作可以如图9中的(a)图所示的双击操作,用户可以通过双击操作对触摸显示屏的点亮与熄灭进行修正。
在一种可能的实施例中,当该触摸显示屏从折叠形态切换到该展开形态时,根据加速度传感器获取该第一区域的加速度和该第二区域的加速度;根据该第一区域的加速度,确定该第一区域的运动方向;根据该第二区域的加速度,确定该第二区域的运动方向;根据第一区域的运动方向和第二区域的运动方向,点亮该第一区域。
示例性的,如图8中的(b)图示出的折叠形态到(a)图示出的展开形态过程,可以根据第一区域和第二区域的运动方向判断电子设备将进入展开形态,可以将原熄灭的第一区域进行点亮。本申请对第一区域点亮后显示的界面不做限定,例如,第一区域被点亮后,可以和第二区域作为一个整体,共同显示原第二区域显示的界面;或者第一区域被点亮后,显示手机的主界面;又或者,第一区域被点亮后,与第二区域显示的界面相同,用户可以对界面显示的方式进行变更操作。
在另一种可能的实施例中,当该触摸显示屏从折叠形态切换到该展开形态时,除了上述介绍的根据第一区域的运动方向和第二区域的运动方向判断之外,还可以进一步根据角度传感器获取第一区域和第二区域之间的夹角,确定触摸显示屏处于展开形态,点亮第一区域。
在另一种可能的实施例中,当该触摸显示屏从展开形态切换到该折叠形态时,根据加速度传感器获取该第一区域的加速度和该第二区域的加速度;根据该第一区域的加速度,确定该第一区域的运动方向;根据该第二区域的加速度,确定该第二区域的运动方向;根据陀螺仪传感器获取的该电子设备的姿态角;根据该第一区域的运动方向、该第二区域的运动方向和该电子设备的姿态角,确定该第二区域是面对用户的区域;熄灭第一区域。
示例性的,如图8中的(a)图示出的展开形态到(b)图示出的折叠形态的过程,具体的判断参加图8中的过程,此处不再赘述。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图15示出了上述实施例中涉及的电子设备1500的一种可能的组成示意图,如图15所示,该电子设备1500可以包括:显示单元1501、检测单元1502和处理单元1503。
其中,在本申请中,显示单元1501可以对应于图1中由显示屏194和触摸传感器180K组成的可折叠的触摸显示屏,检测单元1501可以对应图1中的传感器模块180所包括的多个传感器,处理单元1503可以对应于图1中的处理器110,各个单元还可以包括更多的模块,本申请对此不做限定。
其中,显示单元1501可以用于支持电子设备1500执行上述步骤1403等,和/或用于本文所描述的技术的其他过程。
检测单元1502可以用于支持电子设备1500执行上述步骤1401等,和/或用于本文所描述的技术的其他过程。
处理单元1503可以用于支持电子设备1500执行上述步骤1402等,和/或用于本文所描述的技术的其他过程。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
本实施例提供的电子设备,用于执行上述控制屏幕显示的方法,因此可以达到与上述实现方法相同的效果。
在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述显示单元1501、检测单元1502和处理单元1503执行的步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的控制屏幕显示的方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的控制屏幕显示的方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的控制屏幕显示的方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同 地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线digital subscriber line(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk(SSD))等。
本专利申请文件的一部分包含受著作权保护的内容。除了对专利局的专利文件或记录的专利文档内容制作副本以外,著作权人保留著作权。
Claims (13)
- 一种控制屏幕显示的方法,其特征在于,应用于配置有可折叠的触摸显示屏的电子设备,所述触摸显示屏显示第一界面,且所述触摸显示屏包括第一区域和第二区域,所述方法包括:当所述触摸显示屏处于折叠形态时,在所述触摸显示屏检测用户的第一触摸操作;响应于检测到的所述第一触摸操作,确定所述触摸显示屏的第一区域的第一触摸面积是否大于或等于所述触摸显示屏的第二区域的第二触摸面积;响应于确定出所述第一触摸面积大于或等于所述第二触摸面积时,所述电子设备熄灭所述第一区域,且在所述第二区域显示所述第一界面。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:当所述触摸显示屏从折叠形态切换到所述展开形态时,根据加速度传感器获取所述第一区域的加速度和所述第二区域的加速度;根据所述第一区域的加速度,确定所述第一区域的运动方向;根据所述第二区域的加速度,确定所述第二区域的运动方向;根据所述第一区域的运动方向和所述第二区域的运动方向,点亮所述第一区域。
- 根据权利要求1或2所述的方法,其特征在于,所述触摸显示屏处于折叠形态具体包括:根据角度传感器获取的所述第一区域和所述第二区域之间的夹角;确定所述第一区域和所述第二区域之间的夹角是否小于或等于所述第一阈值;响应于确定第一区域和所述第二区域之间的夹角小于或等于所述第一阈值,所述电子设备确定所述触摸显示屏处于折叠形态。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一触摸面积与所述第二面触摸面积的差值大于或等于第二阈值。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:在所述第一区域上检测用户的第二触摸操作;根据所述第二触摸操作,点亮所述第一区域。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述在所述第一区域检测用户的第一触摸操作之前,所述方法还包括:在电源键检测用户的按压操作。
- 一种电子设备,其特征在于,包括:可折叠的触摸显示屏;一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:当所述触摸显示屏处于折叠形态时,在所述触摸显示屏检测用户的第一触摸操作;响应于检测到的所述第一触摸操作,确定所述触摸显示屏的第一区域的第一触摸面积是否大于或等于所述触摸显示屏的第二区域的第二触摸面积;响应于确定出所述第一触摸面积大于或等于所述第二触摸面积时,所述电子设备熄灭 所述触摸显示屏的所述第一区域,且在所述触摸显示屏的所述第二区域显示第一界面。
- 根据权利要求7所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备还执行以下步骤:当所述触摸显示屏从折叠形态切换到所述展开形态时,根据加速度传感器获取所述第一区域的加速度和所述第二区域的加速度;根据所述第一区域的加速度,确定所述第一区域的运动方向;根据所述第二区域的加速度,确定所述第二区域的运动方向;根据所述第一区域的运动方向和所述第二区域的运动方向,点亮所述第一区域。
- 根据权利要求7或8所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备还执行以下步骤:根据角度传感器获取的所述第一区域和所述第二区域之间的夹角;确定所述第一区域和所述第二区域之间的夹角是否小于或等于所述第一阈值;响应于确定第一区域和所述第二区域之间的夹角小于或等于所述第一阈值,所述电子设备确定所述触摸显示屏处于折叠形态。
- 根据权利要求7至9中任一项所述的电子设备,其特征在于,所述第一触摸面积与所述第二面触摸面积的差值大于或等于第二阈值。
- 根据权利要求7至10中任一项所述的电子设备,其特征在于,所述第一触摸面积与所述第二面触摸面积的差值大于或等于第二阈值。
- 根据权利要求7至11中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备还执行以下步骤:在所述第一区域上检测用户的第二触摸操作;根据所述第二触摸操作,点亮所述第一区域。
- 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至6中任一项所述的控制屏幕显示的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099124.2A CN109840061A (zh) | 2019-01-31 | 2019-01-31 | 控制屏幕显示的方法及电子设备 |
CN201910099124.2 | 2019-01-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020155876A1 true WO2020155876A1 (zh) | 2020-08-06 |
Family
ID=66884374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/125050 WO2020155876A1 (zh) | 2019-01-31 | 2019-12-13 | 控制屏幕显示的方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109840061A (zh) |
WO (1) | WO2020155876A1 (zh) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112190247A (zh) * | 2020-10-30 | 2021-01-08 | 苏州多感科技有限公司 | 心率检测方法、心率检测装置以及移动终端 |
TWI755020B (zh) * | 2020-08-13 | 2022-02-11 | 財團法人亞洲大學 | 應用程式監控分析系統 |
CN114077374A (zh) * | 2021-11-10 | 2022-02-22 | 中国建设银行股份有限公司 | 折叠屏设备的控制方法、装置、设备、介质和程序产品 |
CN115016628A (zh) * | 2021-12-09 | 2022-09-06 | 荣耀终端有限公司 | 一种电子设备的控制方法及电子设备 |
CN115077460A (zh) * | 2021-11-19 | 2022-09-20 | 荣耀终端有限公司 | 合页角度的检测方法及相关设备 |
CN115658218A (zh) * | 2022-09-09 | 2023-01-31 | 北京百度网讯科技有限公司 | 边缘设备接入云端的方法、装置、设备以及存储介质 |
CN116055597A (zh) * | 2022-08-08 | 2023-05-02 | 荣耀终端有限公司 | 一种折叠角度的检测方法及电子设备 |
CN115167616B (zh) * | 2022-06-07 | 2023-05-30 | 荣耀终端有限公司 | 显示控制方法及装置 |
CN116414185A (zh) * | 2021-12-29 | 2023-07-11 | 荣耀终端有限公司 | 可折叠电子设备 |
EP4113261A4 (en) * | 2021-05-21 | 2023-08-23 | Honor Device Co., Ltd. | DISPLAY SCREEN CONTROL METHOD AND ELECTRONIC DEVICE |
WO2024017332A1 (zh) * | 2022-07-22 | 2024-01-25 | 华为技术有限公司 | 控制部件的方法及相关装置 |
CN117519864A (zh) * | 2023-09-19 | 2024-02-06 | 荣耀终端有限公司 | 界面显示方法、电子设备及存储介质 |
WO2024032124A1 (zh) * | 2022-08-10 | 2024-02-15 | Oppo广东移动通信有限公司 | 卷轴屏开合方法及相关产品 |
CN117714568A (zh) * | 2023-06-21 | 2024-03-15 | 荣耀终端有限公司 | 屏幕显示方法、设备及存储介质 |
EP4212999A4 (en) * | 2021-12-01 | 2024-06-19 | Honor Device Co., Ltd. | METHOD AND DEVICE FOR PREVENTING ACCIDENTAL CONTACT |
Families Citing this family (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840061A (zh) * | 2019-01-31 | 2019-06-04 | 华为技术有限公司 | 控制屏幕显示的方法及电子设备 |
CN110286865B (zh) * | 2019-06-20 | 2022-09-09 | 上海摩软通讯技术有限公司 | 一种触摸屏的显示方法及电子设备 |
CN110286834A (zh) * | 2019-06-20 | 2019-09-27 | Oppo(重庆)智能科技有限公司 | 显示控制方法及相关设备 |
CN110211504B (zh) * | 2019-06-28 | 2021-08-31 | 武汉天马微电子有限公司 | 柔性可折叠显示装置 |
CN110401773B (zh) * | 2019-07-22 | 2021-03-02 | Oppo广东移动通信有限公司 | 屏幕状态的控制方法及相关装置 |
CN110602273B (zh) | 2019-08-05 | 2021-06-08 | 华为技术有限公司 | 一种消息显示方法、电子设备及计算机可读存储介质 |
CN110430270B (zh) * | 2019-08-08 | 2022-03-25 | 网易(杭州)网络有限公司 | 载具数据的同步方法及装置 |
CN113366422A (zh) * | 2019-08-15 | 2021-09-07 | 深圳市柔宇科技股份有限公司 | 移动应用的显示控制方法及电子设备 |
CN115297199A (zh) | 2019-08-30 | 2022-11-04 | 华为技术有限公司 | 一种具有折叠屏的设备的触控方法与折叠屏设备 |
CN110806829B (zh) * | 2019-09-05 | 2021-05-11 | 华为技术有限公司 | 一种具有折叠屏的设备的显示方法及折叠屏设备 |
CN110568966A (zh) * | 2019-09-12 | 2019-12-13 | 云谷(固安)科技有限公司 | 显示面板、移动终端和移动终端显示界面的调整方法 |
CN110531864A (zh) * | 2019-09-18 | 2019-12-03 | 华为技术有限公司 | 一种手势交互方法、装置及终端设备 |
CN110798568B (zh) * | 2019-09-30 | 2022-01-14 | 华为技术有限公司 | 具有折叠屏的电子设备的显示控制方法及电子设备 |
CN112583957A (zh) * | 2019-09-30 | 2021-03-30 | 华为技术有限公司 | 电子设备的显示方法、电子设备与计算机可读存储介质 |
CN110807992B (zh) * | 2019-11-08 | 2021-09-03 | 华勤技术股份有限公司 | 一种电子设备及其控制方法 |
CN112860359A (zh) * | 2019-11-28 | 2021-05-28 | 华为技术有限公司 | 一种折叠屏的显示方法及相关装置 |
CN111182137A (zh) * | 2019-12-19 | 2020-05-19 | 华为技术有限公司 | 具有柔性屏幕的电子设备的显示方法和电子设备 |
CN111145645B (zh) * | 2019-12-20 | 2022-01-28 | 维沃移动通信有限公司 | 显示模组及电子设备 |
CN111182100A (zh) * | 2019-12-31 | 2020-05-19 | 网易(杭州)网络有限公司 | 折叠屏控制方法及装置 |
CN111262975B (zh) * | 2020-01-08 | 2021-06-08 | 华为技术有限公司 | 亮屏控制方法、电子设备、计算机可读存储介质和程序产品 |
CN111475077A (zh) * | 2020-02-04 | 2020-07-31 | 华为技术有限公司 | 显示控制方法及电子设备 |
CN113518150A (zh) * | 2020-03-26 | 2021-10-19 | 荣耀终端有限公司 | 一种终端设备的显示方法与终端设备 |
CN111580904B (zh) * | 2020-04-20 | 2023-05-16 | 北京小米移动软件有限公司 | 显示状态切换方法、显示状态切换装置及存储介质 |
CN111562811B (zh) * | 2020-04-27 | 2022-09-02 | 维沃移动通信有限公司 | 电子设备及触控操作的控制方法 |
CN113625865B (zh) * | 2020-05-07 | 2023-06-06 | 华为技术有限公司 | 屏幕状态的控制方法及电子设备 |
CN113703519A (zh) * | 2020-05-21 | 2021-11-26 | 北京小米移动软件有限公司 | 折叠屏姿态确定方法、装置及存储介质 |
CN113760079A (zh) * | 2020-06-02 | 2021-12-07 | Oppo广东移动通信有限公司 | 屏幕控制方法、装置、移动终端及存储介质 |
CN113900744B (zh) * | 2020-06-22 | 2024-10-18 | 深圳市万普拉斯科技有限公司 | 屏幕显示方法、装置、终端和计算机可读存储介质 |
CN112099574A (zh) * | 2020-09-23 | 2020-12-18 | 北京小米移动软件有限公司 | 显示屏状态的确定方法、装置、电子设备和存储介质 |
CN112328008B (zh) * | 2020-11-12 | 2023-08-11 | 维沃移动通信有限公司 | 显示屏的控制方法、装置及电子设备 |
CN112527152B (zh) * | 2020-12-18 | 2023-01-06 | Oppo(重庆)智能科技有限公司 | 触控区域控制方法、装置、触控系统以及电子设备 |
CN112860014B (zh) * | 2021-02-04 | 2024-05-07 | 维沃移动通信有限公司 | 电子设备、信息显示方法及可读存储介质 |
CN115238255A (zh) * | 2021-04-22 | 2022-10-25 | 华为技术有限公司 | 解锁方法及电子设备 |
CN115933952B (zh) * | 2021-08-28 | 2023-11-24 | 荣耀终端有限公司 | 一种触控采样率调节方法及相关装置 |
CN113900615A (zh) * | 2021-09-17 | 2022-01-07 | 北京鲸鲮信息系统技术有限公司 | 分屏模式下的数据分享方法、装置、电子设备和存储介质 |
CN114415816A (zh) * | 2021-11-30 | 2022-04-29 | 荣耀终端有限公司 | 一种息屏显示方法及电子设备 |
CN114816196B (zh) * | 2022-03-30 | 2024-04-05 | 西安中诺通讯有限公司 | 折叠屏终端屏幕亮度调节的方法、装置、终端及存储介质 |
CN115037834B (zh) * | 2022-08-09 | 2023-02-07 | 荣耀终端有限公司 | 一种触发皮套模式的方法及电子设备 |
CN117707449A (zh) * | 2023-05-19 | 2024-03-15 | 荣耀终端有限公司 | 显示控制方法及相关设备 |
CN116567141B (zh) * | 2023-07-10 | 2023-11-07 | 荣耀终端有限公司 | 数据处理方法和电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9007319B2 (en) * | 2012-10-08 | 2015-04-14 | Samsung Display Co., Ltd. | Method and apparatus for controlling display area of flexible display device, and recording medium storing the same |
US20170365197A1 (en) * | 2015-08-31 | 2017-12-21 | Lg Display Co., Ltd. | Foldable Display Apparatus |
CN107765835A (zh) * | 2017-11-07 | 2018-03-06 | 广东欧珀移动通信有限公司 | 点亮屏幕的方法、装置及终端 |
CN107831999A (zh) * | 2017-11-07 | 2018-03-23 | 广东欧珀移动通信有限公司 | 屏幕控制方法、装置及终端 |
CN109840061A (zh) * | 2019-01-31 | 2019-06-04 | 华为技术有限公司 | 控制屏幕显示的方法及电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107273016A (zh) * | 2017-05-27 | 2017-10-20 | 青岛海信移动通信技术股份有限公司 | 双屏终端的屏幕唤醒方法及装置 |
CN107807760A (zh) * | 2017-10-24 | 2018-03-16 | 广东欧珀移动通信有限公司 | 屏幕显示方法及装置 |
CN107765971A (zh) * | 2017-10-24 | 2018-03-06 | 广东欧珀移动通信有限公司 | 用户界面显示方法及设备 |
CN107871121B (zh) * | 2017-11-07 | 2020-04-14 | Oppo广东移动通信有限公司 | 一种指纹识别的方法和装置 |
CN108459797B (zh) * | 2018-01-23 | 2020-03-17 | 维沃移动通信有限公司 | 一种折叠屏的控制方法及移动终端 |
-
2019
- 2019-01-31 CN CN201910099124.2A patent/CN109840061A/zh active Pending
- 2019-12-13 WO PCT/CN2019/125050 patent/WO2020155876A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9007319B2 (en) * | 2012-10-08 | 2015-04-14 | Samsung Display Co., Ltd. | Method and apparatus for controlling display area of flexible display device, and recording medium storing the same |
US20170365197A1 (en) * | 2015-08-31 | 2017-12-21 | Lg Display Co., Ltd. | Foldable Display Apparatus |
CN107765835A (zh) * | 2017-11-07 | 2018-03-06 | 广东欧珀移动通信有限公司 | 点亮屏幕的方法、装置及终端 |
CN107831999A (zh) * | 2017-11-07 | 2018-03-23 | 广东欧珀移动通信有限公司 | 屏幕控制方法、装置及终端 |
CN109840061A (zh) * | 2019-01-31 | 2019-06-04 | 华为技术有限公司 | 控制屏幕显示的方法及电子设备 |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI755020B (zh) * | 2020-08-13 | 2022-02-11 | 財團法人亞洲大學 | 應用程式監控分析系統 |
CN112190247A (zh) * | 2020-10-30 | 2021-01-08 | 苏州多感科技有限公司 | 心率检测方法、心率检测装置以及移动终端 |
EP4113261A4 (en) * | 2021-05-21 | 2023-08-23 | Honor Device Co., Ltd. | DISPLAY SCREEN CONTROL METHOD AND ELECTRONIC DEVICE |
CN114077374A (zh) * | 2021-11-10 | 2022-02-22 | 中国建设银行股份有限公司 | 折叠屏设备的控制方法、装置、设备、介质和程序产品 |
CN115077460A (zh) * | 2021-11-19 | 2022-09-20 | 荣耀终端有限公司 | 合页角度的检测方法及相关设备 |
EP4212999A4 (en) * | 2021-12-01 | 2024-06-19 | Honor Device Co., Ltd. | METHOD AND DEVICE FOR PREVENTING ACCIDENTAL CONTACT |
CN115016628B (zh) * | 2021-12-09 | 2023-06-27 | 荣耀终端有限公司 | 一种电子设备的控制方法及电子设备 |
CN115016628A (zh) * | 2021-12-09 | 2022-09-06 | 荣耀终端有限公司 | 一种电子设备的控制方法及电子设备 |
CN116414185A (zh) * | 2021-12-29 | 2023-07-11 | 荣耀终端有限公司 | 可折叠电子设备 |
CN116414185B (zh) * | 2021-12-29 | 2024-03-12 | 荣耀终端有限公司 | 可折叠电子设备 |
CN115167616B (zh) * | 2022-06-07 | 2023-05-30 | 荣耀终端有限公司 | 显示控制方法及装置 |
WO2024017332A1 (zh) * | 2022-07-22 | 2024-01-25 | 华为技术有限公司 | 控制部件的方法及相关装置 |
CN116055597A (zh) * | 2022-08-08 | 2023-05-02 | 荣耀终端有限公司 | 一种折叠角度的检测方法及电子设备 |
CN116055597B (zh) * | 2022-08-08 | 2023-11-14 | 荣耀终端有限公司 | 一种折叠角度的检测方法及电子设备 |
WO2024032124A1 (zh) * | 2022-08-10 | 2024-02-15 | Oppo广东移动通信有限公司 | 卷轴屏开合方法及相关产品 |
CN115658218A (zh) * | 2022-09-09 | 2023-01-31 | 北京百度网讯科技有限公司 | 边缘设备接入云端的方法、装置、设备以及存储介质 |
CN117714568A (zh) * | 2023-06-21 | 2024-03-15 | 荣耀终端有限公司 | 屏幕显示方法、设备及存储介质 |
CN117519864A (zh) * | 2023-09-19 | 2024-02-06 | 荣耀终端有限公司 | 界面显示方法、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN109840061A (zh) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020155876A1 (zh) | 控制屏幕显示的方法及电子设备 | |
WO2021227770A1 (zh) | 应用窗口显示方法和电子设备 | |
WO2020187157A1 (zh) | 一种控制方法和电子设备 | |
WO2020168970A1 (zh) | 一种控制屏幕显示的方法和电子设备 | |
WO2021244443A1 (zh) | 分屏显示方法、电子设备及计算机可读存储介质 | |
WO2020253758A1 (zh) | 一种用户界面布局方法及电子设备 | |
WO2021063237A1 (zh) | 电子设备的控制方法及电子设备 | |
CN110476189B (zh) | 用于在电子装置中提供增强现实功能的方法和设备 | |
WO2021063098A1 (zh) | 一种触摸屏的响应方法及电子设备 | |
WO2022042285A1 (zh) | 一种应用程序界面显示的方法及电子设备 | |
WO2020168976A1 (zh) | 灭屏显示的方法和电子设备 | |
WO2021082564A1 (zh) | 一种操作提示的方法和电子设备 | |
WO2021121335A1 (zh) | 具有柔性屏幕的电子设备的显示方法和电子设备 | |
WO2021057203A1 (zh) | 一种操作方法和电子设备 | |
WO2021008589A1 (zh) | 一种应用的运行方法及电子设备 | |
WO2021078032A1 (zh) | 用户界面的显示方法及电子设备 | |
WO2021190524A1 (zh) | 截屏处理的方法、图形用户接口及终端 | |
WO2021213449A1 (zh) | 一种触控操作方法及设备 | |
WO2021000943A1 (zh) | 一种指纹开关的管理方法及装置 | |
WO2022052712A1 (zh) | 处理交互事件的方法和装置 | |
WO2022213831A1 (zh) | 一种控件显示方法及相关设备 | |
WO2022228042A1 (zh) | 显示方法、电子设备、存储介质和程序产品 | |
WO2024067551A1 (zh) | 界面显示方法及电子设备 | |
WO2024032124A1 (zh) | 卷轴屏开合方法及相关产品 | |
WO2022247614A1 (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: 19912494 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19912494 Country of ref document: EP Kind code of ref document: A1 |