WO2020233292A1 - 屏幕切换控制方法及终端 - Google Patents

屏幕切换控制方法及终端 Download PDF

Info

Publication number
WO2020233292A1
WO2020233292A1 PCT/CN2020/084913 CN2020084913W WO2020233292A1 WO 2020233292 A1 WO2020233292 A1 WO 2020233292A1 CN 2020084913 W CN2020084913 W CN 2020084913W WO 2020233292 A1 WO2020233292 A1 WO 2020233292A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
screen switching
terminal
progress bar
sliding
Prior art date
Application number
PCT/CN2020/084913
Other languages
English (en)
French (fr)
Inventor
丁浩
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020233292A1 publication Critical patent/WO2020233292A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • the embodiments of the present disclosure relate to the field of communication technology, and in particular, to a screen switching control method and terminal.
  • multi-screen terminals such as double-sided mobile phones
  • various terminal manufacturers have launched their own multi-screen terminals.
  • the biggest difference between a multi-screen terminal and a traditional terminal is the use of multiple screens to maximize the use of terminal resources.
  • the user can use the screen switching function to switch the display content from one screen to another during the application process. For example, for a double-sided phone with front and rear screens, the screen switching function can display the original on the front The information on the screen is switched to the back screen display to meet the needs of users.
  • the user may accidentally trigger the screen switching function when using the terminal, and once the switching process is entered, the screen switching function cannot be stopped, causing the display content on the current screen to switch to other screens.
  • the embodiments of the present disclosure provide a screen switching control method and terminal, so as to solve the problem of complicated operation and easy information leakage after the user accidentally triggers the screen switching function in the related art.
  • the embodiments of the present disclosure provide a screen switching control method, which is applied to a terminal, the terminal includes: a first screen and a second screen, the first screen and the second screen are arranged opposite to each other, wherein , The method includes:
  • the terminal According to the flipping posture of the terminal, display a flip progress bar of the flip progress of the terminal on a target screen; wherein the target screen is at least one of the first screen and the second screen;
  • an embodiment of the present disclosure provides a terminal, the terminal includes: a first screen and a second screen, the first screen and the second screen are disposed opposite to each other, wherein the terminal further includes:
  • the acquiring module is used to acquire the flip posture of the terminal when the screen switching instruction is detected; wherein the screen switching instruction is used to switch the target page displayed in the first screen to the second screen. ;
  • the first display module is configured to display a flip progress bar of the terminal flip progress on the target screen according to the flip posture of the terminal obtained by the obtaining module; wherein the target screen is the first screen and the second screen. At least one of the screens;
  • the first receiving module is configured to receive a user's target operation on the flipping progress bar displayed by the first display module
  • the first processing module is configured to cancel this screen switching operation in response to the target operation received by the first receiving module.
  • an embodiment of the present disclosure provides a terminal, including: a processor, a memory, and a program stored on the memory and capable of running on the processor, the program being executed when the processor is executed The steps of the screen switching control method as described above.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, the steps of the screen switching control method described above are implemented.
  • a flip progress bar is displayed on the target screen, which can prompt the user to trigger the screen switching.
  • the screen switching is triggered by mistake, the user can flip the progress bar to discover the error in time.
  • the operation behavior, and through the target operation of the flip progress bar the screen switching operation is cancelled in time to reduce the risk of information leakage caused by the display content of the second screen being seen by others.
  • the user has triggered the screen switch and regrets it, he can also cancel the screen switch operation in time by turning the target operation of the progress bar, instead of manually triggering the screen switch instruction again to switch the display content on the second screen to In the first screen, the operation is simple. Further, by turning the progress bar, the user can independently decide whether to switch the screen, which enriches the interaction of screen switching.
  • the flipping progress bar is more intuitive, it is also more convenient for the user to cancel the screen switching operation by flipping the progress bar.
  • FIG. 1 shows a schematic flowchart of a screen switching control method provided by an embodiment of the present disclosure
  • FIG. 2 shows one of the schematic diagrams of the flip progress bar provided by the embodiment of the present disclosure
  • FIG. 3 shows a schematic diagram of reverse sliding of a flip progress bar provided by an embodiment of the present disclosure
  • FIG. 4 shows the second schematic diagram of a flip progress bar provided by an embodiment of the present disclosure
  • FIG. 5 shows a schematic diagram of the x, y, and z axis coordinate system of the terminal provided by an embodiment of the present disclosure
  • FIG. 6 shows one of the schematic flowcharts of an example provided by an embodiment of the present disclosure
  • FIG. 7 shows the second schematic flowchart of an example provided by an embodiment of the present disclosure
  • FIG. 8 shows one of the schematic diagrams of three-finger side sliding and sliding progress bar provided by an embodiment of the present disclosure
  • FIG. 9 shows the second schematic diagram of the three-finger side sliding and sliding progress bar provided by an embodiment of the present disclosure.
  • FIG. 10 shows one of the block diagrams of the terminal provided by an embodiment of the present disclosure
  • FIG. 11 shows the second block diagram of a terminal provided by an embodiment of the present disclosure.
  • a screen switching control method is provided, which is applied to a terminal.
  • the terminal includes a first screen and a second screen, and the first screen and the second screen are arranged opposite to each other.
  • the first screen and the second screen can be two independent display screens, or two sub-display screens formed by bending one screen.
  • the method for controlling screen switching includes: steps 101 to 104.
  • Step 101 In the case that a screen switching instruction is detected, acquire the flip posture of the terminal.
  • the screen switching instruction described here is used to switch the target page displayed on the first screen to the second screen for display.
  • the screen switching instruction may be an instruction triggered by a physical key, an instruction triggered by a virtual key, an instruction triggered by a voice, an instruction triggered by a fingerprint key, or an instruction triggered by a sliding operation on the first screen.
  • the detection In the case of screen switching instructions determine the flip posture of the terminal.
  • Step 102 According to the flip posture of the terminal, a flip progress bar of the flip progress of the terminal is displayed on the target screen.
  • the turning progress bar described here is used to indicate the turning progress of the terminal facing the user relative to the direction from the first terminal surface where the first screen is located to the second terminal surface where the second screen is located.
  • the target screen mentioned here is at least one of the first screen and the second screen.
  • a flip progress bar is displayed, and the progress of the flip progress bar is controlled according to the obtained flip posture of the terminal.
  • the display of the flip progress bar can remind the user that the screen switching instruction has been triggered.
  • a flip progress bar 201 is displayed at the bottom of the screen.
  • the "cross” in the turning progress bar 201 indicates the start position of the progress
  • the "check mark” indicates the end position of the progress.
  • Step 103 Receive the user's target operation on the rollover progress bar.
  • the target operation described here can be a vertical sliding operation that is perpendicular to the direction of the flip progress bar, or a reverse sliding operation that is opposite to the progress direction of the flip progress bar (as shown in Figure 3). Double-click touch operation of the bar, etc.
  • a target operation when the user accidentally triggers the screen switching instruction or regrets after triggering the screen switching instruction, a target operation can be performed on the flip progress bar, and the target operation can cancel the current screen switching operation.
  • Step 104 In response to the target operation, cancel this screen switching operation.
  • the screen switching operation is cancelled in response to the target operation. For example, when the current screen switching operation is not completed, the current screen switching operation is suspended; when the current screen switching operation is completed, the target page is automatically switched from the second screen to the first screen for display.
  • a flip progress bar is displayed on the target screen, which can prompt the user to trigger the screen switching.
  • the screen switching is triggered by mistake, the user can flip the progress bar to discover the error in time.
  • Operation behavior, and through the target operation of flipping the progress bar the screen switching operation is cancelled in time to reduce the risk of information leakage caused by the display content of the second screen being seen by others.
  • the user has triggered the screen switch and regrets it, he can also cancel the screen switch operation in time by turning the target operation of the progress bar, instead of manually triggering the screen switch instruction again to switch the display content on the second screen to In the first screen, the operation is simple. Further, by turning the progress bar, the user can independently decide whether to switch the screen, which enriches the interaction of screen switching.
  • the flipping progress bar is more intuitive, it is also more convenient for the user to cancel the screen switching operation by flipping the progress bar.
  • the target screens described in step 102 are the first screen and the second screen, that is, the flip progress bar is displayed on the first screen and the second screen at the same time, and the flip progress of the terminal is displayed synchronously, which can provide users with With more freedom of choice, users can view the flipping progress of the terminal and operate the flipping progress bar on any one of the first screen and the second screen.
  • the terminal's built-in direction sensor can be used to obtain the terminal's flip posture information.
  • the details are as follows:
  • the definition of the x, y, and z axes of the three-dimensional coordinate system of the terminal is shown in Figure 5.
  • the value of the y axis can be used to indicate the flip angle of the terminal, and the flip progress of the terminal is determined according to the flip angle of the terminal.
  • the values of the x, y, and z axes can be obtained through the three values of the values variable of the direction sensor built in the terminal:
  • values[0]: indicates the azimuth, that is, the angle at which the terminal rotates around the z axis.
  • values[1] Indicates the terminal tilt or the degree of terminal tilt, that is, the angle of rotation around the x axis.
  • values[2] indicates the flip angle, that is, the roll angle along the y axis.
  • the value range is -90 ⁇ values[2] ⁇ 90.
  • the value of values[2] is reduced from 0 to -90 and then increased to 90, or increased from 0 to 90 and then reduced to -90, which can indicate the complete process of terminal flip, so the direction sensor is used to provide The angle value of, you can complete the monitoring of the terminal flip action and control the progress of the flip progress bar.
  • the screen switching control method further includes: when the progress of the flip progress bar reaches 100%, the target interface is changed from the first Switch to the second screen in one screen.
  • the switching of the target interface is controlled according to the flip progress of the terminal, that is, when the screen switching instruction is detected, the progress bar is flipped Indicate that the turning progress of the terminal reaches 100% (that is, when the progress end position is reached, as shown in Figure 4), the target interface is switched from the first screen to the second screen for display.
  • the turning progress reaching 100% indicates that the terminal has been turned from the first terminal surface where the first screen is located to the second terminal surface where the second screen is located.
  • the screen switching control method further includes: controlling the second screen to prohibit responding to touch operations.
  • the finger placed on the second screen area may trigger some applications or services by mistake, which affects the user’s perception of the terminal. use.
  • it can be set: when the screen switching instruction is detected, the second screen is prohibited from responding to touch events, which can effectively avoid the An accidental touch occurred.
  • the terminal is a mobile phone
  • the first screen is the front screen of the mobile phone
  • the second screen is the back screen of the mobile phone
  • the target operation is a reverse sliding operation.
  • the user triggers the screen switching function, which may be an active trigger or an accidental touch.
  • the front screen and the back screen will simultaneously display a flip progress bar for indicating the flip progress of the terminal, and at the same time control the back screen to prohibit responding to touch events.
  • it is detected whether there is a reverse sliding operation on the turning progress bar. After the reverse sliding operation is detected, the screen switching operation is cancelled, the control flip progress bar disappears, the front screen continues to display the original display content, and the user continues to use the front screen.
  • the screen switching control method further includes: receiving a screen switching sliding operation input by the user on the first screen; in response to the screen switching sliding operation, displaying a sliding operation on the first screen progress bar.
  • the screen switching sliding operation described here is used to trigger a screen switching instruction.
  • the screen switching sliding operation may be a three-finger side sliding sliding operation, or other sliding operations used to trigger a screen switching instruction.
  • the sliding progress bar described here is used to indicate the sliding progress of the screen switching sliding operation according to the sliding distance of the screen switching sliding operation.
  • a sliding progress bar when a screen switching instruction is triggered by a sliding operation on the first screen (ie, a screen switching sliding operation), a sliding progress bar may be displayed on the first screen. And display the progress of the sliding progress bar according to the sliding distance of the sliding operation, which may be specifically: displaying the progress of the sliding progress bar according to the ratio of the sliding distance of the sliding operation to the preset distance.
  • the preset distance is the distance that enables the sliding operation to successfully trigger the screen switching instruction.
  • the user can effectively understand whether the current sliding operation can successfully trigger the screen switching instruction, and the sliding progress bar can also serve as a reminder that the user has triggered the screen switching operation.
  • a screen switching instruction is triggered to switch the target interface displayed on the first screen to the second screen for display. Further, in the embodiments of the present disclosure, it may be set: when the progress of the sliding progress bar does not reach 100%, if the screen switching sliding operation is detected to disappear, the screen switching sliding operation is ignored. In this way, when the user finds that the screen switching sliding operation is triggered by mistake, he can suspend the flat screen switching operation by lifting his finger.
  • the user uses a three-finger sliding operation on the first screen to trigger a screen switching instruction, and at the same time a sliding progress bar is displayed on the first screen.
  • the terminal controls the progress of the sliding progress bar according to the ratio of the side sliding distance to the prescribed distance.
  • the screen switching operation will be aborted and the sliding progress bar will disappear.
  • the side sliding distance reaches the prescribed distance and the progress of the sliding progress bar reaches 100% (as shown in Figure 9)
  • the screen switching instruction is triggered and the control sliding progress bar disappears.
  • the sliding progress bar solution described here can be used in combination with the solutions involved in the flipping progress bar described above. For example, after detecting a screen switching sliding operation, a sliding progress bar is displayed, and when the progress of the sliding progress bar reaches 100%, a screen switching instruction is triggered. After detecting that the screen switching instruction is triggered, the flip progress bar is displayed on the first screen and/or the second screen. When the progress of the rollover progress bar has not reached 100%, if the target operation for the rollover progress bar is received, the screen switching operation will be cancelled. When the progress of the flipping progress bar reaches 100%, the control target interface is switched from the first screen to the second screen, and the screen switching is completed.
  • this is only an example, and the specific combination method can be selected according to actual needs.
  • a flip progress bar is displayed on the target screen, which can prompt the user to trigger the screen switching.
  • the user can flip the progress It can detect misoperations in time, and cancel the screen switching operation in time through the target operation of the flip progress bar, reducing the risk of information leakage when the display content switched to the second screen is seen by others.
  • the user has triggered the screen switch and regrets it, he can also cancel the screen switch operation in time by turning the target operation of the progress bar, instead of manually triggering the screen switch instruction again to switch the display content on the second screen to In the first screen, the operation is simple.
  • the user can independently decide whether to switch the screen, which enriches the interaction of screen switching.
  • the flipping progress bar is more intuitive, it is also more convenient for the user to cancel the screen switching operation by flipping the progress bar.
  • a terminal which can implement the details in the above-mentioned screen switching control method and achieve the same technical effect.
  • the terminal includes: a first screen and a second screen, and the first screen and the second screen are arranged opposite to each other.
  • the first screen and the second screen may be two independent display screens, or may be two sub-display screens formed by bending one screen.
  • the terminal further includes:
  • the obtaining module 1001 is used to obtain the flip posture of the terminal when the screen switching instruction is detected.
  • the screen switching instruction is used to switch the target page displayed on the first screen to the second screen for display.
  • the first display module 1002 is configured to display a turning progress bar of the terminal turning progress on the target screen according to the turning posture of the terminal acquired by the acquiring module 1001.
  • the target screen is at least one of the first screen and the second screen.
  • the first receiving module 1003 is configured to receive a user's target operation of turning the progress bar displayed by the first display module 1002.
  • the target operation described here can be a vertical sliding operation that is perpendicular to the direction of the flip progress bar, or a reverse sliding operation that is opposite to the progress direction of the flip progress bar (as shown in Figure 3). Double-click touch operation of the bar.
  • the first processing module 1004 is configured to cancel the screen switching operation in response to the target operation received by the first receiving module 1003.
  • the first processing module 1004 includes:
  • the processing unit is configured to, in response to the target operation received by the first receiving module 1003, suspend the screen switching operation when the screen switching operation is not completed; The target page is switched from the second screen to the first screen for display.
  • the terminal further includes:
  • the second display module is configured to switch the target interface from the first screen to the second screen for display when the progress of the flipping progress bar displayed by the first display module 1002 reaches 100%.
  • the terminal further includes:
  • the first control module is configured to control the second screen to prohibit responding to touch operations when a screen switching instruction is detected;
  • the prohibition cancellation module is used to cancel the prohibition of responding to touch operations on the second screen when the progress of the flipping progress bar reaches 100%.
  • the terminal further includes:
  • the second receiving module is configured to receive the screen switching sliding operation input by the user on the first screen before the screen switching instruction is detected.
  • the screen switching sliding operation is used to trigger the screen switching instruction.
  • the third display module is configured to display a sliding progress bar on the first screen in response to the screen switching sliding operation received by the second receiving module.
  • the sliding progress bar is used to indicate the sliding progress of the screen switching sliding operation according to the sliding distance of the screen switching sliding operation.
  • the terminal further includes:
  • the triggering module is configured to trigger the screen switching instruction when the sliding progress bar displayed by the third display module indicates that the sliding progress of the screen switching sliding operation reaches 100%.
  • the terminal further includes:
  • the second processing module is configured to ignore the screen switching sliding operation if it is detected that the screen switching sliding operation disappears when the progress of the sliding progress bar displayed by the third display module does not reach 100%.
  • a flip progress bar is displayed on the target screen, which can prompt the user to trigger the screen switching.
  • the screen switching is triggered by mistake, the user can flip the progress bar to discover the error in time.
  • Operation behavior, and through the target operation of flipping the progress bar the screen switching operation is cancelled in time to reduce the risk of information leakage caused by the display content of the second screen being seen by others.
  • the user has triggered the screen switch and regrets it, he can also cancel the screen switch operation in time by turning the target operation of the progress bar, instead of manually triggering the screen switch instruction again to switch the display content on the second screen to In the first screen, the operation is simple. Further, by turning the progress bar, the user can independently decide whether to switch the screen, which enriches the interaction of screen switching.
  • the flipping progress bar is more intuitive, it is also more convenient for the user to cancel the screen switching operation by flipping the progress bar.
  • Fig. 11 is a schematic diagram of the hardware structure of a terminal for implementing various embodiments of the present disclosure.
  • the terminal 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and a power supply 1111 and other components.
  • a radio frequency unit 1101 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and a power supply 1111 and other components.
  • terminal structure shown in FIG. 11 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and ped
  • the processor 1110 is configured to control the sensor 1105 to acquire the flip posture of the terminal when the screen switching instruction is detected, and control the display unit 1106 to display the flip progress bar of the terminal flip progress on the target screen according to the flip posture of the terminal; After the user input unit 1107 receives the user's target operation on the rollover progress bar, in response to the target operation, cancel the screen switching operation this time.
  • the screen switching instruction is used to switch the target page displayed in the first screen to the second screen; the target screen is at least one of the first screen and the second screen .
  • a flip progress bar is displayed on the target screen, which can prompt the user to trigger the screen switching.
  • the screen switching is triggered by mistake, the user can flip the progress bar to discover the error in time.
  • Operation behavior, and through the target operation of flipping the progress bar the screen switching operation is cancelled in time to reduce the risk of information leakage caused by the display content of the second screen being seen by others.
  • the user has triggered the screen switch and regrets it, he can also cancel the screen switch operation in time by turning the target operation of the progress bar, instead of manually triggering the screen switch instruction again to switch the display content on the second screen to In the first screen, the operation is simple. Further, by turning the progress bar, the user can independently decide whether to switch the screen, which enriches the interaction of screen switching.
  • the flipping progress bar is more intuitive, it is also more convenient for the user to cancel the screen switching operation by flipping the progress bar.
  • the radio frequency unit 1101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving downlink data from the base station, it is processed by the processor 1110; Uplink data is sent to the base station.
  • the radio frequency unit 1101 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 1101 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 1102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1103 can convert the audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into audio signals and output them as sounds. Moreover, the audio output unit 1103 may also provide audio output related to a specific function performed by the terminal 1100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1104 is used to receive audio or video signals.
  • the input unit 1104 may include a graphics processing unit (GPU) 11041 and a microphone 11042, and the graphics processor 11041 is configured to respond to still pictures or video images 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 frame can be displayed on the display unit 1106.
  • the image frame processed by the graphics processor 11041 may be stored in the memory 1109 (or other storage medium) or sent via the radio frequency unit 1101 or the network module 1102.
  • the microphone 11042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1101 for output in the case of a telephone call mode.
  • the terminal 1100 further includes at least one sensor 1105, 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 11061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 11061 and/or when the terminal 1100 is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1105 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
  • the display unit 1106 is used to display information input by the user or information provided to the user.
  • the display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 1107 can be used to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the terminal.
  • the user input unit 1107 includes a touch panel 11071 and other input devices 11072.
  • the touch panel 11071 also known as a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 11071 or near the touch panel 11071. operating).
  • the touch panel 11071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1110 receives and executes the command sent by the processor 1110.
  • the touch panel 11071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1107 may also include other input devices 11072.
  • other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 11071 can cover the display panel 11061.
  • the touch panel 11071 detects a touch operation on or near it, it is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 determines the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 11061.
  • the touch panel 11071 and the display panel 11061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated Realize the input and output functions of the terminal, which are not limited here.
  • the interface unit 1108 is an interface for connecting an external device with the terminal 1100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1108 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 1100 or may be used to communicate between the terminal 1100 and the external device. Transfer data between.
  • the memory 1109 can be used to store software programs and various data.
  • the memory 1109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1110 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal, and executes by running or executing software programs and/or modules stored in the memory 1109, and calling data stored in the memory 1109. Various functions of the terminal and processing data, so as to monitor the terminal as a whole.
  • the processor 1110 may include one or more processing units; optionally, the processor 1110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1110.
  • the terminal 1100 may also include a power source 1111 (such as a battery) for supplying power to various components.
  • a power source 1111 such as a battery
  • the power source 1111 may be logically connected to the processor 1110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the terminal 1100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal, including a processor 1110, a memory 1109, and a program that is stored on the memory 1109 and can run on the processor 1110.
  • a terminal including a processor 1110, a memory 1109, and a program that is stored on the memory 1109 and can run on the processor 1110.
  • the program is executed by the processor 1110, the foregoing.
  • the various processes of the embodiments of the screen switching control method can achieve the same technical effect. In order to avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a program is stored on the computer-readable storage medium.
  • a program is stored on the computer-readable storage medium.
  • the computer readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.

