Processing method and electronic equipment

By controlling the display screen switching logic of the foldable device through sensing data and marking information, the problem of switching display content caused by the user's inability to accurately control the device's expansion angle is solved, and the flexible use and efficient operation of the device are realized.

CN119110016APending Publication Date: 2024-12-10LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411204987.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

When users use foldable devices, they cannot accurately control the expansion angle of the device, which causes the display content of the external screen to accidentally switch to the inner screen, resulting in cumbersome operation, which violates the original intention of the flexible expansion and folding design of the device.

Method used

The device posture is judged by sensing data, and based on the marking information indicating that the first display screen is in the target mode, the screen switching command is ignored, and the first display screen output content is maintained to ensure that the display content is not switched when the device posture changes.

Benefits of technology

It avoids display view switching caused by screen folding or other operations, improves user experience, simplifies the operation process, makes the device use more coherent and efficient, and realizes the ability to expand and fold flexibly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110016A_ABST
    Figure CN119110016A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a processing method and electronic equipment, and the processing method comprises the steps: obtaining induction data which is used for representing the posture of the electronic equipment; if the sensing data meets a switching condition and has mark information for indicating that a first display screen is in a target mode, controlling the first display screen to output display content based on the mark information; wherein the switching condition is used for representing that a screen, in a working state, of the electronic equipment is switched between the first display screen and a second display screen, the first display screen belongs to the electronic equipment, and the second display screen belongs to the electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic equipment, and relate to but are not limited to a processing method and electronic equipment. Background Art

[0002] With the development of flexible screen technology, flexible foldable screens (also called folding screens) have been applied to terminal devices such as mobile phones, allowing users to fold or unfold their mobile phones to meet users' needs for different screen sizes.

[0003] In order to ensure smooth user experience, the related art defines the switching logic of content displayed between screens for foldable electronic devices with multiple display screens. For example, when the device is displaying content through the external screen, if the device is unfolded more than 70 degrees, the display interface will be switched to the internal screen.

[0004] When using the external screen of a foldable device, the user can open the foldable device at a small angle so that the foldable device can be turned upside down on the desktop to facilitate external screen operation. However, since the user cannot accurately control the unfolding angle of the foldable device when unfolding the phone, the unfolding angle may be too large, causing the display content of the external screen to switch to the internal screen. To avoid this, the user needs to unfold the foldable device carefully and slowly, which makes the operation of the foldable device cumbersome and violates the original design intention of the foldable device to be flexible to unfold and fold. Summary of the invention

[0005] In order to solve the problems existing in the related art, the embodiments of the present application provide a processing method and an electronic device.

[0006] In a first aspect, the present application provides a processing method, the method comprising:

[0007] Acquire sensing data, where the sensing data is used to characterize the posture of the electronic device;

[0008] If the sensing data satisfies the switching condition and has marking information indicating that the first display screen is in the target mode, controlling the first display screen to output display content based on the marking information;

[0009] The switching condition is used to represent the switching of the screen of the electronic device in a working state between the first display screen and the second display screen, the first display screen belongs to the electronic device, and the second display screen belongs to the electronic device. In some embodiments, before controlling the first display screen to display output display content based on the tag information, the method further includes:

[0010] Get the first input operation;

[0011] Based on the first input operation, controlling the first display screen to be in a target mode; wherein the first display screen being in the target mode means that the first display screen is in a working state and has the highest priority;

[0012] The first display screen being in the target mode includes: the first display screen is in a working state, the first display screen has marking information indicating that it is in the target mode, and the first display screen continuously outputs display content.

[0013] In some embodiments, if the sensing data satisfies the switching condition and has marking information indicating that the first display screen is in the target mode, controlling the first display screen to output display content based on the marking information includes at least one of the following situations:

[0014] If the sensing data satisfies a first switching condition indicating that the first body and the second body are in a flattened state, a first switching instruction is generated, wherein the first switching instruction is used to switch the screen of the electronic device in a working state from the first display screen to the second display screen; wherein, if the first body and the second body are in a flattened state, the second display screen is in a non-bent state;

[0015] Based on the mark information indicating that the first display screen is in the target mode, ignoring the first switching instruction, and maintaining the first display screen to continuously output display content;

[0016] or,

[0017] If the sensing data satisfies a second switching condition indicating that the first body and the second body are in a folded state, a second switching instruction is generated, wherein the second switching instruction is used to switch the screen of the electronic device in a working state from the second display screen to the first display screen; if the first body and the second body are in a folded state, the second display screen is in a bent state;

[0018] Based on the mark information indicating that the first display screen is in the target mode, the second switching instruction is ignored, and the first display screen is maintained to continuously output display content.

[0019] In some embodiments, controlling the first display screen to be in a target mode based on the first input operation includes:

[0020] If the screen of the electronic device in working state is the first display screen, the first display screen is marked as being in the target mode.

[0021] In some embodiments, controlling the first display screen to be in a target mode based on the first input operation includes:

[0022] If the screen of the electronic device in working state is the second display screen, generating the second switching instruction;

[0023] In response to the second switching instruction, switching the screen of the electronic device in working state from the second display screen to the first display screen;

[0024] The first display screen is marked as being in the target mode.

[0025] In some embodiments, the obtaining the first input operation includes:

[0026] If the screen of the electronic device in working state is the second display screen, obtaining a first input operation for the target content to be displayed and outputted on the second display screen;

[0027] The controlling the first display screen to be in a target mode based on the first input operation further includes:

[0028] The target content is switched to the first display screen for output.

