WO2023116815A1 - 显示切换的方法、装置、电子设备及存储介质 - Google Patents

显示切换的方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023116815A1
WO2023116815A1 PCT/CN2022/140999 CN2022140999W WO2023116815A1 WO 2023116815 A1 WO2023116815 A1 WO 2023116815A1 CN 2022140999 W CN2022140999 W CN 2022140999W WO 2023116815 A1 WO2023116815 A1 WO 2023116815A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
electronic device
display mode
magnetic sensor
screen display
Prior art date
Application number
PCT/CN2022/140999
Other languages
English (en)
French (fr)
Inventor
陈燕文
Original Assignee
广东明创软件科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东明创软件科技有限公司 filed Critical 广东明创软件科技有限公司
Publication of WO2023116815A1 publication Critical patent/WO2023116815A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present application relates to the field of electronic technology, and in particular to a display switching method, device, electronic equipment and storage medium.
  • Embodiments of the present application provide a display switching method, device, electronic device, and storage medium, which can avoid false triggering of screen switching display.
  • the first aspect of the embodiments of the present application provides a display switching method, the method is applied to an electronic device with a folding screen, the folding screen includes a first screen and a second screen, and the electronic device includes a The magnetic sensors of the first screen and the second screen, the first non-magnetic sensor arranged on the first screen and the second non-magnetic sensor arranged on the second screen; the method includes:
  • the first non-magnetic sensor and the second non-magnetic sensor detect the distance between the first screen and the second screen included angle, the first threshold is smaller than the second threshold
  • the Hall value is smaller than the first threshold and the included angle is in a first interval, switch the electronic device from the single-screen display mode to a dual-screen display mode screen display mode.
  • the second aspect of the embodiment of the present application provides a display switching device, the display switching device is applied to an electronic device with a folding screen, the folding screen includes a first screen and a second screen, and the electronic device includes a The magnetic sensors of the first screen and the second screen, the first non-magnetic sensor arranged on the first screen and the second non-magnetic sensor arranged on the second screen; the display switching device includes:
  • a first detection unit configured to detect a Hall value through the magnetic sensor
  • the second detection unit is configured to detect the pinch between the first screen and the second screen through the non-magnetic sensor when the Hall value is smaller than a first threshold or larger than a second threshold. angle, the first threshold is less than the second threshold;
  • a switching unit configured to switch the electronic device from the single-screen display mode under the condition that the Hall value is smaller than the first threshold and the included angle is in the first interval
  • the display mode switches to dual-screen display mode.
  • the third aspect of the embodiments of the present application provides an electronic device, including a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program The instruction is to execute the step instruction in the first aspect of the embodiment of the present application.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute the Some or all of the steps described in one aspect.
  • the fifth aspect of the embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, and the computer program is operable to cause the computer to execute part or all of the procedures described in the first aspect of the embodiment of the present application. step.
  • the computer program product may be a software installation package.
  • the Hall value is detected by the magnetic sensor; when the Hall value is smaller than the first threshold or larger than the second threshold, the first non-magnetic sensor and the second non-magnetic The sensor detects the angle between the first screen and the second screen, and the first threshold is smaller than the second threshold; when the electronic device is in a single-screen display mode, the Hall value is smaller than the In the case of the first threshold and the included angle is in the first interval, the electronic device is switched from the single-screen display mode to the dual-screen display mode.
  • the embodiment of the present application when the electronic device is in the single-screen display mode, and the Hall value is smaller than the first threshold and the included angle is in the first interval, it can be determined that the screen of the electronic device performs an unfolding action, Switch the electronic device from the single-screen display mode to the dual-screen display mode.
  • the embodiment of the present application can accurately judge whether the screen of the electronic device is made or not by combining the magnetic sensor and the non-magnetic sensor. The action of unfolding, so as to avoid false triggering of screen switching display.
  • FIG. 1 is a schematic flowchart of a method for display switching provided by an embodiment of the present application
  • Fig. 2a is a schematic diagram of a foldable screen provided in an embodiment of the present application in a folded state
  • Fig. 2b is a schematic diagram of a folding screen provided in an embodiment of the present application in an unfolded state
  • FIG. 3 is a schematic flowchart of another display switching method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another display switching method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a display switching device provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (user equipment, UE), mobile station (mobile station, MS), electronic equipment (terminal device) and so on.
  • user equipment user equipment
  • MS mobile station
  • terminal device electronic equipment
  • FIG. 1 is a schematic flowchart of a method for display switching provided by an embodiment of the present application.
  • the method is applied to an electronic device with a folding screen, the folding screen includes a first screen and a second screen, the electronic device includes a magnetic sensor arranged on the first screen and the second screen, and a magnetic sensor arranged on the first screen
  • the first non-magnetic sensor and the second non-magnetic sensor arranged on the second screen; the display switching method may include the following steps.
  • the electronic device detects the Hall value through the magnetic sensor.
  • the magnetic sensor may include a Hall sensor, and the magnetic sensor may detect the angle between the first screen and the second screen in real time.
  • the larger the Hall value the greater the angle between the first screen and the second screen. Smaller, the smaller the Hall value, the larger the angle between the first screen and the second screen.
  • the magnetic sensor responds faster.
  • the Hall sensor can include a Hall device and a magnet. The magnet can generate a magnetic field. When the first screen and the second screen are unfolded or folded, the magnetic flux of the Hall device in the magnetic field will change, which can be detected by detecting the Hall device in the magnetic field. The change of the magnetic flux obtains the Hall voltage, and the Hall value can be the Hall voltage.
  • the electronic device detects the angle between the first screen and the second screen through the first non-magnetic sensor and the second non-magnetic sensor, and the first threshold is less than the second threshold.
  • a hysteresis interval (greater than the first threshold and less than the second threshold) can be set.
  • step 103 will not be executed, and step 101 can be continued .
  • the Hall value is greater than the first threshold and less than the second threshold, the first non-magnetic sensor and the second non-magnetic sensor will not be triggered to detect the angle between the first screen and the second screen, which can reduce the first The detection power consumption of the non-magnetic sensor and the second non-magnetic sensor.
  • the first non-magnetic sensor may include an acceleration sensor and a gyro sensor (or a gravity sensor).
  • the second non-magnetic sensor may also include an acceleration sensor and a gyro sensor.
  • the first non-magnetic sensor and the second non-magnetic sensor may be the same sensor.
  • the first non-magnetic sensor is set on the first screen
  • the second non-magnetic sensor is set on the second screen.
  • the relative position of the first screen and the second screen can be calculated by the first non-magnetic sensor and the second non-magnetic sensor, thereby calculating the second screen.
  • step 102 before the electronic device detects the angle between the first screen and the second screen through the first non-magnetic sensor and the second non-magnetic sensor, the following steps may also be performed:
  • the electronic device detects the posture of the electronic device through the first non-magnetic sensor and the second non-magnetic sensor. When the posture of the electronic device is in a non-vertical state, the electronic device performs the detection through the first non-magnetic sensor and the second non-magnetic sensor. Steps for the angle between the first screen and the second screen.
  • the electronic device When the posture of the electronic device is in a vertical state, the electronic device continues to perform the step of detecting the posture of the electronic device through the first non-magnetic sensor and the second non-magnetic sensor until it is detected that the posture of the electronic device is in a non-vertical state, The electronic device executes the step of detecting the angle between the first screen and the second screen by using the first non-magnetic sensor and the second non-magnetic sensor.
  • the electronic device may directly perform the step of switching the electronic device from the single-screen display mode to the dual-screen display mode.
  • the first non-magnetic sensor may include an acceleration sensor and a gyro sensor
  • the second non-magnetic sensor may also include an acceleration sensor and a gyro sensor.
  • the first non-magnetic sensor and the second non-magnetic sensor cannot detect the angle between the first screen and the second screen (the angle between the first screen and the second screen cannot be calculated) .
  • Vertical state can be detected by gyro sensor.
  • the embodiment of the present application can accurately detect the angle between the first screen and the second screen through the first non-magnetic sensor and the second non-magnetic sensor when the electronic device is in a non-vertical state, and improve the detection of the first screen and the second screen. The accuracy of the angle between the two screens.
  • the magnetic sensor can preliminarily determine that the angle between the first screen and the second screen is relatively large. If the Hall value is greater than the second threshold, the magnetic sensor can preliminarily judge that the angle between the first screen and the second screen is small. Since the magnetic sensor is easily disturbed by the magnetic field, the Hall value measured by the magnetic sensor may have a large error. If the Hall value measured by the magnetic sensor alone is used to switch the display mode, it may be switched by mistake. .
  • the angle corresponding to the first threshold (the angle between the first screen and the second screen) can be 120°
  • the angle corresponding to the second threshold can be 60°
  • the Hall value when the angle is greater than 120° and the Hall value is greater than the second threshold, the corresponding included angle is less than 60°.
  • the power consumption of the magnetic sensor is smaller than that of the non-magnetic sensor.
  • the Hall value is smaller than the first threshold and the included angle is in the first interval.
  • the first interval is an angle interval where the angle between the first screen and the second screen is located when the user unfolds or folds the folding screen of the electronic device.
  • the lower limit value of the first interval is greater than 0 degrees
  • the upper limit value of the first interval is less than 180 degrees.
  • the first interval may be [10°, 170°]. If the angle between the first screen and the second screen is in the first interval, it indicates that the user is unfolding or folding the folding screen of the electronic device; if the angle between the first screen and the second screen is not in the first interval interval, indicating that the user has neither unfolded nor folded the folding screen of the electronic device.
  • the Hall value when the Hall value is less than the first threshold and the included angle is in the first interval, it indicates that the screen of the electronic device is unfolding, and the combination of the magnetic sensor and the non-magnetic sensor can accurately It can be judged whether the screen of the electronic device is unfolded, so as to avoid false triggering of screen switching display.
  • the Hall value is greater than the second threshold and the included angle is in the first interval.
  • the Hall value when the Hall value is greater than the second threshold and the included angle is in the first interval, it indicates that the screen of the electronic device performs a folding action, and the combination of the magnetic sensor and the non-magnetic sensor can accurately It can judge whether the screen of the electronic device is folded, so as to avoid false triggering of screen switching display.
  • the method shown in Figure 1 may also include the following steps:
  • the Hall value is smaller than the first threshold and the included angle is not in the first interval, maintaining the electronic device in the single-screen display mode .
  • the Hall value in the single-screen display mode, if the Hall value is smaller than the first threshold and the angle between the first screen and the second screen is not in the first interval, it indicates that the result of the magnetic sensor detection is consistent with the first threshold.
  • the detection results of the first non-magnetic sensor and the second non-magnetic sensor conflict, and it is considered that the detection result of the magnetic sensor is disturbed by the magnetic field.
  • the device is in single display mode.
  • the method shown in Figure 1 may also include the following steps:
  • the Hall value is greater than the second threshold and the included angle is not in the first interval, maintaining the electronic device in the dual-screen display mode display mode.
  • the Hall value is greater than the second threshold and the angle between the first screen and the second screen is not in the first interval, it indicates that the result detected by the magnetic sensor is consistent with the second threshold.
  • the detection results of the first non-magnetic sensor and the second non-magnetic sensor conflict, and it is considered that the detection result of the magnetic sensor is disturbed by the magnetic field.
  • the device is in dual display mode.
  • the method shown in Figure 1 may also include the following steps:
  • the Hall value is smaller than the first threshold and the included angle is in a first interval, maintaining the electronic device in the dual-screen display mode.
  • the folding screen of the electronic device in the dual-screen display mode, if the Hall value is smaller than the first threshold and the included angle is in the first interval, the folding screen of the electronic device may be in the process of being partially unfolded to fully unfolded.
  • the electronic device can be kept in the dual-screen display mode during the time.
  • the method shown in Figure 1 may also include the following steps:
  • the Hall value is greater than the second threshold and the included angle is in the first interval, maintaining the electronic device in the single-screen display mode.
  • the folding screen of the electronic device in the single-screen display mode, if the Hall value is greater than the second threshold and the included angle is in the first interval, the folding screen of the electronic device may be in the process of being partially folded to fully folded.
  • the electronic device may be kept in the single-screen display mode during the operation.
  • the embodiment of the present application when the electronic device is in the single-screen display mode, and the Hall value is smaller than the first threshold and the included angle is in the first interval, it can be determined that the screen of the electronic device performs an unfolding action, Switch the electronic device from the single-screen display mode to the dual-screen display mode.
  • the embodiment of the present application can accurately judge whether the screen of the electronic device is made or not by combining the magnetic sensor and the non-magnetic sensor. The action of unfolding, so as to avoid false triggering of screen switching display.
  • FIG. 2a is a schematic diagram of a folding screen provided in an embodiment of the present application in a folded state.
  • the first screen and the second screen of the folding screen are in an overlapping state, and at this time the first screen in the folding screen is lit (the shaded area in Figure 2a is lit), at this time In single display mode.
  • FIG. 2b is a schematic diagram of a folding screen provided in an embodiment of the present application in an unfolded state.
  • the first screen and the second screen of the folding screen form a large display screen, and the first screen and the second screen are lit at the same time, the first screen and the second screen in Figure 2b The area where it is located is lit, and it is in dual-screen display mode at this time.
  • the single-screen display mode can be used in scenes that require a small screen display, such as scenes that need to be pocketed or electronic devices that need to be held in one hand.
  • the dual-screen display mode can be used in scenarios that require large-screen display, such as video playback scenarios, video call scenarios, game scenarios, and photo browsing scenarios.
  • FIG. 3 is a schematic flowchart of another method for display switching provided by an embodiment of the present application.
  • the method is applied to an electronic device with a folding screen, the folding screen includes a first screen and a second screen, the electronic device includes a magnetic sensor arranged on the first screen and the second screen, and a magnetic sensor arranged on the first screen
  • the first non-magnetic sensor and the second non-magnetic sensor arranged on the second screen; the display switching method may include the following steps.
  • the electronic device detects the Hall value through a magnetic sensor.
  • the magnetic sensor When the Hall value is smaller than the first threshold or larger than the second threshold, the magnetic sensor triggers an interruption event.
  • the electronic device detects the angle between the first screen and the second screen through the first non-magnetic sensor and the second non-magnetic sensor, and the first threshold is smaller than the second threshold.
  • step 303 when the Hall value is smaller than the first threshold or larger than the second threshold, the magnetic sensor will trigger an interrupt event, and step 303 is executed. If the Hall value is greater than the first threshold and less than the second threshold, the magnetic sensor will not trigger an interruption event, and step 301 will continue to be executed.
  • the magnetic sensor may stop detecting the Hall value, and the angle between the first screen and the second screen is detected by the first non-magnetic sensor and the second non-magnetic sensor.
  • the response speed of the interrupt event triggered by the magnetic sensor is greater than the response speed of the interrupt event triggered by the first non-magnetic sensor and the second non-magnetic sensor.
  • the interrupt event triggered by the magnetic sensor can improve the response speed of the interrupt event, thereby increasing the speed of display mode switching .
  • the electronic device Since the power consumption of the magnetic sensor is less than that of the first non-magnetic sensor and the second non-magnetic sensor, when an interrupt event occurs, the electronic device detects the first screen and the second non-magnetic sensor through the first non-magnetic sensor and the second non-magnetic sensor.
  • the included angle between the second screens can reduce the detection power consumption of the first non-magnetic sensor and the second non-magnetic sensor, thereby reducing the overall detection power consumption.
  • the Hall value is smaller than the first threshold and the included angle is in the first interval.
  • step 301 may refer to step 101 in FIG. 1
  • steps 304 and 305 may refer to steps 103-104 in FIG. 1 , which will not be repeated here.
  • FIG. 4 is a schematic flow chart of another display switching method provided by an embodiment of the present application.
  • the method is applied to an electronic device with a folding screen, the folding screen includes a first screen and a second screen, the electronic device includes a magnetic sensor arranged on the first screen and the second screen, and a magnetic sensor arranged on the first screen
  • the first non-magnetic sensor and the second non-magnetic sensor arranged on the second screen; the display switching method may include the following steps.
  • the electronic device detects the Hall value through the magnetic sensor.
  • the magnetic sensor triggers an interruption event.
  • the electronic device detects the angle between the first screen and the second screen through the first non-magnetic sensor and the second non-magnetic sensor, and the first threshold is smaller than the second threshold.
  • step 403 when the Hall value is smaller than the first threshold or larger than the second threshold, the magnetic sensor will trigger an interrupt event, and step 403 is executed. If the Hall value is greater than the first threshold and less than the second threshold, the magnetic sensor will not trigger an interruption event, and step 401 will continue to be executed.
  • the magnetic sensor may stop detecting the Hall value, and the angle between the first screen and the second screen is detected by the first non-magnetic sensor and the second non-magnetic sensor.
  • the response speed of the interrupt event triggered by the magnetic sensor is greater than the response speed of the interrupt event triggered by the first non-magnetic sensor and the second non-magnetic sensor.
  • the interrupt event triggered by the magnetic sensor can improve the response speed of the interrupt event, thereby increasing the speed of display mode switching .
  • the electronic device Since the power consumption of the magnetic sensor is less than that of the first non-magnetic sensor and the second non-magnetic sensor, when an interrupt event occurs, the electronic device detects the first screen and the second non-magnetic sensor through the first non-magnetic sensor and the second non-magnetic sensor.
  • the included angle between the second screens can reduce the detection power consumption of the first non-magnetic sensor and the second non-magnetic sensor, thereby reducing the overall detection power consumption.
  • the Hall value is smaller than the first threshold and the included angle is in the first interval, report a moving away event.
  • the processor of the electronic device may report the away event to the screen display control module, and the screen display control module switches the electronic device from the single-screen display mode to the dual-screen display mode according to the away event.
  • the away event refers to the event that the first screen and the second screen are far away.
  • the single-screen display mode if the Hall value is less than the first threshold and the angle is in the first interval, it indicates that the first screen and the second screen of the folding screen It is separating, and the user is unfolding the folding screen. At this time, the far away event is reported, and the single-screen display mode can be switched to the dual-screen display mode in time when it is necessary to switch to the dual-screen display mode.
  • the Hall value is greater than the second threshold and the included angle is in the first interval, report a proximity event.
  • the processor of the electronic device may report the proximity event to the screen display control module, and the screen display control module switches the electronic device from the dual-screen display mode to the single-screen display mode according to the proximity event.
  • the far away event refers to the event that the first screen and the second screen are close.
  • the dual-screen display mode if the Hall value is greater than the second threshold and the angle is in the first interval, it indicates that the first screen and the second screen of the folding screen Approaching, the user is performing a folding operation on the folding screen. At this time, the approaching event is reported, and the dual-screen display mode can be switched to the single-screen display mode in time when it is necessary to switch to the single-screen display mode.
  • step 401 may refer to step 101 in FIG. 1
  • step 402 and step 403 may refer to steps 302-303 in FIG. 3 , which will not be repeated here.
  • the electronic device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the embodiment of the present application may divide the electronic device into functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
  • FIG. 5 is a schematic structural diagram of a display switching device provided by an embodiment of the present application.
  • the display switching device 500 is applied to an electronic device with a folding screen, and the folding screen includes a first screen and a second screen, the electronic device includes magnetic sensors disposed on the first screen and the second screen, a first non-magnetic sensor disposed on the first screen and a first non-magnetic sensor disposed on the second screen Two non-magnetic sensors; the display switching device 500 may include a first detection unit 501, a second detection unit 502 and a switching unit 503, wherein:
  • the first detection unit 501 is configured to detect the Hall value through the magnetic sensor
  • the second detection unit 502 is configured to detect the first screen and the The included angle between the second screens, the first threshold is smaller than the second threshold;
  • a switching unit 503 configured to switch the electronic device from the single switch from one-screen display mode to dual-screen display mode.
  • the switching unit 503 is also used for the case where the electronic device is in the dual-screen display mode, the Hall value is greater than the second threshold and the included angle is in the first interval Next, switch the electronic device from the dual-screen display mode to the single-screen display mode.
  • the display switching device 500 may include a trigger unit 504;
  • the trigger unit 504 is configured to trigger an interrupt event when the Hall value is smaller than a first threshold or larger than a second threshold;
  • the second detection unit 502 is further configured to detect the distance between the first screen and the second screen through the first non-magnetic sensor and the second non-magnetic sensor when the interruption event is generated. angle.
  • the display switching device 500 may include a reporting unit 505;
  • the reporting unit 505 is configured to report a far away event when the electronic device is in a single-screen display mode, the Hall value is smaller than the first threshold and the included angle is in a first interval;
  • the switching unit 503 is further configured to switch the electronic device from the single-screen display mode to the dual-screen display mode when the away event is generated.
  • the reporting unit 505 is also configured to: when the electronic device is in the dual-screen display mode, the Hall value is greater than the second threshold and the included angle is in the first interval Next, report the proximity event;
  • the switching unit 503 is further configured to switch the electronic device from the dual-screen display mode to the single-screen display mode when the proximity event is generated.
  • the display switching device 500 may include a maintaining unit 506;
  • the maintaining unit 506 is configured to maintain the electronic device under the condition that the electronic device is in a single-screen display mode, the Hall value is smaller than the first threshold and the included angle is not in the first interval. The device is in said single display mode.
  • the maintaining unit 506 is further configured to, when the electronic device is in the dual-screen display mode, the Hall value is greater than the second threshold and the included angle is not in the first interval In some cases, the electronic device is maintained in the dual-screen display mode.
  • the first detection unit 501 in the embodiment of the present application may be a magnetic sensor in the electronic device
  • the second detection unit 502 may be the first non-magnetic sensor and the second non-magnetic sensor in the electronic device
  • the switching unit 503 the trigger The unit 504, the reporting unit 505, and the maintaining unit 506 may be processors in the electronic device.
  • the embodiment of the present application when the electronic device is in the single-screen display mode, and the Hall value is smaller than the first threshold and the included angle is in the first interval, it may be determined that the screen of the electronic device is unfolded, and the electronic device is moved from Switching from the single-screen display mode to the dual-screen display mode, compared with only using the magnetic sensor, the embodiment of the present application can accurately determine whether the screen of the electronic device is unfolded by combining the magnetic sensor and the non-magnetic sensor. In this way, false triggering of screen switching display is avoided.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 600 includes a processor 601 and a memory 602. 603 are connected to each other.
  • the communication bus 603 may be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (EISA for short) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus 603 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 6 , but it does not mean that there is only one bus or one type of bus.
  • the memory 602 is used to store a computer program, the computer program includes program instructions, and the processor 601 is configured to call the program instructions, and the above program includes some or all steps for executing the methods shown in FIGS. 1 to 4 .
  • the processor 601 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in the above solutions.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Memory 602 may be read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types that can store information and instructions It can also be an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a compact disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be programmed by a computer Any other medium accessed, but not limited to.
  • the memory can exist independently and be connected to the processor through the bus. Memory can also be integrated with the processor.
  • the electronic device 600 may further include a folding screen 604, the folding screen includes a first screen and a second screen, the electronic device includes a magnetic sensor arranged on the first screen and the second screen, and a magnetic sensor arranged on the first screen The first non-magnetic sensor and the second non-magnetic sensor arranged on the second screen;
  • the electronic device 600 may also include common components such as a communication interface and an antenna, which will not be described in detail here.
  • the embodiment of the present application when the electronic device is in the single-screen display mode, and the Hall value is smaller than the first threshold and the included angle is in the first interval, it may be determined that the screen of the electronic device is unfolded, and the electronic device is moved from Switching from the single-screen display mode to the dual-screen display mode, compared with only using the magnetic sensor, the embodiment of the present application can accurately determine whether the screen of the electronic device is unfolded by combining the magnetic sensor and the non-magnetic sensor. In this way, false triggering of screen switching display is avoided.
  • An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to perform any display as described in the above-mentioned method embodiments. Toggle some or all steps of the method.
  • the disclosed device can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented not only in the form of hardware, but also in the form of software program modules.
  • the integrated units may be stored in a computer-readable memory if implemented in the form of a software program module and sold or used as an independent product.
  • the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory.
  • Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned memory includes: various media that can store program codes such as U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例提供一种显示切换的方法、装置、电子设备及存储介质,该显示切换的方法包括:电子设备通过磁传感器检测霍尔值;在霍尔值小于第一阈值或者大于第二阈值的情况下,通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角,第一阈值小于第二阈值;在电子设备处于单屏显示模式,霍尔值小于第一阈值并且夹角处于第一区间的情况下,将电子设备从单屏显示模式切换至双屏显示模式。本申请实施例可以避免误触发屏幕切换显示。