Abstract

本公开提供了一种屏幕切换控制方法及终端。所述方法包括:在检测到屏幕切换指令的情况下,获取终端的翻转姿态;根据所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条;接收用户对所述翻转进度条的目标操作;响应于所述目标操作,取消本次屏幕切换操作。

Description

屏幕切换控制方法及终端
相关申请的交叉引用
本申请主张在2019年5月20日在中国提交的中国专利申请No.201910418741.4的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种屏幕切换控制方法及终端。
背景技术
目前,多屏终端(如双面屏手机)已经成为终端的发展重要方向之一,各家终端厂商都已经推出各自的多屏终端。多屏终端与传统终端最大的区别在于使用多块屏幕来最大化利用终端资源。用户可以通过屏幕切换功能,在应用使用过程中将显示内容由一个屏幕切换到另一个屏幕进行显示,如对于具有前后屏幕的双面屏手机而言,通过屏幕切换功能,可以将原本显示在正面屏幕的信息,切换至背面屏幕显示,以满足用户的使用需求。但用户在使用终端时,可能会不小心触发屏幕切换功能,而一旦进入切换过程则无法中止,导致当前屏幕中的显示内容切换到其他屏幕中,这样还需用户通过屏幕切换功能将显示内容再切换回去,而此时用户需先确定屏幕切换功能如何触发,然后再手动触发屏幕切换功能,将显示内容重新切换至原来的屏幕中显示,操作繁琐。此外,在用户不知情的情况下,切换到其他屏幕中的内容可能被他人看到,造成信息泄露问题。
发明内容
本公开实施例提供了一种屏幕切换控制方法及终端,以解决相关技术中在用户误触发屏幕切换功能后操作繁琐且易造成信息泄露的问题。
为了解决上述技术问题,本公开采用如下技术方案:
第一方面,本公开实施例提供了一种屏幕切换控制方法,应用于终端, 所述终端包括:第一屏和第二屏,所述第一屏与所述第二屏相背设置,其中,所述方法包括:
在检测到屏幕切换指令的情况下,获取终端的翻转姿态;其中,所述屏幕切换指令用于将所述第一屏中显示的目标页面切换至所述第二屏中显示;
根据所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条;其中,所述目标屏幕为所述第一屏和所述第二屏中的至少一个;
接收用户对所述翻转进度条的目标操作;
响应于所述目标操作,取消本次屏幕切换操作。
第二方面,本公开实施例提供了一种终端,所述终端包括:第一屏和第二屏,所述第一屏与所述第二屏相背设置,其中,所述终端还包括:
获取模块,用于在检测到屏幕切换指令的情况下,获取终端的翻转姿态;其中,所述屏幕切换指令用于将所述第一屏中显示的目标页面切换至所述第二屏中显示;
第一显示模块,用于根据所述获取模块获取的所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条;其中,所述目标屏幕为所述第一屏和所述第二屏中的至少一个;
第一接收模块,用于接收用户对所述第一显示模块显示的翻转进度条的目标操作;
第一处理模块,用于响应于所述第一接收模块接收到的目标操作,取消本次屏幕切换操作。
第三方面,本公开实施例提供了一种终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上所述的屏幕切换控制方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储程序,所述程序被处理器执行时实现如上所述的屏幕切换控制方法的步骤。
本公开实施例中,在触发了屏幕切换指令时,在目标屏幕显示一翻转进度条,可以提示用户屏幕切换的触发,这样,在误触发屏幕切换时,用户可以通过翻转进度条,及时发现误操作行为,并通过对翻转进度条的目标操作, 及时取消本次屏幕切换操作,降低切换至第二屏的显示内容被他人看到,而造成信息泄露的风险。此外,当用户触发了屏幕切换又后悔时,也可以通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,而不必再次手动触发屏幕切换指令,将第二屏中显示内容再切换至第一屏中,操作简单。进一步地,通过翻转进度条可以使用户自主决定屏幕是否切换,丰富了屏幕切换的交互。另外,由于翻转进度条更加直观,因此也能更加便于用户通过翻转进度条取消屏幕切换操作。
附图说明
图1表示本公开实施例提供的屏幕切换控制方法的流程示意图;
图2表示本公开实施例提供的翻转进度条的示意图之一;
图3表示本公开实施例提供的对翻转进度条的反向滑动的示意图;
图4表示本公开实施例提供的翻转进度条的示意图之二;
图5表示本公开实施例提供的终端的x、y、z轴坐标系的示意图;
图6表示本公开实施例提供的示例的流程示意图之一;
图7表示本公开实施例提供的示例的流程示意图之二;
图8表示本公开实施例提供的三指侧滑以及滑动进度条的示意图之一;
图9表示本公开实施例提供的三指侧滑以及滑动进度条的示意图之二;
图10表示本公开实施例提供的终端的框图之一;
图11表示本公开实施例提供的终端的框图之二。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
依据本公开实施例的一个方面,提供了一种屏幕切换控制方法,应用于终端。该终端包括:第一屏和第二屏,所述第一屏与所述第二屏相背设置。其中,第一屏和第二屏可以是独立的两个显示屏幕,也可以是一个屏幕弯折后 形成的两个子显示屏幕。
如图1所示,该屏幕切换控制方法包括:步骤101至104。
步骤101:在检测到屏幕切换指令的情况下,获取终端的翻转姿态。
其中,这里所述的屏幕切换指令用于将第一屏中显示的目标页面切换至第二屏中显示。该屏幕切换指令可以是物理按键触发的指令、虚拟按键触发的指令、语音触发的指令、指纹按键触发的指令或在第一屏的滑动操作触发的指令等。
一般,用户在观看第一屏的显示内容时,若触发了屏幕切换指令,用户需要将终端进行翻转,来观看切换至第二屏中的显示内容,因此,在本公开实施例中,在检测到屏幕切换指令的情况下,确定终端的翻转姿态。
步骤102:根据终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条。
其中,这里所述的翻转进度条用于指示终端相对面对用户方向,由第一屏所在的第一终端面,翻转至第二屏所在的第二终端面的翻转进度。这里所述的目标屏幕为第一屏和第二屏中的至少一个。
本公开实施例中,在检测到屏幕切换指令的情况下,显示一翻转进度条,并根据获取的终端的翻转姿态,控制翻转进度条的进度。该翻转进度条的显示,可以提醒用户当前已触发了屏幕切换指令。
如图2所示,在检测到屏幕切换指令时,在屏幕的下面显示翻转进度条201。其中,该翻转进度条201中的“叉号”表示进度开始位置,“对勾”表示进度终点位置。
步骤103:接收用户对翻转进度条的目标操作。
其中,这里所述的目标操作可以是与翻转进度条方向垂直的竖向滑动操作,或与翻转进度条的进度方向相反的反向滑动操作(如图3所示),还可以是对翻转进度条的双击触控操作等。
本公开实施例中,当用户误触发了屏幕切换指令或在触发了屏幕切换指令又后悔时,可以对翻转进度条进行目标操作,该目标操作可以取消本次屏幕切换操作。
步骤104:响应于目标操作,取消本次屏幕切换操作。
本公开实施例中,在检测到用户对翻转进度条的目标操作后,响应该目标操作,取消本次屏幕切换操作。例如,在本次屏幕切换操作未完成时,中止本次屏幕切换操作;在本次屏幕切换操作已完成时,将目标页面自动从第二屏中切换至第一屏中显示。
本公开实施例中,在触发了屏幕切换指令时,在目标屏幕显示一翻转进度条,可以提示用户屏幕切换的触发,这样,在误触发屏幕切换时,用户可以通过翻转进度条,及时发现误操作行为,并通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,降低切换至第二屏的显示内容被他人看到,而造成信息泄露的风险。此外,当用户触发了屏幕切换又后悔时,也可以通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,而不必再次手动触发屏幕切换指令,将第二屏中显示内容再切换至第一屏中,操作简单。进一步地,通过翻转进度条可以使用户自主决定屏幕是否切换,丰富了屏幕切换的交互。另外,由于翻转进度条更加直观,因此也能更加便于用户通过翻转进度条取消屏幕切换操作。
可选地,步骤102中所述的目标屏幕为第一屏和第二屏,即在第一屏和第二屏同时显示该翻转进度条,并同步显示终端的翻转进度,这样可以为用户提供更多的选择自由度,使用户在第一屏和第二屏中的任意一个屏中都可以查看到终端的翻转进度,以及对翻转进度条进行操作。
可选地,本公开实施例中,可通过终端内置的方向传感器,获取终端的翻转姿态信息。具体如下所述:
终端的三维坐标系x、y、z轴定义如图5所示,其中y轴的数值可以用来表示终端的翻转角度,根据终端的翻转角度,确定终端的翻转进度。
x、y、z轴的数值可以通过终端内置的方向传感器的values变量的三个值获取:
values[0]:表示方位,也就是终端绕着z轴旋转的角度。
values[1]:表示终端倾斜度或终端翘起的程度,也就是绕着x轴旋转的角度。
values[2]:表示翻转角度,也就是沿着y轴的滚动角度。其取值范围是-90≤values[2]≤90。当终端水平放置时,values[2]为0,将终端从左侧向右逐渐 抬起,values[2]逐渐减小,直到终端垂直于水平面,values[2]减小到-90,继续向右,values[2]逐渐增大,直到终端彻底翻转,values[2]增大到0;将手机从右侧向左逐渐抬起至完全翻转,values[2]则经历先增大到90,后减小到0的类似过程。
如上所述,values[2]的值从0减小到-90再增大到90,或者从0增大到90再减小到-90,都可以表示终端翻转完整过程,因此利用方向传感器提供的角度数值,即可完成终端翻转动作的监控,控制翻转进度条的进度。
可选地,步骤102在根据终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条之后,该屏幕切换控制方法还包括:在翻转进度条的进度达到100%时,将目标界面从第一屏中切换至第二屏中显示。
在本公开实施例的一个实施方式中,可以设置:在检测到屏幕切换指令时,根据终端的翻转进度,控制目标界面的切换,也就是说,在检测到屏幕切换指令时,在翻转进度条指示终端的翻转进度达到100%(即达到进度终点位置时,如图4所示),将目标界面从第一屏中切换至第二屏中显示。其中,翻转进度达到100%表示终端已由第一屏所在的第一终端面翻转至第二屏所在的第二终端面。
可选地,在检测到屏幕切换指令的情况下,该屏幕切换控制方法还包括:控制第二屏禁止响应触控操作。
在用户手持终端观看第一屏的显示内容时,用户的部分手指会放置在第二屏区域处。在因屏幕切换而进行终端翻转的过程中时,由于用户看不到第二屏的内容显示情况,因此放置在第二屏区域处的手指可能会误触发一些应用或服务,影响用户对终端的使用。为了克服这一个问题,在本公开实施例的一个实施方式中,可以设置:在检测到屏幕切换指令时,禁止第二屏响应触控事件,这样可以有效避免终端翻转过程中,第二屏的误触事件发生。进一步地,为了避免终端翻转完成后,第二屏的禁止响应触控操作,影响用户对终端的使用,可以在检测到翻转进度条的进度达到100%时,解除第二屏的禁止响应触控操作。
为了更好的理解本公开实施例提供的翻转进度条方案以及第二屏禁止响应触控操作的方案,下面以一示例加以说明。
假设该终端为手机,第一屏为手机的正面屏幕,第二屏为手机的背面屏幕,目标操作为反向滑动操作。
如图6所示,用户触发了屏幕切换功能,可能是主动触发,也可能是误触。在屏幕切换功能被触发后,在正面屏幕和背面屏幕同步显示用于指示终端翻转进度的翻转进度条,同时控制背面屏幕禁止响应触控事件。在显示翻转进度条后,检测是否具有对翻转进度条的反向滑动操作。在检测到反向滑动操作后,取消本次屏幕切换操作,控制翻转进度条消失,正面屏幕继续显示原来的显示内容,用户继续使用正面屏幕。在未检测到反向滑动操作,且翻转进度条的进度达到终点时(即手机已由正面屏幕所处的终端面翻转至背面屏幕所处的终端面)时,控制翻转进度条消失,并解除背面屏幕的禁止响应触控事件,此时,屏幕切换前在正面屏幕中的显示内容已切换至背面屏幕中,用户使用背面屏幕敢看显示内容。
可选地,在检测到屏幕切换指令之前,该屏幕切换控制方法还包括:接收用户在第一屏上输入的屏幕切换滑动操作;响应于该屏幕切换滑动操作,在第一屏上显示一滑动进度条。
其中,这里所述的屏幕切换滑动操作用于触发屏幕切换指令。该屏幕切换滑动操作可以是三指侧滑滑动操作,也可以是其他用于触发屏幕切换指令的滑动操作。这里所述的滑动进度条用于根据屏幕切换滑动操作的滑动距离,指示屏幕切换滑动操作的滑动进度。
本公开实施例中,在通过在第一屏上的滑动操作(即屏幕切换滑动操作)来触发屏幕切换指令时,可以在第一屏上显示一滑动进度条。并根据滑动操作的滑动距离显示该滑动进度条的进度,具体可以是:根据滑动操作的滑动距离与预设距离的比值,显示该滑动进度条的进度。该预设距离为使滑动操作能够成功触发屏幕切换指令的距离。
通过显示一滑动进度条,可以帮助用户有效的了解到当前的滑动操作是否能够成功触发屏幕切换指令,且该滑动进度条也可以起到提示作用,提示用户触发了屏幕切换操作。
其中,在该滑动进度条指示屏幕切换滑动操作的滑动进度达到100%时,触发屏幕切换指令,将第一屏中显示的目标界面切换至第二屏中显示。进一 步地,本公开实施例中还可以设置:在滑动进度条的进度未达到100%时,若检测到屏幕切换滑动操作消失,则忽略屏幕切换滑动操作。这样,当用户发现误触发了屏幕切换滑动操作后,可以通过抬起手指,来中止本次平次屏幕切换操作。
为了更好的理解上述中的滑动进度条方案,下面以一示例加以说明。
如图7至图9所示,用户在第一屏上通过三指侧滑滑动操作,触发屏幕切换指令,同时在第一屏上显示滑动进度条。终端根据侧滑距离与规定距离的比例,控制滑动进度条的进度。在滑动进度条的进度未达到100%时,若用户抬起手指,则中止本次屏幕切换操作,并控制滑动进度条消失。在侧滑距离达到规定距离,滑动进度条的进度达到100%时(如图9所示),触发屏幕切换指令,控制滑动进度条消失。
最后需要说明的是,这里所述的滑动进度条方案与上面所述的翻转进度条所涉及到的方案可以结合使用。例如,在检测到屏幕切换滑动操作后,显示滑动进度条,在滑动进度条的进度达到100%时,触发屏幕切换指令。在检测到屏幕切换指令被触发后,在第一屏和/或第二屏显示翻转进度条。在翻转进度条的进度未达到100%时,若接收到了对翻转进度条的目标操作,则取消本次屏幕切换操作。在翻转进度条的进度达到100%时,控制目标界面从第一屏中切换至第二屏中显示,完成屏幕切换。当然,这里仅是举例说明,具体结合方式,可根据实际需求选择。
综上所述,本公开实施例中,在触发了屏幕切换指令时,在目标屏幕显示一翻转进度条,可以提示用户屏幕切换的触发,这样,在误触发屏幕切换时,用户可以通过翻转进度条,及时发现误操作行为,并通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,降低切换至第二屏的显示内容被他人看到,而造成信息泄露的风险。此外,当用户触发了屏幕切换又后悔时,也可以通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,而不必再次手动触发屏幕切换指令,将第二屏中显示内容再切换至第一屏中,操作简单。进一步地,通过翻转进度条可以使用户自主决定屏幕是否切换,丰富了屏幕切换的交互。另外,由于翻转进度条更加直观,因此也能更加便于用户通过翻转进度条取消屏幕切换操作。
依据本公开实施例的另一个方面,提供了一种终端,该终端能实现上述屏幕切换控制方法中的细节,并达到相同的技术效果。
其中,所述终端包括:第一屏和第二屏,所述第一屏与所述第二屏相背设置。其中,所述第一屏和所述第二屏可以是独立的两个显示屏幕,也可以是一个屏幕弯折后形成的两个子显示屏幕。
如图10所示,所述终端还包括:
获取模块1001,用于在检测到屏幕切换指令的情况下,获取终端的翻转姿态。
其中,所述屏幕切换指令用于将所述第一屏中显示的目标页面切换至所述第二屏中显示。
第一显示模块1002,用于根据所述获取模块1001获取的所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条。
其中,所述目标屏幕为所述第一屏和所述第二屏中的至少一个。
第一接收模块1003,用于接收用户对所述第一显示模块1002显示的翻转进度条的目标操作。
其中,这里所述的目标操作可以是与翻转进度条方向垂直的竖向滑动操作,或与翻转进度条的进度方向相反的反向滑动操作(如图3所示),还可以是对翻转进度条的双击触控操作等。
第一处理模块1004,用于响应于所述第一接收模块1003接收到的目标操作,取消本次屏幕切换操作。
可选地,所述第一处理模块1004包括:
处理单元,用于响应于所述第一接收模块1003接收到的目标操作,在本次屏幕切换操作未完成时,中止本次屏幕切换操作;在本次屏幕切换操作已完成时,将所述目标页面从所述第二屏中切换至所述第一屏中显示。
可选地,所述终端还包括:
第二显示模块,用于在所述第一显示模块1002显示的翻转进度条的进度达到100%时,将所述目标界面从所述第一屏中切换至所述第二屏中显示。
可选地,所述终端还包括:
第一控制模块,用于在检测到屏幕切换指令的情况下,控制所述第二屏 禁止响应触控操作;
禁止解除模块,用于在所述翻转进度条的进度达到100%时,解除所述第二屏的禁止响应触控操作。
可选地,所述终端还包括:
第二接收模块,用于在检测到屏幕切换指令之前,接收用户在所述第一屏上输入的所述屏幕切换滑动操作。
其中,所述屏幕切换滑动操作用于触发所述屏幕切换指令。
第三显示模块,用于响应于所述第二接收模块接收到的屏幕切换滑动操作,在所述第一屏上显示一滑动进度条。
其中,所述滑动进度条用于根据所述屏幕切换滑动操作的滑动距离,指示所述屏幕切换滑动操作的滑动进度。
可选地,所述终端还包括:
触发模块,用于在所述第三显示模块显示的滑动进度条指示所述屏幕切换滑动操作的滑动进度达到100%时,触发所述屏幕切换指令。
可选地,所述终端还包括:
第二处理模块,用于在所述第三显示模块显示的滑动进度条的进度未达到100%时,若检测到所述屏幕切换滑动操作消失,则忽略所述屏幕切换滑动操作。
本公开实施例中,在触发了屏幕切换指令时,在目标屏幕显示一翻转进度条,可以提示用户屏幕切换的触发,这样,在误触发屏幕切换时,用户可以通过翻转进度条,及时发现误操作行为,并通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,降低切换至第二屏的显示内容被他人看到,而造成信息泄露的风险。此外,当用户触发了屏幕切换又后悔时,也可以通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,而不必再次手动触发屏幕切换指令,将第二屏中显示内容再切换至第一屏中,操作简单。进一步地,通过翻转进度条可以使用户自主决定屏幕是否切换,丰富了屏幕切换的交互。另外,由于翻转进度条更加直观,因此也能更加便于用户通过翻转进度条取消屏幕切换操作。
图11为实现本公开各个实施例的一种终端的硬件结构示意图。
该终端1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、处理器1110、以及电源1111等部件。本领域技术人员可以理解,图11中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
处理器1110,用于在检测到屏幕切换指令的情况下,控制传感器1105获取终端的翻转姿态,并根据所述终端的翻转姿态,控制显示单元1106在目标屏幕显示终端翻转进度的翻转进度条;在用户输入单元1107接收到用户对所述翻转进度条的目标操作后,响应于所述目标操作,取消本次屏幕切换操作。
其中,所述屏幕切换指令用于将所述第一屏中显示的目标页面切换至所述第二屏中显示;所述目标屏幕为所述第一屏和所述第二屏中的至少一个。
本公开实施例中,在触发了屏幕切换指令时,在目标屏幕显示一翻转进度条,可以提示用户屏幕切换的触发,这样,在误触发屏幕切换时,用户可以通过翻转进度条,及时发现误操作行为,并通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,降低切换至第二屏的显示内容被他人看到,而造成信息泄露的风险。此外,当用户触发了屏幕切换又后悔时,也可以通过对翻转进度条的目标操作,及时取消本次屏幕切换操作,而不必再次手动触发屏幕切换指令,将第二屏中显示内容再切换至第一屏中,操作简单。进一步地,通过翻转进度条可以使用户自主决定屏幕是否切换,丰富了屏幕切换的交互。另外,由于翻转进度条更加直观,因此也能更加便于用户通过翻转进度条取消屏幕切换操作。
应理解的是,本公开实施例中,射频单元1101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1110处理;另外,将上行的数据发送给基站。通常,射频单元1101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1101还可以通过无线通信系统与网络和其他设备通信。
终端通过网络模块1102为用户提供了无线的宽带互联网访问,如帮助用 户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元1103可以将射频单元1101或网络模块1102接收的或者在存储器1109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1103还可以提供与终端1100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1103包括扬声器、蜂鸣器以及受话器等。
输入单元1104用于接收音频或视频信号。输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1106上。经图形处理器11041处理后的图像帧可以存储在存储器1109(或其它存储介质)中或者经由射频单元1101或网络模块1102进行发送。麦克风11042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1101发送到移动通信基站的格式输出。
终端1100还包括至少一种传感器1105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板11061的亮度,接近传感器可在终端1100移动到耳边时,关闭显示面板11061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元1106用于显示由用户输入的信息或提供给用户的信息。显示单元1106可包括显示面板11061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板11061。
用户输入单元1107可用于接收输入的数字或字符信息,以及产生与终端 的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板11071上或在触控面板11071附近的操作)。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1110,接收处理器1110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板11071。除了触控面板11071,用户输入单元1107还可以包括其他输入设备11072。具体地,其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板11071可覆盖在显示面板11061上,当触控面板11071检测到在其上或附近的触摸操作后,传送给处理器1110以确定触摸事件的类型,随后处理器1110根据触摸事件的类型在显示面板11061上提供相应的视觉输出。虽然在图11中,触控面板11071与显示面板11061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板11071与显示面板11061集成而实现终端的输入和输出功能,具体此处不做限定。
接口单元1108为外部装置与终端1100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端1100内的一个或多个元件或者可以用于在终端1100和外部装置之间传输数据。
存储器1109可用于存储软件程序以及各种数据。存储器1109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区 可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器1110是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1109内的软件程序和/或模块,以及调用存储在存储器1109内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器1110可包括一个或多个处理单元;可选地,处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。
终端1100还可以包括给各个部件供电的电源1111(比如电池),可选地,电源1111可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端1100包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端,包括处理器1110,存储器1109,存储在存储器1109上并可在所述处理器1110上运行的程序,该程序被处理器1110执行时实现上述屏幕切换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有程序,该程序被处理器执行时实现上述屏幕切换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (14)

  1. 一种屏幕切换控制方法,应用于终端,所述终端包括:第一屏和第二屏,所述第一屏与所述第二屏相背设置,其中,所述方法包括:
    在检测到屏幕切换指令的情况下,获取终端的翻转姿态;其中,所述屏幕切换指令用于将所述第一屏中显示的目标页面切换至所述第二屏中显示;
    根据所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条;其中,所述目标屏幕为所述第一屏和所述第二屏中的至少一个;
    接收用户对所述翻转进度条的目标操作;
    响应于所述目标操作,取消本次屏幕切换操作。
  2. 根据权利要求1所述的方法,其中,所述响应于所述目标操作,取消本次屏幕切换操作,包括:
    响应于所述目标操作,在本次屏幕切换操作未完成时,中止本次屏幕切换操作;在本次屏幕切换操作已完成时,将所述目标页面从所述第二屏中切换至所述第一屏中显示。
  3. 根据权利要求1或2所述的方法,其中,在根据所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条之后,所述方法还包括:
    在所述翻转进度条的进度达到100%时,将所述目标界面从所述第一屏中切换至所述第二屏中显示。
  4. 根据权利要求1所述的方法,其中,在检测到屏幕切换指令的情况下,所述方法还包括:
    控制所述第二屏禁止响应触控操作;
    在所述翻转进度条的进度达到100%时,解除所述第二屏的禁止响应触控操作。
  5. 根据权利要求1所述的方法,其中,在检测到屏幕切换指令之前,所述方法还包括:
    接收用户在所述第一屏上输入的所述屏幕切换滑动操作;其中,所述屏幕切换滑动操作用于触发所述屏幕切换指令;
    响应于所述屏幕切换滑动操作,在所述第一屏上显示一滑动进度条;其 中,所述滑动进度条用于根据所述屏幕切换滑动操作的滑动距离,指示所述屏幕切换滑动操作的滑动进度。
  6. 根据权利要求5所述的方法,其中,响应于所述屏幕切换滑动操作,在所述第一屏上显示一滑动进度条之后,所述方法还包括:
    在所述滑动进度条的进度未达到100%时,若检测到所述屏幕切换滑动操作消失,则忽略所述屏幕切换滑动操作。
  7. 一种终端,包括:第一屏和第二屏,所述第一屏与所述第二屏相背设置,其中,所述终端还包括:
    获取模块,用于在检测到屏幕切换指令的情况下,获取终端的翻转姿态;其中,所述屏幕切换指令用于将所述第一屏中显示的目标页面切换至所述第二屏中显示;
    第一显示模块,用于根据所述获取模块获取的所述终端的翻转姿态,在目标屏幕显示终端翻转进度的翻转进度条;其中,所述目标屏幕为所述第一屏和所述第二屏中的至少一个;
    第一接收模块,用于接收用户对所述第一显示模块显示的翻转进度条的目标操作;
    第一处理模块,用于响应于所述第一接收模块接收到的目标操作,取消本次屏幕切换操作。
  8. 根据权利要求7所述的终端,其中,所述第一处理模块包括:
    处理单元,用于响应于所述第一接收模块接收到的目标操作,在本次屏幕切换操作未完成时,中止本次屏幕切换操作;在本次屏幕切换操作已完成时,将所述目标页面从所述第二屏中切换至所述第一屏中显示。
  9. 根据权利要求7或8所述的终端,还包括:
    第二显示模块,用于在所述第一显示模块显示的翻转进度条的进度达到100%时,将所述目标界面从所述第一屏中切换至所述第二屏中显示。
  10. 根据权利要求7所述的终端,还包括:
    第一控制模块,用于在检测到屏幕切换指令的情况下,控制所述第二屏禁止响应触控操作;
    禁止解除模块,用于在所述翻转进度条的进度达到100%时,解除所述第 二屏的禁止响应触控操作。
  11. 根据权利要求7所述的终端,还包括:
    第二接收模块,用于在检测到屏幕切换指令之前,接收用户在所述第一屏上输入的所述屏幕切换滑动操作;其中,所述屏幕切换滑动操作用于触发所述屏幕切换指令;
    第三显示模块,用于响应于所述第二接收模块接收到的屏幕切换滑动操作,在所述第一屏上显示一滑动进度条;其中,所述滑动进度条用于根据所述屏幕切换滑动操作的滑动距离,指示所述屏幕切换滑动操作的滑动进度。
  12. 根据权利要求11所述的终端,还包括:
    第二处理模块,用于在所述第三显示模块显示的滑动进度条的进度未达到100%时,若检测到所述屏幕切换滑动操作消失,则忽略所述屏幕切换滑动操作。
  13. 一种终端,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述程序被所述处理器执行时实现如权利要求1至6中任一项所述的屏幕切换控制方法的步骤。
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储程序,所述程序被处理器执行时实现如权利要求1至6中任一项所述的屏幕切换控制方法的步骤。
PCT/CN2020/084913 2019-05-20 2020-04-15 屏幕切换控制方法及终端 WO2020233292A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910418741.4 2019-05-20
CN201910418741.4A CN110191209B (zh) 2019-05-20 2019-05-20 一种屏幕切换控制方法及终端

