WO2020042921A1 - Screen control method and electronic device - Google Patents

Screen control method and electronic device Download PDF

Info

Publication number
WO2020042921A1
WO2020042921A1 PCT/CN2019/100970 CN2019100970W WO2020042921A1 WO 2020042921 A1 WO2020042921 A1 WO 2020042921A1 CN 2019100970 W CN2019100970 W CN 2019100970W WO 2020042921 A1 WO2020042921 A1 WO 2020042921A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
display
display mode
electronic device
input
Prior art date
Application number
PCT/CN2019/100970
Other languages
French (fr)
Chinese (zh)
Inventor
卿智勇
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020042921A1 publication Critical patent/WO2020042921A1/en

Links

Images

Classifications

    • 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
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

Definitions

  • Embodiments of the present disclosure relate to the field of display processing technologies, and in particular, to a screen control method and an electronic device.
  • the screens of electronic devices are rectangular, and the dimensions in the horizontal and vertical directions are different.
  • different screens have different requirements for viewing different interfaces. For example, when viewing a video call interface, the user needs the screen to be displayed in a vertical screen, and when watching a video playback interface, the user needs the screen to be displayed in a horizontal screen. Therefore, it is necessary to effectively control the display state of the screen.
  • single-screen electronic devices can have a built-in gravity sensor and have a "vertical screen lock" switch. If the switch is turned on, the display state of the screen is the vertical screen lock state; if the switch is turned off, the electronic device learns the current posture of the electronic device through the gravity sensor, and controls the display state of the screen according to the current state of the electronic device, that is, The display status of the screen is automatically switched.
  • Double-sided electronic devices as the name implies, means that an electronic device has two screens.
  • the screen control method of a single-sided screen electronic device is continued, the screen control flexibility is low.
  • the embodiments of the present disclosure provide a screen control method and an electronic device, so as to solve the problem that the screen control method of the single-sided screen electronic device continues to be used with the double-sided screen electronic device and the flexibility of the screen control is low.
  • an embodiment of the present disclosure provides a screen control method.
  • the method is applied to an electronic device.
  • the electronic device is provided with a first screen and a second screen.
  • the method includes:
  • the electronic device In response to the first input, switching from the first display mode to the second display mode, the electronic device presets N display modes including the first display mode and the second display mode, where N is greater than An integer of 1, each display mode includes a first display state of the first screen and a second display state of the second screen;
  • the first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
  • the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
  • an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
  • a receiving module configured to receive a first input from a user on the first screen or the second screen
  • a switching module configured to switch from the first display mode to the second display mode in response to the first input, and the electronic device presets N displays including the first display mode and the second display mode Mode, N is an integer greater than 1, and each display mode includes a first display state of the first screen and a second display state of the second screen;
  • the first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
  • the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
  • an embodiment of the present disclosure further provides an electronic device.
  • the electronic device includes a processor, a memory, and a program stored on the memory and executable on the processor. When executed, the steps of the screen control method described above are implemented.
  • an embodiment of the present disclosure further provides a computer-readable storage medium having a program stored on the computer-readable storage medium, where the program is executed by a processor to implement the steps of the screen control method described above.
  • a first display state of the first screen when the electronic device is in the first display mode is different from a first display state of the first screen when the electronic device is in the second display mode.
  • a first display state; or a second display state of the second screen when the electronic device is in the first display mode is different from the second display state when the electronic device is in the second display mode.
  • the second display state of the screen can control that the first screen and the second screen can be in different display states, so that the display states of the first screen and the second screen are always consistent compared to the related art, and the present disclosure can improve the flexibility of screen control. .
  • FIG. 1 is one of the flowcharts of a screen control method according to an embodiment of the present disclosure
  • FIG. 2a is one of the screen display diagrams provided by the embodiment of the present disclosure.
  • 2b is a second schematic diagram of a screen display provided by an embodiment of the present disclosure.
  • FIG. 3 is a second flowchart of a screen control method according to an embodiment of the present disclosure.
  • FIG. 4a is a third schematic diagram of a screen display provided by an embodiment of the present disclosure.
  • 4b is a fourth schematic diagram of a screen display provided by an embodiment of the present disclosure.
  • FIG. 4c is a fifth schematic diagram of a screen display provided by an embodiment of the present disclosure.
  • 4d is a sixth schematic diagram of a screen display provided by an embodiment of the present disclosure.
  • FIG. 6 is a second structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the electronic device in the embodiment of the present disclosure is a double-sided screen electronic device, that is, the electronic device is provided with a first screen and a second screen. Further, the positional relationship between the first screen and the second screen may be fixed or flexible, and may be specifically determined according to actual needs, which is not limited in the embodiments of the present disclosure.
  • the electronic device may be a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a mobile Internet device (MID), or Wearable devices (Wearable devices).
  • PDA personal digital assistant
  • MID mobile Internet device
  • Wired devices Wearable devices
  • FIG. 1 is one of the flowcharts of a screen control method provided by an embodiment of the present disclosure. As shown in FIG. 1, the screen control method in this embodiment includes the following steps: 101 and 102.
  • Step 101 Receive a first input from a user on the first screen or the second screen.
  • the first input may be expressed as: a user's tap operation on the first screen or the second screen; or a user's swipe operation on the first screen or the second screen, but Not only that.
  • Step 102 In response to the first input, switch from the first display mode to the second display mode.
  • the electronic device pre-stores N display modes including the first display mode and the second display mode, where N is an integer greater than 1.
  • Each display mode includes a first display state of the first screen and a second display state of the second screen.
  • the display state may be characterized by a display parameter.
  • the display parameter may include, but is not limited to, at least one of a display direction, a display brightness, and a display color temperature.
  • the display state may include an eye protection display state and a normal display state.
  • the display state may include a vertical screen lock state, a horizontal screen lock state, and an automatic switching state (or an automatic rotation state).
  • the display direction of the screen has nothing to do with the posture of the electronic device.
  • the screen is always in the vertical screen display, and it cannot be switched to the horizontal screen display.
  • the horizontal screen lock state the display direction of the screen has nothing to do with the posture of the electronic device.
  • the screen is always in the horizontal screen display and cannot be switched to the vertical screen display.
  • the automatic switching state the display direction of the screen is related to the posture of the electronic device, and the electronic device performs horizontal and vertical screen switching display based on the gravity sensing device.
  • the first display state of the first screen is that the first screen always maintains a vertical screen display, or the first screen does not maintain a vertical screen display;
  • the second display state of the second screen is that the second screen always maintains a vertical screen display, or the second screen does not maintain a vertical screen display.
  • the display state when the display state is to maintain the vertical screen display, it can be expressed as the vertical screen display state described above; when the display state is not to maintain the vertical screen display, it can be understood that the vertical screen display is not always maintained, it can be expressed as above Landscape lock status or automatic switching status.
  • a first display state of the first screen when the electronic device is in the first display mode is different from the first display state when the electronic device is in the second display mode.
  • the first display state of the screen is different from the first display state when the electronic device is in the second display mode.
  • the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
  • the electronic device is in the first display mode, and the first display state of the first screen is that the first screen always maintains a vertical screen display
  • the electronic device is in In the second display mode, the first display state of the first screen is that the first display state of the first screen is that the first screen does not maintain a vertical screen display; or, if the electronic device is in the first display state, In a display mode, the second display state of the second screen is that the second screen does not maintain a vertical screen display.
  • the display state of the second screen is The second screen always maintains a vertical screen display.
  • the first screen and the second screen of the electronic device can be controlled to be in different display states, so that the display states of the first screen and the second screen are always consistent compared to the related art.
  • the present disclosure Can increase the flexibility of screen control.
  • the electronic device may determine the second display mode in multiple ways, such as determining the second display mode based on the input parameters of the first input, or determining the second display mode based on user selection, or based on N
  • the preset switching order of the display modes determines the second display mode, which is described in detail below.
  • a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode
  • the receiving a user's first input on the first screen or the second screen includes:
  • the target control is used to switch the display mode. Therefore, the user can touch the target control, that is, perform a first input on the target control, and trigger the electronic device to switch from the first display mode to the second display mode.
  • the target control may be a control that is always displayed on the first screen and / or the second screen, or may be a control that triggers the display of the electronic device by the user performing a third input.
  • the method further includes:
  • the target screen is a first screen or a second screen.
  • displaying the target control on the target screen may be expressed as:
  • a control center including a target control is displayed on the target screen.
  • control center may also include other controls, such as a Bluetooth switch control, a WiFi switch control, and the like.
  • the third input may be a sliding input.
  • the user performs a first input 21 on the first screen 20, and the first input appears as the user swiping up from the bottom of the first screen 20 of the electronic device to trigger the electronic device on the first screen 20 Open the control center 30.
  • the control center 30 includes a target control 31, a Bluetooth switch control 32, and a WiFi switch control 33, as shown in FIG. 2b.
  • the electronic device can pre-store the corresponding relationship between the target object and the control center.
  • the user can input the target object on the target screen, and then the electronic device can be triggered to display the control center including the target control on the target screen.
  • the target object can be Target graphic or target character. Therefore, in this application scenario, the third input may be a character input or a graphic input.
  • a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode; the first input is a user's input on the target control, which can improve The response rate at which the electronic device performs a display mode switching operation.
  • the electronic device may switch from the first display mode to the second display mode in response to the first input in at least the following manner.
  • the switching from the first display mode to the second display mode in response to the first input includes:
  • Manner 1 In response to the first input, switching from the first display mode to the second display mode in accordance with the preset switching order of the N display modes, wherein in the preset switching order, the first The two display modes are the next display mode in the first display mode;
  • Manner 2 In response to the first input, displaying a prompt box including the N display modes;
  • the electronic device can preset the switching order of the N display modes. After receiving the first input, the electronic device can switch from the first display mode to the N display mode according to the preset switching order of the N display modes. The second display mode.
  • the electronic device has 4 display modes stored in advance, which are display mode a, display mode b, display mode c, and display mode d.
  • the preset switching order of the display mode a, the display mode b, the display mode c, and the display mode d is: display mode b, display mode d, display mode c, and display mode a in order. It can be seen that in the preset switching sequence, display mode d is the next display mode of display mode b, display mode c is the next display mode of display mode d, display mode a is the next display mode of display mode c, and display mode b is the next display mode of display mode a.
  • the electronic device switches from the display mode a to the display mode b; if thereafter, the electronic device receives again To the user's first input on the target control, the electronic device switches from display mode b to display mode d; if afterwards, the electronic device receives the user's first input on the target control, the electronic device switches from display mode d Go to display mode c; if afterwards, the electronic device receives the user's first input on the target control, the electronic device switches from display mode c to display mode a, and so on.
  • the electronic device displays a prompt box including N display modes.
  • the prompt box may include a first display state of the first screen and a second screen of each display mode.
  • the second display state can facilitate the user to know the first display state and the second display state of each display mode, and then can select a desired display mode.
  • the second input may be a touch operation by the user to touch the display position of the second display mode, such as a tap operation, a long-press operation, and the like.
  • the first display mode can be switched to the second display mode.
  • the second display mode in the second method can be selected by the user, thereby improving the flexibility of determining the second display mode.
  • the electronic device does not need to store the preset switching order of the N display modes, thereby improving the resource utilization rate of the electronic device.
  • the second display mode is determined according to a preset switching order of the N display modes, and the electronic device does not need to display a prompt box, thereby reducing the operating load of the electronic device.
  • the first input in the above manners 1 and 2 may be a touch input of a user on a target control, or a slide of a user drawing a preset graphic or character on a first screen or a second screen.
  • Input where preset graphics or characters are used to trigger the electronic device to switch display modes, or display a prompt box including the N display modes, which can be determined according to actual needs, which is not limited in the embodiments of the present disclosure.
  • the switching from the first display mode to the second display mode in response to the first input includes:
  • Manner 3 In response to the first input, acquiring input parameters of the first input and switching from a first display mode to a second display mode, wherein the second display mode corresponds to the input parameters.
  • the electronic device has a correspondence relationship between the input parameter and the display mode pre-stored.
  • the input parameter and the display mode may be a one-to-one correspondence relationship or a many-to-one correspondence relationship.
  • the actual needs are determined and are not limited here. However, it should be understood that, because the electronic device determines the accuracy of the second display mode, the input parameter and the display mode are generally not in a one-to-many correspondence relationship.
  • the input parameters may include at least one of the duration of the input, the number of input times, and the input trajectory.
  • the electronic device can determine the display mode corresponding to the input parameters as the second display mode by searching the above-mentioned correspondence, and switch from the first display mode. Go to the second display mode.
  • the electronic device has three display modes pre-stored, namely display mode I, display mode II, and display mode III, and in the correspondence between the input parameter and the display mode, the display mode I corresponds to the input trajectory ⁇ , the display mode II corresponds to the input track ⁇ , and display mode III corresponds to the input track ⁇ .
  • the display mode II corresponding to the input track ⁇ is determined as the second display mode, and the display mode II is switched. If the input track of the first input received by the electronic device is ⁇ , the display mode III corresponding to the input track of ⁇ is determined as the second display mode, and the display mode III is switched to the display mode III, and so on.
  • the electronic device may not perform a switching operation for switching from the first display mode to the second display mode.
  • the user can directly perform the first input on the first screen or the second screen, which can trigger the electronic device to perform a switching operation from the first display mode to the second display mode, so that compared with the user's needs Only when the first input on the target control is executed, the electronic device can be triggered to perform the switching operation from the first display mode to the second display mode.
  • the first screen and the second screen do not need to display the target control, thereby improving the screen of the electronic device. Utilization.
  • the electronic device displays a first display control and a second display control; wherein the first display The control is used to represent a display state of the first screen; the second display control is used to represent a display state of the second screen.
  • a first display control (or a first display switch) may be displayed on a first screen of an electronic device, and a second display control (or a second display switch) may be displayed on a second screen.
  • the first display control and the second display control may be displayed on the first screen and / or the second screen simultaneously. It should be understood that the display control may be always displayed on the screen, or the user may perform an input to trigger the screen to display.
  • the first display control and the second display control may be displayed in the target control.
  • examples are described below.
  • the first display control is in display state 1, the first display state representing the first screen is an automatic switching state, the first display control is in display state 2, and the first display state representing the first screen is a vertical screen lock state;
  • the second The display control is in display state 1, which indicates that the second display state of the second screen is an automatic switching state, and the second display control is in display state 2, which indicates that the second display state of the second screen is a vertical screen lock state. See Figures 4a to 4d.
  • the first display control 311 and the second display control 312 on the target control 31 in the control center 30 are both in the display state 1.
  • the first display state of the first screen and the second display state of the second screen are: The same display state is automatically switched.
  • the first display control 311 on the target control 31 in the control center 30 is the display state 2 and the second display control 312 is the display state 1, which represents the first display state of the first screen and the second display control of the second screen.
  • the display states are different display states, the first display state is a vertical screen lock state, and the second display state is an automatic switching state.
  • the first display control 311 on the target control 31 in the control center 30 is the display state 1
  • the second display control 312 is the display state 2, which represents the first display state of the first screen and the second display control of the second screen.
  • the display states are different display states, the first display state is an automatic switching state, and the second display state is a vertical screen lock state.
  • the first display control 311 and the second display control 312 on the target control 31 in the control center 30 are both in the display state 2.
  • the first display state of the first screen and the second display state of the second screen are: The same display state is the vertical screen lock state.
  • the user can know the first display state of the first screen and the second display state of the second screen by viewing the display states of the first display control and the second display control, and then can determine whether to perform switching from the first display mode to The switching operation of the second display mode is to make the display mode of the electronic device meet the use expectation.
  • FIG. 5 is one of the structural diagrams of an electronic device provided by an embodiment of the present disclosure.
  • the electronic device in this embodiment is provided with a first screen and a second screen.
  • the electronic device 500 includes:
  • a receiving module 501 configured to receive a first input of a user on the first screen or the second screen;
  • a switching module 502 configured to switch from the first display mode to the second display mode in response to the first input, and the electronic device is preset to include N number of the first display mode and the second display mode; Display mode, N is an integer greater than 1, each display mode includes a first display state of the first screen and a second display state of the second screen;
  • the first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
  • the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
  • the first display state of the first screen is that the first screen always maintains a vertical screen display, or the first screen does not maintain a vertical screen display;
  • the second display state of the second screen is that the second screen always maintains a vertical screen display, or the second screen does not maintain a vertical screen display
  • a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode
  • the receiving module 501 is specifically configured to receive a first input from a user in the target control.
  • the switching module 502 is specifically configured to:
  • the switching module 502 is specifically configured to:
  • the electronic device displays a first display control and a second display control; wherein the first display control is used to represent a display state of the first screen; and the second display control is used to represent all The display state of the second screen is described.
  • the electronic device 500 can implement various processes in the method embodiments of the present disclosure and achieve the same beneficial effects. To avoid repetition, details are not described herein again.
  • FIG. 6 is a second structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the electronic device may be a schematic diagram of a hardware structure of an electronic device that implements various embodiments of the present disclosure.
  • the electronic device 600 includes, but is not limited to, a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, The processor 610, and the power supply 611 and other components.
  • a radio frequency unit 601 a radio frequency unit 601
  • the network module 602 includes, but is not limited to, a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609,
  • the processor 610, and the power supply 611 and other components are examples of the structure of the electronic device shown in FIG. 6 does not constitute
  • the electronic device may include more or fewer components than shown, or some components may be combined or different components. Layout.
  • the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, and a pedometer.
  • the user input unit 607 is configured to: receive a first input of a user on the first screen or the second screen; and the processor 610 is configured to: in response to the first input, switch from a first display mode Switch to the second display mode; wherein the electronic device is preset with N display modes including the first display mode and the second display mode, and each display mode includes the first display of the first screen State and the second display state of the second screen, and the N display modes include a display mode in which the first display state and the second display state are different display states, and N is an integer greater than 1. .
  • a target control is displayed on the first screen and / or the second screen, and the target control is used to switch display modes; the user input unit 607 is specifically configured to: receive a user's First input.
  • processor 610 is specifically used for:
  • processor 610 is specifically used for:
  • the electronic device displays a first display control and a second display control; wherein the first display control is used to represent a display state of the first screen; and the second display control is used to represent all The display state of the second screen is described.
  • the electronic device 600 in this embodiment can implement the processes in the method embodiments of the present disclosure and achieve the same beneficial effects. To avoid repetition, details are not described herein again.
  • the radio frequency unit 601 may be used to receive and send signals during the transmission and reception of information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 610; The uplink data is sent to the base station.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 601 can also communicate with a network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive email, browse web pages, and access streaming media.
  • the audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sound. Also, the audio output unit 603 may also provide audio output (for example, a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the electronic device 600.
  • the audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 604 is used for receiving audio or video signals.
  • the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042.
  • the graphics processor 6041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frames may be displayed on a display unit 606.
  • the image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602.
  • the microphone 6042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode and output.
  • the electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 6061 and the electronic device 600 when the electronic device 600 moves to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary.
  • sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
  • the display unit 606 is configured to display information input by the user or information provided to the user.
  • the display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 607 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the electronic device.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072.
  • Touch panel 6071 also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 6071 or near touch panel 6071 operating).
  • the touch panel 6071 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 610, receive the command sent by the processor 610 and execute it.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 6071.
  • the user input unit 607 may further include other input devices 6072.
  • other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
  • the touch panel 6071 may be overlaid on the display panel 6061.
  • the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch panel 6071 transmits the touch operation to the processor 610 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 6061.
  • the touch panel 6071 and the display panel 6061 are implemented as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated. The implementation of the input and output functions of the electronic device is not limited here.
  • the interface unit 608 is an interface through which an external device is connected to the electronic device 600.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more.
  • the interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 600 or may be used to connect the electronic device 600 and the external device. Transfer data between devices.
  • the memory 609 can be used to store software programs and various data.
  • the memory 609 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), and the like; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 609 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 610 is a control center of an electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, and runs or executes software programs and / or modules stored in the memory 609 and calls data stored in the memory 609 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
  • the electronic device 600 may further include a power source 611 (such as a battery) for supplying power to various components.
  • a power source 611 such as a battery
  • the power source 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 600 includes some functional modules that are not shown, and details are not described herein again.
  • an embodiment of the present disclosure further provides an electronic device, including a processor 610, a memory 609, and a program stored on the memory 609 and executable on the processor 610.
  • the program is implemented when the processor 610 is executed.
  • An embodiment of the present disclosure further provides a computer-readable storage medium.
  • a program is stored on the computer-readable storage medium.
  • the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
  • the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better.
  • Implementation Based on this understanding, the technical solution of the present disclosure that is essentially or contributes to the existing technology can be embodied in the form of a software product that is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes a plurality of instructions for causing an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the embodiments of the present disclosure.
  • a storage medium such as ROM / RAM, magnetic disk,
  • the optical disc includes a plurality of instructions for causing an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a screen control method and an electronic device. The electronic device is provided with a first screen and a second screen. The method comprises: receiving a first input of a user on the first screen or the second screen; and in response to the first input, performing switching from a first display mode to a second display mode, wherein a first display state of the first screen when the electronic device is in the first display mode is different from a first display state of the first screen when the electronic device is in the second display mode; and/or a second display state of the second screen when the electronic device is in the first display mode is different from a second display state of the second screen when the electronic device is in the second display mode.

