WO2020172795A1 - Screen switching method, flexible electronic device and computer readable storage medium - Google Patents

Screen switching method, flexible electronic device and computer readable storage medium Download PDF

Info

Publication number
WO2020172795A1
WO2020172795A1 PCT/CN2019/076166 CN2019076166W WO2020172795A1 WO 2020172795 A1 WO2020172795 A1 WO 2020172795A1 CN 2019076166 W CN2019076166 W CN 2019076166W WO 2020172795 A1 WO2020172795 A1 WO 2020172795A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
screen
state
flexible electronic
screen area
Prior art date
Application number
PCT/CN2019/076166
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 深圳市柔宇科技有限公司
Priority to CN201980073485.8A priority Critical patent/CN113272778A/en
Priority to PCT/CN2019/076166 priority patent/WO2020172795A1/en
Publication of WO2020172795A1 publication Critical patent/WO2020172795A1/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • This application relates to the technical field of smart terminals, and in particular to a screen switching method, a flexible electronic device, and a computer-readable storage medium.
  • the existing smart terminal with a flexible display screen is divided into two sub-screens when it is in a folded state.
  • the sub-screen facing the user is usually turned on, while the sub-screen facing away from the user is turned off or off; when the sub-screen facing away from the user needs to be used, the user needs to flip the smart terminal to make
  • the sub-screen facing away from the user faces the user, and the sub-screen is lit for the user to use by operating the physical keys or clicking the menu option.
  • This screen switching operation is too complicated and inconvenient for users to use.
  • the embodiments of the present application disclose a screen switching method, a flexible electronic device, and a computer-readable storage medium to solve the above problems.
  • a screen switching method disclosed in an embodiment of the present application is applied to a flexible electronic device, the flexible electronic device includes a flexible display screen, and the display area of the flexible display screen is divided into when the flexible electronic device is in a folded state In the main screen area and the auxiliary screen area, the flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, and the screen switching method includes the steps:
  • the working mode of the flexible electronic device is the single-screen lighting mode
  • the single-screen lighting mode is that one of the main screen area and the auxiliary screen area is in The screen is on, and the other of the main screen area and the auxiliary screen area is in the off state;
  • the working mode of the flexible electronic device is the single-screen lighting mode, determining whether the sensing information generated by the distance sensor has changed;
  • One of the area and the auxiliary screen area is switched to a bright screen state.
  • a flexible electronic device disclosed in an embodiment of the present application includes a flexible display screen and a processor; the display area of the flexible display screen is divided into a main screen area and an auxiliary screen area when the flexible electronic device is in a folded state.
  • the flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, and when the flexible electronic device is in a folded state, the processor recognizes whether the working mode of the flexible electronic device is a single screen point On mode, the single-screen lighting mode is that one of the main screen area and the auxiliary screen area is in the on-screen state, and the other of the main screen area and the auxiliary screen area is in the off-screen state;
  • the processor determines whether the sensing information generated by the distance sensor changes; when the sensing information generated by the distance sensor changes, all The processor controls to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and switch one of the main screen area and the auxiliary screen area in the off-screen state To the bright screen state.
  • a computer-readable storage medium disclosed in an embodiment of the present application stores a control program of a screen switching method, and the control program of the screen switching method is executed by a processor to implement the above-mentioned screen switching method.
  • the flexible electronic device since the flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, when it is determined that the distance sensor is located When the generated sensing information is changed, it is controlled to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and the main screen area and the auxiliary screen in the off-screen state are changed.
  • One of the zones is switched to the bright screen state, which makes the method of switching screens easier and convenient for users to use, thereby improving user experience.
  • FIG. 1 is a schematic diagram of a flexible electronic device in an unfolded state in an embodiment of the application.
  • FIG. 2 is a schematic diagram of the flexible electronic device in a folded state in an embodiment of the application.
  • Fig. 3 is a flowchart of a screen switching method in an embodiment of the application.
  • Fig. 4 is a flowchart of a screen switching method in another embodiment of the application.
  • FIG. 5 is a flowchart of a screen switching method in still another embodiment of this application.
  • FIG. 6 is a schematic diagram of the holding posture of the electronic device in an embodiment of the application.
  • FIG. 7 is a structural block diagram of a flexible electronic device in an embodiment of the application.
  • the flexible electronic device 100 may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a portable media player (Portable Media Player, PMP), a navigation device, a wearable device, Smart bracelets, pedometers, etc. are not limited here.
  • the flexible electronic device 100 refers to an electronic device with a flexible and bendable screen. This type of electronic device can be bent. Therefore, when using the flexible electronic device 100, the user can bend it into a desired shape, so that the shape of the flexible electronic device can meet their current needs.
  • the flexible electronic device 100 does not need to be used, the user can also reduce the space occupied by the flexible electronic device 100 by bending and improve its portability.
  • the flexible electronic device 100 includes a flexible display screen 10, which may be an organic light-emitting diode (Organic Light-Emitting Diode, OLED) flexible display screen, which is flexible, twistable, and flexible. Folding features, while having better color and contrast, and ultra-thin features.
  • a flexible display screen 10 which may be an organic light-emitting diode (Organic Light-Emitting Diode, OLED) flexible display screen, which is flexible, twistable, and flexible. Folding features, while having better color and contrast, and ultra-thin features.
  • OLED Organic Light-Emitting Diode
  • the flexible display screen has a bending area 11.
  • the display area of the flexible display screen 10 is divided into a main screen area 12 and an auxiliary screen area 13 by the bending area 11, and the main screen area 12 and the auxiliary screen area 13 face oppositely .
  • the main screen area 12, the bending area 11 and the auxiliary screen area 13 form a continuous plane.
  • the folded state means that the angle between the two parts of the flexible electronic device 100 divided by the bending area 11 is less than 180 degrees; when the angle between the two parts is 180 degrees, the The flexible electronic device 100 is in an unfolded state.
  • the included angle can be obtained by an angle sensor (not shown in the figure) disposed at the bending zone 11.
  • the bending area 11 defines a fold line 101, and the bending area 11 is divided into a first side panel area 111 and a second side panel area 112 by the fold line 101, wherein the The main screen area 12 is connected to the first side screen area 111, and the auxiliary screen area 13 is connected to the second side screen area 112.
  • the first side screen area 111 and the second side screen area 112 of the bending area 11 form a continuous arc.
  • the first side screen area 111 and the second side screen area 112 of the bending area 11 form a continuous plane.
  • the entire display area of the flexible display screen 10 is divided into two sub-display areas 102 by the fold line 101.
  • the two sub-display areas 101 are located on opposite sides of the folding line 101. That is, the main screen area 12 and the first side screen area 111 connected to it form a sub display area 102, and the auxiliary screen area 13 and the second side screen area 112 connected to it form another sub display area 103.
  • FIG. 3 is a flowchart of a screen switching method disclosed in an embodiment of the application.
  • the screen switching method is applied to the above-mentioned flexible electronic device 100, and the screen switching method in the embodiment of the present application will be described in detail below.
  • the sub-display area 102 facing the user is usually placed in a bright screen state for the user to use.
  • the sub-display area 103 facing away from the user is in the off-screen state.
  • step S31 when the flexible electronic device 100 is in a folded state, it is recognized whether the working mode of the flexible electronic device 100 is a single-screen lighting mode.
  • the single-screen lighting mode is that one of the main screen area 12 and the auxiliary screen area 13 is in the on-screen state, and the other of the main screen area 12 and the auxiliary screen area 13 is in the off-screen state . If yes, go to step S32; if no, then the process ends.
  • the flexible electronic device 100 is provided with a distance sensor 20 on one of the main screen area 12 or the auxiliary screen area 13.
  • the distance sensor 20 is used to generate and emit light signals, and the distance sensor 20 is also used to receive the light signal of the emitted light reflected by the obstruction, and output corresponding sensing information according to the intensity of the received light signal.
  • the optical signal is invisible light, for example, infrared light, ultraviolet light, and the like.
  • the distance sensor 20 is arranged on the side wall of the main screen area 12 or the auxiliary screen area 13 for detecting obstructions on the side of the main screen area 12 or the auxiliary screen area 13 Side covering.
  • the distance sensor 20 may also be disposed in the flexible electronic device 100 and face the main screen area 12 or the auxiliary screen area 13.
  • the main screen area 12 or the auxiliary screen area 13 of the flexible display screen 10 needs to be provided with a through hole 103, and the distance sensor 20 is provided in the flexible electronic device 100 and corresponds to the through hole 103.
  • the distance sensor 20 transmits and receives signals through the corresponding through hole 103 to detect the obstruction on the side of the main screen area 12 or the obstruction on the side of the auxiliary screen area 13.
  • the through hole 103 is opened at the edge of the flexible display screen 10 to reduce the influence on the screen display.
  • the electronic device 100 further includes a housing 200 (see FIG. 2) disposed opposite to the flexible display screen 10, and the housing 200 and the flexible display screen 100 enclose a space to accommodate electronic components. (Such as circuit boards).
  • the arrangement of the distance sensor 20 in the flexible electronic device 100 means that the distance sensor 20 is arranged in the space enclosed by the flexible display screen 100 and the housing 200.
  • the distance sensor 20 may be disposed on a circuit board (not shown), for example, soldered on the circuit board, and then may be electrically connected with other electronic components and the main control chip on the circuit board.
  • the distance sensor 20 is an infrared distance measuring sensor.
  • the infrared ranging sensor is used to generate infrared light signals.
  • the distance sensor 20 receives the infrared light signal reflected by the obstruction. Wherein, as the distance between the obstruction (such as the face or the finger) and the flexible display screen 10 is closer, the signal intensity of the reflected light received by the distance sensor 20 is stronger.
  • the distance sensor 20 may include a light emitter and a photoelectric sensor, the light emitter is used to generate and emit a light signal, the photoelectric sensor is used to receive the light signal reflected by the obstruction and according to the received infrared light signal The intensity of the output corresponding sensing information.
  • the induction information can be a voltage signal or a current signal. When the intensity of the received light signal is stronger, the output induction information is also stronger, and then according to the intensity of the induction information, the obstruction and the distance sensor can be calculated. the distance between.
  • the distance sensor 20 may also be an optical displacement sensor, a linear proximity sensor, an ultrasonic displacement sensor, and the like.
  • the preset distance may be determined according to specific design requirements, for example, the preset distance value may be 1 cm, 2 cm, 5 cm, 10 cm, etc., which are not limited here.
  • Step S32 It is determined whether the sensing information generated by the distance sensor has changed. If yes, go to step S33; if no, then the process ends.
  • one of the main screen area 12 or the auxiliary screen area 13 that is not provided with the distance sensor 20 is in the lighting state by default.
  • the main screen area 12 is in the lighted state by default, and the auxiliary screen area 13 is in the off-screen state, that is, At this time, the main screen area 12 may face the user for use.
  • the distance sensor 20 detects an obstructing object (such as the user's face) and causes the sensing information to change. Therefore, according to the change in the sensing information of the distance sensor 20, it can be determined The screen facing the user has changed.
  • Step S33 controlling to switch one of the main screen area 12 and the auxiliary screen area 13 in the on-screen state to the off-screen state, and switch the main screen area 12 and the auxiliary screen area 13 in the off-screen state among them One switches to the bright screen state.
  • the arc-shaped first side screen area 111 when the main screen area 12 is lit, the arc-shaped first side screen area 111 is also lit, and when the auxiliary screen area 13 is turned off, the arc-shaped second side screen area 112 is also lit. Turn off the screen.
  • the auxiliary screen area 13 is lit, the arc-shaped second side screen area 112 is also lit, and when the main screen area 12 is turned off, the arc-shaped first side screen area 111 is also turned off.
  • the flexible electronic device 100 since the flexible electronic device 100 is provided with a distance sensor 20 on one side of the main screen area 12 or the auxiliary screen area 13, when it is determined that the distance sensor When the generated sensing information changes, it is controlled to switch one of the main screen area 12 and the auxiliary screen area 13 in the on-screen state to the off-screen state, and the main screen area 12 and the off-screen state One of the auxiliary screen areas 13 is switched to the bright screen state, thereby making the method of switching screens simpler and convenient for users to use, thereby improving user experience.
  • FIG. 4 is a flowchart of a screen switching method in another embodiment of this application.
  • the flexible electronic device 100 is provided with the distance sensor 20 on both the main screen area 12 and the auxiliary screen area 13 for detecting obstructions and objects on the side of the main screen area 12 respectively.
  • the screen switching method includes the following steps.
  • Step S41 When the flexible electronic device 100 is in the folded state, it is recognized whether the working mode of the flexible electronic device 100 is the single-screen lighting mode. Wherein, the single-screen lighting mode is that one of the main screen area 12 and the auxiliary screen area 13 is in the on-screen state, and the other of the main screen area 12 and the auxiliary screen area 13 is in the off-screen state . If yes, go to step S42; if no, then the process ends.
  • step S41 is the same as step S31, and will not be repeated here.
  • Step S42 It is judged whether the screen currently in the lighting state is the main screen area 12 or the auxiliary screen area 13.
  • step S43 is executed; when the auxiliary screen area 13 is in the lighted state, step S45 is executed.
  • Step S43 It is judged whether the sensing information generated by the distance sensor 20 on the main screen area 12 has changed. If yes, go to step S44; if no, the process ends.
  • Step S44 controlling to switch the main screen area 12 in the on-screen state to the off-screen state, and to switch the auxiliary screen area 13 in the off-screen state to the on-screen state.
  • step S45 it is determined whether the sensing information generated by the distance sensor 20 on the auxiliary screen area 13 has changed. If yes, go to step S46; if no, the process ends.
  • step S32 includes step S43 and step S45.
  • Step S46 controlling to switch the auxiliary screen area 13 in the on-screen state to the off-screen state, and to switch the main screen area 12 in the off-screen state to the on-screen state.
  • step S33 includes step S44 and step S46.
  • the flexible electronic device 100 since the flexible electronic device 100 is in the single-screen lighting mode, if the main screen area 12 is in the lighted state, it means that the main screen area 12 is in use and faces the user; if the auxiliary screen area 13 is in the lighted state, it means the auxiliary screen The screen area 13 is in use and faces the user. Therefore, the user's face will block the distance sensor 20 on the side of the main screen area 12 or the auxiliary screen area 13 in the lit state, so that the distance sensor 20 generates corresponding sensing information. When the user wants to switch the screen, the face will leave the current screen, which will cause the current information generated by the distance sensor 20 to change due to the movement of the user's face.
  • the purpose of screen switching can be achieved without other operations, and the user experience can be further improved.
  • the user changes the sensing information generated by the distance sensor 20 by covering the distance sensor 20 with a finger, since the user also operates the lit screen with his finger when using the flexible electronic device 100, he can directly switch the screen if he wants to It is more convenient to realize the blocking action while operating.
  • the screen switching method further includes the following steps after step S32:
  • step S51 it is determined whether the duration of the change in the sensing information is greater than a preset time. If yes, go to step S52; if no, then the process ends.
  • Step S52 It is determined whether the state of the flexible electronic device 100 has changed. If yes, go to step S33; if no, then the process ends.
  • the state of the flexible electronic device 100 includes a placed state or a holding state of the flexible electronic device 100.
  • the placement state or the holding state of the flexible electronic device 100 is changed, it is determined that the state of the flexible electronic device 100 has changed.
  • the state has changed, that is, the placement direction has changed;
  • the state has changed, that is, the holding direction has occurred. Changed.
  • the flexible electronic device 100 further includes a sensing device 30 (refer to FIG. 7).
  • the determining whether the state of the flexible electronic device 100 has changed includes: acquiring the sensing data output by the sensing device 30, and determining the flexible electronic device according to the sensing data output by the sensing device Whether the state of the device 100 has changed.
  • the sensing device 30 includes a gravity sensor (PS: changed to include, it can be one or more, and it feels like one can be realized, as long as the Z-axis data is flipped, it will change. , Whether it is set on the main screen or on the auxiliary screen).
  • the gravity sensor is used to sense gravity data of the flexible electronic device 100.
  • the judging whether the state of the flexible electronic device 100 has changed according to the sensing data output by the sensing device 30 includes: judging the flexible electronic device 100 according to the direction change of the Z-axis data of the gravity sensor Whether the status of has changed. When the Z-axis data of the gravity sensor changes from positive to negative or from negative to positive, it is determined that the state of the flexible electronic device 100 has changed.
  • the main screen area 12 of the flexible electronic device 100 is provided with a gravity sensor.
  • the flexible electronic device 100 When the flexible electronic device 100 is in the first state, that is, when the main screen area 12 faces the user, and the auxiliary screen area 13 faces away from the user, the The data of the Z axis sensed by the gravity sensor is positive (upward); and when the flexible electronic device 100 is switched from the first state to the second state, that is, the flexible electronic device 100 is turned over so that the auxiliary screen
  • the Z-axis data sensed by the gravity sensor is a negative number (downward).
  • the sensing device 30 may further include one of an acceleration sensor and a direction sensor.
  • the sensing device 30 may also include any two or more of a gravity sensor, a direction sensor or an acceleration sensor at the same time.
  • the sensing device 30 includes a plurality of pressure sensors, the plurality of pressure sensors are used to sense pressure data when the flexible electronic device 100 is touched, and the plurality of pressure sensors are distributed in the Different positions of the flexible electronic device 100.
  • the multiple pressure sensors are distributed at different positions of the flexible display screen 10 (one part is located in the main screen area 12 and the other part is located in the auxiliary screen area 13) and different positions on the side of the flexible electronic device 100.
  • the judging whether the state of the flexible electronic device 100 has changed according to the sensing data output by the sensing device 30 includes: judging the pressure data generated by the plurality of pressure sensors in response to pressing Whether the state of the flexible electronic device 100 has changed.
  • the pressure data includes at least one of the following: the number of pressure points, the duration of the pressure, and the magnitude of the pressure.
  • the pressure sensor on 12 usually does not respond to continuous pressing, while the pressure sensor located on the auxiliary screen area 13 facing away from the user will continuously generate pressure data due to the long-term holding of the fingers. Therefore, the pressure sensor on the main screen area 12 generates pressure data with a smaller number of pressure points, shorter time and lower pressure, while the pressure sensor on the auxiliary screen area 13 has a larger contact area with the user’s finger.
  • the pressure data generated has a larger number of pressure points, a longer duration, and a higher pressure.
  • the pressure sensor located on the auxiliary screen area 13 When the user’s holding posture is changed, that is, when the auxiliary screen area 13 faces the user and the main screen area 12 faces away from the user, the pressure sensor located on the auxiliary screen area 13 generates pressure data with a smaller number of pressure points, but is located on the main screen Since the pressure sensor on the area 12 has a larger contact area with the user's finger, the number of pressure points generated by the pressure data is larger, the duration is longer, and the pressure is larger. That is to say, when the state of the flexible electronic device 100 changes, the pressure data generated by the pressure sensors located at different positions on the flexible display screen 10 will change. Therefore, the pressure data generated by the pressure sensors in response to the pressure may change.
  • the generated pressure data determines whether the holding posture of the flexible electronic device 100 has changed, and further determines whether the state of the flexible electronic device 100 has changed.
  • FIG. 7 is a structural block diagram of a flexible electronic device 100 in an embodiment of the application.
  • the flexible electronic device 100 includes but is not limited to a flexible display screen 10, a distance sensor 20, a sensing device 30, a memory 40 and a processor 50.
  • the flexible display screen 10, the distance sensor 20, the sensing device 30, the memory 40 and the processor 50 may be coupled through a communication bus 60.
  • FIG. 7 is only an example of the flexible electronic device 100, and does not constitute a limitation on the flexible electronic device 100.
  • the flexible electronic device 100 may include more than that shown in FIG. More or fewer components, or a combination of some components, or different components.
  • the flexible electronic device 100 may also include input and output devices, network access devices, and the like.
  • the memory 40 may be used to store computer programs and/or modules, and the processor 50 executes or executes the computer programs and/or modules stored in the memory 40 and calls the data stored in the memory 40 to implement all
  • the various functions of the flexible electronic device 100 are described.
  • the memory 40 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, application programs required by multiple functions (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may Store data (such as audio data, phone book, etc.) created based on the use of mobile phones.
  • the memory 40 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) card, flash card, multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
  • a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) card, flash card, multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
  • the processor 50 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
  • the processor is the control center of the flexible electronic device 100, and connects the entire flexible electronic device with various interfaces and lines 100 parts.
  • the processor 50 is further configured to execute all steps in the above-mentioned screen switching method. For example, steps S31 to S33 in FIG. 3, steps S41 to S46 in FIG. 4, and steps S51 to S52 in FIG.
  • the memory 40 stores program instructions
  • the processor 50 is configured to call the program instructions of the memory 40 to execute steps S31 to S33, steps S41 to S46, and steps S51 to S52 in the above method. .
  • the screen switching method provided in this application can be implemented in hardware and firmware, or can be used as software or computer code that can be stored in computer-readable storage media such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or can be As the computer code originally stored on a remote recording medium or a non-transitory machine-readable medium, downloaded via a network, and stored in a local recording medium, the method described here can use a general-purpose computer or a special processor or be used in such as ASIC or FPGA Such programmable or dedicated hardware is presented in software stored on a recording medium.
  • a computer, processor, microprocessor, controller, or programmable hardware includes memory components, such as RAM, ROM, flash memory, etc., when the computer, processor, or hardware implements the processing methods described herein, access When executing software or computer code, the memory component can store or receive the software or computer code.
  • the execution of the code converts the general-purpose computer into a dedicated computer for executing the processing shown here.
  • the computer-readable storage medium may be a solid-state memory, a memory card, an optical disc, etc.
  • the computer-readable storage medium stores program instructions for the computer to call to execute the above-mentioned screen switching method.