Publications (1)

Publication Number Publication Date
WO2020233292A1 true WO2020233292A1 (zh) 2020-11-26

Family

ID=67716834

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084913 WO2020233292A1 (zh) 2019-05-20 2020-04-15 屏幕切换控制方法及终端

Country Status (2)

Country Link
CN (1) CN110191209B (zh)
WO (1) WO2020233292A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849082A (zh) * 2021-09-23 2021-12-28 惠州Tcl移动通信有限公司 一种触控处理方法、装置、存储介质及移动终端

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191209B (zh) * 2019-05-20 2021-06-22 维沃移动通信有限公司 一种屏幕切换控制方法及终端
CN111970168A (zh) * 2020-08-11 2020-11-20 北京点众科技股份有限公司 全链路服务节点的监控方法、装置和存储介质
CN112019685A (zh) * 2020-08-26 2020-12-01 北京字节跳动网络技术有限公司 终端的控制方法、装置、终端和存储介质
CN114168007A (zh) * 2021-11-03 2022-03-11 华为技术有限公司 电子设备及其交互方法、可读介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401975A (zh) * 2013-07-30 2013-11-20 广东欧珀移动通信有限公司 一键拨号方法和系统
WO2016155550A1 (zh) * 2015-03-30 2016-10-06 努比亚技术有限公司 无边框终端的应用切换方法及无边框终端
CN106101309A (zh) * 2016-06-29 2016-11-09 努比亚技术有限公司 一种双面屏幕切换装置及方法、移动终端
CN106155476A (zh) * 2016-06-21 2016-11-23 努比亚技术有限公司 移动终端及屏幕内容切换方法
CN110191209A (zh) * 2019-05-20 2019-08-30 维沃移动通信有限公司 一种屏幕切换控制方法及终端

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3829937B2 (ja) * 2003-07-16 2006-10-04 ソニー株式会社 撮像装置および撮像システム制御方法
US10552030B2 (en) * 2012-10-15 2020-02-04 Kirusa, Inc. Multi-gesture media recording system
TWD161261S (zh) * 2013-01-07 2014-06-21 宏碁股份有限公司 顯示螢幕之圖形化使用者介面
CN106648238A (zh) * 2016-12-23 2017-05-10 惠州Tcl移动通信有限公司 一种移动终端的屏幕切换方法及移动终端
CN107040657B (zh) * 2017-04-06 2020-04-14 普联技术有限公司 一种防止触摸屏误触发方法及装置
CN107277242A (zh) * 2017-06-14 2017-10-20 黄之 一种屏幕显示信息的处理方法、显示方法和显示系统
CN107291356B (zh) * 2017-08-03 2020-05-01 北京达佳互联信息技术有限公司 文件传输显示控制方法、装置及相应的终端
EP3690614A4 (en) * 2017-09-30 2021-08-25 SZ DJI Technology Co., Ltd. CONTROL METHODS FOR PHOTOGRAPHING DEVICE, PHOTOGRAPHING DEVICE, AND STORAGE MEDIUM
CN108174027B (zh) * 2017-12-26 2021-05-21 努比亚技术有限公司 双屏控制装置、双屏移动终端及双屏显示方法
CN108108221B (zh) * 2018-01-02 2021-09-07 武汉斗鱼网络科技有限公司 一种指定操作切换实时数据显示的方法及装置
CN109040364A (zh) * 2018-08-15 2018-12-18 朱秀芬 一种手机及其双面显示屏的切换控制方法
CN109521922B (zh) * 2018-11-12 2021-03-05 京东方科技集团股份有限公司 终端的显示比例变更方法、装置及设备
CN109640381A (zh) * 2018-11-30 2019-04-16 维沃移动通信有限公司 一种屏幕模式控制方法及移动终端
CN109684107B (zh) * 2018-12-25 2021-07-06 维沃移动通信有限公司 一种信息提醒方法及装置
CN109710151B (zh) * 2018-12-28 2021-04-02 维沃移动通信有限公司 一种文件处理方法及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401975A (zh) * 2013-07-30 2013-11-20 广东欧珀移动通信有限公司 一键拨号方法和系统
WO2016155550A1 (zh) * 2015-03-30 2016-10-06 努比亚技术有限公司 无边框终端的应用切换方法及无边框终端
CN106155476A (zh) * 2016-06-21 2016-11-23 努比亚技术有限公司 移动终端及屏幕内容切换方法
CN106101309A (zh) * 2016-06-29 2016-11-09 努比亚技术有限公司 一种双面屏幕切换装置及方法、移动终端
CN110191209A (zh) * 2019-05-20 2019-08-30 维沃移动通信有限公司 一种屏幕切换控制方法及终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849082A (zh) * 2021-09-23 2021-12-28 惠州Tcl移动通信有限公司 一种触控处理方法、装置、存储介质及移动终端
CN113849082B (zh) * 2021-09-23 2024-01-19 惠州Tcl移动通信有限公司 一种触控处理方法、装置、存储介质及移动终端