Description

屏幕控制方法及电子设备Screen control method and electronic equipment
相关申请的交叉引用Cross-reference to related applications
本申请主张在2018年8月28日在中国提交的中国专利申请No.201810989399.9的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201810989399.9 filed in China on August 28, 2018, the entire contents of which are hereby incorporated by reference.
技术领域Technical field
本公开实施例涉及显示处理技术领域,尤其涉及一种屏幕控制方法及电子设备。Embodiments of the present disclosure relate to the field of display processing technologies, and in particular, to a screen control method and an electronic device.
背景技术Background technique
目前,电子设备的屏幕呈矩形,横竖方向的尺寸不一样。对于用户而言,观看不同界面对不同的屏幕显示状态的需求不同,如,在观看视频通话界面时,用户需要屏幕进行竖屏显示,在观看视频播放界面时,用户需要屏幕进行横屏显示,因此需要对屏幕的显示状态进行有效控制。At present, the screens of electronic devices are rectangular, and the dimensions in the horizontal and vertical directions are different. For users, different screens have different requirements for viewing different interfaces. For example, when viewing a video call interface, the user needs the screen to be displayed in a vertical screen, and when watching a video playback interface, the user needs the screen to be displayed in a horizontal screen. Therefore, it is necessary to effectively control the display state of the screen.
目前,单面屏电子设备可以内置重力感应器,并设有一个“竖屏锁定”开关。若上述开关开启,则屏幕的显示状态为竖屏锁定状态;若上述开关关闭,则电子设备通过重力感应器获知电子设备的当前姿态,并根据电子设备的当前状态来控制屏幕的显示状态,即屏幕的显示状态为自动切换状态。At present, single-screen electronic devices can have a built-in gravity sensor and have a "vertical screen lock" switch. If the switch is turned on, the display state of the screen is the vertical screen lock state; if the switch is turned off, the electronic device learns the current posture of the electronic device through the gravity sensor, and controls the display state of the screen according to the current state of the electronic device, that is, The display status of the screen is automatically switched.
而随着科技的不断发展,双面屏电子设备逐渐成为一种发展趋势。双面屏电子设备,顾名思义,即一个电子设备设有两个屏幕。对于双面屏电子设备,若继续沿用单面屏电子设备的屏幕控制方法,则屏幕控制灵活度较低。With the continuous development of technology, double-sided screen electronic devices have gradually become a development trend. Double-sided electronic devices, as the name implies, means that an electronic device has two screens. For a double-sided screen electronic device, if the screen control method of a single-sided screen electronic device is continued, the screen control flexibility is low.
发明内容Summary of the Invention
本公开实施例提供一种屏幕控制方法及电子设备,以解决双面屏电子设备,继续沿用单面屏电子设备的屏幕控制方法,屏幕控制灵活度较低的问题。The embodiments of the present disclosure provide a screen control method and an electronic device, so as to solve the problem that the screen control method of the single-sided screen electronic device continues to be used with the double-sided screen electronic device and the flexibility of the screen control is low.
为解决上述问题,本公开是这样实现的:To solve the above problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种屏幕控制方法,该方法应用于电子设备,所述电子设备设有第一屏幕和第二屏幕,所述方法包括:In a first aspect, an embodiment of the present disclosure provides a screen control method. The method is applied to an electronic device. The electronic device is provided with a first screen and a second screen. The method includes:
接收用户在所述第一屏幕或所述第二屏幕上的第一输入;Receiving a first input from a user on the first screen or the second screen;
响应于所述第一输入,从第一显示模式切换至第二显示模式,所述电子设备预设有包括所述第一显示模式和所述第二显示模式的N个显示模式,N为大于1的整数,每一显示模式包括所述第一屏幕的第一显示状态和所述第二屏幕的第二显示状态;In response to the first input, switching from the first display mode to the second display mode, the electronic device presets N display modes including the first display mode and the second display mode, where N is greater than An integer of 1, each display mode includes a first display state of the first screen and a second display state of the second screen;
其中,所述电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;The first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。Alternatively, the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
第二方面,本公开实施例还提供一种电子设备,该电子设备包括:In a second aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
接收模块,用于接收用户在所述第一屏幕或所述第二屏幕上的第一输入;A receiving module, configured to receive a first input from a user on the first screen or the second screen;
切换模块,用于响应于所述第一输入,从第一显示模式切换至第二显示模式,所述电子设备预设有包括所述第一显示模式和所述第二显示模式的N个显示模式,N为大于1的整数,每一显示模式包括所述第一屏幕的第一显示状态和所述第二屏幕的第二显示状态;A switching module, configured to switch from the first display mode to the second display mode in response to the first input, and the electronic device presets N displays including the first display mode and the second display mode Mode, N is an integer greater than 1, and each display mode includes a first display state of the first screen and a second display state of the second screen;
其中,所述电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;The first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。Alternatively, the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
第三方面,本公开实施例还提供一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上所述的屏幕控制方法的步骤。According to a third aspect, an embodiment of the present disclosure further provides an electronic device. The electronic device includes a processor, a memory, and a program stored on the memory and executable on the processor. When executed, the steps of the screen control method described above are implemented.
第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如上所述的屏幕控制方法的步骤。According to a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a program stored on the computer-readable storage medium, where the program is executed by a processor to implement the steps of the screen control method described above.
在本公开实施例中,电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。可见,本公开可以控制第一屏幕和第二屏幕可以处于不同的显示状态,从而相比于相关技术中第一屏幕和第二屏幕的显示状态始终保持一致,本公开可以提高屏幕控制的灵活度。In the embodiment of the present disclosure, a first display state of the first screen when the electronic device is in the first display mode is different from a first display state of the first screen when the electronic device is in the second display mode. A first display state; or a second display state of the second screen when the electronic device is in the first display mode is different from the second display state when the electronic device is in the second display mode The second display state of the screen. It can be seen that the present disclosure can control that the first screen and the second screen can be in different display states, so that the display states of the first screen and the second screen are always consistent compared to the related art, and the present disclosure can improve the flexibility of screen control. .
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the drawings used in the description of the embodiments of the present disclosure will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1是本公开实施例提供的屏幕控制方法的流程图之一;FIG. 1 is one of the flowcharts of a screen control method according to an embodiment of the present disclosure;
图2a是本公开实施例提供的屏幕显示示意图之一;FIG. 2a is one of the screen display diagrams provided by the embodiment of the present disclosure; FIG.
图2b是本公开实施例提供的屏幕显示示意图之二;2b is a second schematic diagram of a screen display provided by an embodiment of the present disclosure;
图3是本公开实施例提供的屏幕控制方法的流程图之二;3 is a second flowchart of a screen control method according to an embodiment of the present disclosure;
图4a是本公开实施例提供的屏幕显示示意图之三;4a is a third schematic diagram of a screen display provided by an embodiment of the present disclosure;
图4b是本公开实施例提供的屏幕显示示意图之四;4b is a fourth schematic diagram of a screen display provided by an embodiment of the present disclosure;
图4c是本公开实施例提供的屏幕显示示意图之五;FIG. 4c is a fifth schematic diagram of a screen display provided by an embodiment of the present disclosure;
图4d是本公开实施例提供的屏幕显示示意图之六;4d is a sixth schematic diagram of a screen display provided by an embodiment of the present disclosure;
图5是本公开实施例提供的电子设备的结构图之一;5 is one of the structural diagrams of an electronic device provided by an embodiment of the present disclosure;
图6是本公开实施例提供的电子设备的结构图之二。FIG. 6 is a second structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present disclosure.
本申请中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,本申请中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B和/或C,表示包含单独A,单独B,单独C,以及A和B都存在,B和C都存在,A和C都存在,以及A、B和C都存在的7种情况。The terms “first”, “second”, and the like in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units need not be limited to those explicitly listed Those steps or units may instead include other steps or units not explicitly listed or inherent to these processes, methods, products or equipment. In addition, the use of "and / or" in this application means that at least one of the connected objects, such as A and / or B and / or C, means that there is a single A, a single B, a single C, and both A and B exist, There are 7 cases where B and C are present, A and C are present, and A, B, and C are present.
本公开实施例的电子设备为双面屏电子设备,即电子设备设有第一屏幕和第二屏幕。进一步地,第一屏幕和第二屏幕的位置关系可以是固定不变的,也可以是灵活可变的,具体可根据实际需要决定,本公开实施例对此不作限定。The electronic device in the embodiment of the present disclosure is a double-sided screen electronic device, that is, the electronic device is provided with a first screen and a second screen. Further, the positional relationship between the first screen and the second screen may be fixed or flexible, and may be specifically determined according to actual needs, which is not limited in the embodiments of the present disclosure.
具体实现时,电子设备可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In specific implementation, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a mobile Internet device (MID), or Wearable devices (Wearable devices).
以下对本公开实施例的屏幕控制方法进行说明。Hereinafter, a screen control method according to an embodiment of the present disclosure will be described.
参见图1,图1是本公开实施例提供的屏幕控制方法的流程图之一。如图1所示,本实施例的屏幕控制方法包括以下步骤:101和102。Referring to FIG. 1, FIG. 1 is one of the flowcharts of a screen control method provided by an embodiment of the present disclosure. As shown in FIG. 1, the screen control method in this embodiment includes the following steps: 101 and 102.
步骤101、接收用户在所述第一屏幕或所述第二屏幕上的第一输入。Step 101: Receive a first input from a user on the first screen or the second screen.
具体实现时,第一输入可以表现为:用户在所述第一屏幕或所述第二屏幕上的点击操作;或者,用户在所述第一屏幕或所述第二屏幕上的滑动操作,但不仅限于此。In specific implementation, the first input may be expressed as: a user's tap operation on the first screen or the second screen; or a user's swipe operation on the first screen or the second screen, but Not only that.
步骤102、响应于所述第一输入,从第一显示模式切换至第二显示模式。Step 102: In response to the first input, switch from the first display mode to the second display mode.
本公开实施例的电子设备预存有包括所述第一显示模式和所述第二显示模式的N个显示模式,N为大于1的整数。The electronic device according to the embodiment of the present disclosure pre-stores N display modes including the first display mode and the second display mode, where N is an integer greater than 1.
其中,每一显示模式包括所述第一屏幕的第一显示状态和所述第二屏幕的第二显示状态。Each display mode includes a first display state of the first screen and a second display state of the second screen.
在本公开实施例中,显示状态可以通过显示参数进行表征。进一步地, 显示参数可以但不仅限于包括显示方向、显示亮度和显示色温中的至少一项。In the embodiment of the present disclosure, the display state may be characterized by a display parameter. Further, the display parameter may include, but is not limited to, at least one of a display direction, a display brightness, and a display color temperature.
具体地,若显示状态通过显示亮度和/或显示状态进行表征,则显示状态可以包括护眼显示状态和正常显示状态。Specifically, if the display state is characterized by display brightness and / or display state, the display state may include an eye protection display state and a normal display state.
若显示状态通过显示方向进行表征,则显示状态可以包括竖屏锁定状态、横屏锁定状态和自动切换状态(或称为自动旋转状态)。其中,在竖屏锁定状态下,屏幕的显示方向与电子设备的姿态无关,屏幕始终处于竖屏显示,无法切换至横屏显示。在横屏锁定状态下,屏幕的显示方向与电子设备的姿态无关,屏幕始终处于横屏显示,无法切换至竖屏显示。在自动切换状态下,屏幕的显示方向与电子设备的姿态相关,电子设备基于重力感应装置进行横竖屏切换显示。If the display state is characterized by the display direction, the display state may include a vertical screen lock state, a horizontal screen lock state, and an automatic switching state (or an automatic rotation state). Among them, when the vertical screen is locked, the display direction of the screen has nothing to do with the posture of the electronic device. The screen is always in the vertical screen display, and it cannot be switched to the horizontal screen display. In the horizontal screen lock state, the display direction of the screen has nothing to do with the posture of the electronic device. The screen is always in the horizontal screen display and cannot be switched to the vertical screen display. In the automatic switching state, the display direction of the screen is related to the posture of the electronic device, and the electronic device performs horizontal and vertical screen switching display based on the gravity sensing device.
可选的,所述第一屏幕的第一显示状态为所述第一屏幕始终保持竖屏显示,或者,所述第一屏幕不保持竖屏显示;Optionally, the first display state of the first screen is that the first screen always maintains a vertical screen display, or the first screen does not maintain a vertical screen display;
所述第二屏幕的第二显示状态为所述第二屏幕始终保持竖屏显示,或者,所述第二屏幕不保持竖屏显示。The second display state of the second screen is that the second screen always maintains a vertical screen display, or the second screen does not maintain a vertical screen display.
应理解的是,当显示状态为保持竖屏显示时,可以表现为上述的竖屏显示状态;当显示状态为不保持竖屏显示,可以理解为不始终保持竖屏显示,则可以表现为上述的横屏锁定状态或自动切换状态。It should be understood that when the display state is to maintain the vertical screen display, it can be expressed as the vertical screen display state described above; when the display state is not to maintain the vertical screen display, it can be understood that the vertical screen display is not always maintained, it can be expressed as above Landscape lock status or automatic switching status.
在本公开实施例中,所述电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;In the embodiment of the present disclosure, a first display state of the first screen when the electronic device is in the first display mode is different from the first display state when the electronic device is in the second display mode. The first display state of the screen;
或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。Alternatively, the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
具体实现时,示例性的,若所述电子设备处于所述第一显示模式时,所述第一屏幕的第一显示状态为所述第一屏幕始终保持竖屏显示,则所述电子设备处于第二显示模式时,所述第一屏幕的第一显示状态为所述第一屏幕的第一显示状态为所述第一屏幕不保持竖屏显示;或者,若所述电子设备处于所述第一显示模式时,所述第二屏幕的第二显示状态为所述第二屏幕不保持竖屏显示,则所述电子设备处于所述第二显示模式时,所述第二屏幕的显示 状态为所述第二屏幕始终保持竖屏显示。During specific implementation, for example, if the electronic device is in the first display mode, and the first display state of the first screen is that the first screen always maintains a vertical screen display, the electronic device is in In the second display mode, the first display state of the first screen is that the first display state of the first screen is that the first screen does not maintain a vertical screen display; or, if the electronic device is in the first display state, In a display mode, the second display state of the second screen is that the second screen does not maintain a vertical screen display. When the electronic device is in the second display mode, the display state of the second screen is The second screen always maintains a vertical screen display.
可见,在本公开实施例中,可以控制电子设备的第一屏幕和第二屏幕处于不同的显示状态,从而相比于相关技术中第一屏幕和第二屏幕的显示状态始终保持一致,本公开可以提高屏幕控制的灵活度。It can be seen that, in the embodiment of the present disclosure, the first screen and the second screen of the electronic device can be controlled to be in different display states, so that the display states of the first screen and the second screen are always consistent compared to the related art. The present disclosure Can increase the flexibility of screen control.
在本公开实施例中,电子设备可以通过多种方式确定第二显示模式,如基于第一输入的输入参数确定第二显示模式,或者,基于用户选择确定第二显示模式,或者,基于N个显示模式预设的切换顺序,确定第二显示模式,具体说明如下。In the embodiment of the present disclosure, the electronic device may determine the second display mode in multiple ways, such as determining the second display mode based on the input parameters of the first input, or determining the second display mode based on user selection, or based on N The preset switching order of the display modes determines the second display mode, which is described in detail below.
可选的,所述第一屏幕和/或所述第二屏幕上显示有目标控件,所述目标控件用于切换显示模式;Optionally, a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode;
所述接收用户在所述第一屏幕或所述第二屏幕的第一输入,包括:The receiving a user's first input on the first screen or the second screen includes:
接收用户在所述目标控件的第一输入。Receive a first input from a user in the target control.
在本实施例中,目标控件用于切换显示模式,因此,用户可以触控目标控件,即在目标控件上执行第一输入,触发电子设备从第一显示模式切换至第二显示模式。In this embodiment, the target control is used to switch the display mode. Therefore, the user can touch the target control, that is, perform a first input on the target control, and trigger the electronic device to switch from the first display mode to the second display mode.
在实际应用中,目标控件可以是一直显示在第一屏幕和/或第二屏幕上的控件,也可以是通过用户执行第三输入,触发电子设备显示的控件。In actual applications, the target control may be a control that is always displayed on the first screen and / or the second screen, or may be a control that triggers the display of the electronic device by the user performing a third input.
对于触发显示目标控件的场景,可选的,在所述接收用户在所述第一屏幕或所述第二屏幕上的第一输入之前,所述方法还包括:For the scene that triggers the display of the target control, optionally, before the receiving a first input from the user on the first screen or the second screen, the method further includes:
接收用户在目标屏幕的第三输入;Receiving a third input from a user on a target screen;
响应于所述第三输入,在所述目标屏幕上显示所述目标控件;In response to the third input, displaying the target control on the target screen;
其中,所述目标屏幕为第一屏幕或第二屏幕。The target screen is a first screen or a second screen.
进一步地,所述响应于所述第三输入,在所述目标屏幕上显示所述目标控件可以表现为:Further, in response to the third input, displaying the target control on the target screen may be expressed as:
响应于所述第三输入,在所述目标屏幕上显示包括目标控件的控制中心。In response to the third input, a control center including a target control is displayed on the target screen.
应理解的是,控制中心还可以包括其他控件,如蓝牙开关控件,WiFi开关控件等。It should be understood that the control center may also include other controls, such as a Bluetooth switch control, a WiFi switch control, and the like.
具体实现时,第三输入可以是滑动输入。示例性的,如图2a所示,用户在第一屏幕20上执行第一输入21,第一输入表现为用户从电子设备的第一 屏幕20的底部上滑,触发电子设备在第一屏幕20打开控制中心30,控制中心30中包括目标控件31、蓝牙开关控件32和WiFi开关控件33,如图2b所示。In specific implementation, the third input may be a sliding input. Exemplarily, as shown in FIG. 2 a, the user performs a first input 21 on the first screen 20, and the first input appears as the user swiping up from the bottom of the first screen 20 of the electronic device to trigger the electronic device on the first screen 20 Open the control center 30. The control center 30 includes a target control 31, a Bluetooth switch control 32, and a WiFi switch control 33, as shown in FIG. 2b.
当然,电子设备可以预存目标对象与控制中心的对应关系,这样,用户可以在目标屏幕上输入目标对象,则可以触发电子设备在目标屏幕上显示包括目标控件的控制中心,其中,目标对象可以是目标图形或目标字符。因此,在该应用场景中,第三输入可以是字符输入或图形输入。Of course, the electronic device can pre-store the corresponding relationship between the target object and the control center. In this way, the user can input the target object on the target screen, and then the electronic device can be triggered to display the control center including the target control on the target screen. The target object can be Target graphic or target character. Therefore, in this application scenario, the third input may be a character input or a graphic input.
在本实施例中,所述第一屏幕和/或所述第二屏幕上显示有目标控件,所述目标控件用于切换显示模式;第一输入为用户在目标控件上的输入,从而可以提高电子设备执行显示模式切换操作的响应速率。In this embodiment, a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode; the first input is a user's input on the target control, which can improve The response rate at which the electronic device performs a display mode switching operation.
在本公开实施例中,电子设备至少可以通过以下方式响应于所述第一输入,从第一显示模式切换至第二显示模式。In an embodiment of the present disclosure, the electronic device may switch from the first display mode to the second display mode in response to the first input in at least the following manner.
可选的,所述响应于所述第一输入,从第一显示模式切换至第二显示模式,包括:Optionally, the switching from the first display mode to the second display mode in response to the first input includes:
方式一、响应于所述第一输入,按照所述N个显示模式的预设切换顺序,从第一显示模式切换至第二显示模式,其中,在所述预设切换顺序中,所述第二显示模式为所述第一显示模式中的下一个显示模式;Manner 1: In response to the first input, switching from the first display mode to the second display mode in accordance with the preset switching order of the N display modes, wherein in the preset switching order, the first The two display modes are the next display mode in the first display mode;
或者,or,
方式二、响应于所述第一输入,显示包括所述N个显示模式的提示框;Manner 2: In response to the first input, displaying a prompt box including the N display modes;
接收用户从所述N个显示模式中选择第二显示模式的第二输入;Receiving a second input in which the user selects a second display mode from the N display modes;
响应于所述第二输入,从第一显示模式切换至第二显示模式。In response to the second input, switching from the first display mode to the second display mode.
对于方式一,电子设备可以预设好N个显示模式的切换顺序,则电子设备可以在接收到第一输入后,按照所述N个显示模式的预设切换顺序,从第一显示模式切换至第二显示模式。For the first method, the electronic device can preset the switching order of the N display modes. After receiving the first input, the electronic device can switch from the first display mode to the N display mode according to the preset switching order of the N display modes. The second display mode.
为方便理解,示例说明如下。For easy understanding, the examples are described below.
假设电子设备预存有4个显示模式,分别为显示模式a、显示模式b、显示模式c和显示模式d。显示模式a、显示模式b、显示模式c和显示模式d的预设切换顺序依次为:显示模式b、显示模式d、显示模式c和显示模式a。可见,在预设切换顺序中,显示模式d为显示模式b的下一个显示模式,显 示模式c为显示模式d的下一个显示模式,显示模式a为显示模式c的下一个显示模式,显示模式b为显示模式a的下一个显示模式。Assume that the electronic device has 4 display modes stored in advance, which are display mode a, display mode b, display mode c, and display mode d. The preset switching order of the display mode a, the display mode b, the display mode c, and the display mode d is: display mode b, display mode d, display mode c, and display mode a in order. It can be seen that in the preset switching sequence, display mode d is the next display mode of display mode b, display mode c is the next display mode of display mode d, display mode a is the next display mode of display mode c, and display mode b is the next display mode of display mode a.
如图3所示,假设电子设备当前处于显示模式a,则若电子设备接收到用户在目标控件的第一输入,则电子设备从显示模式a切换至显示模式b;若之后,电子设备又接收到用户在目标控件上的第一输入,则电子设备从显示模式b切换至显示模式d;若之后,电子设备又接收到用户在目标控件上的第一输入,则电子设备从显示模式d切换至显示模式c;若之后,电子设备又接收到用户在目标控件上的第一输入,则电子设备从显示模式c切换至显示模式a,如此循环。As shown in FIG. 3, assuming that the electronic device is currently in the display mode a, if the electronic device receives the user's first input in the target control, the electronic device switches from the display mode a to the display mode b; if thereafter, the electronic device receives again To the user's first input on the target control, the electronic device switches from display mode b to display mode d; if afterwards, the electronic device receives the user's first input on the target control, the electronic device switches from display mode d Go to display mode c; if afterwards, the electronic device receives the user's first input on the target control, the electronic device switches from display mode c to display mode a, and so on.
对于方式二,电子设备在接收到第一输入后,显示包括N个显示模式的提示框,进一步地,提示框中可以包括每个显示模式的第一屏幕的第一显示状态和第二屏幕的第二显示状态,从而可以方便用户知晓每一显示模式的第一显示状态和第二显示状态,进而可以选择自己期望的显示模式。For the second method, after receiving the first input, the electronic device displays a prompt box including N display modes. Further, the prompt box may include a first display state of the first screen and a second screen of each display mode. The second display state can facilitate the user to know the first display state and the second display state of each display mode, and then can select a desired display mode.
具体实现时,第二输入可以是用户触控第二显示模式的显示位置的触控操作,如点击操作、长按操作等。In specific implementation, the second input may be a touch operation by the user to touch the display position of the second display mode, such as a tap operation, a long-press operation, and the like.
在该方式中,若接收到用户选择第二显示模式的第二输入,即可从第一显示模式切换至第二显示模式。In this mode, if a second input of the second display mode is selected by the user, the first display mode can be switched to the second display mode.
可见,相比于方式一,方式二中的第二显示模式可以由用户自主选择,从而可以提高第二显示模式确定的灵活度。另外,电子设备无需存储N个显示模式的预设切换顺序,从而可以提高电子设备的资源利用率。It can be seen that, compared with the first method, the second display mode in the second method can be selected by the user, thereby improving the flexibility of determining the second display mode. In addition, the electronic device does not need to store the preset switching order of the N display modes, thereby improving the resource utilization rate of the electronic device.
而相比于方式二,方式一中按照N个显示模式的预设切换顺序,确定第二显示模式,电子设备无需显示提示框,从而可以降低电子设备的运行负担。Compared with the second method, in the first method, the second display mode is determined according to a preset switching order of the N display modes, and the electronic device does not need to display a prompt box, thereby reducing the operating load of the electronic device.
需要说明的是,上述方式一和方式二中的第一输入可以是用户在目标控件上的触控输入,也可以是用户在第一屏幕或第二屏幕上绘制预设图形或字符的的滑动输入,其中,预设图形或字符用于触发电子设备切换显示模式,或显示包括所述N个显示模式的提示框,具体可根据实际需要确定,本公开实施例对此不作限定。It should be noted that the first input in the above manners 1 and 2 may be a touch input of a user on a target control, or a slide of a user drawing a preset graphic or character on a first screen or a second screen. Input, where preset graphics or characters are used to trigger the electronic device to switch display modes, or display a prompt box including the N display modes, which can be determined according to actual needs, which is not limited in the embodiments of the present disclosure.
可选的,所述响应于所述第一输入,从第一显示模式切换至第二显示模式,包括:Optionally, the switching from the first display mode to the second display mode in response to the first input includes:
方式三、响应于所述第一输入,获取所述第一输入的输入参数,从第一显示模式切换至第二显示模式,其中,所述第二显示模式与所述输入参数对应。Manner 3: In response to the first input, acquiring input parameters of the first input and switching from a first display mode to a second display mode, wherein the second display mode corresponds to the input parameters.
在本方式中,电子设备预存有输入参数与显示模式的对应关系,在上述关系中,输入参数与显示模式可以为一对一的对应关系,也可以是多对一的对应关系,具体可根据实际需要决定,在此不作限定。但应理解的是,出于电子设备确定第二显示模式的准确度,输入参数与显示模式一般不为一对多的对应关系。其中,输入参数可以包括输入的持续时长、输入的次数和输入轨迹中的至少一项。In this method, the electronic device has a correspondence relationship between the input parameter and the display mode pre-stored. In the above relationship, the input parameter and the display mode may be a one-to-one correspondence relationship or a many-to-one correspondence relationship. The actual needs are determined and are not limited here. However, it should be understood that, because the electronic device determines the accuracy of the second display mode, the input parameter and the display mode are generally not in a one-to-many correspondence relationship. The input parameters may include at least one of the duration of the input, the number of input times, and the input trajectory.
这样,电子设备在接收到第一输入,并获取第一输入的输入参数后,可以通过查找上述对应关系,将该输入参数对应的显示模式确定为第二显示模式,并从第一显示模式切换至第二显示模式。In this way, after receiving the first input and acquiring the input parameters of the first input, the electronic device can determine the display mode corresponding to the input parameters as the second display mode by searching the above-mentioned correspondence, and switch from the first display mode. Go to the second display mode.
示例性的,假设电子设备预存有3个显示模式,分别为显示模式Ⅰ、显示模式Ⅱ和显示模式Ⅲ,且在输入参数与显示模式的对应关系中,显示模式Ⅰ对应输入轨迹Δ,显示模式Ⅱ对应输入轨迹○,显示模式Ⅲ对应输入轨迹◇。Exemplarily, it is assumed that the electronic device has three display modes pre-stored, namely display mode I, display mode II, and display mode III, and in the correspondence between the input parameter and the display mode, the display mode I corresponds to the input trajectory Δ, the display mode Ⅱ corresponds to the input track ○, and display mode Ⅲ corresponds to the input track ◇.
则若电子设备接收到的第一输入的输入轨迹为○,则将输入轨迹为○对应的显示模式Ⅱ确定为第二显示模式,并切换至显示模式Ⅱ。若电子设备接收到的第一输入的输入轨迹为◇,则将输入轨迹为◇对应的显示模式Ⅲ确定为第二显示模式,并切换至显示模式Ⅲ,以此类推。Then, if the input track of the first input received by the electronic device is ○, the display mode II corresponding to the input track ○ is determined as the second display mode, and the display mode II is switched. If the input track of the first input received by the electronic device is ◇, the display mode III corresponding to the input track of ◇ is determined as the second display mode, and the display mode III is switched to the display mode III, and so on.
应理解的是,若上述对应关系中,不存在与电子设备接收到的输入的参数匹配的输入参数,说明该输入极有可能为用户的误输入,或用于触发电子设备执行其他操作的输入,则电子设备可以不执行从第一显示模式切换至第二显示模式的切换操作。It should be understood that if there is no input parameter matching the input parameter received by the electronic device in the above correspondence relationship, it means that the input is likely to be a user's mistaken input or an input used to trigger the electronic device to perform other operations. , The electronic device may not perform a switching operation for switching from the first display mode to the second display mode.
在本实施例中,用户可以直接在第一屏幕或第二屏幕上执行第一输入,既可触发电子设备执行从第一显示模式切换至第二显示模式的切换操作,从而相比于用户需执行在目标控件上的第一输入,才可触发电子设备执行从第一显示模式切换至第二显示模式的切换操作,第一屏幕和第二屏幕无需显示目标控件,从而可以提高电子设备的屏幕的利用率。In this embodiment, the user can directly perform the first input on the first screen or the second screen, which can trigger the electronic device to perform a switching operation from the first display mode to the second display mode, so that compared with the user's needs Only when the first input on the target control is executed, the electronic device can be triggered to perform the switching operation from the first display mode to the second display mode. The first screen and the second screen do not need to display the target control, thereby improving the screen of the electronic device. Utilization.
在本公开实施例中,为方便用户知晓第一屏幕和第二屏幕的当前显示状 态,可选的,所述电子设备显示有第一显示控件和第二显示控件;其中,所述第一显示控件用于表征所述第一屏幕的显示状态;所述第二显示控件用于表征所述第二屏幕的显示状态。In the embodiment of the present disclosure, in order to facilitate the user to know the current display states of the first screen and the second screen, optionally, the electronic device displays a first display control and a second display control; wherein the first display The control is used to represent a display state of the first screen; the second display control is used to represent a display state of the second screen.
具体实现时,可以在电子设备的第一屏幕显示第一显示控件(或称为第一显示开关),在第二屏幕显示第二显示控件(或称为第二显示开关)。或者,可以在第一屏幕和/或第二屏幕上同时显示第一显示控件和第二显示控件。应理解的是,显示控件可以一直显示在屏幕上,也可以是用户执行输入,触发屏幕进行显示。In specific implementation, a first display control (or a first display switch) may be displayed on a first screen of an electronic device, and a second display control (or a second display switch) may be displayed on a second screen. Alternatively, the first display control and the second display control may be displayed on the first screen and / or the second screen simultaneously. It should be understood that the display control may be always displayed on the screen, or the user may perform an input to trigger the screen to display.
进一步地,对于第一屏幕和/或第二屏幕上显示有目标控件的场景,可以在目标控件中显示第一显示控件和第二显示控件,为方便理解,示例说明如下。Further, for a scene in which a target control is displayed on the first screen and / or the second screen, the first display control and the second display control may be displayed in the target control. For ease of understanding, examples are described below.
假设第一显示控件处于显示状态1,表征第一屏幕的第一显示状态为自动切换状态,第一显示控件处于显示状态2,表征第一屏幕的第一显示状态为竖屏锁定状态;第二显示控件处于显示状态1,表征第二屏幕的第二显示状态为自动切换状态,第二显示控件处于显示状态2,表征第二屏幕的第二显示状态为竖屏锁定状态。请参阅图4a至图4d。Assuming the first display control is in display state 1, the first display state representing the first screen is an automatic switching state, the first display control is in display state 2, and the first display state representing the first screen is a vertical screen lock state; the second The display control is in display state 1, which indicates that the second display state of the second screen is an automatic switching state, and the second display control is in display state 2, which indicates that the second display state of the second screen is a vertical screen lock state. See Figures 4a to 4d.
在图4a中,控制中心30中目标控件31上的第一显示控件311和第二显示控件312均为显示状态1,表征第一屏幕的第一显示状态和第二屏幕的第二显示状态为相同的显示状态,为自动切换状态。In FIG. 4a, the first display control 311 and the second display control 312 on the target control 31 in the control center 30 are both in the display state 1. The first display state of the first screen and the second display state of the second screen are: The same display state is automatically switched.
在图4b中,控制中心30中目标控件31上的第一显示控件311为显示状态2,第二显示控件312为显示状态1,表征第一屏幕的第一显示状态和第二屏幕的第二显示状态为不同的显示状态,第一显示状态为竖屏锁定状态,第二显示状态为自动切换状态。In FIG. 4b, the first display control 311 on the target control 31 in the control center 30 is the display state 2 and the second display control 312 is the display state 1, which represents the first display state of the first screen and the second display control of the second screen. The display states are different display states, the first display state is a vertical screen lock state, and the second display state is an automatic switching state.
在图4c中,控制中心30中目标控件31上的第一显示控件311为显示状态1,第二显示控件312为显示状态2,表征第一屏幕的第一显示状态和第二屏幕的第二显示状态为不同的显示状态,第一显示状态为自动切换状态,第二显示状态为竖屏锁定状态。In FIG. 4c, the first display control 311 on the target control 31 in the control center 30 is the display state 1, and the second display control 312 is the display state 2, which represents the first display state of the first screen and the second display control of the second screen. The display states are different display states, the first display state is an automatic switching state, and the second display state is a vertical screen lock state.
在图4d中,控制中心30中目标控件31上的第一显示控件311和第二显示控件312均为显示状态2,表征第一屏幕的第一显示状态和第二屏幕的第 二显示状态为相同的显示状态,为竖屏锁定状态。In FIG. 4d, the first display control 311 and the second display control 312 on the target control 31 in the control center 30 are both in the display state 2. The first display state of the first screen and the second display state of the second screen are: The same display state is the vertical screen lock state.
这样,用户可以通过查看第一显示控件和第二显示控件的显示状态,知晓第一屏幕的第一显示状态和第二屏幕的第二显示状态,进而可以确定是否执行从第一显示模式切换至第二显示模式的切换操作,以使电子设备的显示模式符合使用期望。In this way, the user can know the first display state of the first screen and the second display state of the second screen by viewing the display states of the first display control and the second display control, and then can determine whether to perform switching from the first display mode to The switching operation of the second display mode is to make the display mode of the electronic device meet the use expectation.
需要说明的是,本公开实施例中介绍的多种可选的实施方式,彼此可以相互结合实现,也可以单独实现,对此本公开实施例不作限定。It should be noted that the multiple optional implementation modes described in the embodiments of the present disclosure may be implemented in combination with each other or separately, which is not limited in the embodiments of the present disclosure.
参见图5,图5是本公开实施例提供的电子设备的结构图之一。本实施例的所述电子设备设有第一屏幕和第二屏幕。如图5所示,电子设备500包括:Referring to FIG. 5, FIG. 5 is one of the structural diagrams of an electronic device provided by an embodiment of the present disclosure. The electronic device in this embodiment is provided with a first screen and a second screen. As shown in FIG. 5, the electronic device 500 includes:
接收模块501,用于接收用户在所述第一屏幕或所述第二屏幕上的第一输入;A receiving module 501, configured to receive a first input of a user on the first screen or the second screen;
切换模块502,用于响应于所述第一输入,从第一显示模式切换至第二显示模式,所述电子设备预设有包括所述第一显示模式和所述第二显示模式的N个显示模式,N为大于1的整数,每一显示模式包括所述第一屏幕的第一显示状态和所述第二屏幕的第二显示状态;A switching module 502, configured to switch from the first display mode to the second display mode in response to the first input, and the electronic device is preset to include N number of the first display mode and the second display mode; Display mode, N is an integer greater than 1, each display mode includes a first display state of the first screen and a second display state of the second screen;
其中,所述电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;The first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。Alternatively, the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
可选的,所述第一屏幕的第一显示状态为所述第一屏幕始终保持竖屏显示,或者,所述第一屏幕不保持竖屏显示;Optionally, the first display state of the first screen is that the first screen always maintains a vertical screen display, or the first screen does not maintain a vertical screen display;
所述第二屏幕的第二显示状态为所述第二屏幕始终保持竖屏显示,或者,所述第二屏幕不保持竖屏显示The second display state of the second screen is that the second screen always maintains a vertical screen display, or the second screen does not maintain a vertical screen display
可选的,所述第一屏幕和/或所述第二屏幕上显示有目标控件,所述目标控件用于切换显示模式;Optionally, a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode;
所述接收模块501,具体用于:接收用户在所述目标控件的第一输入。The receiving module 501 is specifically configured to receive a first input from a user in the target control.
可选的,所述切换模块502,具体用于:Optionally, the switching module 502 is specifically configured to:
响应于所述第一输入,按照所述N个显示模式的预设切换顺序,从第一显示模式切换至第二显示模式,其中,在所述预设切换顺序中,所述第二显示模式为所述第一显示模式中的下一个显示模式;In response to the first input, switching from the first display mode to the second display mode in accordance with a preset switching order of the N display modes, wherein in the preset switching order, the second display mode The next display mode in the first display mode;
或者,or,
响应于所述第一输入,显示包括所述N个显示模式的提示框;In response to the first input, displaying a prompt box including the N display modes;
接收用户从所述N个显示模式中选择第二显示模式的第二输入;Receiving a second input in which the user selects a second display mode from the N display modes;
响应于所述第二输入,从第一显示模式切换至第二显示模式。In response to the second input, switching from the first display mode to the second display mode.
可选的,所述切换模块502,具体用于:Optionally, the switching module 502 is specifically configured to:
响应于所述第一输入,获取所述第一输入的输入参数,从第一显示模式切换至第二显示模式,其中,所述第二显示模式与所述输入参数对应。In response to the first input, acquiring input parameters of the first input and switching from a first display mode to a second display mode, wherein the second display mode corresponds to the input parameters.
可选的,所述电子设备显示有第一显示控件和第二显示控件;其中,所述第一显示控件用于表征所述第一屏幕的显示状态;所述第二显示控件用于表征所述第二屏幕的显示状态。Optionally, the electronic device displays a first display control and a second display control; wherein the first display control is used to represent a display state of the first screen; and the second display control is used to represent all The display state of the second screen is described.
电子设备500能够实现本公开方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,这里不再赘述。The electronic device 500 can implement various processes in the method embodiments of the present disclosure and achieve the same beneficial effects. To avoid repetition, details are not described herein again.
请参考图6,图6是本公开实施例提供的电子设备的结构图之二,该电子设备可以为实现本公开各个实施例的一种电子设备的硬件结构示意图。如图6所示,电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。Please refer to FIG. 6, which is a second structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device may be a schematic diagram of a hardware structure of an electronic device that implements various embodiments of the present disclosure. As shown in FIG. 6, the electronic device 600 includes, but is not limited to, a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, The processor 610, and the power supply 611 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or some components may be combined or different components. Layout. In the embodiment of the present disclosure, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, and a pedometer.
其中,用户输入单元607,用于:接收用户在所述第一屏幕或所述第二屏幕上的第一输入;处理器610,用于:响应于所述第一输入,从第一显示模式切换至第二显示模式;其中,所述电子设备预设有包括所述第一显示模式和所述第二显示模式的N个显示模式,每一显示模式包括所述第一屏幕的 第一显示状态和所述第二屏幕的第二显示状态,且所述N个显示模式中包括所述第一显示状态和所述第二显示状态为不同的显示状态的显示模式,N为大于1的整数。The user input unit 607 is configured to: receive a first input of a user on the first screen or the second screen; and the processor 610 is configured to: in response to the first input, switch from a first display mode Switch to the second display mode; wherein the electronic device is preset with N display modes including the first display mode and the second display mode, and each display mode includes the first display of the first screen State and the second display state of the second screen, and the N display modes include a display mode in which the first display state and the second display state are different display states, and N is an integer greater than 1. .
可选的,所述第一屏幕和/或所述第二屏幕上显示有目标控件,所述目标控件用于切换显示模式;用户输入单元607,具体用于:接收用户在所述目标控件的第一输入。Optionally, a target control is displayed on the first screen and / or the second screen, and the target control is used to switch display modes; the user input unit 607 is specifically configured to: receive a user's First input.
可选的,处理器610,具体用于:Optionally, the processor 610 is specifically used for:
响应于所述第一输入,按照所述N个显示模式的预设切换顺序,从第一显示模式切换至第二显示模式,其中,在所述预设切换顺序中,所述第二显示模式为所述第一显示模式中的下一个显示模式;In response to the first input, switching from the first display mode to the second display mode in accordance with a preset switching order of the N display modes, wherein in the preset switching order, the second display mode The next display mode in the first display mode;
或者,or,
响应于所述第一输入,显示包括所述N个显示模式的提示框;In response to the first input, displaying a prompt box including the N display modes;
接收用户从所述N个显示模式中选择第二显示模式的第二输入;Receiving a second input in which the user selects a second display mode from the N display modes;
响应于所述第二输入,从第一显示模式切换至第二显示模式。In response to the second input, switching from the first display mode to the second display mode.
可选的,处理器610,具体用于:Optionally, the processor 610 is specifically used for:
响应于所述第一输入,获取所述第一输入的输入参数,从第一显示模式切换至第二显示模式,其中,所述第二显示模式与所述输入参数对应。In response to the first input, acquiring input parameters of the first input and switching from a first display mode to a second display mode, wherein the second display mode corresponds to the input parameters.
可选的,所述电子设备显示有第一显示控件和第二显示控件;其中,所述第一显示控件用于表征所述第一屏幕的显示状态;所述第二显示控件用于表征所述第二屏幕的显示状态。Optionally, the electronic device displays a first display control and a second display control; wherein the first display control is used to represent a display state of the first screen; and the second display control is used to represent all The display state of the second screen is described.
需要说明的是,本实施例中上述电子设备600可以实现本公开实施例中方法实施例中的各个过程,以及达到相同的有益效果,为避免重复,此处不再赘述。It should be noted that the electronic device 600 in this embodiment can implement the processes in the method embodiments of the present disclosure and achieve the same beneficial effects. To avoid repetition, details are not described herein again.
应理解的是,本公开实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 601 may be used to receive and send signals during the transmission and reception of information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 610; The uplink data is sent to the base station. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 can also communicate with a network and other devices through a wireless communication system.
电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮 助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive email, browse web pages, and access streaming media.
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sound. Also, the audio output unit 603 may also provide audio output (for example, a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the electronic device 600. The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The graphics processor 6041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frames may be displayed on a display unit 606. The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode and output.
电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light. The proximity sensor can close the display panel 6061 and the electronic device 600 when the electronic device 600 moves to the ear. / Or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary. , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is configured to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 6071 or near touch panel 6071 operating). The touch panel 6071 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 610, receive the command sent by the processor 610 and execute it. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 6071. In addition to the touch panel 6071, the user input unit 607 may further include other input devices 6072. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 6071 may be overlaid on the display panel 6061. When the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch panel 6071 transmits the touch operation to the processor 610 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 6061. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are implemented as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated. The implementation of the input and output functions of the electronic device is not limited here.
接口单元608为外部装置与电子设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部装置之间传输数据。The interface unit 608 is an interface through which an external device is connected to the electronic device 600. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 600 or may be used to connect the electronic device 600 and the external device. Transfer data between devices.
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功 能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), and the like; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 609 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;可选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is a control center of an electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, and runs or executes software programs and / or modules stored in the memory 609 and calls data stored in the memory 609 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
电子设备600还可以包括给各个部件供电的电源611(比如电池),可选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 600 may further include a power source 611 (such as a battery) for supplying power to various components. Optionally, the power source 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备600包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 600 includes some functional modules that are not shown, and details are not described herein again.
可选的,本公开实施例还提供一种电子设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的程序,该程序被处理器610执行时实现上述屏幕控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides an electronic device, including a processor 610, a memory 609, and a program stored on the memory 609 and executable on the processor 610. The program is implemented when the processor 610 is executed. The processes of the foregoing screen control method embodiments can achieve the same technical effects. To avoid repetition, details are not described herein again.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有程序,该程序被处理器执行时实现上述屏幕控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。An embodiment of the present disclosure further provides a computer-readable storage medium. A program is stored on the computer-readable storage medium. When the program is executed by a processor, the processes of the foregoing screen control method embodiments are implemented, and the same technical effects can be achieved. To avoid repetition, we will not repeat them here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方 法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on this understanding, the technical solution of the present disclosure that is essentially or contributes to the existing technology can be embodied in the form of a software product that is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes a plurality of instructions for causing an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above with reference to the accompanying drawings, but the present disclosure is not limited to the specific implementations described above, and the specific implementations described above are only schematic and not restrictive. Those of ordinary skill in the art at Under the inspiration of this disclosure, many forms can be made without departing from the spirit of the present disclosure and the scope of protection of the claims, which all fall within the protection of this disclosure.