[0029] In some embodiments, controlling the first display screen to be in a target mode based on the first input operation further includes:

[0030] The target content does not respond to an operation of changing the target content during output of the first display screen until a second input operation is obtained, where the second input operation is used to instruct the first display screen to exit the target mode.

[0031] In a second aspect, an embodiment of the present application provides an electronic device, including:

[0032] First display screen;

[0033] a second display screen, wherein the first display screen and the second display screen are arranged in back-to-back relationship;

[0034] A processor is used to obtain sensing data, wherein the sensing data is used to characterize the posture of the electronic device; if the sensing data meets a switching condition and has marking information indicating that the first display screen is in a target mode, the first display screen is controlled to output display content based on the marking information; wherein the switching condition is used to characterize the switching of the screen of the electronic device in a working state between the first display screen and the second display screen.

[0035] In some embodiments, the electronic device further comprises:

[0036] first ontology;

[0037] a second body, wherein the first body and the second body are rotatably connected via a hinge, the second display screen is located on the same side of the first body and the second body, and the first display screen is located on the other side of the first body or the second body; wherein, if the first body and the second body are in a flat state, the second display screen is in a non-bent state; and if the first body and the second body are in a folded state, the second display screen is in a bent state;

[0038] The processor is further configured to generate a first switching instruction if the sensing data satisfies a first switching condition indicating that the first body and the second body are in a flattened state, wherein the first switching instruction is used to switch a screen of the electronic device in a working state from the first display screen to the second display screen; based on the marking information indicating that the first display screen is in a target mode, ignore the first switching instruction and maintain the first display screen to continuously output display content;

[0039] or,

[0040] The processor is further configured to generate a second switching instruction if the sensing data satisfies a second switching condition indicating that the first body and the second body are in a folded state, wherein the second switching instruction is configured to switch the screen of the electronic device in a working state from the second display screen to the first display screen; and based on marking information indicating that the first display screen is in a target mode, ignore the second switching instruction and maintain the first display screen to continuously output display content.

[0041] In some embodiments, the electronic device further comprises:

[0042] The detection component includes at least a Hall sensor and a gyroscope, which are used to detect the posture of the electronic device and generate the sensing data.

[0043] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is an optional flowchart of the processing method provided in the embodiment of the present application;

[0045] Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 1 ;

[0046] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 2 ;

[0047] Figure 4 It is a schematic diagram of a process of unlocking the outer screen of a foldable device provided in an embodiment of the present application;

[0048] Figure 5 It is a schematic diagram of a process of closing the outer screen lock of a foldable device provided in an embodiment of the present application;

[0049] Figure 6 It is a schematic diagram of the process of screen switching when the foldable device provided in the embodiment of the present application is unfolded;

[0050] Figure 7 It is a schematic diagram of the process of screen switching of a folding device provided in an embodiment of the present application;

[0051] Figure 8 It is a flow chart of the external screen locking logic of a folding device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0053] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the technical field of the embodiments of the present application. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0054] Currently, foldable electronic devices have two display screens, which can be in a folded state or an unfolded state. In the related technology, when the foldable device is unfolded, the output content of the electronic device is displayed on the larger display screen (i.e., the inner screen) after unfolding; when the device is folded, the output content of the electronic device is displayed on the display screen that is in a non-bent state after the display screen is folded (i.e., the outer screen).

[0055] During the use of a foldable electronic device, the change in the current unfolded or folded state of the foldable electronic device is determined to switch the screen used to display data. However, in the foldable device in the related art, when the user uses a non-bent display screen to display content in a folded state (including a state where the first body and the second body of the electronic device are stacked or angled), when the foldable device is unfolded to a certain angle (for example, greater than 90 degrees), the currently displayed content will be switched to a larger screen.

[0056] In some cases, when using the external screen of a foldable device, the user wants to open the foldable device at a small angle so that the foldable device can be turned upside down on the table to facilitate external screen operation. However, since the user cannot accurately control the unfolding angle of the foldable device when unfolding the phone, the unfolding angle may be too large, causing the display content of the external screen to switch to the inner screen. However, at this time, the user does not want to switch the display content to the inner screen. The switching operation at this time interrupts the user's use of the external screen.

[0057] To avoid this situation, users need to unfold the foldable device slowly and carefully when using it to avoid switching the display content of the outer screen to the inner screen due to excessive unfolding angle. In order to switch the display content back, the device needs to be folded and the display content switched to the outer screen, which makes the operation of the foldable device cumbersome and violates the original design intention of the foldable device to be flexibly unfolded and folded.

[0058] Based on the problems existing in the related technology, an embodiment of the present application can provide a processing method of an electronic device, which is applied to a processor of the electronic device, and the processor obtains sensing data characterizing the posture of the electronic device. If the sensing data meets the switching condition and the electronic device has marking information indicating that the first display screen of the electronic device is in a locked mode, the first display screen is controlled to output display content based on the marking information without performing screen switching.

[0059] In this way, the embodiment of the present application is based on the sensing data of the electronic device. Even if the electronic device is unfolded or folded, etc., and the switching conditions are met, if there is marking information indicating that the first display screen is in the target mode, the screen switching instruction can be ignored, and the display content is output based on the first display screen, that is, no matter how the posture of the electronic device changes, the display content output of the first display screen is maintained. Under the current screen switching logic of the electronic device, the embodiment of the present application avoids the screen switching instruction generated by screen folding or other operations, and switches the current display view of the electronic device to another display screen, so that the user does not need to operate cautiously when using the electronic device, making the use of the electronic device more coherent, which can improve the user's experience and facilitate the user's use in some scenarios; it also realizes the ability of the electronic device to flexibly unfold and fold, and improves the product appeal of the electronic device. For example, when watching a video or reading through the first display screen, even if the posture of the electronic device changes, the user does not need to worry that the content displayed on the first display screen will be switched, making the use of the electronic device more coherent and efficient.