Also Published As

Publication number Publication date
CN110191209B (zh) 2021-06-22
CN110191209A (zh) 2019-08-30

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
WO2020233292A1 (zh) 屏幕切换控制方法及终端
WO2020147674A1 (zh) 未读消息提示方法及移动终端
JP7301956B2 (ja) 情報処理方法および端末
WO2021104321A1 (zh) 图像显示方法及电子设备
WO2019179332A1 (zh) 应用程序的关闭方法及移动终端
WO2019196864A1 (zh) 一种虚拟按键控制方法及移动终端
CN109683785B (zh) 一种信息处理方法及移动终端
WO2019080775A1 (zh) 通知消息的提示方法及移动终端
WO2020233323A1 (zh) 显示控制方法、终端设备及计算机可读存储介质
WO2021004306A1 (zh) 操作控制方法及终端
WO2021017749A1 (zh) 图标显示方法及移动终端
WO2020192282A1 (zh) 通知消息显示方法及终端设备
WO2021068885A1 (zh) 控制方法及电子设备
WO2021218748A1 (zh) 投屏方法及电子设备
EP3934213A1 (en) Mobile terminal and sound output control method
CN108055392B (zh) 显示区域调整方法、移动终端及计算机可读存储介质
US11930297B2 (en) Video call method and terminal device
WO2021057712A1 (zh) 接近检测方法及终端设备
US11778079B2 (en) Method for controlling foldable terminal and foldable terminal
WO2020199987A1 (zh) 信息显示方法及移动终端
WO2020078234A1 (zh) 显示控制方法及终端
US20230032042A1 (en) Interface display method, interface display apparatus, and electronic device
WO2021129537A1 (zh) 电子设备控制方法及电子设备
WO2020038143A1 (zh) 显示界面的处理方法和移动终端

Legal Events

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

Ref document number: 20808833

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

Country of ref document: EP

Kind code of ref document: A1