Claims (14)

  1. 一种屏幕控制方法,应用于电子设备,其中,所述电子设备设有第一屏幕和第二屏幕,所述方法包括:A screen control method applied to an electronic device, wherein the electronic device is provided with a first screen and a second screen, and the method includes:
    接收用户在所述第一屏幕或所述第二屏幕上的第一输入;Receiving a first input from a user on the first screen or the second screen;
    响应于所述第一输入,从第一显示模式切换至第二显示模式,所述电子设备预设有包括所述第一显示模式和所述第二显示模式的N个显示模式,N为大于1的整数,每一显示模式包括所述第一屏幕的第一显示状态和所述第二屏幕的第二显示状态;In response to the first input, switching from the first display mode to the second display mode, the electronic device presets N display modes including the first display mode and the second display mode, where N is greater than An integer of 1, each display mode includes a first display state of the first screen and a second display state of the second screen;
    其中,所述电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;The first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
    或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。Alternatively, the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
  2. 根据权利要求1所述的方法,其中,所述第一屏幕的第一显示状态为所述第一屏幕始终保持竖屏显示,或者,所述第一屏幕不保持竖屏显示;The method according to claim 1, wherein the first display state of the first screen is that the first screen always maintains a vertical screen display, or the first screen does not maintain a vertical screen display;
    所述第二屏幕的第二显示状态为所述第二屏幕始终保持竖屏显示,或者,所述第二屏幕不保持竖屏显示。The second display state of the second screen is that the second screen always maintains a vertical screen display, or the second screen does not maintain a vertical screen display.
  3. 根据权利要求1所述的方法,其中,所述第一屏幕和/或所述第二屏幕上显示有目标控件,所述目标控件用于切换显示模式;The method according to claim 1, wherein a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode;
    所述接收用户在所述第一屏幕或所述第二屏幕的第一输入,包括:The receiving a user's first input on the first screen or the second screen includes:
    接收用户在所述目标控件的第一输入。Receive a first input from a user in the target control.
  4. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,从第一显示模式切换至第二显示模式,包括:The method according to claim 1, wherein said switching from a first display mode to a second display mode in response to said first input comprises:
    响应于所述第一输入,按照所述N个显示模式的预设切换顺序,从第一显示模式切换至第二显示模式,其中,在所述预设切换顺序中,所述第二显示模式为所述第一显示模式中的下一个显示模式;In response to the first input, switching from the first display mode to the second display mode in accordance with a preset switching order of the N display modes, wherein in the preset switching order, the second display mode The next display mode in the first display mode;
    或者,or,
    响应于所述第一输入,显示包括所述N个显示模式的提示框;In response to the first input, displaying a prompt box including the N display modes;
    接收用户从所述N个显示模式中选择第二显示模式的第二输入;Receiving a second input in which the user selects a second display mode from the N display modes;
    响应于所述第二输入,从第一显示模式切换至第二显示模式。In response to the second input, switching from the first display mode to the second display mode.
  5. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,从第一显示模式切换至第二显示模式,包括:The method according to claim 1, wherein said switching from a first display mode to a second display mode in response to said first input comprises:
    响应于所述第一输入,获取所述第一输入的输入参数,从第一显示模式切换至第二显示模式,其中,所述第二显示模式与所述输入参数对应。In response to the first input, acquiring input parameters of the first input and switching from a first display mode to a second display mode, wherein the second display mode corresponds to the input parameters.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述电子设备显示有第一显示控件和第二显示控件;其中,所述第一显示控件用于表征所述第一屏幕的显示状态;所述第二显示控件用于表征所述第二屏幕的显示状态。The method according to any one of claims 1 to 5, wherein the electronic device displays a first display control and a second display control; wherein the first display control is used to characterize the first screen Display state; the second display control is used to represent a display state of the second screen.
  7. 一种电子设备,其中,所述电子设备设有第一屏幕和第二屏幕,所述电子设备包括:An electronic device, wherein the electronic device is provided with a first screen and a second screen, and the electronic device includes:
    接收模块,用于接收用户在所述第一屏幕或所述第二屏幕上的第一输入;A receiving module, configured to receive a first input from a user on the first screen or the second screen;
    切换模块,用于响应于所述第一输入,从第一显示模式切换至第二显示模式,所述电子设备预设有包括所述第一显示模式和所述第二显示模式的N个显示模式,N为大于1的整数,每一显示模式包括所述第一屏幕的第一显示状态和所述第二屏幕的第二显示状态;A switching module, configured to switch from the first display mode to the second display mode in response to the first input, and the electronic device presets N displays including the first display mode and the second display mode Mode, N is an integer greater than 1, and each display mode includes a first display state of the first screen and a second display state of the second screen;
    其中,所述电子设备处于所述第一显示模式时的所述第一屏幕的第一显示状态,不同于所述电子设备处于所述第二显示模式时的所述第一屏幕的第一显示状态;The first display state of the first screen when the electronic device is in the first display mode is different from the first display of the first screen when the electronic device is in the second display mode. status;
    或者,所述电子设备处于所述第一显示模式时的所述第二屏幕的第二显示状态,不同于所述电子设备处于所述第二显示模式时的所述第二屏幕的第二显示状态。Alternatively, the second display state of the second screen when the electronic device is in the first display mode is different from the second display of the second screen when the electronic device is in the second display mode status.
  8. 根据权利要求7所述的电子设备,其中,所述第一屏幕的第一显示状态为所述第一屏幕始终保持竖屏显示,或者,所述第一屏幕不保持竖屏显示;The electronic device according to claim 7, wherein the first display state of the first screen is that the first screen always maintains a vertical screen display, or the first screen does not maintain a vertical screen display;
    所述第二屏幕的第二显示状态为所述第二屏幕始终保持竖屏显示,或者,所述第二屏幕不保持竖屏显示。The second display state of the second screen is that the second screen always maintains a vertical screen display, or the second screen does not maintain a vertical screen display.
  9. 根据权利要求7所述的电子设备,其中,所述第一屏幕和/或所述第二屏幕上显示有目标控件,所述目标控件用于切换显示模式;The electronic device according to claim 7, wherein a target control is displayed on the first screen and / or the second screen, and the target control is used to switch a display mode;
    所述接收模块,具体用于:接收用户在所述目标控件的第一输入。The receiving module is specifically configured to receive a first input from a user in the target control.
  10. 根据权利要求7所述的电子设备,其中,所述切换模块,具体用于:The electronic device according to claim 7, wherein the switching module is specifically configured to:
    响应于所述第一输入,按照所述N个显示模式的预设切换顺序,从第一显示模式切换至第二显示模式,其中,在所述预设切换顺序中,所述第二显示模式为所述第一显示模式中的下一个显示模式;In response to the first input, switching from the first display mode to the second display mode in accordance with a preset switching order of the N display modes, wherein in the preset switching order, the second display mode The next display mode in the first display mode;
    或者,or,
    响应于所述第一输入,显示包括所述N个显示模式的提示框;In response to the first input, displaying a prompt box including the N display modes;
    接收用户从所述N个显示模式中选择第二显示模式的第二输入;Receiving a second input in which the user selects a second display mode from the N display modes;
    响应于所述第二输入,从第一显示模式切换至第二显示模式。In response to the second input, switching from the first display mode to the second display mode.
  11. 根据权利要求7所述的电子设备,其中,所述切换模块,具体用于:The electronic device according to claim 7, wherein the switching module is specifically configured to:
    响应于所述第一输入,获取所述第一输入的输入参数,从第一显示模式切换至第二显示模式,其中,所述第二显示模式与所述输入参数对应。In response to the first input, acquiring input parameters of the first input and switching from a first display mode to a second display mode, wherein the second display mode corresponds to the input parameters.
  12. 根据权利要求7至11中任一项所述的电子设备,其中,所述电子设备显示有第一显示控件和第二显示控件;其中,所述第一显示控件用于表征所述第一屏幕的显示状态;所述第二显示控件用于表征所述第二屏幕的显示状态。The electronic device according to any one of claims 7 to 11, wherein the electronic device displays a first display control and a second display control; wherein the first display control is used to characterize the first screen Display state; the second display control is used to characterize the display state of the second screen.
  13. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述程序被所述处理器执行时实现如权利要求1至6中任一项所述的屏幕控制方法的步骤。An electronic device includes a processor, a memory, and a program stored on the memory and executable on the processor, wherein when the program is executed by the processor, any one of claims 1 to 6 is implemented. Steps of an on-screen control method.
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求1至6中任一项所述的屏幕控制方法的步骤。A computer-readable storage medium, wherein a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the screen control method according to any one of claims 1 to 6 are implemented.
PCT/CN2019/100970 2018-08-28 2019-08-16 Screen control method and electronic device WO2020042921A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810989399.9 2018-08-28
CN201810989399.9A CN109240575A (en) 2018-08-28 2018-08-28 A kind of screen control method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2020042921A1 true WO2020042921A1 (en) 2020-03-05