Description

显示切换的方法、装置、电子设备及存储介质
本申请要求于2021年12月24日提交中国专利局、申请号为202111603871.9、申请名称为“显示切换的方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,具体涉及一种显示切换的方法、装置、电子设备及存储介质。
背景技术
随着柔性屏技术的发展,柔性可折叠触摸屏已应用于手机等电子产品中,使得用户可以对屏幕做出折叠或展开的操作,满足用户对不同屏幕尺寸的使用需求。屏幕折叠时小屏亮,屏幕展开时大屏亮,实现屏幕切换显示。然而屏幕切换显示需要通过传感器识别屏幕开合状态。目前通过磁传感器识别屏幕开合状态,由于磁传感器会受到磁场干扰,会误触发屏幕切换显示。
发明内容
本申请实施例提供一种显示切换的方法、装置、电子设备及存储介质,可以避免误触发屏幕切换显示。
本申请实施例的第一方面提供了一种显示切换的方法,所述方法应用于具有折叠屏的电子设备,所述折叠屏包括第一屏和第二屏,所述电子设备包括设置在所述第一屏和所述第二屏的磁传感器,设置在所述第一屏的第一非磁传感器和设置在所述第二屏的第二非磁传感器;所述方法包括:
通过所述磁传感器检测霍尔值;
在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;
在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
本申请实施例的第二方面提供了一种显示切换装置,所述显示切换装置应用于具有折叠屏的电子设备,所述折叠屏包括第一屏和第二屏,所述电子设备包括设置在所述第一屏和所述第二屏的磁传感器,设置在所述第一屏的第一非磁传感器和设置在所述第二屏的第二非磁传感器;所述显示切换装置包括:
第一检测单元,用于通过所述磁传感器检测霍尔值;
所述第二检测单元,用于在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;
切换单元,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并 且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
本申请实施例的第三方面提供了一种电子设备,包括处理器和存储器,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如本申请实施例第一方面中的步骤指令。
本申请实施例的第四方面提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。
本申请实施例的第五方面提供了一种计算机程序产品,其中,上述计算机程序产品包括计算机程序,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
本申请实施例中,通过所述磁传感器检测霍尔值;在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。本申请实施例的显示切换的方法,在电子设备处于单屏显示模式,并且霍尔值小于第一阈值并且夹角处于第一区间的情况下,可以确定电子设备的屏幕做出展开的动作,将电子设备从单屏显示模式切换至双屏显示模式,与仅采用磁传感器相比,本申请实施例通过磁传感器和非磁传感器相结合的方法,可以准确的判断电子设备的屏幕是否做出展开的动作,从而避免误触发屏幕切换显示。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种显示切换的方法的流程示意图;
图2a是本申请实施例提供的一种折叠屏处于折叠状态的示意图;
图2b是本申请实施例提供的一种折叠屏处于展开状态的示意图;
图3是本申请实施例提供的另一种显示切换的方法的流程示意图;
图4是本申请实施例提供的另一种显示切换的方法的流程示意图;
图5为本申请实施例提供的一种显示切换装置的结构示意图;
图6是本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本申请所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),电子设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。
请参阅图1,图1是本申请实施例提供的一种显示切换的方法的流程示意图。如图1所示,该方法应用于具有折叠屏的电子设备,折叠屏包括第一屏和第二屏,电子设备包括设置在第一屏和第二屏的磁传感器,设置在第一屏的第一非磁传感器和设置在第二屏的第二非磁传感器;该显示切换的方法可以包括如下步骤。
101,电子设备通过磁传感器检测霍尔值。
本申请实施例中,磁传感器可以包括霍尔传感器,磁传感器可以实时检测第一屏和第二屏之间的夹角,霍尔值越大第一屏和第二屏之间的夹角越小,霍尔值越小,第一屏和第二屏之间的夹角越大。磁传感器的响应速度较快。霍尔传感器可以包括霍尔器件和磁铁,磁铁可以产生磁场,当第一屏和第二屏展开或者折叠时,霍尔器件在磁场中的磁通量会发生变化,可以通过检测霍尔器件在磁场中的磁通量的变化得到霍尔电压,霍尔值可以是霍尔电压。
102,在霍尔值小于第一阈值或者大于第二阈值的情况下,电子设备通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角,第一阈值小于第二阈值。
本申请实施例,可以设置回滞区间(大于第一阈值且小于第二阈值),在霍尔值大于第一阈值且小于第二阈值的情况下,不会执行步骤103,可以继续执行步骤101。在霍尔值大于第一阈值且小于第二阈值的情况下,不会触发第一非磁传感器和第二非磁传感器去检测第一屏和第二屏之间的夹角,可以降低第一非磁传感器和第二非磁传感器和的检测功耗。
第一非磁传感器可以包括加速度传感器和陀螺仪传感器(或者重力传感器)。第二非磁传感器也可以包括加速度传感器和陀螺仪传感器。第一非磁传感器和第二非磁传感器可以是相同的传感器。
第一非磁传感器设置在第一屏,第二非磁传感器设置在第二屏,可以通过第一非磁传感器和第二非磁传感器计算第一屏和第二屏的相对位置,从而计算第一屏和第二屏之间的夹角。
可选的,步骤102中,电子设备通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角之前,还可以执行如下步骤:
电子设备通过第一非磁传感器和第二非磁传感器检测电子设备的姿态,当电子设备的姿态是非垂直状态的情况下,电子设备执行所述通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角的步骤。当电子设备的姿态是垂直状态的情况下,电子设备继续执行通过第一非磁传感器和第二非磁传感器检测电子设备的姿态的步骤,直到检测到电子设备的姿态是非垂直状态的情况下,电子设备执行所述通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角的步骤。
可选的,当电子设备的姿态是垂直状态的情况下,电子设备可以直接执行将电子设备从单屏显示模式切换至双屏显示模式的步骤。
本申请实例中,第一非磁传感器可以包括加速度传感器和陀螺仪传感器,第二非磁传感器也可以包括加速度传感器和陀螺仪传感器。在电子设备处于垂直状态下,第一非磁传感器和第二非磁传感器无法检测第一屏和第二屏之间的夹角(无法计算出第一屏和第二屏之间的夹角)。垂直状态可以通过陀螺仪传感器来检测出来。本申请实施例可以在电子设备处于非垂直状态下,通过第一非磁传感器和第二非磁传感器准确的检测第一屏和第二屏之间的夹角,提高检测的第一屏和第二屏之间的夹角的准确性。
霍尔值小于第一阈值,磁传感器可以初步判断第一屏和第二屏之间的夹角较大。霍尔值大于第二阈值,磁传感器可以初步判断第一屏和第二屏之间的夹角较小。由于磁传感器容易受到磁场的干扰,磁传感器测量的霍尔值可能会出现较大的误差,如果单独通过磁传感器测量的霍尔值去做显示模式的切换,则可能会出现误切换的情况下。
第一阈值对应的夹角(第一屏和第二屏之间的夹角)可以是120°,第二阈值对应的夹角可以是60°,霍尔值小于第一阈值时,对应的夹角为大于120°,霍尔值大于第二阈值时,对应的夹角为小于60°。
其中,磁传感器的功耗要小于非磁传感器的功耗。
103,在电子设备处于单屏显示模式,霍尔值小于第一阈值并且夹角处于第一区间的情况下,将电子设备从单屏显示模式切换至双屏显示模式。
第一区间是用户对电子设备的折叠屏进行展开或者折叠动作时第一屏和第二屏之间的夹角所处的角度区间。其中,第一区间的下限值大于0度,所述第一区间的上限值小于180度。比如,第一区间可以是[10°,170°]。如果第一屏和第二屏之间的夹角位于第一区间,表明用户对电子设备的折叠屏正在进行展开或者折叠动作;如果第一屏和第二屏之间的夹角不位于第一区间,表明用户对电子设备的折叠屏没有进行展开动作也没有进行折叠动作。
本申请实施例中,在霍尔值小于第一阈值并且夹角处于第一区间的情况下,表明电子设备的屏幕做出展开的动作,通过磁传感器和非磁传感器相结合的方法,可以准确的判断电子设备的屏幕是否做出展开的动作,从而避免误触发屏幕切换显示。
104,在电子设备处于双屏显示模式,霍尔值大于第二阈值并且夹角处于第一区间的情况下,将电子设备从双屏显示模式切换至单屏显示模式。
本申请实施例中,在霍尔值大于第二阈值并且夹角处于第一区间的情况下,表明电子设备的屏幕做出折叠的动作,通过磁传感器和非磁传感器相结合的方法,可以准确的判断电子设备的屏幕是否做出折叠的动作,从而避免误触发屏幕切换显示。
可选的,图1所示的方法还可以包括如下步骤:
在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述单屏显示模式。
本申请实施例中,单屏显示模式下,如果霍尔值小于第一阈值并且第一屏和第二屏之间的夹角不处于所述第一区间,则表明磁传感器检测的结果与第一非磁传感器和第二非磁传感器检测的结果产生了冲突,认为磁传感器检测的结果受到了磁场的干扰,以第一非磁传感器和第二非磁传感器检测的结果为准,则维持电子设备处于单屏显示模式。
可选的,图1所示的方法还可以包括如下步骤:
在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述双屏显示模式。
本申请实施例中,双屏显示模式下,如果霍尔值大于第二阈值并且第一屏和第二屏之间的夹角不处于所述第一区间,则表明磁传感器检测的结果与第一非磁传感器和第二非磁传感器检测的结果产生了冲突,认为磁传感器检测的结果受到了磁场的干扰,以第一非磁传感器和第二非磁传感器检测的结果为准,则维持电子设备处于双屏显示模式。
可选的,图1所示的方法还可以包括如下步骤:
在所述电子设备处于双屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,维持所述电子设备处于所述双屏显示模式。
本申请实施例中,双屏显示模式下,如果霍尔值小于所述第一阈值并且所述夹角处于第一区间,该电子设备的折叠屏可能处于从部分展开到完全展开的过程,此时可以维持所述电子设备处于所述双屏显示模式。
可选的,图1所示的方法还可以包括如下步骤:
在所述电子设备处于单屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,维持所述电子设备处于所述单屏显示模式。
本申请实施例中,单屏显示模式下,如果霍尔值大于所述第二阈值并且所述夹角处于第一区间,该电子设备的折叠屏可能处于从部分折叠到完全折叠的过程,此时可以维持所述电子设备处于所述单屏显示模式。
本申请实施例的显示切换的方法,在电子设备处于单屏显示模式,并且霍尔值小于第一阈值并且夹角处于第一区间的情况下,可以确定电子设备的屏幕做出展开的动作,将电子设备从单屏显示模式切换至双屏显示模式,与仅采用磁传感器相比,本申请实施例通过磁传感器和非磁传感器相结合的方法,可以准确的判断电子设备的屏幕是否做出展开的动作,从而避免误触发屏幕切换显示。
请参阅图2a,图2a是本申请实施例提供的一种折叠屏处于折叠状态的示意图。如图2a所示,在折叠状态下,折叠屏的第一屏和第二屏处于重合状态,此时折叠屏中的第一屏被点亮(图2a中阴影区域被点亮),此时处于单屏显示模式。请参阅图2b,图2b是本申请实施例提供的一种折叠屏处于展开状态的示意图。如图2b所示,在展开状态下,折叠屏的第一屏和第二屏组成一个大的显示屏,第一屏和第二屏被同时点亮,图2b中第一屏和第二屏所在的区域被点亮,此时处于双屏显示模式。
单屏显示模式,可以用于需要小屏显示的场景,比如,需要装入口袋的场景、需要单手持有电子设备的场景。双屏显示模式,可以用于需要大屏显示的场景,比如,视频播放 场景、视频通话场景、游戏场景、图片浏览场景等。
请参阅图3,图3是本申请实施例提供的另一种显示切换的方法的流程示意图。如图3所示,该方法应用于具有折叠屏的电子设备,折叠屏包括第一屏和第二屏,电子设备包括设置在第一屏和第二屏的磁传感器,设置在第一屏的第一非磁传感器和设置在第二屏的第二非磁传感器;该显示切换的方法可以包括如下步骤。
301,电子设备通过磁传感器检测霍尔值。
302,在霍尔值小于第一阈值或者大于第二阈值的情况下,磁传感器触发中断事件。
303,在产生中断事件的情况下,电子设备通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角,第一阈值小于第二阈值。
本申请实施例中,在霍尔值小于第一阈值或者大于第二阈值的情况下,磁传感器会触发中断事件,执行步骤303。在霍尔值大于第一阈值并且小于第二阈值的情况下,磁传感器不会触发中断事件,继续执行步骤301。
磁传感器触发中断事件时,磁传感器可以停止检测霍尔值,由第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角。
磁传感器触发中断事件的响应速度要大于第一非磁传感器和第二非磁传感器触发中断事件的响应速度,通过磁传感器触发中断事件,可以提高中断事件的响应速度,进而提高显示模式切换的速度。
由于磁传感器的功耗要小于第一非磁传感器和第二非磁传感器的功耗,在产生中断事件的情况下,电子设备通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角,可以降低第一非磁传感器和第二非磁传感器和的检测功耗,从而降低整体的检测功耗。
304,在电子设备处于单屏显示模式,霍尔值小于第一阈值并且夹角处于第一区间的情况下,将电子设备从单屏显示模式切换至双屏显示模式。
305,在电子设备处于双屏显示模式,霍尔值大于第二阈值并且夹角处于第一区间的情况下,将电子设备从双屏显示模式切换至单屏显示模式。
其中,步骤301的具体实施可以参见图1中的步骤101,步骤304和步骤305的具体实施可以参见图1中的步骤103~104,此处不再赘述。
请参阅图4,图4是本申请实施例提供的另一种显示切换的方法的流程示意图。如图4所示,该方法应用于具有折叠屏的电子设备,折叠屏包括第一屏和第二屏,电子设备包括设置在第一屏和第二屏的磁传感器,设置在第一屏的第一非磁传感器和设置在第二屏的第二非磁传感器;该显示切换的方法可以包括如下步骤。
401,电子设备通过磁传感器检测霍尔值。
402,在霍尔值小于第一阈值或者大于第二阈值的情况下,磁传感器触发中断事件。
403,在产生中断事件的情况下,电子设备通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角,第一阈值小于第二阈值。
本申请实施例中,在霍尔值小于第一阈值或者大于第二阈值的情况下,磁传感器会触发中断事件,执行步骤403。在霍尔值大于第一阈值并且小于第二阈值的情况下,磁传感器不会触发中断事件,继续执行步骤401。
磁传感器触发中断事件时,磁传感器可以停止检测霍尔值,由第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角。
磁传感器触发中断事件的响应速度要大于第一非磁传感器和第二非磁传感器触发中断事件的响应速度,通过磁传感器触发中断事件,可以提高中断事件的响应速度,进而提高显示模式切换的速度。
由于磁传感器的功耗要小于第一非磁传感器和第二非磁传感器的功耗,在产生中断事件的情况下,电子设备通过第一非磁传感器和第二非磁传感器检测第一屏和第二屏之间的夹角,可以降低第一非磁传感器和第二非磁传感器和的检测功耗,从而降低整体的检测功耗。
404,在电子设备处于单屏显示模式,霍尔值小于第一阈值并且夹角处于第一区间的情况下,上报远离事件。
405,在产生远离事件的情况下,将电子设备从单屏显示模式切换至双屏显示模式。
本申请实施例中,电子设备的处理器可以向屏幕显示控制模块上报远离事件,屏幕显示控制模块根据该远离事件将电子设备从单屏显示模式切换至双屏显示模式。远离事件指的是第一屏和第二屏远离的事件,在单屏显示模式下,如果霍尔值小于第一阈值并且夹角处于第一区间,表明折叠屏的第一屏和第二屏正在分开,用户对折叠屏正在做展开操作,此时上报远离事件,可以在需要切换至双屏显示模式的情况下及时从单屏显示模式切换至双屏显示模式。
406,在电子设备处于双屏显示模式,霍尔值大于第二阈值并且夹角处于第一区间的情况下,上报接近事件。
407,在产生远离事件的情况下,将电子设备从双屏显示模式切换至单屏显示模式。
本申请实施例中,电子设备的处理器可以向屏幕显示控制模块上报接近事件,屏幕显示控制模块根据该接近事件将电子设备从双屏显示模式切换至单屏显示模式。远离事件指的是第一屏和第二屏接近的事件,在双屏显示模式下,如果霍尔值大于第二阈值并且夹角处于第一区间,表明折叠屏的第一屏和第二屏正在接近,用户对折叠屏正在做折叠操作,此时上报接近事件,可以在需要切换至单屏显示模式的情况下及时从双屏显示模式切换至单屏显示模式。
其中,步骤401的具体实施可以参见图1中的步骤101,步骤402和步骤403的具体实施可以参见图3中的步骤302~303,此处不再赘述。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。 上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
与上述一致的,请参阅图5,图5为本申请实施例提供的一种显示切换装置的结构示意图,该显示切换装置500应用于具有折叠屏的电子设备,所述折叠屏包括第一屏和第二屏,所述电子设备包括设置在所述第一屏和所述第二屏的磁传感器,设置在所述第一屏的第一非磁传感器和设置在所述第二屏的第二非磁传感器;该显示切换装置500可以包括第一检测单元501、第二检测单元502和切换单元503,其中:
第一检测单元501,用于通过所述磁传感器检测霍尔值;
第二检测单元502,用于在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;
切换单元503,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
可选的,所述切换单元503,还用于在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,将所述电子设备从所述双屏显示模式切换至所述单屏显示模式。
可选的,该显示切换装置500可以包括触发单元504;
所述触发单元504,用于在所述霍尔值小于第一阈值或者大于第二阈值的情况下,触发中断事件;
第二检测单元502,还用于在产生所述中断事件的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角。
可选的,该显示切换装置500可以包括上报单元505;
所述上报单元505,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,上报远离事件;
所述切换单元503,还用于在产生所述远离事件的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
可选的,所述上报单元505,还用于在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,上报接近事件;
所述切换单元503,还用于在产生所述接近事件的情况下,将所述电子设备从所述双屏显示模式切换至所述单屏显示模式。
可选的,该显示切换装置500可以包括维持单元506;
所述维持单元506,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述单屏显示模式。
可选的,所述维持单元506,还用于在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处 于所述双屏显示模式。
其中,本申请实施例中的第一检测单元501可以是电子设备中的磁传感器,第二检测单元502可以是电子设备中的第一非磁传感器和第二非磁传感器,切换单元503、触发单元504、上报单元505、维持单元506可以是电子设备中的处理器。
本申请实施例中,在电子设备处于单屏显示模式,并且霍尔值小于第一阈值并且夹角处于第一区间的情况下,可以确定电子设备的屏幕做出展开的动作,将电子设备从单屏显示模式切换至双屏显示模式,与仅采用磁传感器相比,本申请实施例通过磁传感器和非磁传感器相结合的方法,可以准确的判断电子设备的屏幕是否做出展开的动作,从而避免误触发屏幕切换显示。
请参阅图6,图6是本申请实施例提供的一种电子设备的结构示意图,如图6所示,该电子设备600包括处理器601和存储器602,处理器601、存储器602可以通过通信总线603相互连接。通信总线603可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。通信总线603可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。存储器602用于存储计算机程序,计算机程序包括程序指令,处理器601被配置用于调用程序指令,上述程序包括用于执行图1~图4所示的方法中的部分或全部步骤。
处理器601可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。
存储器602可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。
电子设备600还可以包括折叠屏604,折叠屏包括第一屏和第二屏,所述电子设备包括设置在所述第一屏和所述第二屏的磁传感器,设置在所述第一屏的第一非磁传感器和设置在所述第二屏的第二非磁传感器;
此外,该电子设备600还可以包括通信接口、天线等通用部件,在此不再详述。
本申请实施例中,在电子设备处于单屏显示模式,并且霍尔值小于第一阈值并且夹角处于第一区间的情况下,可以确定电子设备的屏幕做出展开的动作,将电子设备从单屏显示模式切换至双屏显示模式,与仅采用磁传感器相比,本申请实施例通过磁传感器和非磁传感器相结合的方法,可以准确的判断电子设备的屏幕是否做出展开的动作,从而避免误触发屏幕切换显示。
本申请实施例还提供一种计算机可读存储介质,其中,该计算机可读存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种显示切换的方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在申请明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器、随机存取器、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种显示切换的方法,其特征在于,所述方法应用于具有折叠屏的电子设备,所述折叠屏包括第一屏和第二屏,所述电子设备包括设置在所述第一屏和所述第二屏的磁传感器,设置在所述第一屏的第一非磁传感器和设置在所述第二屏的第二非磁传感器;所述方法包括:
    通过所述磁传感器检测霍尔值;
    在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;
    在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,将所述电子设备从所述双屏显示模式切换至所述单屏显示模式。
  3. 根据权利要求1或2所述的方法,其特征在于,所述通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角之前,所述方法还包括:
    在所述霍尔值小于第一阈值或者大于第二阈值的情况下,触发中断事件;
    在产生所述中断事件的情况下,执行所述通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角的步骤。
  4. 根据权利要求1所述的方法,其特征在于,所述将所述电子设备从所述单屏显示模式切换至双屏显示模式之前,所述方法还包括:
    在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,上报远离事件;
    在产生所述远离事件的情况下,执行所述将所述电子设备从所述单屏显示模式切换至双屏显示模式的步骤。
  5. 根据权利要求2所述的方法,其特征在于,所述将所述电子设备从所述双屏显示模式切换至所述单屏显示模式之前,所述方法还包括:
    在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,上报接近事件;
    在产生所述接近事件的情况下,执行所述将所述电子设备从所述双屏显示模式切换至所述单屏显示模式的步骤。
  6. 根据权利要求1或4所述的方法,其特征在于,所述方法还包括:
    在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述单屏显示模式。
  7. 根据权利要求2或5所述的方法,其特征在于,所述方法还包括:
    在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述双屏显示模式。
  8. 根据权利要求1~7任一项所述的方法,其特征在于,所述通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角之前,所述方法还包括:
    通过所述第一非磁传感器和所述第二非磁传感器检测所述电子设备的姿态,在所述电子设备的姿态是非垂直状态的情况下,执行所述通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角的步骤。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    在所述电子设备的姿态是垂直状态的情况下,执行所述将所述电子设备从所述单屏显示模式切换至双屏显示模式的步骤。
  10. 一种显示切换装置,其特征在于,所述显示切换装置应用于具有折叠屏的电子设备,所述折叠屏包括第一屏和第二屏,所述电子设备包括设置在所述第一屏和所述第二屏的磁传感器,设置在所述第一屏的第一非磁传感器和设置在所述第二屏的第二非磁传感器;所述显示切换装置包括:
    第一检测单元,用于通过所述磁传感器检测霍尔值;
    第二检测单元,用于在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;
    切换单元,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
  11. 根据权利要求10所述的装置,其特征在于,
    所述切换单元,还用于在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,将所述电子设备从所述双屏显示模式切换至所述单屏显示模式。
  12. 根据权利要求10或11所述的装置,其特征在于,所述显示切换装置还包括触发单元;
    所述触发单元,用于在所述霍尔值小于第一阈值或者大于第二阈值的情况下,触发中断事件;
    第二检测单元,还用于在产生所述中断事件的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角。
  13. 根据权利要求10所述的装置,其特征在于,所述显示切换装置还包括上报单元;
    所述将所述电子设备从所述单屏显示模式切换至双屏显示模式之前,所述方法还包括:
    所述上报单元,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,上报远离事件;
    所述切换单元,还用于在产生所述远离事件的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
  14. 根据权利要求11所述的装置,其特征在于,
    所述上报单元,还用于在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,上报接近事件;
    所述切换单元,还用于在产生所述接近事件的情况下,将所述电子设备从所述双屏显示模式切换至所述单屏显示模式。
  15. 根据权利要求10或13所述的装置,其特征在于,所述显示切换装置还包括维持单元;
    所述维持单元,用于在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述单屏显示模式。
  16. 根据权利要求11或14所述的装置,其特征在于,
    所述维持单元,还用于在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角不处于所述第一区间的情况下,维持所述电子设备处于所述双屏显示模式。
  17. 根据权利要求10~16任一项所述的装置,其特征在于,
    第二检测单元,还用于通过所述第一非磁传感器和所述第二非磁传感器检测所述电子设备的姿态;以及用于在所述电子设备的姿态是非垂直状态的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角。
  18. 根据权利要求17所述的装置,其特征在于,所述方法还包括:
    所述切换单元,还用于在所述电子设备的姿态是垂直状态的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
  19. 一种电子设备,其特征在于,包括折叠屏和处理器,所述折叠屏包括第一屏和第二屏,在所述第一屏和所述第二屏设置磁传感器,在所述第一屏设置第一非磁传感器,在所述第二屏设置第二非磁传感器所述处理器被配置为:
    通过所述磁传感器检测霍尔值;
    在所述霍尔值小于第一阈值或者大于第二阈值的情况下,通过所述第一非磁传感器和所述第二非磁传感器检测所述第一屏和所述第二屏之间的夹角,所述第一阈值小于所述第二阈值;
    在所述电子设备处于单屏显示模式,所述霍尔值小于所述第一阈值并且所述夹角处于第一区间的情况下,将所述电子设备从所述单屏显示模式切换至双屏显示模式。
  20. 根据权利要求19所述的电子设备,其特征在于,所述处理器还被配置为:
    在所述电子设备处于所述双屏显示模式,所述霍尔值大于所述第二阈值并且所述夹角处于所述第一区间的情况下,将所述电子设备从所述双屏显示模式切换至所述单屏显示模式。