Abstract

Disclosed is a screen switching method implemented in a flexible electronic device (100) provided with a distance sensor (20) in one of a primary screen region (12) or a secondary screen region (13), and comprising the following steps: when the flexible electronic device is in a folded state, recognizing whether an operating mode of the flexible electronic device is a single-screen-on mode; when one of the primary screen region and the secondary screen region is in a screen-on state, determining whether there is a change in sensing information generated by the distance sensor; and if there is a change in the sensing information generated by the distance sensor, controlling one of the primary screen region and the secondary screen region in the screen-on state to be switched to a screen-off state, and controlling the other one of the primary screen region and the secondary screen region in the screen-off state to be switched to the screen-on state. Also disclosed are a flexible electronic device (100) and a computer readable storage medium. The screen switching method of the present invention is simple and can be implemented conveniently by a user.

Description

屏幕切换方法、柔性电子装置及计算机可读存储介质Screen switching method, flexible electronic device and computer readable storage medium 技术领域Technical field
本申请涉及智能终端技术领域,尤其涉及一种屏幕切换方法、柔性电子装置及计算机可读存储介质。This application relates to the technical field of smart terminals, and in particular to a screen switching method, a flexible electronic device, and a computer-readable storage medium.
背景技术Background technique
现有的具有柔性显示屏的智能终端,当其处于折叠状态时,柔性显示屏会划分为两个子屏幕。为了节约能耗,通常会让朝向用户的子屏幕处于点亮状态,而背朝用户的子屏幕处于熄屏或灭屏状态;当需要使用背朝用户的子屏幕,用户需翻转智能终端而使得背朝用户的子屏幕朝向用户,并操作实体按键或点选菜单选项使该子屏幕处于点亮状态以供用户使用。这种屏幕切换操作过于复杂,不方便用户使用。The existing smart terminal with a flexible display screen is divided into two sub-screens when it is in a folded state. In order to save energy, the sub-screen facing the user is usually turned on, while the sub-screen facing away from the user is turned off or off; when the sub-screen facing away from the user needs to be used, the user needs to flip the smart terminal to make The sub-screen facing away from the user faces the user, and the sub-screen is lit for the user to use by operating the physical keys or clicking the menu option. This screen switching operation is too complicated and inconvenient for users to use.
发明内容Summary of the invention
本申请实施例公开一种屏幕切换方法、柔性电子装置及计算机可读存储介质以解决上述问题。The embodiments of the present application disclose a screen switching method, a flexible electronic device, and a computer-readable storage medium to solve the above problems.
本申请实施例公开的一种屏幕切换方法,应用于柔性电子装置中,所述柔性电子装置包括柔性显示屏,所述柔性显示屏的显示区在所述柔性电子装置处于折叠状态时被划分为主屏区和辅屏区,所述柔性电子装置在主屏区或所述辅屏区其中之一上设置有距离传感器,所述屏幕切换方法包括步骤:A screen switching method disclosed in an embodiment of the present application is applied to a flexible electronic device, the flexible electronic device includes a flexible display screen, and the display area of the flexible display screen is divided into when the flexible electronic device is in a folded state In the main screen area and the auxiliary screen area, the flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, and the screen switching method includes the steps:
当所述柔性电子装置处于折叠状态时,识别所述柔性电子装置的工作模式是否为单屏点亮模式,所述单屏点亮模式为所述主屏区和所述辅屏区其中之一处于亮屏状态,且所述主屏区和所述辅屏区其中另一处于熄屏状态;When the flexible electronic device is in the folded state, it is recognized whether the working mode of the flexible electronic device is the single-screen lighting mode, and the single-screen lighting mode is that one of the main screen area and the auxiliary screen area is in The screen is on, and the other of the main screen area and the auxiliary screen area is in the off state;
当所述柔性电子装置的工作模式为单屏点亮模式时,判断所述距离传感器所生成的感应信息是否发生改变;When the working mode of the flexible electronic device is the single-screen lighting mode, determining whether the sensing information generated by the distance sensor has changed;
当所述距离传感器所生成的感应信息发生改变时,控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态,以及将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态。When the sensing information generated by the distance sensor changes, control to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and to switch the main screen in the off-screen state One of the area and the auxiliary screen area is switched to a bright screen state.
本申请实施例公开的一种柔性电子装置,包括柔性显示屏和处理器;所述柔性显示屏的显示区在所述柔性电子装置处于折叠状态时被划分为主屏区和辅屏区,所述柔性电子装置在主屏区或所述辅屏区其中之一上设置有距离传感器,当所述柔性电子装置处于折叠状态时,所述处理器识别所述柔性电子装置的工作模式是否为单屏点亮模式,所述单屏点亮模式为所述主屏区和所述辅屏区其中之一处于亮屏状态,且所述主屏区和所述辅屏区其中另一处于熄屏状态;A flexible electronic device disclosed in an embodiment of the present application includes a flexible display screen and a processor; the display area of the flexible display screen is divided into a main screen area and an auxiliary screen area when the flexible electronic device is in a folded state. The flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, and when the flexible electronic device is in a folded state, the processor recognizes whether the working mode of the flexible electronic device is a single screen point On mode, the single-screen lighting mode is that one of the main screen area and the auxiliary screen area is in the on-screen state, and the other of the main screen area and the auxiliary screen area is in the off-screen state;
当所述柔性电子装置的工作模式为单屏点亮模式时,所述处理器判断所述距离传感器所生成的感应信息是否发生改变;当所述距离传感器所生成的感应信息发生改变时,所述处理器控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态,以及将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态。When the working mode of the flexible electronic device is the single-screen lighting mode, the processor determines whether the sensing information generated by the distance sensor changes; when the sensing information generated by the distance sensor changes, all The processor controls to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and switch one of the main screen area and the auxiliary screen area in the off-screen state To the bright screen state.
本申请实施例公开的一种计算机可读存储介质,存储有屏幕切换方法的控制程序,所述屏幕切换方法的控制程序被处理器执行时实现上述所述的屏幕切换方法。A computer-readable storage medium disclosed in an embodiment of the present application stores a control program of a screen switching method, and the control program of the screen switching method is executed by a processor to implement the above-mentioned screen switching method.
本申请的屏幕切换方法、柔性电子装置及计算机可读存储介质,由于所述所述柔性电子装置在主屏区或所述辅屏区其中之一上设置有距离传感器,当判断所述距离传感器所生成的感应信息发生改变时,即控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态,将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态,进而使得换屏幕切换的方法较为简单、方便了用户的使用,从而提高了用户体验。In the screen switching method, flexible electronic device, and computer-readable storage medium of the present application, since the flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, when it is determined that the distance sensor is located When the generated sensing information is changed, it is controlled to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and the main screen area and the auxiliary screen in the off-screen state are changed One of the zones is switched to the bright screen state, which makes the method of switching screens easier and convenient for users to use, thereby improving user experience.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For ordinary technicians in the art, without creative work, other drawings can be obtained from these drawings.
图1为本申请一实施例中的柔性电子装置处于展开状态下的示意图。FIG. 1 is a schematic diagram of a flexible electronic device in an unfolded state in an embodiment of the application.
图2为本申请一实施例中的柔性电子装置处于折叠状态下的示意图。FIG. 2 is a schematic diagram of the flexible electronic device in a folded state in an embodiment of the application.
图3为本申请一实施例中的屏幕切换方法的流程图。Fig. 3 is a flowchart of a screen switching method in an embodiment of the application.
图4为本申请另一实施例中的屏幕切换方法的流程图。Fig. 4 is a flowchart of a screen switching method in another embodiment of the application.
图5为本申请再一实施例中的屏幕切换方法的流程图。FIG. 5 is a flowchart of a screen switching method in still another embodiment of this application.
图6为本申请一实施例中的电子装置的握持姿势示意图。FIG. 6 is a schematic diagram of the holding posture of the electronic device in an embodiment of the application.
图7为本申请一实施例中的柔性电子装置的结构框图。FIG. 7 is a structural block diagram of a flexible electronic device in an embodiment of the application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in the art without creative work fall within the protection scope of this application.
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms of "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
请参阅图1-2,本申请实施例公开一种柔性电子装置100。所述柔性电子装置100可以是但不限于手机、平板电脑、笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等,此处不做限定。其中,柔性电子装置100是指屏幕具有柔韧性并可弯折的电子装置。这类电子装置可被弯折,因此,在使用柔性电子装置100时,用户可以将其弯折成自己期望的形态,以便让柔性电子装置的形态契合自己当前的使用需求。另一方面,当不需要使用柔性电子装置100时,用户也可以通过弯折来减小其所占用的空间,提升其便携性。Please refer to FIGS. 1-2, an embodiment of the present application discloses a flexible electronic device 100. The flexible electronic device 100 may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a portable media player (Portable Media Player, PMP), a navigation device, a wearable device, Smart bracelets, pedometers, etc. are not limited here. Among them, the flexible electronic device 100 refers to an electronic device with a flexible and bendable screen. This type of electronic device can be bent. Therefore, when using the flexible electronic device 100, the user can bend it into a desired shape, so that the shape of the flexible electronic device can meet their current needs. On the other hand, when the flexible electronic device 100 does not need to be used, the user can also reduce the space occupied by the flexible electronic device 100 by bending and improve its portability.
在一些实施例中,所述柔性电子装置100包括柔性显示屏10,所述柔性显示屏10可以是有机发光二极管(Organic Light-Emitting Diode,OLED)柔 性显示屏,具有可弯曲、可扭转和可折叠的特性,同时具有更好的色彩及对比度,以及超薄等特点。In some embodiments, the flexible electronic device 100 includes a flexible display screen 10, which may be an organic light-emitting diode (Organic Light-Emitting Diode, OLED) flexible display screen, which is flexible, twistable, and flexible. Folding features, while having better color and contrast, and ultra-thin features.
在本实施方式中,所述柔性显示屏具有弯折区11。当所述柔性电子装置100处于折叠状态时,所述柔性显示屏10的显示区域被所述弯折区11划分为主屏区12和辅屏区13且主屏区12和辅屏区13的朝向相反。当所述柔性电子装置100处于展开状态时,所述主屏区12、所述弯折区11和所述辅屏区13形成连续的平面。其中,折叠状态是指所述柔性电子装置100被所述弯折区11所划分的两个部分之间的夹角小于180度;当所述两个部分的夹角为180度时,所述柔性电子装置100处于展开状态。其中,所述夹角可以通过设置于所述弯折区11处的角度传感器(图未示)而获得。In this embodiment, the flexible display screen has a bending area 11. When the flexible electronic device 100 is in the folded state, the display area of the flexible display screen 10 is divided into a main screen area 12 and an auxiliary screen area 13 by the bending area 11, and the main screen area 12 and the auxiliary screen area 13 face oppositely . When the flexible electronic device 100 is in an unfolded state, the main screen area 12, the bending area 11 and the auxiliary screen area 13 form a continuous plane. The folded state means that the angle between the two parts of the flexible electronic device 100 divided by the bending area 11 is less than 180 degrees; when the angle between the two parts is 180 degrees, the The flexible electronic device 100 is in an unfolded state. Wherein, the included angle can be obtained by an angle sensor (not shown in the figure) disposed at the bending zone 11.
在一些实施方式中,所述弯折区11定义一折叠线101,所述弯折区11被所述折叠线101划分为第一侧屏区111和第二侧屏区112,其中,所述主屏区12连接所述第一侧屏区111,所述辅屏区13连接所述第二侧屏区112。当所述柔性电子装置100处于折叠状态时,所述弯折区11的第一侧屏区111及第二侧屏区112形成连续的弧面。当所述柔性电子装置100处于展开状态时,所述弯折区11的第一侧屏区111及第二侧屏区112形成连续的平面。In some embodiments, the bending area 11 defines a fold line 101, and the bending area 11 is divided into a first side panel area 111 and a second side panel area 112 by the fold line 101, wherein the The main screen area 12 is connected to the first side screen area 111, and the auxiliary screen area 13 is connected to the second side screen area 112. When the flexible electronic device 100 is in a folded state, the first side screen area 111 and the second side screen area 112 of the bending area 11 form a continuous arc. When the flexible electronic device 100 is in an unfolded state, the first side screen area 111 and the second side screen area 112 of the bending area 11 form a continuous plane.
在另一实施方式中,当所述柔性显示屏10处于展开状态时,所述柔性显示屏10的整个显示区域被所述折叠线101划分为两个子显示区域102。其中,所述两个子显示区域101位于所述折叠线101的正对的两侧。即,所述主屏区12和与其连接的第一侧屏区111组成一个子显示区域102,且所述辅屏区13和与其连接所述第二侧屏区112组成另一个子显示区域103。In another embodiment, when the flexible display screen 10 is in an unfolded state, the entire display area of the flexible display screen 10 is divided into two sub-display areas 102 by the fold line 101. Wherein, the two sub-display areas 101 are located on opposite sides of the folding line 101. That is, the main screen area 12 and the first side screen area 111 connected to it form a sub display area 102, and the auxiliary screen area 13 and the second side screen area 112 connected to it form another sub display area 103.
请再参阅图3,图3为本申请一实施例公开的屏幕切换方法的流程图。所述屏幕切换方法应用于上述柔性电子装置100中,下面对本申请实施例中的屏幕切换方法进行详细的介绍。Please refer to FIG. 3 again, which is a flowchart of a screen switching method disclosed in an embodiment of the application. The screen switching method is applied to the above-mentioned flexible electronic device 100, and the screen switching method in the embodiment of the present application will be described in detail below.
需要说明的是,当所述柔性电子装置100处于折叠状态时,只有一个屏幕朝向用户而处于状态,为了节约能耗,通常会让朝向用户的子显示区域102处于亮屏状态以供用户使用,而背朝用户的子显示区域103处于熄屏状态。It should be noted that when the flexible electronic device 100 is in the folded state, only one screen is in the state facing the user. In order to save energy consumption, the sub-display area 102 facing the user is usually placed in a bright screen state for the user to use. The sub-display area 103 facing away from the user is in the off-screen state.
步骤S31,当所述柔性电子装置100处于折叠状态时,识别所述柔性电子装置100的工作模式是否为单屏点亮模式。其中,所述单屏点亮模式为所述主 屏区12和所述辅屏区13其中之一处于亮屏状态,且所述主屏区12和所述辅屏区13其中另一处于熄屏状态。若是,则执行步骤S32;若否,则流程结束。In step S31, when the flexible electronic device 100 is in a folded state, it is recognized whether the working mode of the flexible electronic device 100 is a single-screen lighting mode. Wherein, the single-screen lighting mode is that one of the main screen area 12 and the auxiliary screen area 13 is in the on-screen state, and the other of the main screen area 12 and the auxiliary screen area 13 is in the off-screen state . If yes, go to step S32; if no, then the process ends.
请再次参阅图1,在一些实施方式中,所述柔性电子装置100在主屏区12或所述辅屏区13其中之一上设置有距离传感器20。其中,所述距离传感器20用于产生及发射光信号,所述距离传感器20还用于接收出射光经遮挡物反射后的光信号,并根据所接收到的光信号强度输出相应的感应信息。在本实施方式中,所述光信号为不可见光,例如,红外光、紫外光等。Please refer to FIG. 1 again. In some embodiments, the flexible electronic device 100 is provided with a distance sensor 20 on one of the main screen area 12 or the auxiliary screen area 13. Wherein, the distance sensor 20 is used to generate and emit light signals, and the distance sensor 20 is also used to receive the light signal of the emitted light reflected by the obstruction, and output corresponding sensing information according to the intensity of the received light signal. In this embodiment, the optical signal is invisible light, for example, infrared light, ultraviolet light, and the like.
在一些实施方式中,所述距离传感器20设置于所述主屏区12或者所述辅屏区13的侧壁上,用于侦测所述主屏区12侧的遮挡物或所述辅屏区13侧的遮挡物。In some embodiments, the distance sensor 20 is arranged on the side wall of the main screen area 12 or the auxiliary screen area 13 for detecting obstructions on the side of the main screen area 12 or the auxiliary screen area 13 Side covering.
在另一些实施方式中,所述距离传感器20还可以设置于所述柔性电子装置100内且面向所述主屏区12或者所述辅屏区13。在本实施方式中,所述柔性显示屏10的主屏区12或辅屏区13需要设置有通孔103,所述距离传感器20设置于所述柔性电子装置100内且对应所述通孔103,进而使得所述距离传感器20通过对应的通孔103发射和接收信号来侦测所述主屏区12侧的遮挡物或所述辅屏区13侧的遮挡物。优选地,所述通孔103开设于所述柔性显示屏10的边缘处以减小对屏幕显示的影响。In other embodiments, the distance sensor 20 may also be disposed in the flexible electronic device 100 and face the main screen area 12 or the auxiliary screen area 13. In this embodiment, the main screen area 12 or the auxiliary screen area 13 of the flexible display screen 10 needs to be provided with a through hole 103, and the distance sensor 20 is provided in the flexible electronic device 100 and corresponds to the through hole 103. In turn, the distance sensor 20 transmits and receives signals through the corresponding through hole 103 to detect the obstruction on the side of the main screen area 12 or the obstruction on the side of the auxiliary screen area 13. Preferably, the through hole 103 is opened at the edge of the flexible display screen 10 to reduce the influence on the screen display.
可以理解,所述电子装置100还包括与所述柔性显示屏10相背设置的壳体200(参图2),所述壳体200和所述柔性显示屏100围成一个空间以容纳电子元件(如电路板)。所述距离传感器20设置于所述柔性电子装置100内是指所述距离传感器20设置于所述柔性显示屏100和所述壳体200所围成的空间内。具体地,所述距离传感器20可以设置于电路板上(图未示),例如,焊接于所述电路板上,进而可以与电路板上的其他电子元件及主控芯片实现电性连接。It can be understood that the electronic device 100 further includes a housing 200 (see FIG. 2) disposed opposite to the flexible display screen 10, and the housing 200 and the flexible display screen 100 enclose a space to accommodate electronic components. (Such as circuit boards). The arrangement of the distance sensor 20 in the flexible electronic device 100 means that the distance sensor 20 is arranged in the space enclosed by the flexible display screen 100 and the housing 200. Specifically, the distance sensor 20 may be disposed on a circuit board (not shown), for example, soldered on the circuit board, and then may be electrically connected with other electronic components and the main control chip on the circuit board.
在一实施方式中,所述距离传感器20为红外测距传感器。所述红外测距传感器用于产生红外光信号。当所述主屏区12的一侧或者所述辅屏区13的一侧有遮挡物时,所述距离传感器20接收被所述遮挡物反射的红外光信号。其中,当遮挡物(如脸部或手指)与所述柔性显示屏10的距离越近时,距离传感器20接收的反射光的信号强度越强。例如,所述距离传感器20可包括光线 发射器和光电传感器,所述光线发射器用于产生并发射光信号,所述光电传感器用于接收经遮挡物反射的光信号并根据接收到的红外光信号的强度输出相应的感应信息。其中,感应信息可以是电压信号还可以是电流信号,当接收到的光信号的强度越强时,输出的感应信息也越强,进而根据感应信息的强弱可以计算出遮挡物与距离传感器20之间的距离。在其他实施方式中,所述距离传感器20还可以是光学式位移传感器、线性接近传感器及超声波位移传感器等。In one embodiment, the distance sensor 20 is an infrared distance measuring sensor. The infrared ranging sensor is used to generate infrared light signals. When there is an obstruction on one side of the main screen area 12 or one side of the auxiliary screen area 13, the distance sensor 20 receives the infrared light signal reflected by the obstruction. Wherein, as the distance between the obstruction (such as the face or the finger) and the flexible display screen 10 is closer, the signal intensity of the reflected light received by the distance sensor 20 is stronger. For example, the distance sensor 20 may include a light emitter and a photoelectric sensor, the light emitter is used to generate and emit a light signal, the photoelectric sensor is used to receive the light signal reflected by the obstruction and according to the received infrared light signal The intensity of the output corresponding sensing information. Among them, the induction information can be a voltage signal or a current signal. When the intensity of the received light signal is stronger, the output induction information is also stronger, and then according to the intensity of the induction information, the obstruction and the distance sensor can be calculated. the distance between. In other embodiments, the distance sensor 20 may also be an optical displacement sensor, a linear proximity sensor, an ultrasonic displacement sensor, and the like.
其中,预设距离可以根据具体的设计需求而定,例如,预设距离值可以是1cm、2cm、5cm、10cm等,在此不做限定。Among them, the preset distance may be determined according to specific design requirements, for example, the preset distance value may be 1 cm, 2 cm, 5 cm, 10 cm, etc., which are not limited here.
步骤S32,判断所述距离传感器所生成的感应信息是否发生改变。若是,则执行步骤S33;若否,则流程结束。Step S32: It is determined whether the sensing information generated by the distance sensor has changed. If yes, go to step S33; if no, then the process ends.
在本实施方式中,当柔性电子装置100进入单屏点亮模式时,默认未设置有距离传感器20的所述主屏区12或所述辅屏区13其中之一处于点亮状态。例如,当主屏区12的一侧未设置距离传感器20时,当柔性电子装置100进入单屏点亮模式时,默认主屏区12处于点亮状态,而辅屏区13处于熄屏状态,即,此时主屏区12可以面向用户以供使用。当设置有距离传感器20的辅屏区13朝向用户时,距离传感器20因检测到遮挡物(如用户脸部)而导致感应信息发生变化,因此,根据距离传感器20的感应信息的变化,可以确定朝向用户的屏幕发生了改变。In this embodiment, when the flexible electronic device 100 enters the single-screen lighting mode, one of the main screen area 12 or the auxiliary screen area 13 that is not provided with the distance sensor 20 is in the lighting state by default. For example, when the distance sensor 20 is not provided on one side of the main screen area 12, when the flexible electronic device 100 enters the single-screen lighting mode, the main screen area 12 is in the lighted state by default, and the auxiliary screen area 13 is in the off-screen state, that is, At this time, the main screen area 12 may face the user for use. When the auxiliary screen area 13 provided with the distance sensor 20 faces the user, the distance sensor 20 detects an obstructing object (such as the user's face) and causes the sensing information to change. Therefore, according to the change in the sensing information of the distance sensor 20, it can be determined The screen facing the user has changed.
步骤S33,控制将处于亮屏状态的所述主屏区12和所述辅屏区13其中之一切换至熄屏状态,将处于熄屏状态的所述主屏区12和所述辅屏区13其中之一切换至亮屏状态。Step S33, controlling to switch one of the main screen area 12 and the auxiliary screen area 13 in the on-screen state to the off-screen state, and switch the main screen area 12 and the auxiliary screen area 13 in the off-screen state among them One switches to the bright screen state.
在一些实施方式中,所述主屏区12点亮时,呈弧面的第一侧屏区111也点亮,所述辅屏区13熄屏时,呈弧面的第二侧屏区112也熄屏。所述辅屏区13点亮时,呈弧面的第二侧屏区112也点亮,所述主屏区12熄屏时,呈弧面的第一侧屏区111也熄屏。In some embodiments, when the main screen area 12 is lit, the arc-shaped first side screen area 111 is also lit, and when the auxiliary screen area 13 is turned off, the arc-shaped second side screen area 112 is also lit. Turn off the screen. When the auxiliary screen area 13 is lit, the arc-shaped second side screen area 112 is also lit, and when the main screen area 12 is turned off, the arc-shaped first side screen area 111 is also turned off.
本申请实施例所公开的屏幕切换方法,由于所述所述柔性电子装置100在主屏区12或所述辅屏区13其中之一的一侧上设置有距离传感器20,当判断所述距离传感器所生成的感应信息发生改变时,即控制将处于亮屏状态的所述 主屏区12和所述辅屏区13其中之一切换至熄屏状态,将处于熄屏状态的所述主屏区12和所述辅屏区13其中之一切换至亮屏状态,进而使得换屏幕切换的方法较为简单、方便了用户的使用,从而提高了用户体验。In the screen switching method disclosed in the embodiment of the present application, since the flexible electronic device 100 is provided with a distance sensor 20 on one side of the main screen area 12 or the auxiliary screen area 13, when it is determined that the distance sensor When the generated sensing information changes, it is controlled to switch one of the main screen area 12 and the auxiliary screen area 13 in the on-screen state to the off-screen state, and the main screen area 12 and the off-screen state One of the auxiliary screen areas 13 is switched to the bright screen state, thereby making the method of switching screens simpler and convenient for users to use, thereby improving user experience.
请再参阅图4,图4为本申请另一实施例中的屏幕切换方法的流程图。在本实施方式中,所述柔性电子装置100在所述主屏区12和所述辅屏区13上均设置有所述距离传感器20,用于分别侦测所述主屏区12侧的遮挡物和所述辅屏区13侧的遮挡物。所述屏幕切换方法包括如下步骤。Please refer to FIG. 4 again, which is a flowchart of a screen switching method in another embodiment of this application. In this embodiment, the flexible electronic device 100 is provided with the distance sensor 20 on both the main screen area 12 and the auxiliary screen area 13 for detecting obstructions and objects on the side of the main screen area 12 respectively. The shield on the side of the auxiliary screen area 13. The screen switching method includes the following steps.
步骤S41,当所述柔性电子装置100处于折叠状态时,识别所述柔性电子装置100的工作模式是否为单屏点亮模式。其中,所述单屏点亮模式为所述主屏区12和所述辅屏区13其中之一处于亮屏状态,且所述主屏区12和所述辅屏区13其中另一处于熄屏状态。若是,则执行步骤S42;若否,则流程结束。Step S41: When the flexible electronic device 100 is in the folded state, it is recognized whether the working mode of the flexible electronic device 100 is the single-screen lighting mode. Wherein, the single-screen lighting mode is that one of the main screen area 12 and the auxiliary screen area 13 is in the on-screen state, and the other of the main screen area 12 and the auxiliary screen area 13 is in the off-screen state . If yes, go to step S42; if no, then the process ends.
其中,步骤S41和步骤S31相同,在此不再赘述。Wherein, step S41 is the same as step S31, and will not be repeated here.
步骤S42,判断当前处于点亮状态的屏幕是主屏区12还是辅屏区13。当所述主屏区12处于点亮状态时,执行步骤S43;当所述辅屏区13处于点亮状态时,执行步骤S45。Step S42: It is judged whether the screen currently in the lighting state is the main screen area 12 or the auxiliary screen area 13. When the main screen area 12 is in the lighted state, step S43 is executed; when the auxiliary screen area 13 is in the lighted state, step S45 is executed.
步骤S43,判断与所述主屏区12上的距离传感器20所生成的感应信息是否发生变化。若是,执行步骤S44;若否,流程结束。Step S43: It is judged whether the sensing information generated by the distance sensor 20 on the main screen area 12 has changed. If yes, go to step S44; if no, the process ends.
步骤S44,控制将处于亮屏状态的所述主屏区12切换至熄屏状态,将处于熄屏状态的所述辅屏区13切换至亮屏状态。Step S44, controlling to switch the main screen area 12 in the on-screen state to the off-screen state, and to switch the auxiliary screen area 13 in the off-screen state to the on-screen state.
步骤S45,判断所述辅屏区13上的距离传感器20所生成的感应信息是否发生改变。若是,执行步骤S46;若否,流程结束。In step S45, it is determined whether the sensing information generated by the distance sensor 20 on the auxiliary screen area 13 has changed. If yes, go to step S46; if no, the process ends.
其中,步骤S32包括了步骤S43和步骤S45。Among them, step S32 includes step S43 and step S45.
步骤S46,控制将处于亮屏状态的所述辅屏区13切换至熄屏状态,将处于熄屏状态的所述主屏区12切换至亮屏状态。Step S46, controlling to switch the auxiliary screen area 13 in the on-screen state to the off-screen state, and to switch the main screen area 12 in the off-screen state to the on-screen state.
其中,步骤S33包括了步骤S44和步骤S46。Among them, step S33 includes step S44 and step S46.
在本实施方式中,由于柔性电子装置100处于单屏点亮模式,若主屏区12处于点亮状态,说明主屏区12处于使用状态而朝向用户;若辅屏区13处于点亮状态,说明辅屏区13处于使用状态而朝向用户。因此,用户的脸部会对点亮状态的主屏区12或者辅屏区13一侧的距离距离传感器20进行遮挡, 使得该距离传感器20产生相应的感应信息。而当用户想切换屏幕时,脸部会离开当前屏幕,进而导致当前的距离传感器20所产生的信息因用户脸部的移动而发生变化。因此,无论当前是主屏区12朝向用户还是辅屏区13朝向用户,无需其他操作,均可以实现屏幕切换的目的,进一步提升用户体验。此外,若用户通过手指对距离传感器20的遮挡来改变距离传感器20所产生的感应信息,由于用户在使用柔性电子装置100时也是手指对点亮的屏幕进行操作,因此,若想切换屏幕可以直接在操作的同时实现遮挡的动作,比较方便。In this embodiment, since the flexible electronic device 100 is in the single-screen lighting mode, if the main screen area 12 is in the lighted state, it means that the main screen area 12 is in use and faces the user; if the auxiliary screen area 13 is in the lighted state, it means the auxiliary screen The screen area 13 is in use and faces the user. Therefore, the user's face will block the distance sensor 20 on the side of the main screen area 12 or the auxiliary screen area 13 in the lit state, so that the distance sensor 20 generates corresponding sensing information. When the user wants to switch the screen, the face will leave the current screen, which will cause the current information generated by the distance sensor 20 to change due to the movement of the user's face. Therefore, regardless of whether the main screen area 12 is facing the user or the auxiliary screen area 13 is facing the user, the purpose of screen switching can be achieved without other operations, and the user experience can be further improved. In addition, if the user changes the sensing information generated by the distance sensor 20 by covering the distance sensor 20 with a finger, since the user also operates the lit screen with his finger when using the flexible electronic device 100, he can directly switch the screen if he wants to It is more convenient to realize the blocking action while operating.
在上述各实施例中,虽然可以通过距离传感器20所产生的感应信息的变化来实现切换屏幕的目的,但是也会存在误判的情况。例如,当用户的脸部离开了当前处于点亮状态的主屏区12时,此时用户并没有翻转而改变柔性电子装置100的状态,只是暂时离开,若在该情况下控制处于点亮状态的主屏区12切换至熄屏状态,将影响用户的体验。因此,请再参阅图5,为了避免误判情况的发生,在一些实施方式中,所述屏幕切换方法较之图3中的方法在步骤S32之后还包括如下步骤:In the foregoing embodiments, although the purpose of switching the screen can be achieved by the change of the sensing information generated by the distance sensor 20, there may be misjudgments. For example, when the user's face leaves the main screen area 12 that is currently in the lit state, the user does not turn over to change the state of the flexible electronic device 100, but temporarily leaves. If in this case the control is in the lit state Switching the main screen area 12 to the off-screen state will affect the user experience. Therefore, please refer to FIG. 5 again. In order to avoid misjudgment, in some embodiments, compared with the method in FIG. 3, the screen switching method further includes the following steps after step S32:
步骤S51,判断感应信息发生改变所持续的时间是否大于预设时间。若是,则执行步骤S52;若否,则流程结束。In step S51, it is determined whether the duration of the change in the sensing information is greater than a preset time. If yes, go to step S52; if no, then the process ends.
在本实施方式中,由于对感应信息的变化持续时间进行了判断,进而可以避免在操作过程中因不经意间的离开或遮挡而引起的误判情况。In this embodiment, since the change duration of the sensing information is judged, it is possible to avoid misjudgment caused by inadvertently leaving or blocking during operation.
步骤S52,判断所述柔性电子装置100的状态是否发生了改变。若是,则执行步骤S33;若否,则流程结束。Step S52: It is determined whether the state of the flexible electronic device 100 has changed. If yes, go to step S33; if no, then the process ends.
其中,柔性电子装置100的状态包括柔性电子装置100的放置状态或者握持状态。当所述柔性电子装置100的放置状态或者握持状态发生了改变时,确定所述柔性电子装置100的状态发生了改变。具体地,当柔性电子装置100处于放置状态时,所述状态发生了改变也即放置方向发生了改变;当柔性电子装置100处于握持状态时,所述状态发生了改变也即握持方向发生了改变。Among them, the state of the flexible electronic device 100 includes a placed state or a holding state of the flexible electronic device 100. When the placement state or the holding state of the flexible electronic device 100 is changed, it is determined that the state of the flexible electronic device 100 has changed. Specifically, when the flexible electronic device 100 is in the placed state, the state has changed, that is, the placement direction has changed; when the flexible electronic device 100 is in the holding state, the state has changed, that is, the holding direction has occurred. Changed.
在一些实施方式中,所述柔性电子装置100还包括感测装置30(参图7)。所述判断所述柔性电子装置100的状态是否发生了改变,包括:获取所述感测装置30所输出的感测数据,并根据所述感测装置所输出的感测数据判断所述柔性电子装置100的状态是否发生了改变。In some embodiments, the flexible electronic device 100 further includes a sensing device 30 (refer to FIG. 7). The determining whether the state of the flexible electronic device 100 has changed includes: acquiring the sensing data output by the sensing device 30, and determining the flexible electronic device according to the sensing data output by the sensing device Whether the state of the device 100 has changed.
在一些实施方式中,所述感测装置30包括重力传感器(PS:把为改成了包括,可以是一个也可以是多个,感觉一个也可以实现,只要翻转了Z轴数据就会发生变化,不论是设置在主屏还是设置在辅屏)。所述重力传感器用于感测所述柔性电子装置100的重力数据。所述根据所述感测装置30所输出的感测数据判断所述柔性电子装置100的状态是否发生了改变,包括:根据所述重力传感器的Z轴数据的方向变化判断所述柔性电子装置100的状态是否发生了改变。当所述重力传感器的Z轴数据由正变为负或者由负变为正时,则确定所述柔性电子装置100的状态发生了变化。In some embodiments, the sensing device 30 includes a gravity sensor (PS: changed to include, it can be one or more, and it feels like one can be realized, as long as the Z-axis data is flipped, it will change. , Whether it is set on the main screen or on the auxiliary screen). The gravity sensor is used to sense gravity data of the flexible electronic device 100. The judging whether the state of the flexible electronic device 100 has changed according to the sensing data output by the sensing device 30 includes: judging the flexible electronic device 100 according to the direction change of the Z-axis data of the gravity sensor Whether the status of has changed. When the Z-axis data of the gravity sensor changes from positive to negative or from negative to positive, it is determined that the state of the flexible electronic device 100 has changed.
例如,所述柔性电子装置100的主屏区12设置有一个重力传感器,当柔性电子装置100处于第一状态时,即所述主屏区12朝向用户,所述辅屏区13背离用户时,所述重力传感器所感测的Z轴的数据为正(向上的);而当所述柔性电子装置100由第一状态切换至第二状态时,即所述柔性电子装置100发生了翻转使得所述辅屏区13朝向用户,而所述主屏区12背离用户时,所述重力传感器所感测的Z轴数据为负数(向下的)。For example, the main screen area 12 of the flexible electronic device 100 is provided with a gravity sensor. When the flexible electronic device 100 is in the first state, that is, when the main screen area 12 faces the user, and the auxiliary screen area 13 faces away from the user, the The data of the Z axis sensed by the gravity sensor is positive (upward); and when the flexible electronic device 100 is switched from the first state to the second state, that is, the flexible electronic device 100 is turned over so that the auxiliary screen When the area 13 faces the user and the main screen area 12 is away from the user, the Z-axis data sensed by the gravity sensor is a negative number (downward).
在其他实施方式中,所述感测装置30还可以包括加速度传感器、方向传感器中的一种。此外,为了判断的准确性,所述感测装置30还可以同时包括重力传感器、方向传感器或者加速度传感器中的任意两种或以上。In other embodiments, the sensing device 30 may further include one of an acceleration sensor and a direction sensor. In addition, for the accuracy of judgment, the sensing device 30 may also include any two or more of a gravity sensor, a direction sensor or an acceleration sensor at the same time.
在另一实施方式中,所述感测装置30包括多个压力传感器,该多个压力传感器用于感测所述柔性电子装置100被触摸时的压力数据,该多个压力传感器分布于所述柔性电子装置100的不同位置。例如,所述多个压力传感器分布于所述柔性显示屏10的不同位置(一部分位于主屏区12,另一部分位于辅屏区13)及所述柔性电子装置100的侧边的不同位置。所述所述根据所述感测装置30所输出的感测数据判断所述柔性电子装置100的状态是否发生了改变,包括:根据所述多个压力传感器响应按压而产生的压力数据判断所述柔性电子装置100的状态是否发生了改变。In another embodiment, the sensing device 30 includes a plurality of pressure sensors, the plurality of pressure sensors are used to sense pressure data when the flexible electronic device 100 is touched, and the plurality of pressure sensors are distributed in the Different positions of the flexible electronic device 100. For example, the multiple pressure sensors are distributed at different positions of the flexible display screen 10 (one part is located in the main screen area 12 and the other part is located in the auxiliary screen area 13) and different positions on the side of the flexible electronic device 100. The judging whether the state of the flexible electronic device 100 has changed according to the sensing data output by the sensing device 30 includes: judging the pressure data generated by the plurality of pressure sensors in response to pressing Whether the state of the flexible electronic device 100 has changed.
其中,所述压力数据包括以下的至少一种:压力点的数量、压力的持续时间及压力的大小。Wherein, the pressure data includes at least one of the following: the number of pressure points, the duration of the pressure, and the magnitude of the pressure.
如图6所示,根据用户通常使用电子装置的握持姿势来看,当柔性电子装置100处于折叠状态时,若主屏区12朝向用户且辅屏区13背离用户,则位于 朝向用户的主屏区12上压力传感器通常不会响应持续的按压,而位于背离用户的辅屏区13上的压力传感器则因手指的长时间握持会持续产生的压力数据。因此,位于主屏区12上的压力传感器产生压力数据的压力点的数量较少、时间较短且压力也较小,而位于辅屏区13上的压力传感器由于与用户手指接触的面积较大则产生的压力数据的压力点的数量较多、持续时间较长且压力较大。当用户的握持姿势发生了改变后,即辅屏区13朝向用户而主屏区12背离用户时,则位于辅屏区13上的压力传感器产生压力数据的压力点的数量较少,而位于主屏区12上的压力传感器由于与用户手指接触的面积较大则产生的压力数据的压力点的数量较多、持续时间较长且压力较大。也就是说,柔性电子装置100的状态发生变化时,位于所述柔性显示屏10上的不同位置的压力传感器所产生的压力数据会发生变化,因此,可以根据所述多个压力传感器响应按压而产生的压力数据判断所述柔性电子装置100的握持姿势是否发生了改变,进而判断柔性电子装置100的状态是否发生了改变。As shown in FIG. 6, according to the user's usual holding posture of the electronic device, when the flexible electronic device 100 is in the folded state, if the main screen area 12 faces the user and the auxiliary screen area 13 faces away from the user, it is located in the main screen area facing the user. The pressure sensor on 12 usually does not respond to continuous pressing, while the pressure sensor located on the auxiliary screen area 13 facing away from the user will continuously generate pressure data due to the long-term holding of the fingers. Therefore, the pressure sensor on the main screen area 12 generates pressure data with a smaller number of pressure points, shorter time and lower pressure, while the pressure sensor on the auxiliary screen area 13 has a larger contact area with the user’s finger. The pressure data generated has a larger number of pressure points, a longer duration, and a higher pressure. When the user’s holding posture is changed, that is, when the auxiliary screen area 13 faces the user and the main screen area 12 faces away from the user, the pressure sensor located on the auxiliary screen area 13 generates pressure data with a smaller number of pressure points, but is located on the main screen Since the pressure sensor on the area 12 has a larger contact area with the user's finger, the number of pressure points generated by the pressure data is larger, the duration is longer, and the pressure is larger. That is to say, when the state of the flexible electronic device 100 changes, the pressure data generated by the pressure sensors located at different positions on the flexible display screen 10 will change. Therefore, the pressure data generated by the pressure sensors in response to the pressure may change. The generated pressure data determines whether the holding posture of the flexible electronic device 100 has changed, and further determines whether the state of the flexible electronic device 100 has changed.
请参阅图7,其为本申请一实施例中的柔性电子装置100的结构框图。所述柔性电子装置100包括但不限于柔性显示屏10、距离传感器20、感测装置30、存储器40及处理器50。具体地,所述柔性显示屏10、距离传感器20、感测装置30、所述存储器40和所述处理器50可以通过通信总线60耦合。本领技术人员应当理解的是,所述图7仅是所述柔性电子装置100的示例,并不构成对所述柔性电子装置100的限定,所述柔性电子装置100可以包括比图7所示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述柔性电子装置100还可以包括输入输出设备、网络接入设备等。Please refer to FIG. 7, which is a structural block diagram of a flexible electronic device 100 in an embodiment of the application. The flexible electronic device 100 includes but is not limited to a flexible display screen 10, a distance sensor 20, a sensing device 30, a memory 40 and a processor 50. Specifically, the flexible display screen 10, the distance sensor 20, the sensing device 30, the memory 40 and the processor 50 may be coupled through a communication bus 60. Those skilled in the art should understand that FIG. 7 is only an example of the flexible electronic device 100, and does not constitute a limitation on the flexible electronic device 100. The flexible electronic device 100 may include more than that shown in FIG. More or fewer components, or a combination of some components, or different components. For example, the flexible electronic device 100 may also include input and output devices, network access devices, and the like.
所述存储器40可用于存储计算机程序和/或模块,所述处理器50通过运行或执行存储在所述存储器40内的计算机程序和/或模块,以及调用存储在存储器40内的数据,实现所述柔性电子装置100的各种功能。所述存储器40可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、多个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,所述存储器40可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全 数字(Secure Digital,SD)卡,闪存卡(Flash Card)、多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 40 may be used to store computer programs and/or modules, and the processor 50 executes or executes the computer programs and/or modules stored in the memory 40 and calls the data stored in the memory 40 to implement all The various functions of the flexible electronic device 100 are described. The memory 40 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, application programs required by multiple functions (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may Store data (such as audio data, phone book, etc.) created based on the use of mobile phones. In addition, the memory 40 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) card, flash card, multiple disk storage devices, flash memory devices, or other volatile solid-state storage devices.
所述处理器50可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述柔性电子装置100的控制中心,利用各种接口和线路连接整个所述柔性电子装置100的各个部分。The processor 50 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of the flexible electronic device 100, and connects the entire flexible electronic device with various interfaces and lines 100 parts.
其中,所述处理器50还用于执行上述屏幕切换方法中的所有步骤。例如,图3中的步骤S31至步骤S33、图4中的步骤S41至步骤S46以及图5中的步骤S51至步骤S52。具体的,所述存储器40存储有程序指令,所述处理器50用于调用所述存储器40的程序指令而执行上述方法中的步骤S31至步骤S33、步骤S41至步骤S46以及步骤S51至步骤S52。Wherein, the processor 50 is further configured to execute all steps in the above-mentioned screen switching method. For example, steps S31 to S33 in FIG. 3, steps S41 to S46 in FIG. 4, and steps S51 to S52 in FIG. Specifically, the memory 40 stores program instructions, and the processor 50 is configured to call the program instructions of the memory 40 to execute steps S31 to S33, steps S41 to S46, and steps S51 to S52 in the above method. .
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions, because According to the application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present application can be adjusted, merged, and deleted in order according to actual needs.
本申请提供的屏幕切换方法可以在硬件、固件中实施,或者可以作为可以存储在例如CD、ROM、RAM、软盘、硬盘或磁光盘的等计算机可读存储介质中的软件或计算机代码,或者可以作为原始存储在远程记录介质或非瞬时的机器可读介质上、通过网络下载并且存储在本地记录介质中的计算机代码,从而这里描述的方法可以利用通用计算机或特殊处理器或在诸如ASIC或FPGA之类的可编程或专用硬件中以存储在记录介质上的软件来呈现。如本领能够理 解的,计算机、处理器、微处理器、控制器或可编程硬件包括存储器组件,例如,RAM、ROM、闪存等,当计算机、处理器或硬件实施这里描述的处理方法而存取和执行软件或计算机代码时,存储器组件可以存储或接收软件或计算机代码。另外,当通用计算机存取用于实施这里示出的处理的代码时,代码的执行将通用计算机转换为用于执行这里示出的处理的专用计算机。The screen switching method provided in this application can be implemented in hardware and firmware, or can be used as software or computer code that can be stored in computer-readable storage media such as CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or can be As the computer code originally stored on a remote recording medium or a non-transitory machine-readable medium, downloaded via a network, and stored in a local recording medium, the method described here can use a general-purpose computer or a special processor or be used in such as ASIC or FPGA Such programmable or dedicated hardware is presented in software stored on a recording medium. As can be understood in the art, a computer, processor, microprocessor, controller, or programmable hardware includes memory components, such as RAM, ROM, flash memory, etc., when the computer, processor, or hardware implements the processing methods described herein, access When executing software or computer code, the memory component can store or receive the software or computer code. In addition, when a general-purpose computer accesses the code for implementing the processing shown here, the execution of the code converts the general-purpose computer into a dedicated computer for executing the processing shown here.
其中,所述计算机可读存储介质可为固态存储器、存储卡、光碟等。所述计算机可读存储介质存储有程序指令而供计算机调用后执行上述的屏幕切换方法。Wherein, the computer-readable storage medium may be a solid-state memory, a memory card, an optical disc, etc. The computer-readable storage medium stores program instructions for the computer to call to execute the above-mentioned screen switching method.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施例进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领的一般技术人员,依据本申请的思想,在具体实施例及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and embodiments of the application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the application; Those skilled in the art, based on the ideas of this application, will have changes in the specific embodiments and application scope. In summary, the content of this specification should not be construed as a limitation to this application.

Claims (20)

  1. 一种屏幕切换方法,应用于柔性电子装置中,所述柔性电子装置包括柔性显示屏,所述柔性显示屏的显示区在所述柔性电子装置处于折叠状态时被划分为主屏区和辅屏区,其特征在于,所述柔性电子装置在所述主屏区或所述辅屏区其中之一上设置有距离传感器,所述屏幕切换方法包括步骤:A screen switching method applied to a flexible electronic device, the flexible electronic device including a flexible display screen, the display area of the flexible display screen is divided into a main screen area and an auxiliary screen area when the flexible electronic device is in a folded state , Characterized in that the flexible electronic device is provided with a distance sensor on one of the main screen area or the auxiliary screen area, and the screen switching method includes the steps:
    当所述柔性电子装置处于折叠状态时,识别所述柔性电子装置的工作模式是否为单屏点亮模式;其中,所述单屏点亮模式为所述主屏区和所述辅屏区其中之一处于亮屏状态,且所述主屏区和所述辅屏区其中另一处于熄屏状态;When the flexible electronic device is in the folded state, it is recognized whether the working mode of the flexible electronic device is a single-screen lighting mode; wherein, the single-screen lighting mode is one of the main screen area and the auxiliary screen area One is in the on-screen state, and the other of the main screen area and the auxiliary screen area is in the off-screen state;
    当所述柔性电子装置的工作模式为单屏点亮模式时,判断所述距离传感器所生成的感应信息是否发生改变;When the working mode of the flexible electronic device is the single-screen lighting mode, determining whether the sensing information generated by the distance sensor has changed;
    当所述距离传感器所生成的感应信息发生改变时,控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态,以及将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态。When the sensing information generated by the distance sensor changes, control to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and to switch the main screen in the off-screen state One of the area and the auxiliary screen area is switched to a bright screen state.
  2. 如权利要求1中所述的屏幕切换方法,其特征在于,所述柔性电子装置在所述主屏区和所述辅屏区上均设置有所述距离传感器;当所述柔性电子装置的工作模式为单屏点亮模式时,在所述判断所述距离传感器所生成的感应信息是否发生改变之前包括:判断当前处于点亮状态的屏幕是所述主屏区还是所述辅屏区;7. The screen switching method of claim 1, wherein the flexible electronic device is provided with the distance sensor on both the main screen area and the auxiliary screen area; when the flexible electronic device is in the working mode In the single-screen lighting mode, before determining whether the sensing information generated by the distance sensor has changed, the method includes: determining whether the screen currently in the lighting state is the main screen area or the auxiliary screen area;
    所述判断所述距离传感器所生成的感应信息是否发生改变,包括:当所述主屏区处于点亮状态时,判断所述主屏区上的距离传感器所生成的感应信息是否发生变化;或者,当所述辅屏区处于点亮状态时,判断所述辅屏区上的距离传感器所生成的感应信息是否发生改变。The determining whether the sensing information generated by the distance sensor has changed includes: determining whether the sensing information generated by the distance sensor on the main screen area has changed when the main screen area is in a lighted state; or, when When the auxiliary screen area is in the lighting state, it is determined whether the sensing information generated by the distance sensor on the auxiliary screen area has changed.
  3. 如权利要求1中所述的屏幕切换方法,其特征在于,在所述判断所述距离传感器所生成的感应信息是否发生改变的步骤后还包括:The screen switching method according to claim 1, wherein after the step of determining whether the sensing information generated by the distance sensor has changed, the method further comprises:
    当所述距离传感器所生成的感应信息发生改变时,判断所述柔性电子装置的状态是否发生了改变;When the sensing information generated by the distance sensor changes, determining whether the state of the flexible electronic device has changed;
    当判断所述柔性电子装置的状态发生了改变时,控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态以及将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态。When it is determined that the state of the flexible electronic device has changed, control to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state and the main screen area in the off-screen state And one of the auxiliary screen areas is switched to a bright screen state.
  4. 如权利要求3所述的屏幕切换方法,其特征在于,所述屏幕切换方法在所述判断所述柔性电子装置的状态是否发生了改变步骤之前还包括:8. The screen switching method according to claim 3, wherein before the step of determining whether the state of the flexible electronic device has changed, the screen switching method further comprises:
    判断所述感应信息发生改变所持续的时间是否大于预设时间;Determining whether the duration of the change in the sensing information is greater than a preset time;
    当所述感应信息发生改变所持续的时间大于所述预设时间时,判断所述柔性电子装置的状态是否发生了改变。When the duration of the change in the sensing information is greater than the preset time, it is determined whether the state of the flexible electronic device has changed.
  5. 如权利要求3所述的屏幕切换方法,其特征在于,所述柔性电子装置的状态包括柔性电子装置的放置状态或者握持状态;当所述柔性电子装置的放置状态或者握持状态发生了改变时,确定所述柔性电子装置的状态发生了改变。The screen switching method of claim 3, wherein the state of the flexible electronic device comprises a placement state or a holding state of the flexible electronic device; when the placement state or the holding state of the flexible electronic device is changed When it is determined that the state of the flexible electronic device has changed.
  6. 如权利要求3所述的屏幕切换方法,其特征在于,所述柔性电子装置还包括感测装置;所述判断所述柔性电子装置的状态是否发生了改变,包括:获取所述感测装置所输出的感测数据,并根据所述感测装置所输出的感测数据判断所述柔性电子装置的状态是否发生了改变。8. The screen switching method according to claim 3, wherein the flexible electronic device further comprises a sensing device; said determining whether the state of the flexible electronic device has changed, comprises: acquiring the state of the sensing device And determine whether the state of the flexible electronic device has changed according to the sensing data output by the sensing device.
  7. 如权利要求6所述的屏幕切换方法,其特征在于,所述感测装置包括重力传感器,所述重力传感器用于感测所述柔性电子装置的重力数据;所述根据所述感测装置所输出的感测数据判断所述柔性电子装置的状态是否发生了改变,包括:根据所述重力传感器的Z轴数据的方向变化判断所述柔性电子装置的状态是否发生了改变。7. The screen switching method of claim 6, wherein the sensing device comprises a gravity sensor, and the gravity sensor is used to sense gravity data of the flexible electronic device; The output sensing data to determine whether the state of the flexible electronic device has changed includes: judging whether the state of the flexible electronic device has changed according to the direction change of the Z-axis data of the gravity sensor.
  8. 如权利要求6所述的屏幕切换方法,其特征在于,所述感测装置包括多个压力传感器,该多个压力传感器用于感测所述柔性电子装置被触摸时的压力数据;所述根据所述感测装置所输出的感测数据判断所述柔性电子装置的状态是否发生了改变,包括:根据所述多个压力传感器响应按压而产生的压力数据判断所述柔性电子装置的状态是否发生了改变。7. The screen switching method of claim 6, wherein the sensing device comprises a plurality of pressure sensors, and the plurality of pressure sensors are used to sense pressure data when the flexible electronic device is touched; The sensing data output by the sensing device to determine whether the state of the flexible electronic device has changed includes: judging whether the state of the flexible electronic device has occurred according to the pressure data generated by the plurality of pressure sensors in response to pressing Changed.
  9. 如权利要求8所述的屏幕切换方法,其特征在于,所述压力数据包括以下的至少一种:压力点的数量、压力的持续时间及压力的大小。The screen switching method of claim 8, wherein the pressure data includes at least one of the following: the number of pressure points, the duration of the pressure, and the magnitude of the pressure.
  10. 如权利要求1所述的屏幕切换方法,其特征在于,所述距离传感器用于产生并发射光信号,所述距离传感器还用于接收出射光经所述遮挡物反射后的光信号,并根据所接收到的光信号强度输出相应的感应信息。The screen switching method according to claim 1, wherein the distance sensor is used to generate and emit a light signal, and the distance sensor is also used to receive the light signal of the outgoing light reflected by the obstruction, and according to The intensity of the received optical signal outputs corresponding sensing information.
  11. 一种柔性电子装置,包括柔性显示屏和处理器,所述柔性显示屏的显 示区在所述柔性电子装置处于折叠状态时被划分为主屏区和辅屏区,其特征在于,所述柔性电子装置在所述主屏区或所述辅屏区其中之一上设置有距离传感器;A flexible electronic device includes a flexible display screen and a processor. The display area of the flexible display screen is divided into a main screen area and an auxiliary screen area when the flexible electronic device is in a folded state. The flexible electronic device is characterized in that The device is provided with a distance sensor on one of the main screen area or the auxiliary screen area;
    当所述柔性电子装置处于折叠状态时,所述处理器识别所述柔性电子装置的工作模式是否为单屏点亮模式;其中,所述单屏点亮模式为所述主屏区和所述辅屏区其中之一处于亮屏状态,且所述主屏区和所述辅屏区其中另一处于熄屏状态;When the flexible electronic device is in the folded state, the processor recognizes whether the working mode of the flexible electronic device is a single-screen lighting mode; wherein, the single-screen lighting mode is the main screen area and the auxiliary screen One of the screen areas is in the on-screen state, and the other of the main screen area and the auxiliary screen area is in the off-screen state;
    当所述主屏区和所述辅屏区其中之一处于亮屏状态时,所述处理器判断所述距离传感器所生成的感应信息是否发生改变;When one of the main screen area and the auxiliary screen area is in a bright screen state, the processor determines whether the sensing information generated by the distance sensor has changed;
    当所述距离传感器所生成的感应信息发生改变时,所述处理器控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态,将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态。When the sensing information generated by the distance sensor changes, the processor controls to switch one of the main screen area and the auxiliary screen area in the on-screen state to the off-screen state, and the off-screen state One of the main screen area and the auxiliary screen area is switched to a bright screen state.
  12. 如权利要求11所述的柔性电子装置,其特征在于,所述柔性电子装置在所述主屏区和所述辅屏区的侧壁上均设置有所述距离传感器;当判断所述柔性电子装置处于单屏点亮模式时,所述处理器还判断当前处于点亮状态的屏幕是所述主屏区还是所述辅屏区;当判断所述主屏区处于点亮状态时,所述处理器判断所述主屏区上的距离传感器所生成的感应信息是否发生变化;或者,当判断所述辅屏区处于点亮状态时,所述处理器判断所述辅屏区上的距离传感器所生成的感应信息是否发生改变。The flexible electronic device of claim 11, wherein the flexible electronic device is provided with the distance sensor on the sidewalls of the main screen area and the auxiliary screen area; when it is determined that the flexible electronic device In the single-screen lighting mode, the processor also determines whether the screen currently in the lighting state is the main screen area or the auxiliary screen area; when it is determined that the main screen area is in the lighting state, the processor determines Whether the sensing information generated by the distance sensor on the main screen area has changed; or, when it is determined that the auxiliary screen area is in the lit state, the processor determines the sensing information generated by the distance sensor on the auxiliary screen area Whether the information has changed.
  13. 如权利要求11所述的柔性电子装置,其特征在于,当所述距离传感器所生成的感应信息发生改变时,所述处理器还判断所述柔性电子装置的状态是否发生了改变;当判断所述柔性电子装置的状态发生了改变时,所述处理器控制将处于亮屏状态的所述主屏区和所述辅屏区其中之一切换至熄屏状态以及将处于熄屏状态的所述主屏区和所述辅屏区其中之一切换至亮屏状态。The flexible electronic device of claim 11, wherein when the sensing information generated by the distance sensor changes, the processor also determines whether the state of the flexible electronic device has changed; When the state of the flexible electronic device changes, the processor controls one of the main screen area and the auxiliary screen area in the on-screen state to be switched to the off-screen state and the main screen in the off-screen state is switched to One of the area and the auxiliary screen area is switched to a bright screen state.
  14. 如权利要求13所述的柔性电子装置,其特征在于,所述处理器还判断所述感应信息发生变化所持续的时间是否大于预设时间;当所述感应信息发生改变所持续的时间大于所述预设时间时,所述处理器判断所述柔性电子装置的状态是否发生了改变。The flexible electronic device according to claim 13, wherein the processor further determines whether the duration of the change in the sensing information is greater than a preset time; when the change in the sensing information is greater than the duration At the preset time, the processor determines whether the state of the flexible electronic device has changed.
  15. 如权利要求13所述的柔性电子装置,其特征在于,所述柔性电子装 置的状态包括柔性电子装置的放置状态或者握持状态;当所述柔性电子装置的放置状态或者握持状态发生了改变时,确定所述柔性电子装置的状态发生了改变。The flexible electronic device according to claim 13, wherein the state of the flexible electronic device comprises a placement state or a holding state of the flexible electronic device; when the placement state or the holding state of the flexible electronic device is changed When it is determined that the state of the flexible electronic device has changed.
  16. 如权利要求13所述的柔性电子装置,其特征在于,所述柔性电子装置还包括感测装置;所述处理器判断所述柔性电子装置的状态是否发生了改变,包括:所述处理器获取所述感测装置所输出的感测数据,并根据所述感测装置所输出的感测数据判断所述柔性电子装置的状态是否发生了改变。The flexible electronic device according to claim 13, wherein the flexible electronic device further comprises a sensing device; the processor determining whether the state of the flexible electronic device has changed, comprising: the processor acquiring According to the sensing data output by the sensing device, it is determined whether the state of the flexible electronic device has changed according to the sensing data output by the sensing device.
  17. 如权利要求16所述的柔性电子装置,其特征在于,所述感测装置包括重力传感器,所述重力传感器用于感测所述柔性电子装置的重力数据;所述处理器根据所述感测装置所输出的感测数据判断所述柔性电子装置的状态是否发生了改变,包括:所述处理器根据所述重力传感器的Z轴数据的方向变化判断所述柔性电子装置的状态是否发生了改变。The flexible electronic device according to claim 16, wherein the sensing device comprises a gravity sensor, and the gravity sensor is used to sense gravity data of the flexible electronic device; the processor is based on the sensing The sensing data output by the device determines whether the state of the flexible electronic device has changed, including: the processor determines whether the state of the flexible electronic device has changed according to the direction change of the Z-axis data of the gravity sensor .
  18. 如权利要求16所述的柔性电子装置,其特征在于,所述感测装置包括多个压力传感器,该多个压力传感器用于感测所述柔性电子装置被触摸时的压力数据;所述处理器根据所述感测装置所输出的感测数据判断所述柔性电子装置的状态是否发生了改变,包括:所述处理器根据所述多个压力传感器响应按压而产生的压力数据判断所述柔性电子装置的状态是否发生了改变。16. The flexible electronic device of claim 16, wherein the sensing device comprises a plurality of pressure sensors, and the plurality of pressure sensors are used to sense pressure data when the flexible electronic device is touched; the processing The device determines whether the state of the flexible electronic device has changed according to the sensing data output by the sensing device, including: the processor determines the flexibility according to the pressure data generated by the plurality of pressure sensors in response to pressing Whether the state of the electronic device has changed.
  19. 如权利要求10所述的柔性电子装置,其特征在于,所述柔性显示屏具有弯折区,当所述柔性电子装置处于折叠状态时,所述柔性显示屏的显示区域被所述弯折区划分为主屏区和辅屏区;所述弯折区定义一折叠线,所述弯折区被所述折叠线划分为第一侧屏区和第二侧屏区,其中,所述主屏区连接所述第一侧屏区,所述辅屏区连接所述第二侧屏区;The flexible electronic device according to claim 10, wherein the flexible display screen has a bending area, and when the flexible electronic device is in a folded state, the display area of the flexible display screen is covered by the bending area. Divided into a main screen area and an auxiliary screen area; the bending area defines a folding line, and the bending area is divided into a first side screen area and a second side screen area by the folding line, wherein the main screen area is connected The first side screen area, the auxiliary screen area is connected to the second side screen area;
    所述主屏区点亮时,呈弧面的第一侧屏区也点亮,所述辅屏区熄屏时,呈弧面的第二侧屏区也熄屏;或者所述辅屏区点亮时,呈弧面的第二侧屏区也点亮,所述主屏区熄屏时,呈弧面的第一侧屏区也熄屏。When the main screen area is lit, the arc-shaped first side screen area is also lit, and when the auxiliary screen area is turned off, the arc-shaped second side screen area is also turned off; or the auxiliary screen area points When it is on, the arc-shaped second side screen area is also lit, and when the main screen area is off, the arc-shaped first side screen area is also off.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有屏幕切换方法的控制程序,所述屏幕切换方法的控制程序被处理器执行时实现如权利要求1-10中任一项所述的屏幕切换方法。A computer-readable storage medium, wherein a control program of a screen switching method is stored on the computer-readable storage medium, and when the control program of the screen switching method is executed by a processor, it is implemented as in claims 1-10 Any one of the screen switching methods.
PCT/CN2019/076166 2019-02-26 2019-02-26 Screen switching method, flexible electronic device and computer readable storage medium WO2020172795A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980073485.8A CN113272778A (en) 2019-02-26 2019-02-26 Screen switching method, flexible electronic device and computer readable storage medium
PCT/CN2019/076166 WO2020172795A1 (en) 2019-02-26 2019-02-26 Screen switching method, flexible electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/076166 WO2020172795A1 (en) 2019-02-26 2019-02-26 Screen switching method, flexible electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2020172795A1 true WO2020172795A1 (en) 2020-09-03

Family

ID=72239054

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/076166 WO2020172795A1 (en) 2019-02-26 2019-02-26 Screen switching method, flexible electronic device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN113272778A (en)
WO (1) WO2020172795A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250091A (en) * 2016-07-20 2016-12-21 珠海市魅族科技有限公司 A kind of method for information display and mobile terminal
CN106484351A (en) * 2016-09-30 2017-03-08 广东欧珀移动通信有限公司 A kind of display control method and mobile terminal
US20170255323A1 (en) * 2016-03-03 2017-09-07 Fujitsu Limited Information processing device and display control method
CN107765971A (en) * 2017-10-24 2018-03-06 广东欧珀移动通信有限公司 Method for displaying user interface and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102570777B1 (en) * 2016-08-25 2023-08-25 삼성전자 주식회사 Electronic device including a plurality of touch displays and method for changing status thereof
CN108234773A (en) * 2018-01-29 2018-06-29 努比亚技术有限公司 A kind of switching method of double-sided screen, terminal and storage medium
CN108536411A (en) * 2018-04-12 2018-09-14 维沃移动通信有限公司 A kind of method for controlling mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170255323A1 (en) * 2016-03-03 2017-09-07 Fujitsu Limited Information processing device and display control method
CN106250091A (en) * 2016-07-20 2016-12-21 珠海市魅族科技有限公司 A kind of method for information display and mobile terminal
CN106484351A (en) * 2016-09-30 2017-03-08 广东欧珀移动通信有限公司 A kind of display control method and mobile terminal
CN107765971A (en) * 2017-10-24 2018-03-06 广东欧珀移动通信有限公司 Method for displaying user interface and equipment

Also Published As

Publication number Publication date
CN113272778A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
US20220129041A1 (en) Foldable device and method of controlling the same
US9645663B2 (en) Electronic display with a virtual bezel
JP5495814B2 (en) Portable terminal and display control program
JP5225576B2 (en) Mobile terminal and operation method thereof
JP5507494B2 (en) Portable electronic device with touch screen and control method
JP2020504516A (en) Display screen, mobile terminal having display screen, control method and control device for display screen
JP5743847B2 (en) Mobile terminal and low sensitivity area setting program
JP7324368B2 (en) BUTTON STRUCTURE, BUTTON CONTROL METHOD, AND ELECTRONIC DEVICE
JP5485154B2 (en) Input devices, especially computer mice
KR20120080859A (en) Method and apparatus for controlling a portable terminal using a finger tracking
US9658714B2 (en) Electronic device, non-transitory storage medium, and control method for electronic device
WO2021083334A1 (en) Electronic device and control method therefor
WO2018214742A1 (en) Camera assembly, and mobile terminal
WO2012090399A1 (en) Display device, control method of display device and program
WO2020177035A1 (en) Flexible electronic device, bending detection method, and computer readable storage medium
US10159046B2 (en) Mobile terminal device
JPWO2010047339A1 (en) Touch panel device that operates as if the detection area is smaller than the display area of the display.
US11641414B2 (en) Terminal with a compact component layout
CN111831196B (en) Control method of folding screen, terminal device and storage medium
WO2020172795A1 (en) Screen switching method, flexible electronic device and computer readable storage medium
CN112130741A (en) Control method of mobile terminal and mobile terminal
US20170075453A1 (en) Terminal and terminal control method
TW201339952A (en) Electronic apparatus and control method of electronic apparatus
WO2021026900A1 (en) Screen control method, flexible electronic device and computer readable storage medium
WO2020077569A1 (en) Foldable electronic device and input control method

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

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

Country of ref document: EP

Kind code of ref document: A1