[0060] The electronic device provided in the embodiment of the present application may be a straight-type handheld or foldable smart phone or tablet computer or other electronic device. In the case where the electronic device is a straight-type handheld terminal, the terminal has a first display screen and a second display screen arranged in a back-to-back manner, and when the mobile phone is flipped, the display content will switch between the first display screen and the second display screen; in the case where the electronic device is a foldable terminal, when the foldable terminal is unfolded or folded, the display content will switch between the first display screen and the second display screen.

[0061] The electronic device provided in the embodiment of the present application includes at least a first display screen, a second display screen and a processor, and the processing method provided in the embodiment of the present application is implemented based on the processor.

[0062] Here, the processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory.

[0063] In some embodiments, the processor can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor, but may be implemented separately through a chip.

[0064] The electronic device may further include a memory, which may include a random access memory (RAM) or a read-only memory (ROM). Here, the memory includes a non-transitory computer-readable storage medium. The memory may be used to store instructions, programs, codes, code sets, or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as screen switching, etc.), instructions for implementing the following various method embodiments, etc.

[0065] The technical solution of the present application will be described in detail below with reference to the accompanying drawings.

[0066] Figure 1 is an optional flow chart of the processing method provided in the embodiment of the present application. The execution subject of the processing method provided in the embodiment of the present application is a processor of an electronic device, such as Figure 1 As shown, the processing method provided in the embodiment of the present application can be implemented through steps S101 to S102:

[0067] Step S101: Obtain sensing data, where the sensing data is used to characterize the posture of the electronic device.

[0068] In the embodiment of the present application, the sensing data may be data collected by a sensor in the electronic device and used to characterize the posture of the electronic device. The posture may be the folding state of a folding device, or the posture of a folding device when it is unfolded or whether a straight-plate device is flipped. For example, when the electronic device is a folding device, the posture of the folding device, i.e., the current unfolding angle of the folding device, may be determined by a Hall sensor or other sensor in the electronic device for detecting the folding angle of the folding device, and the unfolding angle may be between 0 and 180 degrees. The electronic device may also be a straight-plate smart device with two display screens or a folding device in an unfolded state, and sensors such as an accelerometer and a gyroscope may be used to determine whether the device is flipped.

[0069] Step S102: If the sensing data satisfies a switching condition and has marking information indicating that the first display screen is in a target mode, the first display screen is controlled to output display content based on the marking information; wherein the switching condition is used to characterize the switching of the screen of the electronic device in a working state between the first display screen and the second display screen, the first display screen belongs to the electronic device, and the second display screen belongs to the electronic device.

[0070] In some embodiments, the electronic device may include a first display screen and a second display screen disposed in back-to-back orientation. The switching condition is used to characterize the switching of the screen of the electronic device in a working state between the first display screen and the second display screen, that is, if the current display content of the electronic device is output based on the first display screen, the display content is switched to the second display screen for output if the switching condition is met.

[0071] In some embodiments, if the electronic device is a folding device, if the folding device is in a flat state, the second display screen is in a non-bent state; if the folding device is in a folded state, the second display screen is in a bent state, and the first display screen is located on the other side of the folding device.

[0072] At this time, the sensing data meeting the switching condition may be that the folding device is in a flat state, and when the display content is displayed on the second display screen, the folding device is bent, and the folding angle is less than 90 degrees, which means that the folding device meets the switching condition and the display content can be switched to the first display screen; or the folding device is in a stacked state (i.e., a closed state), when the display content is displayed on the first display screen, the folding device is opened more than 90 degrees, which means that the folding device meets the switching condition and the display content can be switched to the second display screen. If the first display screen or the second display screen does not have the marking information that it is in the target mode, the display content will be switched based on the switching logic.

[0073] In some embodiments, if the electronic device is a straight-screen device or a folding device that is in an unfolded state and not bent, satisfying the switching condition may mean that the device is flipped more than 150 degrees. In this case, it can be said that the folding device satisfies the switching condition and the display content can be switched to another display screen.

[0074] In an embodiment of the present application, marking information indicating that the first display screen is in target mode may refer to marking information indicating that the first display screen is in lock mode. The marking information may be implemented by a user performing a marking operation based on any running screen on the electronic device. For example, it may be by clicking on the lock component corresponding to the first display screen through a pull-down status bar on the screen, or by pressing the lock button on the side of the device. The embodiment of the present application does not limit the implementation of the marking operation.

[0075] Here, the first display screen being in the target mode may mean that the electronic device continuously outputs display content through the first display screen.

[0076] In an embodiment of the present application, if the sensing data of the electronic device meets the switching conditions and has marking information indicating that the first display screen is in the target mode, at this time, the first display screen is controlled to output the display content based on the marking information. That is to say, as long as the electronic device has marking information indicating that the first display screen is in the target mode, regardless of whether the posture of the electronic device meets the switching conditions, these switching conditions will be ignored, and the first display screen will be controlled to output the display content based on the marking information. That is, when the display screen is switched, the marking information indicating that the first display screen is in the target mode has the highest priority.

