WO2020168977A1 - 屏幕控制方法、电子设备及存储介质 - Google Patents

屏幕控制方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2020168977A1
WO2020168977A1 PCT/CN2020/075066 CN2020075066W WO2020168977A1 WO 2020168977 A1 WO2020168977 A1 WO 2020168977A1 CN 2020075066 W CN2020075066 W CN 2020075066W WO 2020168977 A1 WO2020168977 A1 WO 2020168977A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
screen
physical form
button
user
Prior art date
Application number
PCT/CN2020/075066
Other languages
English (en)
French (fr)
Inventor
张子曰
熊刘冬
丁宁
张超
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to KR1020217025447A priority Critical patent/KR102422114B1/ko
Priority to BR112021015822-7A priority patent/BR112021015822A2/pt
Priority to EP23179474.4A priority patent/EP4293483A3/en
Priority to MYPI2021004072A priority patent/MY190072A/en
Priority to US17/433,202 priority patent/US20220121413A1/en
Priority to ES20758543T priority patent/ES2960211T3/es
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2021549389A priority patent/JP7244666B2/ja
Priority to EP20758543.1A priority patent/EP3901753B1/en
Priority to AU2020224197A priority patent/AU2020224197B2/en
Publication of WO2020168977A1 publication Critical patent/WO2020168977A1/zh
Priority to ZA2021/04987A priority patent/ZA202104987B/en
Priority to AU2022256138A priority patent/AU2022256138B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1647Details related to the display arrangement, including those related to the mounting of the display in the housing including at least an additional display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1681Details related solely to hinges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/061Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using biological neurons, e.g. biological neurons connected to an integrated circuit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2356/00Detection of the display position w.r.t. other display screens
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2380/00Specific applications
    • G09G2380/02Flexible displays