PCT/CN2022/140999 2021-12-24 2022-12-22 显示切换的方法、装置、电子设备及存储介质 WO2023116815A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111603871.9A CN114338871A (zh) 2021-12-24 2021-12-24 显示切换的方法、装置、电子设备及存储介质
CN202111603871.9 2021-12-24

Publications (1)

Publication Number Publication Date
WO2023116815A1 true WO2023116815A1 (zh) 2023-06-29

Family

ID=81012220

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/140999 WO2023116815A1 (zh) 2021-12-24 2022-12-22 显示切换的方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN114338871A (zh)
WO (1) WO2023116815A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338871A (zh) * 2021-12-24 2022-04-12 广东明创软件科技有限公司 显示切换的方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116455A (zh) * 2013-02-22 2013-05-22 珠海全志科技股份有限公司 电子阅读设备及其显示方法
CN111045776A (zh) * 2019-12-11 2020-04-21 上海闻泰电子科技有限公司 一种显示切换方法、装置、折叠终端和存储介质
US20210160356A1 (en) * 2019-11-27 2021-05-27 Samsung Electronics Co., Ltd. Foldable device and controlling method thereof
CN113542462A (zh) * 2019-02-02 2021-10-22 华为技术有限公司 一种具有柔性屏幕的电子设备的显示方法及电子设备
CN113542453A (zh) * 2020-03-31 2021-10-22 北京小米移动软件有限公司 一种折叠屏终端设备、其状态检测方法和电子设备
CN114338871A (zh) * 2021-12-24 2022-04-12 广东明创软件科技有限公司 显示切换的方法、装置、电子设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116455A (zh) * 2013-02-22 2013-05-22 珠海全志科技股份有限公司 电子阅读设备及其显示方法
CN113542462A (zh) * 2019-02-02 2021-10-22 华为技术有限公司 一种具有柔性屏幕的电子设备的显示方法及电子设备
US20210160356A1 (en) * 2019-11-27 2021-05-27 Samsung Electronics Co., Ltd. Foldable device and controlling method thereof
CN111045776A (zh) * 2019-12-11 2020-04-21 上海闻泰电子科技有限公司 一种显示切换方法、装置、折叠终端和存储介质
CN113542453A (zh) * 2020-03-31 2021-10-22 北京小米移动软件有限公司 一种折叠屏终端设备、其状态检测方法和电子设备
CN114338871A (zh) * 2021-12-24 2022-04-12 广东明创软件科技有限公司 显示切换的方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN114338871A (zh) 2022-04-12