[0077] The embodiment of the present application is based on the sensing data of the electronic device. Even if the electronic device is unfolded or folded and the switching conditions are met, if there is marking information indicating that the first display screen is in the target mode, the screen switching instruction can be ignored, and the display content is output based on the first display screen, that is, no matter how the posture of the electronic device changes, the display content output of the first display screen is maintained. Under the current screen switching logic of the electronic device, the embodiment of the present application can avoid the screen switching instructions generated by screen folding or other operations, and switch the current display view of the electronic device to another display screen, so that the user does not need to operate cautiously when using the electronic device, making the use of the electronic device more coherent, which not only facilitates the user's use in some scenarios and can improve the user's experience; it also realizes the ability of the electronic device to flexibly unfold and fold, and improves the product appeal of the electronic device.

[0078] For example, when watching a video or reading on the first display screen, the user does not need to worry about the content displayed on the first display screen being switched even if the posture of the electronic device changes, making the use of the electronic device more consistent and efficient.

[0079] In the embodiment of the present application, before controlling the first display screen to display output display content based on the mark information, the processing method further includes step S1 and step S2:

[0080] Step S1: Obtain a first input operation.

[0081] In some embodiments, the first input operation can be used to indicate that the first display screen is in the target mode. This can be done by pulling down the status bar on any display screen currently used by the electronic device and clicking on the corresponding component to indicate that the first display screen is in the target mode. A shortcut key can also be pre-set and implemented by clicking on the shortcut key on the desktop of the electronic device. It can also be implemented by clicking on the button on the side of the electronic device. A shortcut gesture can also be pre-set, such as making a fist facing the camera or other shortcut gestures to implement the indication.

[0082] In some embodiments, obtaining the first operation can also be implemented based on a device external to the electronic device, such as through wirelessly connected headphones, bracelets, and other smart devices, and this application does not impose any restrictions on this.

[0083] Step S2: based on the first input operation, control the first display screen to be in target mode; wherein, the first display screen being in target mode indicates that the first display screen is in working state and has the highest priority; the first display screen being in target mode includes: the first display screen is in working state, the first display screen has marking information indicating that it is in target mode, and the first display screen continuously outputs display content.

[0084] Here, after acquiring the first input operation, the electronic device may, in response to the first input operation, display the currently displayed content based on the first display screen. For example, if the content is currently displayed on the second display screen, the displayed content may be switched to the first display screen; if the content is currently displayed on the first display screen, the display state may be maintained and other screen switching operations on the electronic device may be ignored.

[0085] In some embodiments, the first display screen being in the target mode indicates that the first display screen is in the working state and has the highest priority. That is to say, after the first display screen is in the target mode, the first display screen continuously outputs the display content and has the highest priority in the display of the electronic device. No matter whether the mobile phone is folded, unfolded or flipped, or other operations, the working mode of the first display screen cannot be changed.

[0086] In the embodiment of the present application, the first display screen being in the target mode includes the first display screen being in a working state, the first display screen having marking information indicating that it is in the target mode, and the first display screen continuously outputting display content. That is, the first display screen is always on and continuously outputting display content, and the electronic device has marking information indicating that it is in the target mode.

[0087] In an embodiment of the present application, the first display screen can be placed in target mode based on a first output operation in any manner. At this time, the first display screen in target mode has the highest priority, so that no matter what operation that affects content output and screen switching is currently received, it will not affect the continuous output of the first display screen, so that the content of the first display screen will not be interrupted by external operations. The user can focus more on the current task, reducing the time and energy wasted due to frequent task switching. At the same time, the stable output of the first display screen can improve the efficiency of the user in obtaining information and reduce the interference of useless information, thereby improving the user's experience.

[0088] In some embodiments, when the electronic device is a folding device, the folding device has a first body and a second body, the first body and the second body can be rotatably connected by a hinge, the second display screen is on the same side of the first body and the second body, and the first display screen is on the other side of the first body or the second body; wherein, if the first body and the second body are in a flat state, the second display screen is in a non-bent state; if the first body and the second body are in a folded state, the second display screen is in a bent state. In other words, the first display screen can be the outer screen (Caller Line Identification, CLI) of the folding device, and the first display screen will not bend regardless of how the posture of the folding device changes, and the second display screen is the inner screen of the folding device, and the second display screen will also bend when the folding device is folded.

[0089] The current display content can be displayed on the first display screen or the second display screen, and the corresponding switching methods are different when displayed on different display screens. Step S102 can be implemented through steps S1021 to S1024:

[0090] Step S1021: If the sensing data satisfies the first switching condition indicating that the first body and the second body are in a flat state, a first switching instruction is generated, wherein the first switching instruction is used to switch the screen of the electronic device in a working state from the first display screen to the second display screen; wherein, if the first body and the second body are in a flat state, the second display screen is in a non-bent state.

[0091] In some embodiments, the sensing data satisfying the first switching condition characterizing that the first body and the second body are in a flattened state may mean that the sensing data characterizes that the folding device changes from a folded state to a flattened state. At this time, a first switching instruction is generated to switch the screen of the electronic device in a working state from the first display screen to the second display screen. That is, when the external screen is working, if the folding device is unfolded, a first switching instruction is generated to switch the display content of the external screen to the inner screen.

[0092] Step S1022: based on the mark information indicating that the first display screen is in the target mode, ignoring the first switching instruction, and maintaining the first display screen to continuously output display content.

[0093] At this time, the folding device currently has marking information indicating that the first display screen is in target mode, which means that the first display screen is in working state and has the highest priority. At this time, even if the first switching instruction to switch to the second display screen is generated, the first switching instruction can be ignored based on the marking information of the first display screen. Even if the folding phone is unfolded, the first display screen continues to output display content, and the display content will not be switched to the second display screen for display.