Family

ID=65068908

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/100970 WO2020042921A1 (en) 2018-08-28 2019-08-16 Screen control method and electronic device

Country Status (2)

Country Link
CN (1) CN109240575A (en)
WO (1) WO2020042921A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240575A (en) * 2018-08-28 2019-01-18 维沃移动通信有限公司 A kind of screen control method and electronic equipment
CN109992230B (en) * 2019-03-27 2022-07-26 联想(北京)有限公司 Control method and electronic device
CN111506191B (en) * 2020-04-13 2024-04-26 维沃移动通信有限公司 Control method and electronic equipment
CN111562960A (en) * 2020-04-29 2020-08-21 维沃移动通信有限公司 Display processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140347264A1 (en) * 2013-05-22 2014-11-27 Samsung Electronics Co., Ltd. Device and method for displaying an electronic document using a double-sided display
CN106210195A (en) * 2016-07-21 2016-12-07 努比亚技术有限公司 The changing method of a kind of double-sided screen and terminal
CN107943384A (en) * 2017-10-31 2018-04-20 努比亚技术有限公司 Terminal and its screens switch, lighting control method, computer-readable recording medium
CN108255368A (en) * 2018-01-02 2018-07-06 努比亚技术有限公司 Using methods of exhibiting, device and computer readable storage medium
CN109240575A (en) * 2018-08-28 2019-01-18 维沃移动通信有限公司 A kind of screen control method and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3961527B2 (en) * 2004-11-08 2007-08-22 京セラミタ株式会社 Image forming apparatus
CN102054469A (en) * 2009-11-04 2011-05-11 联想(北京)有限公司 Display and display method thereof
US20150212657A1 (en) * 2012-12-19 2015-07-30 Google Inc. Recommending Mobile Device Settings Based on Input/Output Event History
KR20150019795A (en) * 2013-08-16 2015-02-25 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN105843531B (en) * 2015-07-23 2019-08-16 维沃移动通信有限公司 A kind of switching method and apparatus of screen pattern
CN106406848A (en) * 2016-03-28 2017-02-15 乐视控股(北京)有限公司 Terminal horizontal/vertical screen switching method and device
CN106125845A (en) * 2016-06-30 2016-11-16 珠海格力电器股份有限公司 A kind of mobile terminal
CN106155692A (en) * 2016-07-27 2016-11-23 深圳市金立通信设备有限公司 A kind of terminal brightness control method and terminal
CN106293588B (en) * 2016-08-26 2019-08-02 青岛海信移动通信技术股份有限公司 Double-screen display method and device
CN107507579A (en) * 2017-08-18 2017-12-22 上海中兴软件有限责任公司 A kind of screen backlight control and method to set up, device, multi-screen terminal and storage medium
CN108205419A (en) * 2017-12-21 2018-06-26 中兴通讯股份有限公司 Double screens control method, apparatus, mobile terminal and computer readable storage medium
CN108390988A (en) * 2018-01-02 2018-08-10 努比亚技术有限公司 Fast operating method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140347264A1 (en) * 2013-05-22 2014-11-27 Samsung Electronics Co., Ltd. Device and method for displaying an electronic document using a double-sided display
CN106210195A (en) * 2016-07-21 2016-12-07 努比亚技术有限公司 The changing method of a kind of double-sided screen and terminal
CN107943384A (en) * 2017-10-31 2018-04-20 努比亚技术有限公司 Terminal and its screens switch, lighting control method, computer-readable recording medium
CN108255368A (en) * 2018-01-02 2018-07-06 努比亚技术有限公司 Using methods of exhibiting, device and computer readable storage medium
CN109240575A (en) * 2018-08-28 2019-01-18 维沃移动通信有限公司 A kind of screen control method and electronic equipment