Similar Documents

Publication Publication Date Title
JP6619526B2 (ja) 誤操作を防止するディスプレイインタフェース制御方法、装置及び端末
CN114546161B (zh) 用于减少意外用户输入发生的电子装置及其操作方法
KR101495967B1 (ko) 다중의 터치 스크린들로부터의 제스처 입력을 하나의 제스처 입력으로 결합하는 방법, 시스템, 및 컴퓨터 프로그램 제품
KR101852276B1 (ko) 터치 제어 응답 방법 및 디바이스
WO2023116815A1 (zh) 显示切换的方法、装置、电子设备及存储介质
KR101991749B1 (ko) 휴대용 단말기에서 잠금 기능을 제어하기 위한 장치 및 방법
KR20200074553A (ko) 폴더블 전자 장치 및 폴더블 전자 장치에서 터치 입력을 감지하는 방법
WO2012059022A1 (zh) 一种模拟硬按键的操作方法及触摸屏终端
JP6319298B2 (ja) 情報端末、表示制御方法及びそのプログラム
CN113448479B (zh) 单手操作模式开启方法、终端及计算机存储介质
WO2011118175A1 (ja) 携帯端末、表示制御プログラム及び表示制御方法
KR20200119020A (ko) 전자 장치 및 폴더블 디스플레이를 제어 및 운영하는 방법
US11284523B2 (en) Cumulative sensor in a foldable device
WO2014190862A1 (en) Method and apparatus for controlling application on intelligent terminal
WO2013176242A1 (ja) タッチ検出機能を有する電子機器、プログラムおよびタッチ検出機能を有する電子機器の制御方法
KR20210021863A (ko) 폴더블 디스플레이를 포함하는 전자 장치 및 전자 장치의 컨텐츠 생성 방법
KR20220039085A (ko) 콘텐트를 생성하기 위한 폴더블 전자 장치 및 그의 동작 방법
JP5638330B2 (ja) 携帯端末、プログラム及び表示制御方法
US20170285798A1 (en) Method and system for realizing functional key on side surface
JP6115719B2 (ja) 電子装置、電子装置のディスプレイの移動方法および移動プログラム
CN111831196A (zh) 折叠屏幕的控制方法、终端设备以及存储介质
CN110502286A (zh) 应用唤醒方法、装置、终端和介质
EP4195040A1 (en) Screen window redrawing method, electronic device, and computer-readable storage medium
KR101838719B1 (ko) 멀티 터치를 이용한 표시 정보 회전 방법 및 이를 구현한 단말기
TWI454980B (zh) 手持電子裝置及其控制方法

Legal Events

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

Ref document number: 22910127

Country of ref document: EP

Kind code of ref document: A1