[0094] Step S1023: If the sensing data satisfies the second switching condition indicating that the first body and the second body are in a folded state, a second switching instruction is generated, wherein the second switching instruction is used to switch the screen of the electronic device in a working state from the second display screen to the first display screen; if the first body and the second body are in a folded state, the second display screen is in a bent state.

[0095] In an embodiment of the present application, the sensing data satisfying the second switching condition characterizing that the first body and the second body are in a flattened state may mean that the sensing data characterizes that the folding device changes from a flattened state or a folded state with a larger folding angle (for example, between 90 and 180 degrees) to a folded state with a smaller folding angle (for example, between 0 and 90 degrees) or a stacked state with a folding angle of 0. At this time, a second switching instruction is generated to switch the screen of the electronic device in a working state from the second display screen to the first display screen. That is, when the inner screen is working, if the folding device is folded to a smaller angle, a second switching instruction is generated to switch the display content of the inner screen to the outer screen.

[0096] Step S1024: based on the mark information indicating that the first display screen is in the target mode, ignoring the second switching instruction, and maintaining the first display screen to continuously output display content.

[0097] At this time, since the folding device has marking information indicating that the first display screen is in the target mode, that is, the currently folded first display screen is in working state and has the highest priority, at this time, even if a second switching instruction to switch to the first display screen is generated, the marking information indicates that the first display screen is already in working state, so the second switching instruction can be ignored and the first display screen is maintained to continuously output the display content.

[0098] Here, step S1021 and step S1022 are parallel steps with step S1023 and step S1024.

[0099] In an embodiment of the present application, when the electronic device has marking information indicating that the first display screen is in the target mode, no matter what operation is currently received that requires changing the display content or switching the screen, it will not affect the continuous output of the first display screen, so that the content of the first display screen will not be interrupted due to external operations, thereby ensuring the continuity of user use; at the same time, because the electronic device has marking information indicating that the first display screen is in the target mode, the user will not be cautious when using the electronic device for fear of the display content being cut off, making the use of the electronic device smoother.

[0100] In some embodiments, step S2 may be implemented by step S21:

[0101] Step S21: If the screen of the electronic device in working state is the first display screen, mark the first display screen as being in the target mode.

[0102] In an embodiment of the present application, when the electronic device receives a first input operation, if the screen of the electronic device that is currently in a working state is a first display screen, then based on the first input operation, the first display screen can be marked as being in target mode and enjoying the highest priority, and no operation will interrupt the continuous output of the first display screen.

[0103] In some embodiments, step S2 may also be implemented through steps S22 to S24:

[0104] Step S22: If the screen of the electronic device in working state is the second display screen, generate the second switching instruction.

[0105] Here, if the screen of the electronic device in working state is the second display screen, that is, the electronic device currently does not have marking information indicating that the first display screen is in the target mode, at this time, a second switching instruction to switch to the first display screen can be generated based on the first input operation of the user.

[0106] It should be noted that the posture of the electronic device has not changed at this time, and the first input operation here may be that the user clicks on the component locked to the first display screen on the second display screen to generate a switching instruction.

[0107] Step S23: In response to the second switching instruction, the screen of the electronic device in working state is switched from the second display screen to the first display screen.

[0108] In the embodiment of the present application, at this time the electronic device does not have marking information that the first display screen is in the target mode. Therefore, in response to the second switching instruction, the screen of the electronic device in the working state can be switched from the second display screen to the first display screen.

[0109] Step S24: Mark the first display screen as being in the target mode.

[0110] After the display content is switched to the first display screen, based on the user's first input operation, the first display screen is marked as being in target mode, that is, the electronic device will no longer switch screens due to other instructions of the electronic device until the marking information is released.

[0111] In some scenarios of the embodiments of the present application, for example, when a user sets the foldable device to a tent style and places the foldable device in a tent state on a desktop, after marking the first display screen as being in the target mode, even if the mobile phone is mistakenly operated to the unfolded state or the folding angle of the foldable device becomes larger or other operations are received, the content of the first display screen will not be switched to the second display screen.

[0112] In some embodiments, step S1 may be implemented by step S11:

[0113] Step S11: If the screen of the electronic device in working state is the second display screen, a first input operation for target content displayed and outputted on the second display screen is obtained.

[0114] In an embodiment of the present application, when the screen of the electronic device in a working state is the second display screen, the user can perform a first input operation on the target content (which may be a video or other interface) currently output by the second display screen without changing the posture of the electronic device (that is, the folding posture of the folding device does not change). At this time, the first input operation can be regarded as a switching command initiated by the user to switch the target content displayed on the second display screen to the first display screen.

[0115] Correspondingly, step S2 can also be implemented through step S25:

[0116] Step S25: Switch the target content to the first display screen for output.

[0117] The electronic device obtains the first input operation and can switch the target content output from the second display screen to the first display screen for output.

[0118] In an embodiment of the present application, the first display screen may be an outer screen or an inner screen of a folding device, and a user may perform a first input operation on any display screen of the folding device that is displaying content, so that the display screen corresponding to the first input operation is in target mode.

[0119] In some embodiments, step S2 may also be implemented by step S26:

[0120] Step S26: The target content does not respond to an operation of changing the target content during output on the first display screen until a second input operation is obtained, where the second input operation is used to instruct the first display screen to exit the target mode.

[0121] In the embodiment of the present application, the second input operation may be an operation for indicating that the first display screen exits the target mode, that is, unlocking the first display screen. The second input operation may be implemented in the same manner as the first input operation.