Also Published As

Publication number Publication date
CN109240575A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2019154181A1 (en) Display control method and mobile terminal
US20200257433A1 (en) Display method and mobile terminal
WO2020042921A1 (en) Screen control method and electronic device
CN108712577B (en) Call mode switching method and terminal equipment
WO2019196864A1 (en) Control method for virtual button and mobile terminal
WO2020057258A1 (en) Information processing method and terminal
US11354017B2 (en) Display method and mobile terminal
WO2020186964A1 (en) Audio signal outputting method and terminal device
WO2019228296A1 (en) Display processing method and terminal device
WO2020238497A1 (en) Icon moving method and terminal device
WO2020001604A1 (en) Display method and terminal device
WO2019174459A1 (en) Application processing method and mobile terminal
WO2019223569A1 (en) Information processing method and mobile terminal
WO2020215950A1 (en) Interface display method and terminal device
WO2021068885A1 (en) Control method and electronic device
WO2021115172A1 (en) Display method and electronic device
WO2020192297A1 (en) Screen interface switching method and terminal device
WO2020215969A1 (en) Content input method and terminal device
WO2020134743A1 (en) Icon moving method and terminal
WO2021129732A1 (en) Display processing method and electronic device
WO2021057545A1 (en) Multi-network access method and terminal device
WO2021037074A1 (en) Audio output method and electronic apparatus
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2020199986A1 (en) Video call method and terminal device

Legal Events

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

Ref document number: 19853878

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19853878

Country of ref document: EP

Kind code of ref document: A1