Definitions

  • the embodiments of the present application relate to the technical field of electronic equipment, and in particular to a screen control method, electronic equipment, and storage medium.
  • foldable electronic devices have appeared on the market.
  • the foldable electronic devices usually have an inner screen and an outer screen, and the electronic device can use the inner screen to fold or unfold the electronic device.
  • the existing lock screen buttons can only control the on and off of the inner screen.
  • the existing volume button only controls the volume display bar of the inner screen.
  • the volume display bar is only displayed on the inner screen and cannot be displayed on the outer screen, so that the user cannot see the volume display bar.
  • the existing combined screenshot button is only used to take a screenshot of the internal screen.
  • the existing screen control method causes many misoperations, thereby reducing the reliability of the electronic device.
  • This application provides a screen control method, electronic equipment and storage medium. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • an embodiment of the present application provides a screen control method.
  • the electronic device includes a first screen and a second screen.
  • the first screen is a folding screen, and the electronic device can use the first screen to fold or unfold the electronic device.
  • the method includes: the electronic device detects the operation for the function key; in response to the detected operation, the electronic device determines the physical form of the electronic device; the electronic device controls the first screen or the second screen according to the operation and the physical form of the electronic device. Therefore, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the function keys.
  • the electronic device when the electronic device is in the first physical form, the electronic device can control the second screen through the function keys, and when the electronic device is in the second physical form, the electronic device can control the first screen through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • the electronic device determining the physical form of the electronic device includes: the electronic device obtains the included angle of the first screen at the fold; the electronic device determines the physical form of the electronic device according to the included angle of the first screen at the fold form. Wherein, if the included angle of the first screen at the fold is less than or equal to the preset angle, the physical form of the electronic device is determined to be the first physical form; if the included angle of the first screen at the fold is greater than the preset angle, then the electronic The physical form of the device is the second physical form.
  • the method for the electronic device to determine the included angle includes: the electronic device determines the normal vector of one screen in the first screen and the normal vector of the other screen in the first screen; the electronic device determines the normal vector of one screen in the first screen and the first screen. The angle between the normal vector of the other screen in the screen; the electronic device calculates the difference between 180 degrees and the angle between the normal vector of one screen in the first screen and the normal vector of the other screen in the first screen to obtain that the first screen is folding The included angle.
  • the preset angle is 0 degrees.
  • the electronic device determining the physical form of the electronic device includes: the electronic device obtains the operation of the target button on the electronic device; the electronic device determines the electronic device according to the operation of the target button on the electronic device Physical form. Wherein, if the operation on the target button on the electronic device is the first operation, then the physical form of the electronic device is determined to be the first physical form; if the operation on the target button on the electronic device is the second operation, then the electronic device’s physical form is determined The physical form is the second physical form.
  • determining the physical form of the electronic device by the electronic device includes: the electronic device collects the user's line of sight information; the electronic device determines the physical form of the electronic device according to the user's line of sight information. Wherein, if the electronic device determines that the user's line of sight falls on the second screen according to the user's line of sight information, the physical form of the electronic device is determined to be the first physical form; if the electronic device determines that the user's line of sight falls on the first screen according to the user's line of sight information, then The physical form of the electronic device is determined to be the second physical form.
  • the electronic device can accurately determine its physical form.
  • the electronic device controls the first screen or the second screen according to the operation and the physical form of the electronic device, including: the electronic device responds to the operation; if the physical form of the electronic device is the first physical form, controlling the second screen of the electronic device Second screen; if the physical form of the electronic device is the second physical form, control the first screen of the electronic device. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • the function button is a screen lock button, a volume button, or a combined screenshot button.
  • An electronic device will be provided below, which can execute the above-mentioned screen control method, and its effects will not be described in detail below.
  • an embodiment of the present application provides an electronic device.
  • the electronic device includes a first screen and a second screen, where the first screen is a folding screen; the electronic device further includes function keys and a processor; the processor is used to: detect For the operation of the function keys; determine the physical form of the electronic device in response to the detected operation; control the first screen or the second screen according to the operation and the physical form of the electronic device.
  • the processor is specifically configured to: obtain the included angle of the first screen at the fold; and determine the physical form of the electronic device according to the included angle of the first screen at the fold.
  • the processor is specifically configured to: if the included angle of the first screen at the fold is less than or equal to the preset angle, determine that the physical form of the electronic device is the first physical form; if the included angle of the first screen at the fold is If the angle is greater than the preset angle, it is determined that the physical form of the electronic device is the second physical form.
  • each of the first screen and the second screen is configured with a gyroscope sensor; the processor is specifically configured to: determine the normal vector of a screen in the first screen through the gyroscope sensor of the first screen, and pass the gyroscope of the first screen
  • the instrument sensor determines the normal vector of the other screen in the first screen; determines the angle between the normal vector of one screen in the first screen and the normal vector of the other screen in the first screen; calculates the difference between 180 degrees and the normal vector of the first screen
  • the angle difference between the normal vector and the normal vector of the other screen in the first screen is the angle of the first screen at the fold.
  • the preset angle is 0 degrees.
  • the electronic device further includes: a target button; the processor is specifically configured to: obtain an operation on the target button on the electronic device; and determine the physical form of the electronic device according to the operation on the target button on the electronic device.
  • the processor is specifically configured to: if the operation on the target button on the electronic device is the first operation, determine that the physical form of the electronic device is the first physical form; if the operation on the target button on the electronic device is the first operation, The second operation determines that the physical form of the electronic device is the second physical form.
  • the processor is specifically configured to: collect the user's line of sight information; and determine the physical form of the electronic device according to the user's line of sight information.
  • the processor is specifically configured to: if the electronic device determines that the user's line of sight falls on the second screen according to the user's line of sight information, determine that the physical form of the electronic device is the first physical form; if the electronic device determines the user's line of sight according to the user's line of sight information If it falls on the first screen, it is determined that the physical form of the electronic device is the second physical form.
  • the processor is specifically configured to: respond to the operation; if the physical form of the electronic device is the first physical form, control the second screen of the electronic device; if the physical form of the electronic device is the second physical form, control the electronic device The first screen of the device.
  • an embodiment of the present application provides a computer storage medium, the computer storage medium includes computer instructions, and the computer instructions are used to implement the first aspect or the screen control method in an optional manner of the first aspect.
  • the effect refer to the effect corresponding to the first aspect or the optional manner of the first aspect.
  • an embodiment of the present application provides a computer program product, the program product including computer instructions, and the computer instructions are used to implement the first aspect or the screen control method in an optional manner of the first aspect.
  • the effect refer to the effect corresponding to the first aspect or the optional manner of the first aspect.
  • This application provides a screen control method, electronic equipment and storage medium. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the embodiments of the present application provide a screen control method, electronic device, and storage medium.
  • the electronic device includes a first screen and a second screen.
  • the first screen is a folding screen.
  • the method includes: the electronic device detects an operation on the function keys; in response to the detected operation, the electronic device determines the Physical form:
  • the electronic device controls the first screen or the second screen according to the operation and the physical form of the electronic device. Therefore, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • FIG. 1 shows a schematic structural diagram of an electronic device 101 (such as a mobile phone);
  • FIGS. 2 and 3 are schematic diagrams of electronic devices provided by embodiments of this application.
  • FIG. 4 is a flowchart of a screen control method provided by an embodiment of this application, and the execution subject of the method may be the above-mentioned electronic device;
  • 5A to 5F are schematic diagrams of electronic equipment provided by an embodiment of this application.
  • FIG. 6 is a schematic flowchart of a screen control method provided by another implementation of this application.
  • FIG. 7 is a schematic diagram of an electronic device provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of a geographic coordinate system established based on a gyroscope sensor according to an embodiment of the application.
  • FIG. 9 is a flowchart of a screen control method provided by still another embodiment of this application.
  • FIG. 10 is a flowchart of a screen control method provided by another embodiment of this application.
  • FIG. 11 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • references described in this specification to "one embodiment” or “some embodiments”, etc. mean that one or more embodiments of the present application include a specific feature, structure, or characteristic described in combination with the embodiment. Therefore, the phrases “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless it is specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variations all mean “including but not limited to” unless otherwise specifically emphasized.
  • the lock screen button can only control the on and off of the inner screen.
  • the lock screen button is used to control The brightness of the screen is almost meaningless to the user.
  • the volume button only controls the volume display bar of the inner screen.
  • the volume display bar is only displayed on the inner screen, but not on the outer screen, so that the user cannot see the volume display bar.
  • the combined screenshot button is only used to take a screenshot of the internal screen.
  • the electronic device is in the folded state, if the user wants to take a screenshot of the external screen, after pressing the combined screenshot button, the user obtains a screenshot of the internal screen.
  • the existing screen control method causes many misoperations, thereby reducing the reliability of the electronic device.
  • inventions of the present application provide a screen control method, device, electronic equipment, and storage medium.
  • the electronic devices involved in the embodiments of the present application may be portable electronic devices that also contain other functions such as personal digital assistants and/or music player functions, such as mobile phones, tablet computers, and wearable electronic devices with wireless communication functions (such as smart Watch) etc.
  • portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • FIG. 1 shows a schematic structural diagram of an electronic device 101 (such as a mobile phone).
  • the electronic device 101 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142 , Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc.
  • SIM Subscriber Identification Module
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 101.
  • the electronic device 101 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), and an image signal processor. (Image Signal Processor, ISP), controller, video codec, digital signal processor (Digital Signal Processor, DSP), baseband processor, and/or Neural-Network Processing Unit (NPU), etc.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the electronic device 101 may also include one or more processors 110.
  • the controller may be the nerve center and command center of the electronic device 101.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the electronic device 101 system.
  • the processor 110 may include one or more interfaces.
  • the interface can 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 (Universal Asynchronous) interface.
  • Receiver/Transmitter, UART Mobile Industry Processor Interface (MIPI), General-Purpose Input/Output (GPIO) interface, Subscriber Identity Module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
  • MIPI Mobile Industry Processor Interface
  • GPIO General-Purpose Input/Output
  • SIM Subscriber Identity Module
  • USB Universal Serial Bus
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used to transfer data between the electronic device 101 and peripheral devices. It can also be used to connect headphones and play audio through the headphones.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 101.
  • the electronic device 101 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 101. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device 101 through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 101 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 101 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 101.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier, etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 101 including Wireless Local Area Networks (WLAN), Bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), and Near Field Communication (Near Field Communication, NFC), infrared technology (Infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
  • the antenna 1 of the electronic device 101 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 101 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), and Broadband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), Global Navigation System (Global Navigation) Satellite System, GNSS), Wireless Local Area Networ (WLAN), NFC, FM, and/or IR technologies, etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Broadband Code Division Multiple Access
  • TD-SCDMA Time Division-Synchronous Code Division Multiple Access
  • LTE Long Term Evolution
  • GNSS Global Navigation System
  • WLAN Wireless Local Area Networ
  • the aforementioned GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi- Zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 101 can implement a display function through a graphics processor (Graphics Processing Unit, GPU), a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a 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).
  • Emitting Diode AMOLED
  • Flexible Light-Emitting Diode FLED
  • Miniled MicroLed, Micro-oLed, Quantum Dot Light-Emitting Diodes (QLED), etc.
  • the electronic device 101 may include one or more display screens 194.
  • the electronic device 101 may include a first screen and a second screen, where the first screen is a foldable screen, and the first and second screens may be flexible OLED displays, where the OLED layer may be mounted on plastic or metal. Foil and other flexible materials to form a flexible OLED display screen.
  • the electronic device 101 can implement a shooting function through an ISP, one or more cameras 193, a video codec, a GPU, one or more display screens 194, and an application processor.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 101 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 101.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, photos, videos and other data files in an external memory card.
  • 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 run the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 101 to execute the screen control methods 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 photos, contacts, etc.) created during the use of the electronic device 101.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (Universal Flash Storage, UFS), etc.
  • the processor 110 may execute instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110 to cause the electronic device 101 to execute the instructions provided in the embodiments of the present application. Screen control methods, various functional applications and data processing.
  • the electronic device 101 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the sensor 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L , Bone conduction sensor 180M, infrared sensor, etc.
  • the electronic device 101 may include: two gyroscope sensors 180B, one of which is disposed on one screen of the first screen, and the other gyroscope sensor 180B is disposed on the other screen of the first screen.
  • the touch sensor 180K can also be called a touch panel or a touch-sensitive surface.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a touch screen.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 101, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain 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 bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor may analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 (also called a function button) includes a screen lock button, a volume button, a combined screenshot button, and the like.
  • the button 190 may be a mechanical button or a touch button.
  • the electronic device 101 may receive key input, and generate key signal input related to user settings and function control of the electronic device 101.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 101.
  • the electronic device 101 may support one or more SIM card interfaces.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device 101 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 101 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 101 and cannot be separated from the electronic device 101.
  • FIGS 2 and 3 are schematic diagrams of the electronic equipment provided by the embodiments of this application.
  • the electronic equipment includes a first screen (screen B) And the second screen (screen A), screen B can be the inner screen of the electronic device, and screen A can be the outer screen of the electronic device.
  • the screen B is a folding screen, and the electronic device can use the screen B to fold or unfold the electronic device.
  • buttons on the electronic device are existing buttons, for example, as shown in Figure 2 and Figure 3, the electronic device only includes a lock screen button a and a set of volume buttons (used to increase the volume button b1 and decrease the volume Button b2), a combined screenshot button (used to turn down the volume button b2 and lock screen button a).
  • the user pre-controls at least one of the first screen and the second screen.
  • the embodiment of the present application does not limit the positions of the buttons on the electronic device, and does not limit the combination of several buttons in the combination screenshot button.
  • FIG. 4 is a flowchart of a screen control method provided by an embodiment of the application, and the execution subject of the method may be the above-mentioned electronic device. As shown in Figure 4, the method may include the following steps:
  • Step S401 The electronic device detects the operation on the function key.
  • Step S402 In response to the above operation, the electronic device determines the physical form of the electronic device.
  • Step S403 The electronic device controls the first screen or the second screen according to the operation and the physical form of the electronic device.
  • the function button may be a screen lock button, a volume button or a combined screenshot button.
  • the operation for the function key may be a pressing operation.
  • the physical form of the electronic device may be a first physical form, and the so-called first physical form refers to that the included angle of the first screen of the electronic device at the fold is less than or equal to a preset angle. Wherein, the value range of the preset angle is 0 degrees to 90 degrees.
  • the first physical form is also called the folded state.
  • the physical form of the electronic device may also be a second physical form. The so-called second physical form refers to that the included angle of the first screen of the electronic device at the fold is greater than the preset angle. When the first screen of the electronic device is greater than 0 degrees at the folded position, the second physical form is also called the unfolded state.
  • the method may also perform step S401 first, and then perform step S402, that is, the electronic device detects an operation on the function button, and the electronic device determines its physical form in response to the operation or triggered by the operation .
  • step S402 may be performed first, and then step S401, that is, the electronic device first determines its physical form before acquiring the operation on the function button.
  • the electronic device acquires the operation of the function key, the electronic device controls the first screen or the second screen according to the acquired physical form of the electronic device.
  • the electronic device may perform step S401 and step S402 at the same time.
  • the embodiment of the present application does not limit the sequence of step S401 and step S402.
  • the electronic device responds to the operation on the function button; if the physical form of the electronic device is the first physical form, the second physical form of the electronic device is controlled. Screen; if the physical form of the electronic device is the second physical form, control the first screen of the electronic device.
  • the electronic device lights up the second screen at this time. If the physical form of the electronic device is the first physical form, and what the electronic device acquires is the pressing operation of the volume button, then the electronic device displays a volume display bar on the second screen at this time. If the physical form of the electronic device is the first physical form, and what the electronic device acquires is the pressing operation of the combined screenshot button, then the electronic device performs a screenshot operation on the second screen. If the physical form of the electronic device is the second physical form, and what the electronic device acquires is the pressing operation of the lock screen button, then the electronic device lights up the first screen at this time.
  • the electronic device displays a volume display bar on the first screen. If the physical form of the electronic device is the second physical form, and what the electronic device acquires is the pressing operation of the combined screenshot button, then the electronic device performs a screenshot operation on the first screen.
  • Figures 5A to 5F are schematic diagrams of an electronic device provided by an embodiment of this application.
  • the electronic device is currently in the first physical form.
  • the lock screen button a button
  • the second screen screen A
  • the electronic device is currently in the first physical form.
  • the volume button b2 button
  • the volume display bar is displayed.
  • the electronic device is currently in the first physical form.
  • the electronic device is currently in the second physical form.
  • the lock screen button (a button)
  • the first screen (screen B) is now Light up.
  • the electronic device is currently in the second physical form.
  • the volume button (b2 button) for turning down the volume
  • the first screen is now (Screen B)
  • the volume display bar is displayed.
  • the electronic device is currently in the second physical form.
  • the embodiments of the present application provide a screen control method, in which the electronic device can control the first screen or the second screen according to the operation of the function keys and the physical form of the electronic device. Therefore, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the function keys. For example, when the electronic device is in the first physical form, the electronic device can control the second screen through the function keys, and when the electronic device is in the second physical form, the electronic device can control the first screen through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • FIG. 6 is a schematic flowchart of a screen control method provided by another implementation of this application.
  • the execution subject of the method may be the above-mentioned electronic device.
  • the above step S402 may include the following steps:
  • Step S601 The electronic device obtains the included angle of the first screen at the fold.
  • Step S602 The electronic device determines the physical form of the electronic device according to the included angle of the first screen at the fold.
  • FIG. 7 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • the first screen includes two screens, namely screen B1 and screen B2.
  • the first screen is formed between screen B1 and screen B2.
  • the electronic device determines the normal vector of the screen B1 and the normal vector of the screen B2.
  • the electronic device determines the angle between the normal vector of the screen B1 and the normal vector of the screen B2.
  • the electronic device calculates the angle difference between 180 degrees and the normal vector of the screen B1 and the normal vector of the screen B2 to obtain the angle of the first screen at the fold.
  • screen B1 and screen B2 are each equipped with a gyroscope sensor.
  • the electronic device can calculate the normal vector of the screen B1 and the normal vector of the screen B2 through the respective gyroscope sensors of the screen B1 and the screen B2, as follows: FIG.
  • the origin of the geographic coordinate system ox t y t z t is located at the center of the gyroscope sensor, the x t axis points east along the local latitude, the y t axis points north along the local meridian, and the z t axis follows the local geographic vertical line Point up, and form a right-hand rectangular coordinate system with x t and y t .
  • the plane formed by the x t axis and the y t axis is the local horizontal plane
  • the plane formed by the y t axis and the z t axis is the local meridian plane.
  • the normal vector of screen B1 is represented by z1
  • the normal vector of screen B2 is represented by z2.
  • the gyro sensors of screen B1 and screen B2 are not in the same position, that is, the origin of the geographic coordinate system of the gyro sensor based on screen B1 and the geographic coordinate system of the gyro sensor based on screen B2 do not overlap, but these two geographic coordinates
  • the x t axis, y t axis and z t axis of the system are respectively parallel, that is, the geographic coordinate system of the screen B1 and the screen B2 can be considered to be parallel. Based on this, as shown in FIG.
  • the physical form of the electronic device is determined to be the first physical form; if the angle between the first screen at the fold If it is greater than the preset angle, it is determined that the physical form of the electronic device is the second physical form.
  • the screen B1 and screen B2 are each equipped with acceleration sensors, where the acceleration sensor is used to implement the tilt make up.
  • the acceleration sensor can adopt the existing technology to realize tilt compensation, which is not limited in this application.
  • the electronic device can determine the physical form of the electronic device according to the included angle of the first screen at the fold. Based on this, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the above-mentioned function keys. For example, when the electronic device is in the first physical form, the electronic device can control the second screen through the function keys, and when the electronic device is in the second physical form, the electronic device can control the first screen through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • FIG. 9 is a flowchart of a screen control method provided by still another embodiment of this application, and the execution subject of the method may be the aforementioned electronic device. As shown in FIG. 9, the foregoing step S402 may include the following steps:
  • Step S901 The electronic device obtains the operation on the target key on the electronic device.
  • Step S902 The electronic device determines the physical form of the electronic device according to the operation of the target key on the electronic device.
  • the operation on the target button on the electronic device is used to control the physical form of the electronic device, for example: when the operation on the target button on the electronic device is the first operation, then the physical form of the electronic device is the first In the physical form, when the operation on the target button on the electronic device is the second operation, the physical form of the electronic device at this time is the second physical form.
  • the first physical form refers to that the included angle of the first screen of the electronic device at the fold is less than or equal to the preset angle.
  • the second physical form means that the folded angle of the first screen of the electronic device is greater than the preset angle.
  • the above-mentioned target button is similar to the button used to control the sound mode of the mobile phone.
  • the button used to control the sound mode of the mobile phone is in silent mode under the first operation, and the button used to control the sound mode of the mobile phone is under the second operation.
  • the phone is in non-silent mode.
  • the processor in the electronic device controls the electronic device to assume the first physical form through the control element.
  • the processor in the electronic device controls the electronic device to assume the second physical form through the control component.
  • the first operation on the target button corresponds to the first physical form of the electronic device
  • the second operation on the target button corresponds to the second physical form of the electronic device. Therefore, once the electronic device acquires that the operation of the target button on the electronic device is the first operation, the electronic device determines that its physical state is the first physical state at this time. Once the electronic device acquires that the operation of the target key on the electronic device is the second operation, the electronic device determines that its physical state is the second physical state.
  • the electronic device can determine the physical form of the electronic device according to the operation of the target button on the electronic device. Based on this, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the above-mentioned function keys. For example, when the electronic device is in the first physical form, the electronic device can control the second screen through the function keys, and when the electronic device is in the second physical form, the electronic device can control the first screen through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device since the electronic device only adds one target button compared to the existing electronic device, the user does not need to memorize complex button settings, thereby improving the user experience.
  • FIG. 10 is a flowchart of a screen control method provided by another embodiment of this application, and the execution subject of the method may be the aforementioned electronic device. As shown in FIG. 10, the foregoing step S402 may include the following steps:
  • Step S1001 The electronic device collects the user's line of sight information.
  • Step S1002 The electronic device determines the physical form of the electronic device according to the user's line of sight information.
  • the user's line of sight information includes at least one of the following: information of the intersection of the user's line of sight and the electronic device, and information of the camera used to collect the user's line of sight (for example, the identification of the front camera or the identification of the rear camera).
  • the electronic device determines that the user's line of sight is obtained through the front camera. At this time, the electronic device determines that the user's line of sight falls on the first screen. At this time, the electronic device determines that the physical form of the electronic device is The first physical form. After the electronic device collects the user's line of sight information, the electronic device determines that the user's line of sight is obtained through the rear camera. At this time, the electronic device determines that the user's line of sight falls on the second screen. At this time, the electronic device determines that the physical form of the electronic device is the second Physical form.
  • the first screen and the second screen of the electronic device are in different coordinate systems.
  • the electronic device determines that the user's line of sight falls on the first screen At this time, the electronic device determines that the physical form of the electronic device is the first physical form.
  • the electronic device collects that the intersection of the user's line of sight and the electronic device belongs to the coordinate system of the second screen, that is, the electronic device determines that the user's line of sight falls on the second screen, the electronic device determines that the physical form of the electronic device is the second physical form.
  • the electronic device can determine the distance and the included angle between the user's line of sight and the electronic device through the infrared sensor on it, and the infrared sensor transmits the distance and the included angle to the processor in the electronic device, and the processor has obtained the information of the first screen in advance.
  • the coordinate system and the coordinate system of the second screen, and the processor can determine, according to the distance and the included angle, that the intersection of the electronic device and the electronic device belongs to the coordinate system of the first screen or the coordinate system of the second screen.
  • the electronic device may determine the physical form of the electronic device according to the user's line of sight information. Based on this, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the above-mentioned function keys. For example, when the electronic device is in the first physical form, the electronic device can control the second screen through the function keys, and when the electronic device is in the second physical form, the electronic device can control the first screen through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • the electronic device may also determine the physical form of the electronic device in the following manner:
  • the first screen and the second screen in the electronic device are configured with respective ambient light sensors.
  • the ambient light sensor of the first screen determines that the received light power is less than the first preset power, and/or the first screen
  • the ambient light sensor of the second screen determines that the received light power is greater than or equal to the second preset power
  • the electronic device determines that its physical form is the first physical form.
  • the ambient light sensor of the first screen determines that the received light power is greater than or equal to the first preset power, and/or the ambient light sensor of the second screen determines that the received light power is less than the second preset power
  • the electronic device determines its physical The form is the second physical form.
  • the first screen and the second screen in the electronic device are configured with respective infrared sensors, when the infrared sensor of the first screen determines that the power of the received infrared light is less than the third preset power, and/or When the infrared light sensor of the second screen determines that the power of the received infrared light is greater than or equal to the fourth preset power, the electronic device determines that its physical form is the first physical form.
  • the infrared sensor of the first screen determines that the power of the received infrared light is greater than or equal to the third preset power, and/or the infrared sensor of the second screen determines that the power of the received infrared light is less than the fourth preset power
  • the electronic device determines its physical form as the second physical form.
  • the electronic device may determine the physical form of the electronic device through an ambient light sensor or an infrared sensor. Based on this, under different physical forms of the electronic device, different screens of the electronic device can be controlled through the above-mentioned function keys. For example, when the electronic device is in the first physical form, the electronic device can control the second screen through the function keys, and when the electronic device is in the second physical form, the electronic device can control the first screen through the function keys. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • the electronic device detects the operation of the function button and determines the physical form of the electronic device; secondly, the electronic device controls the electronic device according to the operation and the physical form of the electronic device The first screen or the second screen.
  • the electronic device does not need to detect the operation of the function button, but acquires the user action.
  • the electronic device controls the first screen or the second screen according to the acquired user action and the physical form of the electronic device.
  • the electronic device controls the second screen.
  • the electronic device controls the first screen.
  • the electronic device when the physical form of the electronic device is the first physical form, at this time, if the electronic device acquires a hand-raising motion, the electronic device lights up the second screen.
  • the electronic device when the physical form of the electronic device is the second physical form, at this time, if the electronic device acquires a hand-raising motion, the electronic device lights up the first screen.
  • the electronic device when the physical form of the electronic device is the first physical form, if the electronic device acquires the OK gesture at this time, the electronic device will take a screenshot of the second screen.
  • the electronic device when the physical form of the electronic device is the second physical form, if the electronic device acquires an OK gesture at this time, the electronic device will take a screenshot of the first screen.
  • the electronic device displays a volume display bar on the second screen.
  • the electronic device displays a volume display bar on the first screen.
  • the electronic device controls the first screen or the second screen according to the acquired user action and the physical form of the electronic device. Therefore, the probability of misoperation can be reduced, and the reliability of the electronic device can be improved.
  • the electronic device realizes the function of controlling the screen of the electronic device without adding additional buttons. On the one hand, it achieves the effect of saving the cost of the electronic device. On the other hand, since the user does not need to memorize complex button settings, Can improve user experience.
  • the electronic device controls only one of the first screen and the second screen. On this basis, the electronic device can also control the other of the first screen and the second screen.
  • the electronic device controls the first screen, and when the user needs to control the second screen, then the user clicks or touches the second screen. After the device acquires the click or touch action on the second screen, the electronic device can control the first screen and the second screen.
  • the electronic device determines to light up the first screen and acquires a touch operation on the second screen
  • the electronic device lights up the first screen and the second screen.
  • the electronic device can light up the first screen and the second screen at the same time, or, first light up the first screen, and then light up the second screen, or, first light up the second screen and then light up the first screen, this application
  • the embodiment does not limit this.
  • the electronic device may determine to light up the first screen in the following manner: the electronic device obtains an operation for the lock screen key, and determines that the physical form of the electronic device is the second physical form. Or, the electronic device obtains the user action, and determines that the physical form of the electronic device is the second physical form. Further, assuming that the time when the electronic device obtains the operation on the lock screen button is the first time, it is determined that the physical form of the electronic device is the second physical form as the second time, and the larger of the first time and the second time is At the start time, if the electronic device acquires a touch operation on the second screen within the first preset time period, the electronic device simultaneously lights the first screen and the second screen.
  • the electronic device Taking the larger of the first time and the second time as the starting time, if the electronic device acquires a touch operation on the second screen outside the first preset time period, the electronic device first lights up the first screen, and then clicks Light up the second screen. Before the electronic device obtains the operation for the lock screen button, the above first time is the end time. If the electronic device obtains the touch operation on the second screen within the first preset time period, the electronic device first lights up the second screen. Screen, then light up the first screen.
  • the above-mentioned first preset duration can be set according to actual conditions, which is not limited in the embodiment of the present application.
  • the electronic device determines to display the volume display bar on the first screen and acquires a touch operation on the second screen, the electronic device displays the volume display bar on both the first screen and the second screen.
  • the electronic device can display the volume display bar on the first screen and the second screen at the same time, or first display the volume display bar on the first screen, and then display the volume display bar on the second screen, or, or, first The volume display bar is displayed on the second screen, and then the volume display bar is displayed on the first screen, which is not limited in this embodiment of the application.
  • the electronic device may determine to display the volume display bar on the first screen in the following manner: the electronic device obtains the operation on the volume button, and determines that the physical form of the electronic device is the second physical form.
  • the electronic device as described in the fifth embodiment obtains the corresponding user action, and determines that the physical form of the electronic device is the second physical form. Further, assuming that the time when the electronic device obtains the operation on the volume button is the first time, it is determined that the physical form of the electronic device is the second physical form as the second time, starting from the larger of the first time and the second time Starting time, if the electronic device acquires a touch operation on the second screen within the second preset time period, the electronic device simultaneously displays the volume display bar on the first screen and the second screen.
  • the electronic device Taking the larger of the first time and the second time as the starting time, if the electronic device acquires a touch operation on the second screen outside the second preset time period, the electronic device first displays the volume display on the first screen Bar, and then display the volume display bar on the second screen. Before the electronic device obtains the operation on the volume button, the first time is the end time. If the electronic device obtains the touch operation on the second screen within the second preset time period, the electronic device first displays the touch operation on the second screen Display the volume display bar, and then display the volume display bar on the first screen.
  • the foregoing second preset duration may be set according to actual conditions, which is not limited in the embodiment of the present application.
  • the electronic device can take a screenshot of the first screen and the second screen at the same time; or, take a screenshot of the first screen first, and then Take a screenshot of the second screen; or, take a screenshot of the second screen first, and then take a screenshot of the first screen.
  • the electronic device may determine to take a screenshot of the first screen in the following manner: the electronic device obtains an operation for the combined screenshot button, and determines that the physical form of the electronic device is the second physical form.
  • the electronic device as described in the fifth embodiment obtains the corresponding user action, and determines that the physical form of the electronic device is the second physical form.
  • the time when the electronic device obtains the operation for the combined screenshot button is the first time
  • the larger of the first time and the second time is At the start time
  • the electronic device acquires a touch operation on the second screen within the third preset time period the electronic device will take a screenshot of the first screen and the second screen at the same time.
  • the electronic device acquires a touch operation on the second screen outside the third preset time period the electronic device first takes a screenshot of the first screen and then Screenshot of the second screen.
  • the first time is the end time.
  • the electronic device If the electronic device obtains the touch operation on the second screen within the third preset time period, the electronic device first Take a screenshot, and then take a screenshot of the first screen.
  • the foregoing third preset duration may be set according to actual conditions, which is not limited in the embodiment of the present application.
  • the electronic device can control the first screen and the second screen. For example, light up the first screen and the second screen, or display a volume display bar on the first screen and the second screen, or take a screenshot of the first screen and the second screen.
  • the functions of the electronic device are enriched, and the user experience is improved.
  • FIG. 11 is a schematic diagram of an electronic device 1100 according to an embodiment of the application.
  • an electronic device includes a first screen 1101 and a second screen 1102, where the first screen 1101 is a folding screen .
  • the electronic device also includes function keys 1103 and a processor 1104.
  • the processor 1104 is configured to: detect an operation on the function button 1103. In response to the detected operation, the physical form of the electronic device is determined. According to the operation and the physical form of the electronic device, the first screen 1101 or the second screen 1102 is controlled.
  • the processor 1104 is specifically configured to: obtain the included angle of the first screen 1101 at the folding position. According to the included angle of the first screen 1101 at the fold, the physical form of the electronic device is determined.
  • the processor 1104 is specifically configured to: if the included angle of the first screen 1101 at the folding position is less than or equal to a preset angle, determine that the physical form of the electronic device is the first physical form. If the folding angle of the first screen 1101 is greater than the preset angle, it is determined that the physical form of the electronic device is the second physical form.
  • one gyroscope sensor 1105 is configured on the first screen 1101 and the second screen 1102 respectively.
  • the processor 1104 is specifically configured to determine the normal vector of one screen in the first screen 1101 through the gyro sensor 1105 of the first screen 1101, and determine the normal vector of the other screen in the first screen 1101 through the gyro sensor 1105 of the first screen 1101 vector.
  • the angle between the normal vector of one screen in the first screen 1101 and the normal vector of the other screen in the first screen 1101 is determined. Calculate the difference between 180 degrees and the angle between the normal vector of one screen of the first screen 1101 and the normal vector of the other screen of the first screen 1101 to obtain the angle of the first screen 1101 at the fold.
  • the preset angle is 0 degrees.
  • the electronic device further includes: a target button 1106.
  • the processor 1104 is specifically configured to: obtain the operation of the target button 1106 on the electronic device. According to the operation of the target button 1106 on the electronic device, the physical form of the electronic device is determined.
  • the processor 1104 is specifically configured to: if the operation on the target button 1106 on the electronic device is the first operation, determine that the physical form of the electronic device is the first physical form. If the operation on the target button 1106 on the electronic device is the second operation, it is determined that the physical form of the electronic device is the second physical form.
  • the processor 1104 is specifically configured to: collect user line of sight information. Determine the physical form of the electronic device according to the user's line of sight information.
  • the processor 1104 is specifically configured to: if the electronic device determines that the user's line of sight falls on the second screen 1102 according to the user's line of sight information, determine that the physical form of the electronic device is the first physical form. If the electronic device determines that the user's line of sight falls on the first screen 1101 according to the user's line of sight information, it is determined that the physical form of the electronic device is the second physical form.
  • the processor 1104 is specifically configured to: respond to the operation. If the physical form of the electronic device is the first physical form, the second screen 1102 of the electronic device is controlled. If the physical form of the electronic device is the second physical form, the first screen 1101 of the electronic device is controlled.
  • the function button 1103 is a screen lock button, a volume button, or a combined screenshot button.
  • the electronic device may also include: a mobile communication module, a wireless communication module, a speaker, a receiver, an audio module, a microphone, an acceleration sensor, a fingerprint sensor, an ambient light sensor, a charging management module, and power management Modules, etc., for details, refer to the corresponding embodiment in FIG.
  • this application provides an electronic device that can execute the above-mentioned screen control method.
  • the method embodiment part please refer to the method embodiment part, which will not be repeated here.
  • the embodiments of the present application also provide a computer storage medium, the computer storage medium includes computer instructions, and the computer instructions are used to implement the aforementioned screen control method.
  • the computer storage medium includes computer instructions
  • the computer instructions are used to implement the aforementioned screen control method.
  • the embodiments of the present application also provide a computer program product, the program product includes computer instructions, and the computer instructions are used to implement the above-mentioned screen control method.
  • the program product includes computer instructions, and the computer instructions are used to implement the above-mentioned screen control method.
  • the method embodiment part which will not be repeated here.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • 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 a 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, 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)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Neurology (AREA)
  • Computer Graphics (AREA)
  • Multimedia (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种屏幕控制方法、电子设备(100)及存储介质。其中,电子设备(100)包括第一屏幕(B)和第二屏幕(A),其中,所述第一屏幕(B)是一折叠屏,该方法包括:电子设备(100)检测到针对功能按键的操作(S401);响应于上述操作,电子设备(100)确定所述电子设备(100)的物理形态(S402);电子设备(100)根据所述操作和所述电子设备(100)的物理形态,控制所述第一屏幕(B)或者所述第二屏幕(A)(S403)。从而可以降低误操作的概率,进而提升了电子设备(100)的可靠性。此外,该电子设备(100)在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。

Description

屏幕控制方法、电子设备及存储介质
本申请要求在2019年2月22日提交中国国家知识产权局、申请号为201910135444.9、发明名称为“屏幕控制方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及电子设备技术领域,尤其涉及一种屏幕控制方法、电子设备及存储介质。
背景技术
目前,可折叠的电子设备已经出现在了市场上,可折叠的电子设备通常存在内屏和外屏,电子设备能够利用内屏来折叠或展开该电子设备。
现有的锁屏按键只能控制内屏的亮灭,当电子设备处于折叠状态时,即当内屏闭合时,这时通过锁屏按键控制屏幕的亮灭对用户来说几乎没有意义。或者,现有的音量按键只是控制内屏的音量显示条,当电子设备处于折叠状态时,音量显示条只是显示在内屏上,而不能显示在外屏上,使得用户无法看到音量显示条。或者,现有的组合截屏按键只用于对内屏进行截屏,当电子设备处于折叠状态时,如果用户想对外屏进行截屏操作,用户按压组合截屏按键后,得到的却是对内屏的截屏。综上,现有的屏幕控制方法导致许多误操作,从而降低了电子设备的可靠性。
发明内容
本申请提供一种屏幕控制方法、电子设备及存储介质。从而可以降低误操作的概率,进而提升了电子设备的可靠性。
第一方面,本申请实施例提供一种屏幕控制方法,电子设备包括第一屏幕和第二屏幕,其中,第一屏幕是一折叠屏,电子设备能够利用第一屏幕来折叠或展开电子设备,方法包括:电子设备检测到针对功能按键的操作;响应于检测到的操作,电子设备确定电子设备的物理形态;电子设备根据操作和电子设备的物理形态,控制第一屏幕或者第二屏幕。从而在电子设备的不同物理形态下,通过功能按键可以控制电子设备不同的屏幕。比如:在电子设备处于第一物理形态时,电子设备通过功能按键可以控制第二屏幕,在电子设备处于第二物理形态时,电子设备通过功能按键可以控制第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
在本申请一实施例中,电子设备确定电子设备的物理形态,包括:电子设备获取第一屏幕在折叠处的夹角;电子设备根据第一屏幕在折叠处的夹角,确定电子设备的物理形态。其中,若第一屏幕在折叠处的夹角小于或等于预设角度,则确定电子设备的物理形态为第一物理形态;若第一屏幕在折叠处的夹角大于预设角度,则确定电子设备的物理形态为第二物理 形态。其中,电子设备确定夹角的方法包括:电子设备确定第一屏幕中一屏幕的法向量和第一屏幕中另一屏幕的法向量;电子设备确定第一屏幕中一屏幕的法向量和第一屏幕中另一屏幕的法向量的夹角;电子设备计算180度与第一屏幕中一屏幕的法向量和第一屏幕中另一屏幕的法向量的夹角之差,得到第一屏幕在折叠处的夹角。预设角度为0度。
在本申请另一实施例中,电子设备确定电子设备的物理形态,包括:电子设备获取对电子设备上的目标按键的操作;电子设备根据对电子设备上的目标按键的操作,确定电子设备的物理形态。其中,若对电子设备上的目标按键的操作为第一操作,则确定电子设备的物理形态为第一物理形态;若对电子设备上的目标按键的操作为第二操作,则确定电子设备的物理形态为第二物理形态。
在本申请再一实施例中,电子设备确定电子设备的物理形态,包括:电子设备采集用户视线信息;电子设备根据用户视线信息确定电子设备的物理形态。其中,若电子设备根据用户视线信息确定用户视线落在第二屏幕上,则确定电子设备的物理形态为第一物理形态;若电子设备根据用户视线信息确定用户视线落在第一屏幕上,则确定电子设备的物理形态为第二物理形态。
通过上述实施例提供的技术方案,电子设备可以准确的确定其物理形态。
可选地,电子设备根据操作和电子设备的物理形态,控制第一屏幕或者第二屏幕,包括:电子设备响应于操作;若电子设备的物理形态为第一物理形态,则控制电子设备的第二屏幕;若电子设备的物理形态为第二物理形态,则控制电子设备的第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
可选地,功能按键为锁屏按键、音量按键或者组合截屏按键。
下面将提供一种电子设备,其可以执行上述的屏幕控制方法,对其效果下面不再赘述。
第二方面,本申请一实施例提供一种电子设备,电子设备包括第一屏幕和第二屏幕,其中第一屏幕是折叠屏;电子设备还包括功能按键和处理器;处理器用于:检测到针对功能按键的操作;响应于检测到的操作,确定电子设备的物理形态;根据操作和电子设备的物理形态,控制第一屏幕或者第二屏幕。
可选地,处理器具体用于:获取第一屏幕在折叠处的夹角;根据第一屏幕在折叠处的夹角,确定电子设备的物理形态。
可选地,处理器具体用于:若第一屏幕在折叠处的夹角小于或等于预设角度,则确定电子设备的物理形态为第一物理形态;若第一屏幕在折叠处的夹角大于预设角度,则确定电子设备的物理形态为第二物理形态。
可选地,第一屏幕和第二屏幕上各配置一个陀螺仪传感器;处理器具体用于:通过第一屏幕的陀螺仪传感器确定第一屏幕中一屏幕的法向量,通过第一屏幕的陀螺仪传感器确定第一屏幕中另一屏幕的法向量;确定第一屏幕中一屏幕的法向量和第一屏幕中另一屏幕的法向量的夹角;计算180度与第一屏幕中一屏幕的法向量和第一屏幕中另一屏幕的法向量的夹角之差,得到第一屏幕在折叠处的夹角。
可选地,预设角度为0度。
可选地,电子设备还包括:目标按键;处理器具体用于:获取对电子设备上的目标按键的操作;根据对电子设备上的目标按键的操作,确定电子设备的物理形态。
可选地,处理器具体用于:若对电子设备上的目标按键的操作为第一操作,则确定电子设备的物理形态为第一物理形态;若对电子设备上的目标按键的操作为第二操作,则确定电子设备的物理形态为第二物理形态。
可选地,处理器具体用于:采集用户视线信息;根据用户视线信息确定电子设备的物理形态。
可选地,处理器具体用于:若电子设备根据用户视线信息确定用户视线落在第二屏幕上,则确定电子设备的物理形态为第一物理形态;若电子设备根据用户视线信息确定用户视线落在第一屏幕上,则确定电子设备的物理形态为第二物理形态。
可选地,处理器具体用于:响应于操作;若电子设备的物理形态为第一物理形态,则控制电子设备的第二屏幕;若电子设备的物理形态为第二物理形态,则控制电子设备的第一屏幕。
第三方面,本申请一实施例提供一种计算机存储介质,该计算机存储介质包括计算机指令,计算机指令用于实现第一方面或第一方面的可选方式的屏幕控制方法。其效果可参考上述第一方面或第一方面的可选方式对应的效果。
第四方面,本申请一实施例提供一种计算机程序产品,该程序产品包括计算机指令,计算机指令用于实现第一方面或第一方面的可选方式的屏幕控制方法。其效果可参考上述第一方面或第一方面的可选方式对应的效果。
本申请提供一种屏幕控制方法、电子设备及存储介质。从而可以降低误操作的概率,进而提升了电子设备的可靠性。
本申请实施例提供一种屏幕控制方法、电子设备及存储介质。其中,电子设备包括第一屏幕和第二屏幕,其中,第一屏幕是一折叠屏,该方法包括:电子设备检测到针对功能按键的操作;响应于检测到的操作,电子设备确定电子设备的物理形态;电子设备根据操作和电子设备的物理形态,控制第一屏幕或者第二屏幕。从而在电子设备的不同物理形态下,通过功能按键可以控制电子设备不同的屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
附图说明
图1示出了电子设备101(例如手机)的结构示意图;
图2和图3为本申请实施例提供的电子设备的示意图;
图4为本申请一实施例提供的一种屏幕控制方法的流程图,该方法的执行主体可以是上述电子设备;
图5A至图5F为本申请一实施例提供的电子设备示意图;
图6为本申请另一实施提供的一种屏幕控制方法的流程示意图;
图7为本申请一实施例提供的电子设备的示意图;
图8为本申请一实施例提供的基于陀螺仪传感器所建立的地理坐标系的示意图;
图9为本申请再一实施例提供的一种屏幕控制方法的流程图;
图10为本申请又一实施例提供的一种屏幕控制方法的流程图;
图11为本申请一实施例提供的一种电子设备的示意图。
具体实施方式
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
如上所述,现有技术所提供的可折叠电子设备,其锁屏按键只能控制内屏的亮灭,当电子设备处于折叠状态时,即当内屏闭合时,这时通过锁屏按键控制屏幕的亮灭对用户来说几乎没有意义。或者,音量按键只是控制内屏的音量显示条,当电子设备处于折叠状态时,音量显示条只是显示在内屏上,而不能显示在外屏上,使得用户无法看到音量显示条。或者,组合截屏按键只用于对内屏进行截屏,当电子设备处于折叠状态时,如果用户想对外屏进行截屏操作,用户按压组合截屏按键后,得到的却是对内屏的截屏。综上,现有的屏幕控制方法导致许多误操作,从而降低了电子设备的可靠性。
现有的屏幕控制方法导致许多误操作,从而降低了电子设备的可靠性。为了解决这一技术问题,本申请实施例提供一种屏幕控制方法、装置、电子设备及存储介质。
其中,本申请实施例涉及的电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载IOS、Android、Microsoft或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。
示例性的,图1示出了电子设备101(例如手机)的结构示意图。如图1所示,电子设备101可以包括处理器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等。可以理解的是,本实施例示意的结构并不构成对电子设备101的具体限定。在本申请实施例另一些实施例中,电子设备101可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件,或软件和硬件的组合 实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(Application Processor,AP),调制解调处理器,图形处理器(Graphics Processing Unit,GPU),图像信号处理器(Image Signal Processor,ISP),控制器,视频编解码器,数字信号处理器(Digital Signal Processor,DSP),基带处理器,和/或神经网络处理器(Neural-Network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以是电子设备101的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101系统的效率。
在一些实施例中,处理器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)接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备101的结构限定。在本申请实施例另一些实施例中,电子设备101也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备101的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备101供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备101的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备101中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用, 以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备101上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备101上的包括无线局域网(Wireless Local Area Networks,WLAN),蓝牙,全球导航卫星系统(Global Navigation Satellite System,GNSS),调频(Frequency Modulation,FM),近场通信(Near Field Communication,NFC),红外技术(Infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备101的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备101可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯(Global System of Mobile communication,GSM),通用分组无线服务技术(General Packet Radio Service,GPRS),码分多址(Code Division Multiple Access,CDMA),宽带码分多址(Wideband Code Division Multiple Access,WCDMA),时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,TD-SCDMA),长期演进(Long Term Evolution,LTE),全球卫星导航系统(Global Navigation Satellite System,GNSS),无线局域网(Wireless Local Area Networ,WLAN),NFC,FM,和/或IR技术等。上述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备101通过图形处理器(Graphics Processing Unit,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)等。在一些实施例中,电子设备101可以包括1个或多个显示屏194。示例性地,电子设备101可以包括第一屏幕和第二屏幕,其中第一屏幕为可折叠屏幕,第一屏幕和第二屏幕可以是柔性OLED显示屏,其中,OLED层可以装在塑料或者金属箔片等柔性材料上以形成柔性OLED显示屏。
电子设备101可以通过ISP,一个或多个摄像头193,视频编解码器,GPU,一个或多个显示屏194以及应用处理器等实现拍摄功能。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备101的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备101的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐、照片、视频等数据文件保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请实施例一些实施例中所提供的屏幕控制方法,以及各种功能应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(Universal Flash Storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的屏幕控制方法,以及各种功能应用及数据处理。
电子设备101可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
传感器180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M、红外传感器等。示例性的,电子设备101可以包括:两个陀螺仪传感器180B,其中一个陀螺仪传感器180B设置在第一屏幕的一个屏幕上,另一个陀螺仪传感器180B设置在第一屏幕的另一个屏幕上。
其中,触摸传感器180K,也可称触控面板或触敏表面。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称触控屏。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备101的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190(亦被称为功能按键)包括锁屏按键,音量按键、组合截屏按键等。按键190可以是机械按键,也可以是触摸式按键。电子设备101可以接收按键输入,产生与电子设备101的用户设置以及功能控制有关的键信号输入。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备101的接触和分离。电子设备101可以支持1个或多个SIM卡接口。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备101通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备101采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备101中,不能和电子设备101分离。
本申请实施例的示例性应用场景包括但不限于:图2和图3为本申请实施例提供的电子设备的示意图,如图2和图3所示,电子设备包括第一屏幕(屏幕B)和第二屏幕(屏幕A),屏幕B可以是电子设备的内屏,屏幕A可以是电子设备的外屏。其中,屏幕B是一折叠屏,电子设备能够利用屏幕B来折叠或展开电子设备。假设电子设备上的按键是现有按键,比如:如图2和图3所示,电子设备仅包括一个锁屏按键a、一组音量按键(用于调大的音量按键b1和调小的音量按键b2)、一组合截屏按键(用于调小的音量按键b2和锁屏按键a)。在现有可折叠电子设备的基础上,用户预控制第一屏幕和第二屏幕中的至少一个屏幕。
需要说明的是,本申请实施例对电子设备上的按键的位置不做限制,并且对组合截屏按键中是对哪几个按键的组合也不做限制。
结合上述应用场景,下面将对本申请实施例技术方案进行详细说明:
图4为本申请一实施例提供的一种屏幕控制方法的流程图,该方法的执行主体可以是上述电子设备。如图4所示,该方法可以包括如下步骤:
步骤S401:电子设备检测到针对功能按键的操作。
步骤S402:响应于上述操作,电子设备确定所述电子设备的物理形态。
步骤S403:电子设备根据所述操作和所述电子设备的物理形态,控制所述第一屏幕或者所述第二屏幕。
其中,所述功能按键可以是锁屏按键、音量按键或者组合截屏按键。所述针对功能按键的操作可以是按下操作。
在另一种实施例中,所述电子设备的物理形态可以是第一物理形态,所谓第一物理形态指的是电子设备的第一屏幕在折叠处的夹角小于或等于预设角度。其中,所述预设角度的取值范围是0度到90度。当电子设备的第一屏幕在折叠处的等于0度时,第一物理形态亦被称为折叠状态。所述电子设备的物理形态也可以是第二物理形态,所谓第二物理形态指的是电子设备的第一屏幕在折叠处的夹角大于所述预设角度。当电子设备的第一屏幕在折叠处的大于0度时,第二物理形态亦被称为展开状态。
在另外一些实施例中,该方法也可以先执行步骤S401,再执行步骤S402,即电子设备检测到针对功能按键的操作,电子设备响应于该操作或者在该操作的触发下确定自身的物理形态。或者,可以先执行步骤S402,再执行步骤S401,即电子设备在获取到针对功能按键的操作之前先确定自身的物理形态。当电子设备获取到功能按键的操作时,电子设备根据已获取到的电子设备的物理形态,控制第一屏幕或者第二屏幕。又或者,电子设备可以同时执行步骤S401和步骤S402。总之,本申请实施例对步骤S401和步骤S402的先后顺序不做限制。
进一步地,电子设备在获取到针对功能按键的操作以及电子设备的物理形态之后,电子设备响应于针对功能按键的操作;若电子设备的物理形态为第一物理形态,则控制电子设备的第二屏幕;若电子设备的物理形态为第二物理形态,则控制电子设备的第一屏幕。
具体地,若电子设备的物理形态为第一物理形态,且电子设备获取到的是对锁屏按键的按下操作,则这时电子设备点亮第二屏幕。若电子设备的物理形态为第一物理形态,且电子设备获取到的是对音量按键的按下操作,则这时电子设备在第二屏幕上显示音量显示条。若电子设备的物理形态为第一物理形态,且电子设备获取到的是对组合截屏按键的按下操作,则这时电子设备对第二屏幕进行截屏操作。若电子设备的物理形态为第二物理形态,且电子设备获取到的是对锁屏按键的按下操作,则这时电子设备点亮第一屏幕。若电子设备的物理形态为第二物理形态,且电子设备获取到的是对音量按键的按下操作,则这时电子设备在第一屏幕上显示音量显示条。若电子设备的物理形态为第二物理形态,且电子设备获取到的是对组合截屏按键的按下操作,则这时电子设备对第一屏幕进行截屏操作。
例如:图5A至图5F为本申请一实施例提供的电子设备示意图,如图5A所示,电子设备当前处于第一物理形态,这时当用户按下锁屏按键(a按键)时,如图5A右侧附图所示,这时第二屏幕(屏幕A)被点亮。如图5B所示,电子设备当前处于第一物理形态,这时当用户按下用于调小音量的音量按键(b2按键)时,如图5B右侧附图所示,这时第二屏幕(屏幕A)显示音量显示条。如图5C所示,电子设备当前处于第一物理形态,这时当用户按下用于组合截屏按键(用于调小音量的音量按键b2和锁屏按键a)时,如图5C右侧附图所示,这时第二屏幕(屏幕A)被截屏,其中为了清楚起见,虚线指向的是截屏结果。
如图5D所示,电子设备当前处于第二物理形态,这时当用户按下锁屏按键(a按键)时,如图5D右侧附图所示,这时第一屏幕(屏幕B)被点亮。如图5E所示,电子设备当前处于第二物理形态,这时当用户按下用于调小音量的音量按键(b2按键)时,如图5E右侧附图所示,这时第一屏幕(屏幕B)显示音量显示条。如图5F所示,电子设备当前处于第二物理形态,这时当用户按下用于组合截屏按键(用于调小音量的音量按键b2和锁屏按键a)时,如图5F右侧附图所示,这时第一屏幕(屏幕B)被截屏,其中为了清楚起见,虚线指向的是截屏结果。
综上,本申请实施例提供一种屏幕控制方法,其中电子设备可以根据针对功能按键的操作和电子设备的物理形态控制第一屏幕或者第二屏幕。从而在电子设备的不同物理形态下,通过所述功能按键可以控制电子设备不同的屏幕。比如:在电子设备处于第一物理形态时,电子设备通过所述功能按键可以控制第二屏幕,在电子设备处于第二物理形态时,电子设备通过所述功能按键可以控制第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
图6为本申请另一实施提供的一种屏幕控制方法的流程示意图,该方法的执行主体可以使上述电子设备。如图6所示,上述步骤S402可以包括如下步骤:
步骤S601:电子设备获取第一屏幕在折叠处的夹角。
步骤S602:电子设备根据第一屏幕在折叠处的夹角,确定电子设备的物理形态。
具体地,图7为本申请一实施例提供的电子设备的示意图,如图7所示,第一屏幕包括两个屏幕,分别为屏幕B1和屏幕B2,屏幕B1和屏幕B2之间形成第一屏幕的折叠处(图7中用虚线框标注的位置为第一屏幕的折叠处),电子设备确定屏幕B1的法向量和屏幕B2的法向量。电子设备确定屏幕B1的法向量和屏幕B2的法向量的夹角。电子设备计算180度与屏幕B1的法向量和屏幕B2的法向量的夹角之差,得到第一屏幕在折叠处的夹角。
如上所述,屏幕B1和屏幕B2各配置有一个陀螺仪传感器。电子设备可以通过屏幕B1和屏幕B2各自的陀螺仪传感器分别计算屏幕B1的法向量和屏幕B2的法向量,具体如下:图8为本申请一实施例提供的基于陀螺仪传感器所建立的地理坐标系的示意图,该地理坐标系ox ty tz t的原点位于陀螺仪传感器的中心点,x t轴沿当地纬线指东,y t轴沿当地子午线指北,z t轴沿当地地理垂线指上,并与x t、y t构成右手直角坐标系。其中,x t轴与y t轴构成的平面即为当地水平面,y t轴与z t轴构成的平面即为当地子午面。假设屏幕B1的法向量用z1表示,屏幕B2的法向量用z2表示。虽然屏幕B1和屏幕B2的陀螺仪传感器不在同一个位置,即基于屏幕B1的陀螺仪传感器的地理坐标系和基于屏幕B2的陀螺仪传感器的地理坐标系的原点不重叠,但是这两个地理坐标系的x t轴、y t轴和z t轴分别平行,即可以认为屏幕B1和屏幕B2的地理坐标系是平行的。基于此,如图7所示,假设屏幕B1和屏幕B2的夹角为θ,根据公式z1·z2=|z1||z2|cosθ可以得到θ,其中“·”表示向量之间的点乘。进一步地,假设电子设备在第一屏幕在折叠处的夹角
Figure PCTCN2020075066-appb-000001
根据公式
Figure PCTCN2020075066-appb-000002
可以得到
Figure PCTCN2020075066-appb-000003
在电子设备得到第一屏幕在折叠处的夹角
Figure PCTCN2020075066-appb-000004
之后,若该第一屏幕在折叠处的夹角
Figure PCTCN2020075066-appb-000005
小于或等于预设角度,则确定电子设备的物理形态为第一物理形态;若第一屏幕在折叠处的夹角
Figure PCTCN2020075066-appb-000006
大于所述预设角度,则确定电子设备的物理形态为第二物理形态。
需要说明的是,考虑到电子设备通常倾斜的情况比较常见,为了提高电子设备计算θ的精确度,针对屏幕B1和屏幕B2还各自配置有加速度传感器,其中,加速度传感器用于实现电子设备的倾斜补偿。其中,加速度传感器可以采用现有技术实现倾斜补偿,本申请对此不做限制。
在本申请实施例中,电子设备可以根据第一屏幕在折叠处的夹角,确定电子设备的物理形态。基于此,在电子设备的不同物理形态下,通过上述功能按键可以控制电子设备不同的屏幕。比如:在电子设备处于第一物理形态时,电子设备通过所述功能按键可以控制第二屏幕,在电子设备处于第二物理形态时,电子设备通过所述功能按键可以控制第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
图9为本申请再一实施例提供的一种屏幕控制方法的流程图,该方法的执行主体可以是上述电子设备。如图9所示,上述步骤S402可以包括如下步骤:
步骤S901:电子设备获取对电子设备上的目标按键的操作。
步骤S902:电子设备根据对电子设备上的目标按键的操作,确定电子设备的物理形态。
其中,所述对电子设备上的目标按键的操作用于控制电子设备的物理形态,例如:当对电子设备上的目标按键的操作是第一操作时,这时电子设备的物理形态为第一物理形态,当对电子设备上的目标按键的操作是第二操作时,这时电子设备的物理形态为第二物理形态。如上所述,第一物理形态指的是电子设备的第一屏幕在折叠处的夹角小于或等于预设角度。第二物理形态指的是电子设备的第一屏幕在折叠处的夹角大于所述预设角度。
上述的目标按键类似于手机上的用于控制手机声音模式的按键,用于控制手机声音模式的按键在第一操作下,手机呈静音模式,用于控制手机声音模式的按键在第二操作下,手机呈非静音模式。类似的,当对电子设备上的目标按键的操作是第一操作时,这时电子设备中的处理器通过控制件控制电子设备呈第一物理形态,当对电子设备上的目标按键的操作是第二操作时,这时电子设备中的处理器通过控制件控制电子设备呈第二物理形态。由此可知,对所述目标按键的第一操作与电子设备的第一物理形态对应,对所述目标按键的第二操作与电子设备的第二物理形态对应。因此,一旦电子设备获取到对电子设备上的目标按键的操作为第一操作时,这时电子设备确定其物理状态为第一物理状态。一旦电子设备获取到对电子设备上的目标按键的操作为第二操作时,这时电子设备确定其物理状态为第二物理状态。
在本申请实施例中,电子设备可以根据对电子设备上的目标按键的操作,确定电子设备的物理形态。基于此,在电子设备的不同物理形态下,通过上述功能按键可以控制电子设备不同的屏幕。比如:在电子设备处于第一物理形态时,电子设备通过所述功能按键可以控制第二屏幕,在电子设备处于第二物理形态时,电子设备通过所述功能按键可以控制第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,在本申请实施例中,由于该电子设备相对于现有的电子设备仅增加了一个目标按键,因此用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
图10为本申请又一实施例提供的一种屏幕控制方法的流程图,该方法的执行主体可以是上述电子设备。如图10所示,上述步骤S402可以包括如下步骤:
步骤S1001:电子设备采集用户视线信息。
步骤S1002:电子设备根据用户视线信息确定电子设备的物理形态。
其中,用户视线信息包括以下至少一项:用户视线与电子设备的交点的信息、采集用户视线所使用的摄像头的信息(比如:前置摄像头的标识或者后置摄像头的标识)。
例如:当电子设备采集到用户视线信息之后,电子设备确定用户视线是通过前置摄像头获取的,这时电子设备确定用户视线落在第一屏幕上,此时电子设备确定电子设备的物理形态为第一物理形态。当电子设备采集到用户视线信息之后,电子设备确定用户视线是通过后置摄像头获取的,这时电子设备确定用户视线落在第二屏幕上,此时电子设备确定电子设备的物理形态为第二物理形态。
例如:电子设备的第一屏幕和第二屏幕所在的坐标系不同,当电子设备采集到用户视线与电子设备的交点属于第一屏幕的坐标系,即电子设备确定用户视线落在第一屏幕上,此时电子设备确定电子设备的物理形态为第一物理形态。当电子设备采集到用户视线与电子设备的交点属于第二屏幕的坐标系,即电子设备确定用户视线落在第二屏幕上,此时电子设备确定电子设备的物理形态为第二物理形态。
其中,电子设备可以通过其上的红外传感器确定用户视线与电子设备的距离和夹角,红外传感器将该距离和夹角传输给电子设备中的处理器,处理器预先已获取到第一屏幕的坐标系和第二屏幕的坐标系,处理器根据该距离和夹角可以确定电子设备与电子设备的交点属于 第一屏幕的坐标系或者第二屏幕的坐标系。
在本申请实施例中,电子设备可以根据用户视线信息确定电子设备的物理形态。基于此,在电子设备的不同物理形态下,通过上述功能按键可以控制电子设备不同的屏幕。比如:在电子设备处于第一物理形态时,电子设备通过所述功能按键可以控制第二屏幕,在电子设备处于第二物理形态时,电子设备通过所述功能按键可以控制第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
在本申请实施例中,电子设备还可以通过如下方式确定电子设备的物理形态:
在本申请一实施例中,电子设备中第一屏幕和第二屏幕被配置有各自的环境光传感器,当第一屏幕的环境光传感器确定接收光功率小于第一预设功率,和/或第二屏幕的环境光传感器确定接收光功率大于或者等于第二预设功率时,电子设备确定其物理形态为第一物理形态。相反,当第一屏幕的环境光传感器确定接收光功率大于或等于第一预设功率,和/或第二屏幕的环境光传感器确定接收光功率小于第二预设功率时,电子设备确定其物理形态为第二物理形态。
在本申请一实施例中,电子设备中第一屏幕和第二屏幕被配置有各自的红外传感器,当第一屏幕的红外传感器确定接收的红外光的功率小于第三预设功率,和/或第二屏幕的红外光传感器确定接收的红外光的功率大于或者等于第四预设功率时,电子设备确定其物理形态为第一物理形态。相反,当第一屏幕的红外传感器确定接收的红外光的功率大于或等于第三预设功率,和/或第二屏幕的红外光传感器确定接收的红外光的功率小于第四预设功率时,电子设备确定其物理形态为第二物理形态。
在本申请实施例中,电子设备可以通过环境光传感器或者红外传感器确定电子设备的物理形态。基于此,在电子设备的不同物理形态下,通过上述功能按键可以控制电子设备不同的屏幕。比如:在电子设备处于第一物理形态时,电子设备通过所述功能按键可以控制第二屏幕,在电子设备处于第二物理形态时,电子设备通过所述功能按键可以控制第一屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
值得一提的是,在上述实施例中,首先,电子设备检测到针对功能按键的操作,并确定电子设备的物理形态;其次,电子设备根据所述操作和所述电子设备的物理形态,控制所述第一屏幕或者所述第二屏幕。实际上,电子设备无需检测针对功能按键的操作,而是获取用户动作,电子设备根据获取到的用户动作和电子设备的物理形态,控制所述第一屏幕或者所述第二屏幕。
具体地,当电子设备的物理形态为第一物理形态时,这时若电子设备获取到用户动作,则电子设备控制第二屏幕。当电子设备的物理形态为第二物理形态时,这时若电子设备获取到用户动作,则电子设备控制第一屏幕。
例如:当电子设备的物理形态为第一物理形态时,这时若电子设备获取到抬手动作,则电子设备点亮第二屏幕。当电子设备的物理形态为第二物理形态时,这时若电子设备获取到抬手动作,则电子设备点亮第一屏幕。
例如:当电子设备的物理形态为第一物理形态时,这时若电子设备获取到OK手势,则 电子设备对第二屏幕进行截屏。当电子设备的物理形态为第二物理形态时,这时若电子设备获取到OK手势,则电子设备对第一屏幕进行截屏。
例如:当电子设备的物理形态为第一物理形态时,这时若电子设备获取到点赞动作,则电子设备在第二屏幕显示音量显示条。当电子设备的物理形态为第一物理形态时,这时若电子设备获取到点赞动作,则电子设备在第一屏幕显示音量显示条。
需要说明的是,上述用户动作的作用可以在电子设备出厂前设置后,或者,可以根据用户的实际需要设置,本申请实施例对此不做限制。
在本申请实施例中,电子设备根据获取到的用户动作和电子设备的物理形态,控制第一屏幕或者第二屏幕。从而可以降低误操作的概率,进而提升了电子设备的可靠性。此外,该电子设备在不增加额外的按键的情况下,实现了控制电子设备屏幕的功能,一方面达到了节约电子设备成本的效果,另一方面,由于用户无需记忆复杂的按键设置情况,从而可以提高用户体验感。
在上述任一实施例中,电子设备仅控制第一屏幕和第二屏幕中的一者。在此基础上,电子设备还可以控制第一屏幕和第二屏幕中的另一者。
具体地,当电子设备的物理状态为第二物理状态时,如上所述,电子设备控制第一屏幕,而当用户还需要控制第二屏幕时,这时用户点击或者触摸第二屏幕,当电子设备获取到在第二屏幕上的点击或者触摸动作后,电子设备可以控制第一屏幕和第二屏幕。
例如:若电子设备确定要点亮第一屏幕,且获取到对第二屏幕的触摸操作,则电子设备点亮第一屏幕和第二屏幕。其中,电子设备可以同时点亮第一屏幕和第二屏幕,或者,先点亮第一屏幕,再点亮第二屏幕,或者,先点亮第二屏幕,再点亮第一屏幕,本申请实施例对此不做限制。
其中,电子设备可以通过如下方式确定要点亮第一屏幕:电子设备获取到针对锁屏按键的操作,且确定电子设备的物理形态为第二物理形态。或者,电子设备获取到用户动作,且确定电子设备的物理形态为第二物理形态。进一步地,假设电子设备获取到针对锁屏按键的操作的时间为第一时间,确定电子设备的物理形态为第二物理形态为第二时间,以第一时间和第二时间中较大者为起始时间,在第一预设时长内若电子设备获取到对第二屏幕的触摸操作,则电子设备同时点亮第一屏幕和第二屏幕。以第一时间和第二时间中较大者为起始时间,在第一预设时长之外若电子设备获取到对第二屏幕的触摸操作,则电子设备先点亮第一屏幕,再点亮第二屏幕。在电子设备获取到针对锁屏按键的操作之前,以上述第一时间为终止时间,在第一预设时长内若电子设备获取到对第二屏幕的触摸操作,则电子设备先点亮第二屏幕,再点亮第一屏幕。其中,上述第一预设时长可以根据实际情况设置,本申请实施例对此不做限制。
例如:若电子设备确定要在第一屏幕上显示音量显示条,且获取到对第二屏幕的触摸操作,则电子设备在第一屏幕和第二屏幕上均显示音量显示条。其中,电子设备可以同时在第一屏幕和第二屏幕上显示音量显示条,或者,先在第一屏幕上显示音量显示条,再在第二屏幕上显示音量显示条,或者,或者,先在第二屏幕上显示音量显示条,再在第一屏幕上显示音量显示条,本申请实施例对此不做限制。
其中,电子设备可以通过如下方式确定要在第一屏幕上显示音量显示条:电子设备获取到针对音量按键的操作,且确定电子设备的物理形态为第二物理形态。或者,如实施例五所记载的电子设备获取到相应的用户动作,且确定电子设备的物理形态为第二物理形态。进一 步地,假设电子设备获取到针对音量按键的操作的时间为第一时间,确定电子设备的物理形态为第二物理形态为第二时间,以第一时间和第二时间中较大者为起始时间,在第二预设时长内若电子设备获取到对第二屏幕的触摸操作,则电子设备同时在第一屏幕和第二屏幕上显示音量显示条。以第一时间和第二时间中较大者为起始时间,在第二预设时长之外若电子设备获取到对第二屏幕的触摸操作,则电子设备先在第一屏幕上显示音量显示条,再在第二屏幕上显示音量显示条。在电子设备获取到针对音量按键的操作之前,以上述第一时间为终止时间,在第二预设时长内若电子设备获取到对第二屏幕的触摸操作,则电子设备先在第二屏幕上显示音量显示条,再在第一屏幕上显示音量显示条。其中,上述第二预设时长可以根据实际情况设置,本申请实施例对此不做限制。
例如:若电子设备确定要对第一屏幕截屏,且获取到对第二屏幕的触摸操作,则电子设备可以同时对第一屏幕和第二屏幕截屏;或者,先对第一屏幕截屏,再对第二屏幕截屏;或者,先对第二屏幕截屏,再对第一屏幕截屏。
其中,电子设备可以通过如下方式确定要对第一屏幕截屏:电子设备获取到针对组合截屏按键的操作,且确定电子设备的物理形态为第二物理形态。或者,如实施例五所记载的电子设备获取到相应的用户动作,且确定电子设备的物理形态为第二物理形态。进一步地,假设电子设备获取到针对组合截屏按键的操作的时间为第一时间,确定电子设备的物理形态为第二物理形态为第二时间,以第一时间和第二时间中较大者为起始时间,在第三预设时长内若电子设备获取到对第二屏幕的触摸操作,则电子设备同时对第一屏幕和第二屏幕截屏。以第一时间和第二时间中较大者为起始时间,在第三预设时长之外若电子设备获取到对第二屏幕的触摸操作,则电子设备先对第一屏幕截屏,再对第二屏幕截屏。在电子设备获取到针对组合截屏按键的操作之前,以上述第一时间为终止时间,在第三预设时长内若电子设备获取到对第二屏幕的触摸操作,则电子设备先对第二屏幕截屏,再对第一屏幕截屏。其中,上述第三预设时长可以根据实际情况设置,本申请实施例对此不做限制。
在本申请实施例中,电子设备可以控制第一屏幕和第二屏幕。比如:点亮第一屏幕和第二屏幕,或者,在第一屏幕和第二屏幕上显示音量显示条,或者,对第一屏幕和第二屏幕截屏。从而丰富了电子设备功能,进而提高了用户体验感。
图11为本申请一实施例提供的一种电子设备1100的示意图,如图11所示,一种电子设备,电子设备包括第一屏幕1101和第二屏幕1102,其中第一屏幕1101是折叠屏。电子设备还包括功能按键1103和处理器1104。
处理器1104用于:检测到针对功能按键1103的操作。响应于检测到的操作,确定电子设备的物理形态。根据操作和电子设备的物理形态,控制第一屏幕1101或者第二屏幕1102。
可选地,处理器1104具体用于:获取第一屏幕1101在折叠处的夹角。根据第一屏幕1101在折叠处的夹角,确定电子设备的物理形态。
可选地,处理器1104具体用于:若第一屏幕1101在折叠处的夹角小于或等于预设角度,则确定电子设备的物理形态为第一物理形态。若第一屏幕1101在折叠处的夹角大于预设角度,则确定电子设备的物理形态为第二物理形态。
可选地,第一屏幕1101和第二屏幕1102上各配置一个陀螺仪传感器1105。处理器1104具体用于:通过第一屏幕1101的陀螺仪传感器1105确定第一屏幕1101中一屏幕的法向量,通过第一屏幕1101的陀螺仪传感器1105确定第一屏幕1101中另一屏幕的法向量。确定第一屏幕1101中一屏幕的法向量和第一屏幕1101中另一屏幕的法向量的夹角。计算180度与第 一屏幕1101中一屏幕的法向量和第一屏幕1101中另一屏幕的法向量的夹角之差,得到第一屏幕1101在折叠处的夹角。
可选地,预设角度为0度。
可选地,电子设备还包括:目标按键1106。处理器1104具体用于:获取对电子设备上的目标按键1106的操作。根据对电子设备上的目标按键1106的操作,确定电子设备的物理形态。
可选地,处理器1104具体用于:若对电子设备上的目标按键1106的操作为第一操作,则确定电子设备的物理形态为第一物理形态。若对电子设备上的目标按键1106的操作为第二操作,则确定电子设备的物理形态为第二物理形态。
可选地,处理器1104具体用于:采集用户视线信息。根据用户视线信息确定电子设备的物理形态。
可选地,处理器1104具体用于:若电子设备根据用户视线信息确定用户视线落在第二屏幕1102上,则确定电子设备的物理形态为第一物理形态。若电子设备根据用户视线信息确定用户视线落在第一屏幕1101上,则确定电子设备的物理形态为第二物理形态。
可选地,处理器1104具体用于:响应于操作。若电子设备的物理形态为第一物理形态,则控制电子设备的第二屏幕1102。若电子设备的物理形态为第二物理形态,则控制电子设备的第一屏幕1101。
可选地,功能按键1103为锁屏按键、音量按键或者组合截屏按键。
需要说明的是,如图1所示,电子设备还可以包括:移动通信模块、无线通信模块、扬声器、受话器、音频模块、麦克风、加速度传感器、指纹传感器、环境光传感器、充电管理模块和电源管理模块等,具体可参见图1对应实施例。
综上,本申请提供一种电子设备,该电子设备可以执行上述的屏幕控制方法,其内容和效果可参考方法实施例部分,对此不再赘述。
本申请实施例还提供一种计算机存储介质,计算机存储介质包括计算机指令,计算机指令用于实现上述的屏幕控制方法。其内容和效果可参考方法实施例部分,对此不再赘述。
本申请实施例还提供一种计算机程序产品,程序产品包括计算机指令,计算机指令用于实现上述的屏幕控制方法。其内容和效果可参考方法实施例部分,对此不再赘述。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
需要指出的是,本专利申请文件的一部分包含受著作权保护的内容。除了对专利局的专利文件或记录的专利文档内容制作副本以外,著作权人保留著作权。

Claims (23)

  1. 一种屏幕控制方法,电子设备包括第一屏幕和第二屏幕,其中,所述第一屏幕是一折叠屏,所述电子设备能够利用所述第一屏幕来折叠或展开所述电子设备,其特征在于,所述方法包括:
    所述电子设备检测到针对功能按键的操作;
    响应于检测到的所述操作,所述电子设备确定所述电子设备的物理形态;
    所述电子设备根据所述操作和所述电子设备的物理形态,控制所述第一屏幕或者所述第二屏幕。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备确定所述电子设备的物理形态,包括:
    所述电子设备获取所述第一屏幕在折叠处的夹角;
    所述电子设备根据所述第一屏幕在折叠处的夹角,确定所述电子设备的物理形态。
  3. 根据权利要求2所述的方法,其特征在于,所述电子设备根据所述第一屏幕在折叠处的夹角,确定所述电子设备的物理形态,包括:
    若所述第一屏幕在折叠处的夹角小于或等于预设角度,则确定所述电子设备的物理形态为第一物理形态;
    若所述第一屏幕在折叠处的夹角大于所述预设角度,则确定所述电子设备的物理形态为第二物理形态。
  4. 根据权利要求2或3所述的方法,其特征在于,所述电子设备获取所述第一屏幕在折叠处的夹角,包括:
    所述电子设备确定所述第一屏幕中一屏幕的法向量和所述第一屏幕中另一屏幕的法向量;
    所述电子设备确定所述第一屏幕中一屏幕的法向量和所述第一屏幕中另一屏幕的法向量的夹角;
    所述电子设备计算180度与所述第一屏幕中一屏幕的法向量和所述第一屏幕中另一屏幕的法向量的夹角之差,得到所述第一屏幕在折叠处的夹角。
  5. 根据权利要求3所述的方法,其特征在于,所述预设角度为0度。
  6. 根据权利要求1所述的方法,其特征在于,所述电子设备确定所述电子设备的物理形态,包括:
    所述电子设备获取对所述电子设备上的目标按键的操作;
    所述电子设备根据对所述电子设备上的目标按键的操作,确定所述电子设备的物理形态。
  7. 根据权利要求6所述的方法,其特征在于,所述电子设备根据对所述电子设备上的目标按键的操作,确定所述电子设备的物理形态,包括:
    若对所述电子设备上的目标按键的操作为第一操作,则确定所述电子设备的物理形态为第一物理形态;
    若对所述电子设备上的目标按键的操作为第二操作,则确定所述电子设备的物理形态为第二物理形态。
  8. 根据权利要求1所述的方法,其特征在于,所述电子设备确定所述电子设备的物理形态,包括:
    所述电子设备采集用户视线信息;
    所述电子设备根据所述用户视线信息确定所述电子设备的物理形态。
  9. 根据权利要求8所述的方法,其特征在于,所述电子设备根据所述用户视线信息确定所述电子设备的物理形态,包括:
    若所述电子设备根据所述用户视线信息确定用户视线落在所述第二屏幕上,则确定所述电子设备的物理形态为第一物理形态;
    若所述电子设备根据所述用户视线信息确定用户视线落在所述第一屏幕上,则确定所述电子设备的物理形态为第二物理形态。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述电子设备根据所述操作和所述电子设备的物理形态,控制所述第一屏幕或者所述第二屏幕,包括:
    所述电子设备响应于所述操作;
    若所述电子设备的物理形态为第一物理形态,则控制所述电子设备的第二屏幕;
    若所述电子设备的物理形态为第二物理形态,则控制所述电子设备的第一屏幕。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述功能按键为锁屏按键、音量按键或者组合截屏按键。
  12. 一种电子设备,其特征在于,所述电子设备包括第一屏幕和第二屏幕,其中所述第一屏幕是折叠屏;所述电子设备还包括功能按键和处理器;
    所述处理器用于:
    检测到针对功能按键的操作;
    响应于检测到的所述操作,确定所述电子设备的物理形态;
    根据所述操作和所述电子设备的物理形态,控制所述第一屏幕或者所述第二屏幕。
  13. 根据权利要求12所述的电子设备,其特征在于,所述处理器具体用于:
    获取所述第一屏幕在折叠处的夹角;
    根据所述第一屏幕在折叠处的夹角,确定所述电子设备的物理形态。
  14. 根据权利要求13所述的电子设备,其特征在于,所述处理器具体用于:
    若所述第一屏幕在折叠处的夹角小于或等于预设角度,则确定所述电子设备的物理形态为第一物理形态;
    若所述第一屏幕在折叠处的夹角大于所述预设角度,则确定所述电子设备的物理形态为第二物理形态。
  15. 根据权利要求13或14所述的电子设备,其特征在于,所述第一屏幕和所述第二屏幕上各配置一个陀螺仪传感器;
    所述处理器具体用于:
    通过所述第一屏幕的陀螺仪传感器确定所述第一屏幕中一屏幕的法向量,通过所述第一屏幕的陀螺仪传感器确定所述第一屏幕中另一屏幕的法向量;
    确定所述第一屏幕中一屏幕的法向量和所述第一屏幕中另一屏幕的法向量的夹角;
    计算180度与所述第一屏幕中一屏幕的法向量和所述第一屏幕中另一屏幕的法向量的夹角之差,得到所述第一屏幕在折叠处的夹角。
  16. 根据权利要求14所述的电子设备,其特征在于,所述预设角度为0度。
  17. 根据权利要求12所述的电子设备,其特征在于,所述电子设备还包括:目标按键;
    所述处理器具体用于:
    获取对所述电子设备上的目标按键的操作;
    根据对所述电子设备上的目标按键的操作,确定所述电子设备的物理形态。
  18. 根据权利要求17所述的电子设备,其特征在于,所述处理器具体用于:
    若对所述电子设备上的目标按键的操作为第一操作,则确定所述电子设备的物理形态为第一物理形态;
    若对所述电子设备上的目标按键的操作为第二操作,则确定所述电子设备的物理形态为第二物理形态。
  19. 根据权利要求12所述的电子设备,其特征在于,所述处理器具体用于:
    采集用户视线信息;
    根据所述用户视线信息确定所述电子设备的物理形态。
  20. 根据权利要求19所述的电子设备,其特征在于,所述处理器具体用于:
    若所述电子设备根据所述用户视线信息确定用户视线落在所述第二屏幕上,则确定所述电子设备的物理形态为第一物理形态;
    若所述电子设备根据所述用户视线信息确定用户视线落在所述第一屏幕上,则确定所述电子设备的物理形态为第二物理形态。
  21. 根据权利要求12-20任一项所述的电子设备,其特征在于,所述处理器具体用于:
    响应于所述操作;
    若所述电子设备的物理形态为第一物理形态,则控制所述电子设备的第二屏幕;
    若所述电子设备的物理形态为第二物理形态,则控制所述电子设备的第一屏幕。
  22. 根据权利要求12-21任一项所述的电子设备,其特征在于,所述功能按键为锁屏按键、音量按键或者组合截屏按键。
  23. 一种计算机存储介质,其特征在于,所述计算机存储介质包括计算机指令,所述计算机指令用于实现如权利要求1-11任一项所述的屏幕控制方法。
PCT/CN2020/075066 2019-02-22 2020-02-13 屏幕控制方法、电子设备及存储介质 WO2020168977A1 (zh)

Priority Applications (11)

Application Number Priority Date Filing Date Title
BR112021015822-7A BR112021015822A2 (pt) 2019-02-22 2020-02-13 Método de controle de tela, dispositivo eletrônico, e meio de armazenamento
EP23179474.4A EP4293483A3 (en) 2019-02-22 2020-02-13 Screen control method, electronic device, and storage medium
MYPI2021004072A MY190072A (en) 2019-02-22 2020-02-13 Screen control method, electronic device, and storage medium
US17/433,202 US20220121413A1 (en) 2019-02-22 2020-02-13 Screen Control Method, Electronic Device, and Storage Medium
ES20758543T ES2960211T3 (es) 2019-02-22 2020-02-13 Método de control de pantalla, dispositivo electrónico y medio de almacenamiento
KR1020217025447A KR102422114B1 (ko) 2019-02-22 2020-02-13 화면 제어 방법, 전자 장치, 및 저장 매체
JP2021549389A JP7244666B2 (ja) 2019-02-22 2020-02-13 画面制御方法、電子デバイス、および記憶媒体
EP20758543.1A EP3901753B1 (en) 2019-02-22 2020-02-13 Screen control method, electronic device, and storage medium
AU2020224197A AU2020224197B2 (en) 2019-02-22 2020-02-13 Screen control method, electronic device, and storage medium
ZA2021/04987A ZA202104987B (en) 2019-02-22 2021-07-15 Screen control method, electronic device, and storage medium
AU2022256138A AU2022256138B2 (en) 2019-02-22 2022-10-19 Screen control method, electronic device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910135444.9 2019-02-22
CN201910135444.9A CN109992189B (zh) 2019-02-22 2019-02-22 屏幕控制方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020168977A1 true WO2020168977A1 (zh) 2020-08-27

Family

ID=67129992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075066 WO2020168977A1 (zh) 2019-02-22 2020-02-13 屏幕控制方法、电子设备及存储介质

Country Status (11)

Country Link
US (1) US20220121413A1 (zh)
EP (2) EP4293483A3 (zh)
JP (1) JP7244666B2 (zh)
KR (1) KR102422114B1 (zh)
CN (2) CN109992189B (zh)
AU (2) AU2020224197B2 (zh)
BR (1) BR112021015822A2 (zh)
ES (1) ES2960211T3 (zh)
MY (1) MY190072A (zh)
WO (1) WO2020168977A1 (zh)
ZA (1) ZA202104987B (zh)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992189B (zh) * 2019-02-22 2021-05-11 华为技术有限公司 屏幕控制方法、电子设备及存储介质
CN110413181B (zh) * 2019-07-22 2021-04-06 维沃移动通信有限公司 一种移动终端的控制方法、装置及移动终端
CN113539192B (zh) * 2020-04-21 2023-10-20 北京小米移动软件有限公司 环境光检测方法及装置、电子设备和存储介质
CN113625865B (zh) * 2020-05-07 2023-06-06 华为技术有限公司 屏幕状态的控制方法及电子设备
CN114327314B (zh) * 2020-09-29 2024-04-12 华为技术有限公司 显示控制方法、终端及存储介质
CN112565490B (zh) * 2020-12-10 2022-08-19 维沃移动通信有限公司 电子设备
CN115617117A (zh) * 2021-07-16 2023-01-17 华为技术有限公司 一种电子设备的按键控制方法及电子设备
US20230205476A1 (en) * 2021-12-28 2023-06-29 Motorola Mobility Llc Managing Media Content in Multi-Display Systems
US11968319B2 (en) 2021-12-28 2024-04-23 Motorola Mobility Llc Managing call sessions in multi-display systems
CN116795310A (zh) * 2022-03-17 2023-09-22 北京荣耀终端有限公司 一种数据传输方法及系统
CN114661097A (zh) * 2022-03-28 2022-06-24 联想(北京)有限公司 控制方法、装置及电子设备和存储介质
CN114779916B (zh) * 2022-03-29 2024-06-11 杭州海康威视数字技术股份有限公司 一种电子设备屏幕唤醒方法、门禁管理方法及装置
CN116048350B (zh) * 2022-07-08 2023-09-08 荣耀终端有限公司 一种截屏方法及电子设备
CN118042043A (zh) * 2022-11-04 2024-05-14 荣耀终端有限公司 控制亮屏的方法和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155615A (zh) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 屏幕折叠设备、控制方法及控制装置
CN107831993A (zh) * 2017-10-24 2018-03-23 广东欧珀移动通信有限公司 播放控制方法、装置、终端以及计算机可读存储介质
CN107943374A (zh) * 2017-12-14 2018-04-20 维沃移动通信有限公司 可折叠终端中应用程序的启动方法及可折叠终端
CN109361816A (zh) * 2018-09-29 2019-02-19 上海爱优威软件开发有限公司 基于形态信息的按键控制方法及终端
CN109992189A (zh) * 2019-02-22 2019-07-09 华为技术有限公司 屏幕控制方法、电子设备及存储介质

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4304886B2 (ja) * 2001-06-15 2009-07-29 日本電気株式会社 折り畳み式携帯電話、及びその開閉検出方法
JP3965383B2 (ja) * 2003-12-17 2007-08-29 松下電器産業株式会社 携帯端末装置
KR20050081600A (ko) * 2004-02-16 2005-08-19 에스케이텔레텍주식회사 이동통신단말기에서의 화면 캡쳐 방법
JP2008103819A (ja) * 2006-10-17 2008-05-01 Nec Saitama Ltd 端末装置および省電力制御方法
JP4719929B2 (ja) * 2009-03-31 2011-07-06 Necカシオモバイルコミュニケーションズ株式会社 表示装置、および、プログラム
KR20130095088A (ko) * 2012-02-17 2013-08-27 엘지전자 주식회사 이동 단말기 및 그의 물리 키 설정방법
KR102097361B1 (ko) * 2013-02-01 2020-04-07 삼성디스플레이 주식회사 가요성 디스플레이 장치를 구비한 모바일 기기 및 이의 동작 방법
US9335823B2 (en) * 2013-04-26 2016-05-10 Immersion Corporation Systems and methods for haptically-enabled conformed and multifaceted displays
KR20150135038A (ko) * 2014-05-23 2015-12-02 삼성전자주식회사 폴더블 전자 장치 및 그 제어 방법
US10254863B2 (en) * 2014-12-19 2019-04-09 Lg Electronics Inc. Mobile terminal
WO2016108439A1 (en) * 2014-12-29 2016-07-07 Samsung Electronics Co., Ltd. Foldable device and method of controlling the same
KR102137543B1 (ko) * 2015-01-07 2020-08-13 삼성전자주식회사 벤딩 가능한 사용자 단말 장치 및 이의 디스플레이 방법
KR102317803B1 (ko) * 2015-01-23 2021-10-27 삼성전자주식회사 복수의 디스플레이를 제어하는 전자 장치 및 제어 방법
KR101942950B1 (ko) * 2015-03-31 2019-01-28 삼성전자주식회사 폴더블 디바이스 및 그 제어 방법
KR102406091B1 (ko) * 2015-04-01 2022-06-10 삼성전자주식회사 전자 장치
CN105335063B (zh) * 2015-09-23 2019-08-27 联想(北京)有限公司 一种信息处理方法及电子设备
KR102499110B1 (ko) * 2016-01-14 2023-02-13 삼성전자 주식회사 디스플레이 제어 방법 및 이를 사용하는 전자 장치
KR102480462B1 (ko) * 2016-02-05 2022-12-23 삼성전자주식회사 복수의 디스플레이들을 포함하는 전자 장치 및 그 동작 방법
KR20170112497A (ko) * 2016-03-31 2017-10-12 엘지전자 주식회사 이동 단말기 및 그 제어방법
CN106155325B (zh) * 2016-07-22 2019-08-30 努比亚技术有限公司 一种双屏显示唤醒装置及方法
CN106484351A (zh) * 2016-09-30 2017-03-08 广东欧珀移动通信有限公司 一种显示控制方法及移动终端
CN106911850B (zh) * 2017-02-27 2020-05-19 陈惠金 移动终端及其截屏方法
US20180284844A1 (en) * 2017-04-04 2018-10-04 Microsoft Technology Licensing, Llc Foldable display device with interactable user interface surface on the external shell
WO2018198307A1 (ja) * 2017-04-28 2018-11-01 シャープ株式会社 フレキシブルディスプレイ付モバイル端末
CN108958679A (zh) * 2017-05-25 2018-12-07 中兴通讯股份有限公司 移动终端显示方法、装置、移动终端及存储介质
CN107193519A (zh) * 2017-05-26 2017-09-22 珠海市魅族科技有限公司 显示控制方法及装置、计算机装置和计算机可读存储介质
CN107566572A (zh) * 2017-09-08 2018-01-09 南京中电熊猫液晶显示科技有限公司 一种双屏显示设备
CN107765835A (zh) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 点亮屏幕的方法、装置及终端
CN108037887B (zh) * 2017-11-30 2021-06-18 努比亚技术有限公司 终端虚拟按键的构建方法、终端及计算机可读存储介质
CN116880667A (zh) * 2017-12-18 2023-10-13 中兴通讯股份有限公司 控制终端屏幕的方法、装置、终端及存储介质
CN108845773B (zh) * 2018-04-28 2022-04-29 中兴通讯股份有限公司 屏幕间夹角的确定方法、装置、存储介质及电子装置
US11409488B2 (en) * 2019-02-19 2022-08-09 Samsung Electronics Co., Ltd. Electronic device and display control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155615A (zh) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 屏幕折叠设备、控制方法及控制装置
CN107831993A (zh) * 2017-10-24 2018-03-23 广东欧珀移动通信有限公司 播放控制方法、装置、终端以及计算机可读存储介质
CN107943374A (zh) * 2017-12-14 2018-04-20 维沃移动通信有限公司 可折叠终端中应用程序的启动方法及可折叠终端
CN109361816A (zh) * 2018-09-29 2019-02-19 上海爱优威软件开发有限公司 基于形态信息的按键控制方法及终端
CN109992189A (zh) * 2019-02-22 2019-07-09 华为技术有限公司 屏幕控制方法、电子设备及存储介质

Also Published As

Publication number Publication date
EP3901753B1 (en) 2023-08-23
JP2022518618A (ja) 2022-03-15
JP7244666B2 (ja) 2023-03-22
AU2022256138A1 (en) 2022-11-24
EP4293483A3 (en) 2024-03-13
MY190072A (en) 2022-03-24
EP3901753A4 (en) 2022-03-02
KR102422114B1 (ko) 2022-07-20
CN109992189A (zh) 2019-07-09
AU2020224197B2 (en) 2022-08-04
CN109992189B (zh) 2021-05-11
AU2020224197A1 (en) 2021-08-12
US20220121413A1 (en) 2022-04-21
EP3901753C0 (en) 2023-08-23
CN113504866A (zh) 2021-10-15
EP3901753A1 (en) 2021-10-27
EP4293483A2 (en) 2023-12-20
KR20210104913A (ko) 2021-08-25
ZA202104987B (en) 2022-07-27
ES2960211T3 (es) 2024-03-01
BR112021015822A2 (pt) 2021-10-13
AU2022256138B2 (en) 2023-08-03

Similar Documents

Publication Publication Date Title
WO2020168977A1 (zh) 屏幕控制方法、电子设备及存储介质
WO2020168965A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
WO2020156269A1 (zh) 一种具有柔性屏幕的电子设备的显示方法及电子设备
WO2020224449A1 (zh) 一种分屏显示的操作方法及电子设备
WO2020155876A1 (zh) 控制屏幕显示的方法及电子设备
WO2021104008A1 (zh) 一种折叠屏的显示方法及相关装置
WO2021052279A1 (zh) 一种折叠屏显示方法及电子设备
WO2021063237A1 (zh) 电子设备的控制方法及电子设备
EP3907592A1 (en) Method for moving application icons, and electronic device
WO2021063311A1 (zh) 具有折叠屏的电子设备的显示控制方法及电子设备
WO2020168968A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2020168976A1 (zh) 灭屏显示的方法和电子设备
WO2021082564A1 (zh) 一种操作提示的方法和电子设备
WO2020073288A1 (zh) 一种触发电子设备执行功能的方法及电子设备
WO2021051982A1 (zh) 调用硬件接口的方法及电子设备
WO2021031745A1 (zh) 一种应用打开方法和电子设备
WO2022135186A1 (zh) 设备控制方法和终端设备
CN114090102B (zh) 启动应用程序的方法、装置、电子设备和介质
WO2020237617A1 (zh) 控屏方法、装置、设备及存储介质
WO2021057699A1 (zh) 具有柔性屏幕的电子设备的控制方法及电子设备
WO2022105702A1 (zh) 保存图像的方法及电子设备
WO2022037725A1 (zh) 一种系统服务恢复方法、装置和电子设备
WO2021052015A1 (zh) 一种触控屏控制方法和电子设备
WO2023029916A1 (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: 20758543

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 20758543.1

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2020758543

Country of ref document: EP

Effective date: 20210722

ENP Entry into the national phase

Ref document number: 20217025447

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 122022009504

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2020224197

Country of ref document: AU

Date of ref document: 20200213

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021549389

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112021015822

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112021015822

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20210811