[0122] In an embodiment of the present application, when the electronic device has marking information indicating that the first display screen is in target mode, the target content does not respond to an operation to change the target content during output on the first display screen until a second input operation is obtained, that is, before the first display screen is unlocked, the output of the target content will not be changed due to other operations of the user. For example, when a video call is being made on the first display screen, the video call will not be ended even if the user clicks the end call button before the first display screen is unlocked or the other party closes the video call.

[0123] Based on the processing method provided in the above-mentioned real-time example, the embodiment of the present application further provides an electronic device, Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 1 , Figure 2 The electronic device provided is a foldable device, and the electronic device 200 includes a first display screen 201, a second display screen 202, and a processor (not shown in the figure).

[0124] The first display screen 201 and the second display screen 202 are arranged back to back, and the processor is used to obtain sensing data, and the sensing data is used to characterize the posture of the electronic device; if the sensing data meets the switching condition and has marking information indicating that the first display screen is in the target mode, the first display screen is controlled to output the display content based on the marking information; wherein the switching condition is used to characterize the switching of the screen of the electronic device in a working state between the first display screen and the second display screen.

[0125] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 2 ,like Figure 3As shown, the electronic device also includes a first body 301 and a second body 302, the first body 301 and the second body 302 are rotatably connected via a hinge 303, the second display screen 202 is located on the same side of the first body 301 and the second body 302, and the first display screen 201 is located on the other side of the first body 301 or the second body 302; wherein, if the first body 301 and the second body 302 are in a flattened state, the second display screen 202 is in a non-bent state; if the first body 301 and the second body 302 are in a folded state, the second display screen 202 is in a bent state.

[0126] Correspondingly, the processor is also used to generate a first switching instruction if the sensing data satisfies the first switching condition and indicates that the first body and the second body are in a flattened state, and the first switching instruction is used to switch the screen of the electronic device in a working state from the first display screen to the second display screen; based on the marking information indicating that the first display screen is in the target mode, ignore the first switching instruction and maintain the first display screen to continuously output the display content; or, it is also used to generate a second switching instruction if the sensing data satisfies the second switching condition and indicates that the first body and the second body are in a folded state, and the second switching instruction is used to switch the screen of the electronic device in a working state from the second display screen to the first display screen; based on the marking information indicating that the first display screen is in the target mode, ignore the second switching instruction and maintain the first display screen to continuously output the display content.

[0127] In some embodiments, the electronic device further includes a detection component, including at least a Hall sensor and a gyroscope, for detecting the posture of the electronic device and generating sensing data. Here, the Hall sensor can be arranged in the hinge of the electronic device, and the gyroscope can be arranged in the first body and the second body of the electronic device respectively. The detection component can also include a sensor such as an acceleration sensor for detecting the posture of the electronic device.

[0128] In some embodiments, the processor is also used to obtain a first input operation; based on the first input operation, control the first display screen to be in a target mode; wherein, the first display screen being in the target mode indicates that the first display screen is in a working state and has the highest priority; the first display screen being in the target mode includes: the first display screen is in a working state, the first display screen has marking information indicating that it is in the target mode, and the first display screen continuously outputs display content.

[0129] In some embodiments, the processor is further configured to mark the first display screen as being in the target mode if the screen of the electronic device in working state is the first display screen.

[0130] In some embodiments, the processor is also used to generate the second switching instruction if the screen of the electronic device in the working state is the second display screen; in response to the second switching instruction, switch the screen of the electronic device in the working state from the second display screen to the first display screen; and mark the first display screen as being in the target mode.

[0131] In some embodiments, the processor is further used to obtain a first input operation for target content displayed and output on the second display screen if the screen of the electronic device in working state is the second display screen; and switch the target content to the first display screen for output.

[0132] It should be noted that the description of the electronic device in the embodiment of the present application is similar to the description of the above-mentioned processing method, and has similar beneficial effects as the processing method, so it is not repeated. For technical details not disclosed in the electronic device embodiment, please refer to the description of the processing method of the present application for understanding.

[0133] Next, an application of a speech processing device in a practical scenario is provided.

[0134] In order to solve the problem in the related art that when a user uses the external screen (Caller Line Identification, CLI) (i.e., the first display screen) of a foldable mobile phone to watch a video, when the mobile phone is placed on the table in a tent manner, the angle between the first body and the second body of the foldable mobile phone exceeds a certain angle (e.g., about 90 degrees), the display content of the foldable mobile phone will automatically switch to the inner screen (Main screen) (i.e., the second display screen) for display, and cannot be displayed on the external screen all the time, which will affect the continuity of the user's operation.

[0135] Based on the problems existing in the related technology, an embodiment of the present application provides a screen locking solution, which can provide a locking function for the external screen. When the external screen lock is turned on, no matter what the unfolding angle of the folding machine is, the device always uses the external screen display, which is convenient for users to use under specific needs (such as tent mode).

[0136] Figure 4 is a schematic diagram of a process of unlocking the outer screen of a foldable device provided in an embodiment of the present application, such as Figure 4 As shown, opening the external screen lock includes steps S401 to S405:

[0137] S401. Turn on the external screen lock.

[0138] In some embodiments, turning on the external screen lock can be that when the user is using the external screen or the internal screen, he can click on the external screen lock component corresponding to the drop-down status bar or shortcut key on the screen to turn on the external screen lock function.

[0139] S402: Detect screen display status.

[0140] After the external screen lock is turned on, the display status of the current screen can be detected, that is, whether the current foldable mobile phone is displaying content on the external screen. The detection can be performed through the sensor of the foldable device.

[0141] S403: Is it currently displayed on the external screen?

[0142] In the embodiment of the present application, it is determined whether the current foldable mobile phone displays content on the external screen. If so, step S404 is executed; if not, step S405 is executed.

[0143] S404, external screen lock is turned on and off.

[0144] S405: Switch the internal screen display to the external screen display.

[0145] In the current embodiment, if the external screen is locked and content is currently displayed on the internal screen, the internal screen display can be switched to the external screen display.

[0146] Figure 5 is a schematic diagram of a process of closing the outer screen lock of a foldable device provided in an embodiment of the present application, such as Figure 5 As shown, closing the external screen lock includes steps S501 to S505:

[0147] Step S501: Turn off external screen lock.

[0148] In an embodiment of the present application, the external screen lock function can be turned off based on clicking the unlock external screen lock component corresponding to the drop-down status bar or shortcut key on the screen.

[0149] Step S502: Detect the current folding state.

[0150] The current folding state may be detected by a sensor of the folding device, for example, a Hall sensor may be used to determine the current angle of the folding device.

[0151] Step S503: Check whether the current state is folded.

[0152] Based on the angle, determine whether the current state is folded. If yes, execute step S504; if no, execute step S505.

[0153] Step S504: External screen lock is closed.

[0154] Step S505: Switch the external screen display to the internal screen display.

[0155] In an embodiment of the present application, if the outer screen lock is released and the mobile phone is in a non-folded, that is, unfolded state, the outer screen display can be switched to the inner screen display.

[0156] Figure 6 is a schematic diagram of the process of screen switching when the foldable device is unfolded provided in an embodiment of the present application, such as Figure 6 As shown, when the foldable device is unfolded, the screen switching includes steps S601 to S604:

[0157] Step S601: The folding machine is unfolded.

[0158] Step S602: Determine whether the external screen lock is on.

[0159] In the embodiment of the present application, when the folding machine is unfolded, it can be determined whether the external screen lock is turned on. If so, step S603 is executed; if not, step S604 is executed.

[0160] Step S603: Keep the external screen display.

[0161] In an embodiment of the present application, if the outer screen lock is turned on, the outer screen display will be maintained regardless of how the posture of the folding device changes, and the display content will not be switched to the inner screen even if the phone is unfolded.

[0162] Step S604: Switch the external screen display to the internal screen display.

[0163] In an embodiment of the present application, if the outer screen lock is turned off, the outer screen display of the foldable device can be switched to the inner screen display.

[0164] In some embodiments, the folding device can be provided with an external screen manager (CLI Manager), which is used to receive the opening and closing angle of the folding device cover and the angle of the gyroscope reported by relevant sensors (such as Hall sensors and gyroscopes, etc.), and determine the active display screen (active display) based on the information, that is, which display screen the folding device display content should be displayed on. If the current display content meets the switching conditions, the display content will be switched to the corresponding active display. Table 1 is the active display screen corresponding to the posture change of the folding device provided by the entity of this application, as shown in Table 1:

[0165] Table 1

[0166]

[0167] It can be seen from Table 1 that before the switching method of the present application exists, when the foldable mobile phone is in a folded state and the folding angle is less than 90 degrees, the content is displayed on the external screen. When the folding angle is greater than 90 degrees, the external screen will be switched to the internal screen. Based on the switching method provided in the embodiment of the present application, no matter how the angle of the folding device changes, after the external screen is locked, the content output on the external screen will not be switched to the internal screen display.

[0168] Figure 7 is a schematic diagram of the process of screen switching of a folding device provided in an embodiment of the present application, such as Figure 7 As shown, the folding device screen switching includes steps S701 to S703:

[0169] Step S701: receiving a folding device state change.

[0170] In an embodiment of the present application, a folding device state change may be received based on a receiving component (eg, Inout manager), and the folding device state change may be sent to an external screen manager (CLI Manager) based on a device state manager (device state manager).

[0171] Step S702: Determine whether the screen can be switched based on the state change.

[0172] Here, whether the screen can be switched can be determined based on whether the opening and closing state of the current foldable mobile phone has changed and whether the currently displayed content can be switched to the external screen. If yes, step S703 is executed; if no, the task is terminated without switching.

[0173] Step S703: Switch the display application to the external screen display.

[0174] Figure 8 is a flow chart of the external screen locking logic of a foldable device provided in an embodiment of the present application, such as Figure 8 As shown, the external screen locking logic of the folding device includes steps S801 to S806:

[0175] Step S801: Receive external screen lock information.

[0176] In an embodiment of the present application, the external screen manager (CLI Manager) receives an operation based on the external screen to determine whether there is an external screen lock. If yes, the external screen is locked; if not, the current display state is maintained.

[0177] Step S802: Determine whether the external screen is currently locked.

[0178] The processor confirms whether the current external screen is locked. If yes, it executes step S803. If not, it executes step S806, that is, using the screen switching process in the related art, when a switching event occurs, the screen display is switched.

[0179] Step S803: Ignore cover flipping and closing events of other sensors.

[0180] Here, if the outer screen is already locked, the flip-close events of other sensors are ignored. At this time, no matter how the angle of the foldable device changes, after the outer screen is locked, the content output from the outer screen will not be switched to the inner screen display.

[0181] Step S804: Whether the folding device is currently in an unfolded state.

[0182] In an embodiment of the present application, if the outer screen has been locked, it is possible to detect whether the foldable device is currently in an unfolded state (here, the inner screen may display content in the unfolded state).

[0183] Step S805: fold the device to close the cover.

[0184] Step S806: Switch the screen.

[0185] In the unfolded state, if the outer screen is locked and the folded device is closed, the screen is switched to switch the content displayed on the inner screen to the outer screen.

[0186] The embodiment of the present application can provide a locking function for the external screen. When the external screen lock is turned on, no matter what the unfolding angle of the folding machine is, the external screen is always used for display, which is convenient for users to use under specific needs.

[0187] The embodiments of the present application are not limited to the folding devices with inner and outer screens in the above embodiments. The embodiments of the present application are applicable to any electronic device with multiple screens, which may be, for example, an electronic device in the form of a laptop computer, having a first screen on a first surface of a first body and a second screen on a second surface of a second body, the laptop computer being in a closed state, with the first screen facing the second screen.

[0188] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

[0189] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0190] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, an element defined by the statement "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed.

[0191] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A processing method, the method comprising: Acquire sensing data, where the sensing data is used to characterize the posture of the electronic device; If the sensing data satisfies the switching condition and has marking information indicating that the first display screen is in the target mode, controlling the first display screen to output display content based on the marking information; The switching condition is used to characterize the switching of the screen of the electronic device in working state between the first display screen and the second display screen, the first display screen belongs to the electronic device, and the second display screen belongs to the electronic device.

2. The method according to claim 1, before controlling the first display screen to display output content based on the tag information, the method further comprises: Get the first input operation; Based on the first input operation, controlling the first display screen to be in a target mode; wherein the first display screen being in the target mode means that the first display screen is in a working state and has the highest priority; The first display screen being in the target mode includes: the first display screen is in a working state, the first display screen has marking information indicating that it is in the target mode, and the first display screen continuously outputs display content.

3. The method according to claim 2, wherein if the sensing data satisfies the switching condition and has marking information indicating that the first display screen is in the target mode, controlling the first display screen to output display content based on the marking information comprises at least one of the following situations: If the sensing data satisfies the first switching condition indicating that the first body and the second body are in a flattened state, a first switching instruction is generated, wherein the first switching instruction is used to switch the screen of the electronic device in a working state from the first display screen to the second display screen; wherein If the first body and the second body are in a flattened state, the second display screen is in a non-bent state; Based on the mark information indicating that the first display screen is in the target mode, ignoring the first switching instruction, and maintaining the first display screen to continuously output display content; or, If the sensing data satisfies a second switching condition indicating that the first body and the second body are in a folded state, a second switching instruction is generated, where the second switching instruction is used to switch the screen of the electronic device in a working state from the second display screen to the first display screen; If the first body and the second body are in a folded state, the second display screen is in a bent state; Based on the mark information indicating that the first display screen is in the target mode, the second switching instruction is ignored, and the first display screen is maintained to continuously output display content.

4. The method according to claim 3, wherein based on the first input operation, controlling the first display screen to be in a target mode comprises: If the screen of the electronic device in working state is the first display screen, the first display screen is marked as being in the target mode.

5. The method according to claim 3, wherein based on the first input operation, controlling the first display screen to be in a target mode comprises: If the screen of the electronic device in working state is the second display screen, generating the second switching instruction; In response to the second switching instruction, switching the screen of the electronic device in working state from the second display screen to the first display screen; The first display screen is marked as being in the target mode.

6. The method according to claim 5, wherein obtaining the first input operation comprises: If the screen of the electronic device in working state is the second display screen, obtaining a first input operation for the target content to be displayed and outputted on the second display screen; The controlling the first display screen to be in a target mode based on the first input operation further includes: The target content is switched to the first display screen for output.

7. The method according to claim 6, wherein the controlling the first display screen to be in a target mode based on the first input operation further comprises: The target content does not respond to an operation of changing the target content during output of the first display screen until a second input operation is obtained, where the second input operation is used to instruct the first display screen to exit the target mode.

8. An electronic device comprising: First display screen; a second display screen, wherein the first display screen and the second display screen are arranged in back-to-back relationship; A processor, used to obtain sensing data, wherein the sensing data is used to characterize the posture of the electronic device; If the sensing data satisfies the switching condition and has marking information indicating that the first display screen is in the target mode, the first display screen is controlled to output display content based on the marking information; wherein the switching condition is used to characterize the switching of the screen of the electronic device in a working state between the first display screen and the second display screen.

9. The electronic device according to claim 8, further comprising: first ontology; a second body, wherein the first body and the second body are rotatably connected via a hinge, the second display screen is located on the same side of the first body and the second body, and the first display screen is located on the other side of the first body or the second body; wherein, if the first body and the second body are in a flat state, the second display screen is in a non-bent state; and if the first body and the second body are in a folded state, the second display screen is in a bent state; The processor is further configured to generate a first switching instruction if the sensing data satisfies a first switching condition indicating that the first body and the second body are in a flattened state, wherein the first switching instruction is used to switch a screen of the electronic device in a working state from the first display screen to the second display screen; based on the marking information indicating that the first display screen is in a target mode, ignore the first switching instruction and maintain the first display screen to continuously output display content; or, The processor is further configured to generate a second switching instruction if the sensing data satisfies a second switching condition indicating that the first body and the second body are in a folded state, wherein the second switching instruction is configured to switch the screen of the electronic device in a working state from the second display screen to the first display screen; and based on marking information indicating that the first display screen is in a target mode, ignore the second switching instruction and maintain the first display screen to continuously output display content.

10. The electronic device according to claim 8 or 9, further comprising: The detection component includes at least a Hall sensor and a gyroscope, which are used to detect the posture of the electronic device and generate the sensing data.