WO2025241659A1 - Abnormal operation alerting method, electronic device, and storage medium - Google Patents
Abnormal operation alerting method, electronic device, and storage mediumInfo
- Publication number
- WO2025241659A1 WO2025241659A1 PCT/CN2025/081119 CN2025081119W WO2025241659A1 WO 2025241659 A1 WO2025241659 A1 WO 2025241659A1 CN 2025081119 W CN2025081119 W CN 2025081119W WO 2025241659 A1 WO2025241659 A1 WO 2025241659A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- pressure
- abnormal operation
- electronic device
- preset area
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/481—Exception handling
Definitions
- This application relates to the field of screen control technology, and in particular to methods for alerting abnormal operation, electronic devices, and storage media.
- foldable screens are becoming more diverse. Many users are accustomed to operating foldable screens with one hand when folding or unfolding them. One-handed operation requires pressing the screen with the thumb, often with considerable force. Pressing too hard can easily damage the screen, and fingernails, manicure nails, etc., can also scratch it, resulting in bright spots or black spots.
- the main purpose of this application is to provide a method for alerting abnormal operations, an electronic device, and a storage medium.
- this application proposes an abnormal operation reminder method for an electronic device with a foldable screen.
- the abnormal operation reminder method includes: determining the pressure position of the screen during a physical form switching process; and outputting an abnormal operation reminder when the pressure position is located within a preset area.
- this application also proposes an electronic device with a foldable screen.
- the electronic device includes a memory, a processor, and a computer program stored in the memory and running on the processor.
- the computer program is configured to implement the steps of the abnormal operation alert method described above.
- this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored.
- the computer program When the computer program is executed by a processor, it implements the steps of the abnormal operation alert method described above.
- this application also proposes an abnormal operation reminder device for use in an electronic device.
- the screen of the electronic device is foldable.
- the abnormal operation reminder device includes: a detection module configured to determine the pressure position of the screen during the physical form switching process of the screen of the electronic device; and a reminder module configured to output an abnormal operation reminder when the pressure position of the screen is located within the preset area.
- Figure 1 is a flowchart illustrating the first embodiment of the abnormal operation alert method provided in this application.
- Figure 2 is a schematic diagram of the external structure of the electronic device provided in an embodiment of this application.
- Figure 3 is a schematic diagram of the screen unfolding of the electronic device provided in an embodiment of this application.
- Figure 4 is a schematic diagram of the screen folding of the electronic device provided in the embodiment of this application.
- Figure 5 is a flowchart illustrating the second embodiment of the abnormal operation alert method provided in this application.
- Figure 6 is a schematic diagram of the screen structure of the electronic device provided in an embodiment of this application.
- Figure 7 is a schematic diagram of the screen switching to a folded state provided in an embodiment of this application.
- Figure 8 is a flowchart of a third embodiment of the abnormal operation alert method provided in this application.
- Figure 9 is a schematic diagram of the operation of switching the screen to the unfolded state according to an embodiment of this application.
- FIG. 10 is another flowchart of the third embodiment of the abnormal operation reminder method provided in this application.
- Figure 11 is a schematic diagram of screen splitting of the electronic device provided in the embodiment of this application.
- Figure 12 is a schematic diagram of the display screen partitions in Figure 11;
- Figure 13 shows an example of the preset area of the screen in Figure 11;
- Figure 14 is a flowchart of a fourth embodiment of the abnormal operation alert method provided in this application.
- Figure 15 is a schematic diagram of the camera position of the electronic device provided in the embodiment of this application.
- Figure 16 is another flowchart of the fourth embodiment of the abnormal operation reminder method provided in this application.
- Figure 17 shows an example of a foreign object in the space between the two split screens in Figure 15;
- Figure 18 is a flowchart illustrating the anomaly alert method provided in an embodiment of this application.
- Figure 19 is a schematic diagram of the module structure of the abnormal operation reminder device provided in the embodiment of this application.
- Figure 20 is a schematic diagram of the hardware structure of the electronic device involved in the embodiments of this application.
- This application provides a solution to the technical problem of damage to foldable screens due to improper use in related technologies.
- the main solution of this application embodiment is: during the physical form switching process of the screen of the electronic device, determine the pressure position of the screen; when the pressure position of the screen is located within a preset area, output an abnormal operation reminder.
- the solution provided in this application embodiment can continuously identify abnormal operation behaviors during the folding or unfolding of an electronic device screen. Once an abnormal operation is detected, an alert is issued so that the user is aware of the risk of screen damage and can stop the risky operation.
- the solution can accurately identify pressure operations in areas of the screen that are more easily damaged by pressure, thus avoiding finger pressure on the screen during folding. This reduces the risk of damage to the folding screen and extends its lifespan.
- An electronic device is a terminal device with data processing, network communication, and program execution functions, such as a mobile phone, tablet computer, laptop computer, wearable device, and vehicle terminal.
- a mobile phone such as a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart phone, a smart
- FIG. 1 is a flowchart illustrating the first embodiment of the abnormal operation reminder method provided in this application.
- This abnormal operation reminder method is applied to an electronic device with a foldable screen.
- the abnormal operation reminder method includes steps S10 to S20:
- Step S10 During the physical form switching process of the screen of the electronic device, determine the pressure position of the screen.
- the screen of an electronic device can be made of flexible materials, such as a flexible display screen, which is foldable.
- Figure 2 shows a schematic diagram of the external structure of an electronic device 100.
- the electronic device 100 includes a screen 110 and a casing 120 (not shown in Figure 2).
- the screen 110 is foldable, commonly known as a foldable screen, and the electronic device 100 can be called a foldable screen mobile phone.
- the flexible display screen used in the screen 110 can be an OLED (Organic Light-Emitting Diode) display, an AMOLED (Active-Matrix Organic Light-Emitting Diode) display, a Micro LED (Micro Light-Emitting Diode Display), etc.
- OLED Organic Light-Emitting Diode
- AMOLED Active-Matrix Organic Light-Emitting Diode
- Micro LED Micro Light-Emitting Diode Display
- Both the unfolded and folded states are physical forms of the screen.
- the screen can switch from an unfolded state to a folded state, and vice versa; this switching process is a physical form switching process.
- an electronic device may include two or more screens, enabling dual-screen or multi-screen folding. Any two screens can switch physical forms, including in the unfolded state where the two screens are combined to form a larger screen, and in the folded state where the two screens overlap to reduce the space occupied by the electronic device.
- Another example is an electronic device that may include a single screen, which can be divided into two or more sub-screens. Any two sub-screens can switch physical forms, including in the unfolded state where they directly present as a single large screen, and in the folded state where the two sub-screens overlap to achieve the folding of the screen.
- Figure 3 shows a schematic diagram of the unfolded screen of an electronic device
- Figure 4 shows a schematic diagram of the folded screen of an electronic device.
- the screen 110 is divided into upper and lower screens.
- the screen 110 is unfolded, as shown in Figure 3, it is a single screen; when the screen 110 is folded, as shown in Figure 4, the folded screen is folded inwards, and the two screens overlap.
- the outer casing 120 is set to correspond to the number of screens, that is, the screen 110 is divided into upper and lower screens, and the outer casing 120 is also divided into two parts accordingly.
- the pressure-affected position on the screen refers to the location of the point of contact between the finger or object and the screen when the screen is pressed by a finger or squeezed by a foreign object.
- an electronic device can receive the coordinate data of the contact point based on the screen's touch function, and then identify the position of the contact point based on this coordinate data to obtain the pressure-affected position.
- the electronic device can detect pressure data based on a pressure sensor or pressure sensing matrix located below the screen, and then identify the position of the contact point based on this pressure data to obtain the pressure-affected position.
- a cover plate can be placed on top of a flexible display screen, made of flexible materials or ultra-thin glass, its function is to protect the flexible display screen.
- these cover plates cannot effectively protect the flexible display screen itself.
- the screen surface i.e., the cover plate surface
- the screen is subjected to heavy pressure, or when there are hard foreign objects on the screen or cover plate when the cover is closed, the screen can easily be squeezed and damaged, resulting in damage such as colored bright spots or black spots on the flexible display screen underneath. Therefore, it is necessary to detect abnormal operations that can easily damage the screen and thus the flexible display screen, especially abnormal operations during physical form switching. Because physical form switching operations require more force, the screen is subjected to greater pressure, making it more susceptible to damage to the flexible display screen.
- the embodiments of this application determine the screen pressure position during the physical form switching process of the electronic device screen, specifically including directly determining the screen pressure position when the electronic device screen is switching to a folded state or switching to an unfolded state.
- step S10 is performed to realize screen pressure detection. This can promptly identify screen pressure caused by abnormal user operation during physical form switching, determine the screen pressure location, and provide timely abnormal operation reminders.
- Step S20 When the screen is under pressure within a preset area, output an abnormal operation alert.
- a preset area refers to a pre-defined area of the screen that is prone to damage.
- the preset area can be the entire screen or a portion of the screen, such as the center or lower-middle section.
- the preset area can be the overlapping area of the screens when they are folded, or the area at the joint where the screens are spliced together, or a certain range on either side of the joint.
- the preset area can be the overlapping area of the sub-screens when folded, or the area at the screen boundary, or a certain range on either side of the boundary. The choice is based on need and is not limited here.
- the preset area is the overlapping area of at least two screens in a folded state.
- the folding of the two screens can be inward or outward. Regardless of the folding method, there will always be an overlapping area after folding.
- This overlapping area can be used as a preset area.
- the preset area may be the entirety of both screens (the two screens completely overlap after folding), or it may be the entirety of one screen and a portion of the other screen (the two screens partially overlap after folding).
- the preset area is the overlapping area of the upper and middle screens after folding.
- the preset area may be the entire upper screen and the entire lower screen (the upper and lower screens completely overlap after folding), or it may be the entire upper screen and a portion of the middle screen (the upper and lower screens partially overlap after folding). If the upper and middle screens are foldable, and the middle and lower screens are also foldable, and the upper, lower, and middle screens completely overlap after folding, then the entirety of the upper, middle, and lower screens will be used as the preset area.
- preset areas can also be set according to the specific structure of the screen in the electronic device or the specific overlapping area after the screen is folded. This application embodiment does not make specific limitations.
- step S10 After determining the screen pressure location in step S10, it can be determined whether the screen pressure location is within a preset area. If the screen pressure location is within the preset area, it means that the user's finger may have pressed on an easily damaged area of the screen, and the risk of screen damage is relatively high. In other words, there is an abnormal operation at this time, and an abnormal operation reminder can be issued. If the screen pressure location is not within the preset area, it means that although the screen is under pressure, it may be a normal touch screen operation, and the user's finger has not pressed on an easily damaged area of the screen. The risk of screen damage is relatively low, and there is no abnormal operation at this time. No abnormal operation reminder is needed. At this time, it can return to step S10 to continue pressure detection and abnormal operation judgment, so as to realize that once the screen pressure location is found to be within the preset area, an abnormal operation reminder can be issued immediately.
- abnormal operation alerts refer to electronic devices notifying users of any abnormal behavior during the switching of the device's physical form.
- There are various ways to issue abnormal operation alerts such as using the device's processor to activate a motor for vibration, using a speaker for voice alerts, or displaying a pop-up window on the screen. These methods are not limited here.
- Abnormal operation alerts can be output directly or indirectly by the electronic device, such as sending alert commands via Bluetooth to the user's wristband, watch, or headphones, causing them to respond accordingly, including through vibration, voice, or pop-up windows.
- the methods for outputting abnormal operation alerts are not limited to these; they can be configured as needed in practical applications.
- This embodiment provides an abnormal operation alert method.
- the method can continuously identify abnormal operation behaviors during the folding or unfolding of the electronic device's screen. Once an abnormal operation is detected, an alert is issued so that the user is promptly aware of the risk of screen damage and can stop the risky operation.
- the method accurately identifies pressure operations in areas of the screen that are more easily damaged by pressure, avoiding finger pressure on the screen during folding, thereby reducing the risk of damage to the foldable screen and extending its lifespan.
- step S20 includes steps S211 to S212:
- Step S211 When the screen pressure position is within a preset area, detect the screen pressure at the screen pressure position.
- Screen pressure refers to the pressure exerted on the screen at the contact point between a finger or foreign object and the screen. Screen pressure can be detected using pressure sensors or pressure sensing matrices located beneath the screen.
- the screen 110 may include a touchscreen 113, a display screen 114, and a pressure screen 115 stacked from top to bottom.
- the touchscreen 113 can recognize finger touch actions and obtain the coordinate data of the finger to determine the pressure position on the screen.
- the pressure screen 115 can detect the touch pressure corresponding to the finger touch action to obtain the screen pressure. For example, when a finger touches the screen, the touchscreen 113 recognizes the finger touch action and provides corresponding coordinate data. Based on this coordinate data, it determines the specific position where the finger contacts the screen, obtaining the screen pressure position. When the screen pressure position is within a preset area, the pressure screen 115 collects the pressure applied by the finger to obtain the screen pressure at the pressure position.
- Step S212 If the pressure applied to the screen meets the abnormal pressure condition, output an abnormal operation reminder.
- An abnormal pressure condition refers to a preset pressure threshold value that may cause screen damage due to excessive pressure, or a preset pressure threshold range that may cause screen damage when pressure exceeding a certain range is applied to the screen.
- Meeting an abnormal pressure condition means that the pressure applied to the screen is less than the preset pressure threshold value, or that the pressure applied to the screen is within the preset pressure threshold range. The specific choice can be made according to actual needs and is not limited here.
- the preset area can include multiple parts, and the pressure abnormality conditions of each part can be set accordingly.
- the screen pressure at the pressure location is detected, and the pressure magnitude is compared based on the corresponding pressure abnormality conditions of that part. This allows for targeted alerts for abnormal operations in different areas or at different levels.
- the electronic device detects the screen pressure and determines whether the screen pressure meets the abnormal pressure conditions. For example, it determines whether the screen pressure exceeds the set threshold. If so, it means that the user has not only pressed a vulnerable area on the screen, but also pressed a large amount of pressure, resulting in a very high risk of screen damage. In other words, there is an abnormal operation, and an abnormal operation reminder can be issued. Specifically, the electronic device outputs the abnormal operation reminder. If not, no action is required and no reminder is needed. At this time, the process can return to step S10 to continue detecting the pressure position, pressure magnitude, and abnormal operation.
- This embodiment provides an abnormal operation reminder method, which differs from the first embodiment in that it judges abnormal operation only by the pressure position of the screen. Specifically, it judges abnormal operation by combining the pressure position of the screen and the pressure applied to the screen. It identifies obvious abnormal operations that are pressed into a preset area that is easily damaged and the pressure is too high, and promptly reminds users of the abnormal operation so that they can stop the abnormal operation as soon as possible and avoid damaging the screen of the electronic device.
- step S20 may include two feasible implementation methods.
- the physical form switching process includes switching to a folded state.
- Figure 7 illustrates the operation of switching the screen to a folded state.
- a foldable phone screen consisting of two halves (top and bottom) as an example
- many users habitually fold the screen with one hand as shown in Figure 7.
- Folding the screen is a physical change in screen form.
- folding the screen with one hand requires pressing down on the bottom half with considerable force, which can easily damage the screen, resulting in bright spots or black spots. Therefore, it is necessary to identify this abnormal one-handed screen folding operation and provide corresponding alerts.
- the position where the thumb presses the screen 110 is the screen pressure position, and the contact point between the finger and the screen corresponding to the screen pressure position is a pressure point 150.
- step S10 includes step S101:
- Step S101 During the process of switching the screen of the electronic device to a folded state, determine the pressure position of the screen.
- step S20 includes steps S221 to S222:
- Step S221 Determine the number of pressure points on the screen based on the pressure location of the screen.
- Step S222 When there is only one pressure point and the pressure point on the screen is within a preset area, output an abnormal operation reminder.
- the pressure point refers to the contact point at the corresponding position when a finger or foreign object comes into contact with the screen. As shown in Figure 7, when a folding operation is performed with one hand, there is one pressure point 150 corresponding to the pressure position of the screen.
- the electronic device determines the pressure point on the screen, and confirms that there is only one pressure point, and also recognizes that the pressure point is within a preset area, it indicates that the user is folding the screen with one hand.
- This operation is a risky operation that could easily damage the screen, and an abnormal operation alert is required. That is, when the electronic device determines that there is only one pressure point and the pressure point is within the preset area, it outputs an abnormal operation alert.
- the touch screen 113 of the screen 110 can provide reporting point coordinate data.
- the electronic device confirms that a finger is touching the screen 110 based on the reporting point coordinate data, and determines the specific position based on the reporting point coordinate data to obtain the screen pressure position. Then, it also determines the number of pressure points 150 on the screen 110 according to the number of screen pressure positions. If the number of pressure points 150 is one, and the screen pressure position is located within a preset area, it is determined that there is an abnormal operation, and the electronic device provides an abnormal operation reminder.
- the single-hand folding operation is specifically identified.
- representative and typical risky operations that are prone to screen damage are accurately identified, and corresponding accurate abnormal operation reminders are given.
- the physical form switching process includes switching to the unfolded state.
- Figure 9 illustrates the operation of switching the screen to the unfolded state.
- a foldable phone screen consisting of two halves (top and bottom)
- the thumb needs to be inserted between the overlapping folded screen halves, pressing down on the bottom half and then pushing up the top half to unfold the entire device.
- Unfolding the screen is a physical change in screen form. If the screen is unfolded with one hand during this process, the thumb needs to push up the top half with considerable force, which can easily damage the screen, causing bright spots or black spots. Therefore, it is necessary to identify this abnormal one-handed screen unfolding operation and provide corresponding alerts.
- the position where the thumb presses the screen 110 is the screen pressure position.
- the thumb presses between the folded screens there are two screen pressure positions.
- the first pressure point 151 is the position where the finger presses the screen
- the second pressure point 152 is the position where the finger presses against the screen.
- the positions of the first pressure point 151 and the second pressure point 152 are symmetrical.
- step S10 includes step S102:
- Step S102 During the process of switching the screen of the electronic device to the unfolded state, determine the pressure position of the screen.
- step S20 includes steps S231 to S232:
- Step S231 Determine the number of pressure points on the screen based on the pressure location on the screen.
- Step S232 When there are two pressure points and the two pressure points are symmetrically positioned, and the pressure point on the screen is within a preset area, output an abnormal operation reminder.
- the electronic device determines the pressure points on the screen, and confirms that there are two pressure points that are symmetrical, and if it also detects that both pressure points are within a preset area, it indicates that the user is unfolding the screen with one hand. This operation is considered a risky operation that could easily damage the screen, and an abnormal operation alert is required. In other words, the electronic device outputs an abnormal operation alert when it confirms that there are two pressure points that are symmetrical and that the pressure points are within a preset area.
- the touch screen 113 of the screen 110 can provide two sets of reporting coordinate data.
- the electronic device confirms that a finger is touching the screen 110 based on the reporting coordinate data, and determines the specific position based on the reporting coordinate data to obtain two screen pressure positions. Then, it also determines the number of pressure points on the screen 110 according to the number of screen pressure positions. If the number of pressure points is two, and the two pressure points are determined to be symmetrical based on the screen pressure positions, and both screen pressure positions are located within a preset area, it can be determined that there is an abnormal operation, and the electronic device will issue an abnormal operation reminder.
- the operation of unfolding the screen with one hand is specifically identified.
- representative and typical risky operations that are prone to screen damage are accurately identified, and corresponding accurate abnormal operation reminders are given.
- the difference between the first and second embodiments described above lies in the different physical form switching processes, which results in different identification methods for subsequent one-handed operations, specifically one-handed folding or one-handed unfolding.
- the first embodiment identifies abnormal operations of one-handed folding
- the second embodiment identifies abnormal operations of one-handed unfolding.
- both embodiments can improve the accuracy of abnormal operation identification, thereby improving the accuracy of abnormal operation alerts.
- step S20 in the third embodiment of the abnormal operation reminder method provided in this application.
- the screen pressure at the pressure-bearing position can be further detected, and an abnormal operation reminder can be output only when the screen pressure meets the abnormal pressure condition, so as to further improve accuracy.
- This application does not specifically limit the specific implementation of step S20.
- the screen of the electronic device includes at least two split screens.
- the following description uses an example including two split screens.
- FIG 11 shows a schematic diagram of the screen splitting of an electronic device.
- Screen 110 includes a first split screen 111 and a second split screen 112. When screen 110 is folded, the first split screen 111 and the second split screen 112 overlap.
- Figure 12 shows a schematic diagram of the display screen partitioning in Figure 11.
- screen 110 includes a touchscreen 113, a display screen 114, and a pressure-sensitive screen 115.
- the central area of display screen 114 is a fully etched area 131, and the areas on either side of the fully etched area 131 are semi-etched areas 132.
- the bending area corresponding to the fully etched area 131 is teardrop-shaped and has relatively low bending stress.
- the semi-etched areas 132 reduce the stress in the bending area.
- the screen areas corresponding to the fully etched area 131 if the pressure is too high, the screen deformation in that area will be significant, leading to damage such as bright spots or black spots on display screen 114. Therefore, the screen areas corresponding to the fully etched area 131 and/or the semi-etched area 132 in display screen 114 are more prone to damage and are considered high-risk areas.
- FIG 13 is an example of the preset area of the screen in Figure 11.
- the preset area in the screen 110 corresponds to the fully etched area 131, or to the area within a preset range of the fully etched area 131 and its vicinity. That is to say, the preset area can be the boundary area of two adjacent split screens or the preset range area on both sides of the boundary area.
- the preset area here is the first area 130, specifically the boundary area between the first split screen 111 and the second split screen 112, as well as the lower fifth of the first split screen 111 and the upper fifth of the second split screen 112.
- the area size can be adjusted accordingly. This is only an example and is not specifically limited.
- preset areas can be set accordingly. This allows for a more accurate comparison between the pressure points on the screen and the preset areas, enabling the accurate identification of high-risk abnormal operations and the output of abnormal operation alerts.
- FIG14 is a flowchart of a fourth embodiment of the abnormal operation reminder method provided in this application, wherein step S10 includes steps S11 to S13:
- Step S11 Determine the included angle between two adjacent split screens.
- Step S12 When the screen is determined to be in the process of physical form switching based on the included angle, obtain the touch screen coordinate data.
- Step S13 Determine the pressure position on the screen based on the touch screen coordinate data.
- the angle between two adjacent split screens can be determined by the acceleration of electronic devices in different directions. This angle can then be used to identify the state between the two split screens; for example, when the angle is 0 degrees, the two split screens are folded and overlap; when the angle is 180 degrees, the two split screens unfold and form a complete screen.
- the specific physical form switching process of the screen can also be identified based on changes in the angle.
- Touchscreen coordinate data refers to the coordinate data of the contact point between a finger or foreign object and the screen. Touchscreen coordinate data can be obtained using the screen's display or pressure-sensitive screen, or using a three-axis accelerometer or three-axis gyroscope located under the screen.
- a first sensor 141 can be disposed below the first split screen 111 within the housing 120 of the electronic device 100, and a second sensor 142 can be disposed below the second split screen 112 within the housing 120.
- Both the first sensor 141 and the second sensor 142 are three-axis accelerometers or three-axis gyroscopes.
- the first sensor 141 can be disposed on the main board of the first split screen 111
- the second sensor 142 can be disposed on the main board of the second split screen 112.
- the angle between the first split screen 111 and the second split screen 112 can be detected by the first sensor 141 and the second sensor 142.
- step S12 includes step S121:
- Step S121 If the screen is determined to be in the initial stage of the physical form switching process based on the included angle, obtain the touch screen coordinate data.
- the touch screen coordinate data can be obtained at the beginning of the process and will continue to be obtained until the screen is in a folded state after the folding operation is completed or in an unfolded state after the unfolding operation is completed.
- the current physical form switching process can be determined as a switch to the folded state.
- a switch to the folded state can be determined as a switch to the folded state.
- Specific settings can be selected as needed and are not limited here.
- the starting stage of the switch to the folded state refers to the initial stage when the screen begins to fold from the fully unfolded state, such as when the angle decreases from 180° to 150°, at which point touch screen coordinate data is acquired.
- the current physical form switching process can be determined as a switch to the unfolded state.
- the starting stage of the switch to the unfolded state refers to the initial stage when the screen begins to unfold from a fully folded state, such as when the angle increases from 0° to 30°, at which point touchscreen coordinate data is acquired.
- the specific physical form switching process of the screen is determined by the angle between the folding screens.
- the timing for obtaining touch screen coordinate data or the subsequent abnormal operation recognition method can be selected according to the specific physical form switching process.
- the screen of the electronic device also includes a camera, which is located on either of two adjacent split screens, and the physical form switching process includes switching to a folded state.
- the screen 110 also includes a camera 160, which is set on the first split screen 111, specifically a front-facing camera.
- the shooting area of the camera 160 is shown by the dotted line in Figure 15, and it shoots the space between the first split screen 111 and the second split screen 112. It can be understood that the shooting area can also be adjusted according to actual needs.
- step S20 includes steps S241 to S243:
- Step S241 If the screen is determined to be in a physical form switching process based on the included angle, the camera is activated.
- Step S242 Based on the images captured by the camera, perform foreign object detection on the space between two adjacent split screens to obtain the foreign object detection result.
- Step S243 If the foreign object detection result indicates the presence of a foreign object and/or the screen pressure position is located within a preset area, an abnormal operation alert is output.
- Foreign object detection can be achieved using image recognition technology, deep learning classification algorithms, machine learning models, etc. Specifically, it involves detecting images captured by the camera to identify foreign objects that may damage the screen. There are various methods for foreign object detection, which are not limited here.
- Figure 17 illustrates an example of a foreign object present in the space between the two split screens in Figure 15.
- a foreign object 200 exists between the first split screen 111 and the second split screen 112
- the object 200 will be trapped when the two split screens are folded. Since the screen itself is flexible, the foreign object 200 can easily squeeze the screen, potentially causing damage such as bright spots or black spots. Therefore, in addition to the possibility of screen damage from finger pressure, if a foreign object exists in the folding space (between the two split screens), even if the potential damage from finger pressure is overcome, screen damage may still occur after folding. Therefore, a foreign object detection function could be further provided.
- step S11 when the screen is in the process of switching to the folded state based on the included angle, the electronic device activates the camera, performs foreign object detection based on the image captured by the camera, obtains the foreign object detection result, and then, based on the screen pressure position in step S13 and the foreign object detection result in step S242, if the foreign object detection result indicates the presence of a foreign object, or if the screen pressure position is within a preset area, an abnormal operation reminder is output.
- an abnormal operation reminder is output.
- the specific settings can be selected according to actual needs.
- step S241 includes step S2411:
- Step S2411 When it is determined that the screen is in the process of physical form switching, the camera is activated and the other split screen in the two adjacent split screens that does not have a camera set up is controlled to display a preset image.
- the preset image can be a solid color image, such as a pure white image, or it can be another pre-stored image that is easy to identify if there are foreign objects on the screen surface corresponding to the other split screen. There are no restrictions here.
- the other split screen that does not have a camera is the second split screen 112.
- the electronic device When the electronic device is switching to the folded state, it can simultaneously control the second split screen 112 to display a preset image while activating the camera 160.
- another split screen is controlled to display a preset image. This makes the detection results more accurate when performing foreign object detection based on the images captured by the camera, thereby improving the accuracy of abnormal operation alerts.
- the abnormal operation reminder method provided in this application relies on program improvement to identify and remind users of potential risks to the screen. Without increasing costs, it can identify abnormal operations and eliminate risks, prevent the screen from being damaged by pressure, extend the folding life of the display screen and reduce damage from bending the screen, thereby meeting the usage needs of more users and improving the usability of the product and the user experience.
- This application embodiment also provides an anomaly alert method applied to an electronic device, wherein the screen of the electronic device is foldable and includes at least two split screens; the screen of the electronic device also includes a camera.
- Figure 18 is a flowchart illustrating the anomaly alert method provided in this application embodiment, which includes steps s10 to s30:
- Step s10 During the physical form switching process of the electronic device screen, the camera is activated; wherein, the physical form switching process includes the process of switching to a folded state.
- Step s20 Based on the images captured by the camera, perform foreign object detection on the space between two adjacent split screens to obtain the foreign object detection results.
- Step s30 If the foreign object detection result indicates the presence of a foreign object, output an abnormality alert.
- step s10 includes step s110:
- Step s110 During the physical form switching process of the electronic device screen, the camera is activated and the preset image is displayed on the other of the two adjacent split screens that does not have a camera.
- step s10 includes steps s121 to s122:
- Step s121 Determine the included angle between two adjacent split screens.
- Step s122 If the screen is determined to be in a physical form switching process based on the included angle, the camera is activated.
- step s30 includes steps s310 to s320:
- Step s310 If the screen is in the process of physical form switching based on the included angle, determine the pressure position of the screen.
- Step s320 If the foreign object detection result indicates the presence of a foreign object and/or the screen pressure location is within a preset area, an abnormality alert is output.
- the difference between the anomaly alert method provided in this application and the aforementioned abnormal operation alert method lies in that, in addition to foreign object detection and alerting, it adds abnormal operation identification and alerting functions.
- This anomaly alert method can solve the technical problems in related technologies where foreign objects cause damage to foldable screens, and improper use causes damage to foldable screens.
- the beneficial effects and other technical features of the anomaly alert method provided in this application can be referred to the description in the aforementioned abnormal operation alert method embodiments, and will not be repeated here.
- FIG19 provides a schematic diagram of the module structure of an abnormal operation reminder device.
- the abnormal operation reminder device is applied to an electronic device with a foldable screen.
- the abnormal operation reminder device includes: a detection module M10, configured to determine the pressure position of the screen during the physical form switching process of the screen of the electronic device; and a reminder module M20, configured to output an abnormal operation reminder when the pressure position of the screen is located within a preset area.
- the preset area is the overlapping area of at least two screens in a folded state.
- the reminder module M20 is further configured to detect the screen pressure at the screen pressure location when the screen pressure location is within a preset area; and to output an abnormal operation reminder when the screen pressure meets the abnormal pressure condition.
- the physical form switching process includes switching to a folded state; the reminder module M20 is also configured to determine the number of pressure points on the screen based on the pressure position of the screen; and output an abnormal operation reminder when the number of pressure points is one and the pressure position of the screen is within a preset area.
- the physical form switching process includes switching to the unfolded state; the reminder module M20 is also configured to determine the number of pressure points on the screen based on the screen pressure position; and output an abnormal operation reminder when there are two pressure points and the two pressure points are symmetrically positioned, and the screen pressure position is located within a preset area.
- the screen includes at least two sub-screens; the detection module M10 is also configured to determine the angle between two adjacent sub-screens; when it is determined that the screen is in a physical form switching process based on the angle, it acquires touch screen coordinate data; and determines the pressure position of the screen based on the touch screen coordinate data.
- the detection module M10 is also configured to acquire touch screen coordinate data when the screen is determined to be in the initial stage of a physical form switching process based on the included angle.
- the screen of the electronic device also includes a camera, which is located on either of two adjacent split screens.
- the physical form switching process includes switching to a folded state.
- the reminder module M20 is also configured to activate the camera when the screen is determined to be in a physical form switching process based on the included angle.
- the camera is used to detect foreign objects in the space between the two adjacent split screens based on the image captured by the camera, and a foreign object detection result is obtained. If the foreign object detection result indicates the presence of a foreign object and/or the screen pressure position is located within a preset area, an abnormal operation reminder is output.
- the reminder module M20 is also configured to activate the camera and control the other of the two adjacent split screens that does not have a camera to display a preset image when it is determined that the screen is in the process of physical form switching.
- the abnormal operation reminder device provided in this application employing the abnormal operation reminder method described in the above embodiments, can solve the technical problem in related technologies where improper use leads to damage to foldable screens.
- the beneficial effects of the abnormal operation reminder device provided in this application are the same as those of the abnormal operation reminder method provided in the above embodiments, and other technical features of this abnormal operation reminder device are the same as those disclosed in the abnormal operation reminder method of the above embodiments, and will not be repeated here.
- This application also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the abnormal operation alert method in the above embodiments.
- FIG20 illustrates a schematic diagram of a hardware structure suitable for implementing an electronic device according to embodiments of the present application.
- the electronic device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptops, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), etc.
- the electronic device shown in FIG20 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present application.
- the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004.
- the RAM 1004 also stores various programs and data required for the operation of the electronic device.
- the processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005.
- An input/output (I/O) interface 1006 is also connected to the bus 1005.
- I/O interface 1006 input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009.
- Communication device 1009 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data.
- embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts.
- the computer program can be downloaded and installed from a network via communication device 1009, or installed from storage device 1003, or installed from ROM 1002.
- processing device 1001 it performs the functions defined in the abnormal operation alert method disclosed in the embodiments of this application.
- the electronic device provided in this application employing the abnormal operation reminder method in the above embodiments, can solve the technical problem in related technologies where improper use leads to damage to the foldable screen.
- the beneficial effects of the electronic device provided in this application are the same as those of the abnormal operation reminder method provided in the above embodiments, and other technical features of this electronic device are the same as those disclosed in the abnormal operation reminder method of the above embodiments, and will not be repeated here.
- This application also provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the abnormal operation alert method in the above embodiments.
- computer-readable program instructions i.e., a computer program
- the computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, an instruction execution system, system, or device that is electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc., or any suitable combination thereof, having one or more wires that are electrically connected.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory erasable programmable read-only memory
- CD-ROM portable compact disk read-only memory
- CD-ROM compact disk read-only memory
- magnetic storage devices etc., or any suitable combination thereof, having one or more wires that are electrically connected.
- the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device.
- the program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
- the aforementioned computer-readable storage medium may be included in an electronic device; or it may exist independently and not assembled into an electronic device.
- the aforementioned computer-readable storage medium carries one or more programs, which, when executed by an electronic device, cause the electronic device to:
- Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages.
- the program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
- the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer, for example, via the Internet using an Internet service provider.
- LAN local area network
- WAN wide area network
- each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function.
- the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
- each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
- the modules described in the embodiments of this application can be implemented in software or hardware.
- the names of the modules do not necessarily limit the functionality of the unit itself.
- the storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., a computer program) for executing the above-described abnormal operation reminder method, and can solve the technical problem in related technologies where improper use leads to damage to foldable screens.
- computer-readable program instructions i.e., a computer program
- the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the abnormal operation reminder method provided in the above embodiments, and will not be repeated here.
- This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described abnormal operation alert method.
- the computer program product provided in this application can solve the technical problem of damage to foldable screens caused by improper use in related technologies. Compared with related technologies, the beneficial effects of the computer program product provided in this application are the same as those of the abnormal operation reminder method provided in the above embodiments, and will not be repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
相关申请Related applications
本申请要求于2024年5月24号申请的、申请号为202410656267.X的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese patent application No. 202410656267.X, filed on May 24, 2024, the entire contents of which are incorporated herein by reference.
本申请涉及屏幕控制技术领域,尤其涉及异常操作提醒方法、电子设备及存储介质。This application relates to the field of screen control technology, and in particular to methods for alerting abnormal operation, electronic devices, and storage media.
随着手机、平板电脑、笔记本电脑等终端越来越多地使用可折叠屏幕,折叠屏逐渐多样化。在折叠或展开折叠屏的操作中,很多用户都习惯单手操作。单手操作时需要大拇指按压住屏幕,并且用力较大,大力按压屏幕容易导致屏幕压伤,指甲、美甲等还容易刮伤屏幕,致使屏幕出现彩色亮点或黑团等损伤。With the increasing use of foldable screens in mobile phones, tablets, laptops, and other devices, foldable screens are becoming more diverse. Many users are accustomed to operating foldable screens with one hand when folding or unfolding them. One-handed operation requires pressing the screen with the thumb, often with considerable force. Pressing too hard can easily damage the screen, and fingernails, manicure nails, etc., can also scratch it, resulting in bright spots or black spots.
本申请的主要目的在于提供一种异常操作提醒方法、电子设备及存储介质。The main purpose of this application is to provide a method for alerting abnormal operations, an electronic device, and a storage medium.
为实现上述目的,本申请实施例提出一种异常操作提醒方法,应用于电子设备,所述电子设备的屏幕可折叠,所述异常操作提醒方法包括:在所述电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置;在所述屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。To achieve the above objectives, this application proposes an abnormal operation reminder method for an electronic device with a foldable screen. The abnormal operation reminder method includes: determining the pressure position of the screen during a physical form switching process; and outputting an abnormal operation reminder when the pressure position is located within a preset area.
此外,为实现上述目的,本申请实施例还提出一种电子设备,所述电子设备的屏幕可折叠,所述电子设备包括:存储器、处理器及存储在所述存储器上并在所述处理器上运行的计算机程序,所述计算机程序配置为实现如上所述的异常操作提醒方法的步骤。Furthermore, to achieve the above objectives, this application also proposes an electronic device with a foldable screen. The electronic device includes a memory, a processor, and a computer program stored in the memory and running on the processor. The computer program is configured to implement the steps of the abnormal operation alert method described above.
此外,为实现上述目的,本申请实施例还提出一种存储介质,所述存储介质为计算机可读存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的异常操作提醒方法的步骤。Furthermore, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the abnormal operation alert method described above.
此外,为实现上述目的,本申请实施例还提出一种异常操作提醒装置,应用于电子设备,所述电子设备的屏幕可折叠,所述异常操作提醒装置包括:检测模块,被设置为在所述电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置;提醒模块,被设置为在所述屏幕受压位置位于所述预设区域内的情况下,输出异常操作提醒。Furthermore, to achieve the above objectives, this application also proposes an abnormal operation reminder device for use in an electronic device. The screen of the electronic device is foldable. The abnormal operation reminder device includes: a detection module configured to determine the pressure position of the screen during the physical form switching process of the screen of the electronic device; and a reminder module configured to output an abnormal operation reminder when the pressure position of the screen is located within the preset area.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请实施例的原理。The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of the embodiments of this application.
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
图1为本申请实施例提供的异常操作提醒方法第一实施例的流程示意图;Figure 1 is a flowchart illustrating the first embodiment of the abnormal operation alert method provided in this application.
图2为本申请实施例提供的电子设备的外观结构示意图;Figure 2 is a schematic diagram of the external structure of the electronic device provided in an embodiment of this application;
图3为本申请实施例提供的电子设备的屏幕展开示意图;Figure 3 is a schematic diagram of the screen unfolding of the electronic device provided in an embodiment of this application;
图4为本申请实施例提供的电子设备的屏幕折叠示意图;Figure 4 is a schematic diagram of the screen folding of the electronic device provided in the embodiment of this application;
图5为本申请实施例提供的异常操作提醒方法第二实施例的流程示意图;Figure 5 is a flowchart illustrating the second embodiment of the abnormal operation alert method provided in this application.
图6为本申请实施例提供的电子设备的屏幕结构示意图;Figure 6 is a schematic diagram of the screen structure of the electronic device provided in an embodiment of this application;
图7为本申请实施例提供的屏幕切换至折叠状态的操作示意图;Figure 7 is a schematic diagram of the screen switching to a folded state provided in an embodiment of this application;
图8为本申请实施例提供的异常操作提醒方法第三实施例的一种流程示意图;Figure 8 is a flowchart of a third embodiment of the abnormal operation alert method provided in this application.
图9为本申请实施例提供的屏幕切换至展开状态的操作示意图;Figure 9 is a schematic diagram of the operation of switching the screen to the unfolded state according to an embodiment of this application;
图10为本申请实施例提供的异常操作提醒方法第三实施例的另一流程示意图;Figure 10 is another flowchart of the third embodiment of the abnormal operation reminder method provided in this application;
图11为本申请实施例提供的电子设备的屏幕分屏示意图;Figure 11 is a schematic diagram of screen splitting of the electronic device provided in the embodiment of this application;
图12为图11中屏幕的显示屏分区示意图;Figure 12 is a schematic diagram of the display screen partitions in Figure 11;
图13为图11中屏幕的预设区域示例;Figure 13 shows an example of the preset area of the screen in Figure 11;
图14为本申请实施例提供的异常操作提醒方法第四实施例的一种流程示意图;Figure 14 is a flowchart of a fourth embodiment of the abnormal operation alert method provided in this application.
图15为本申请实施例提供的电子设备的摄像头位置示意图;Figure 15 is a schematic diagram of the camera position of the electronic device provided in the embodiment of this application;
图16为本申请实施例提供的异常操作提醒方法第四实施例的另一流程示意图;Figure 16 is another flowchart of the fourth embodiment of the abnormal operation reminder method provided in this application;
图17为图15中两个分屏之间的空间存在异物的示例;Figure 17 shows an example of a foreign object in the space between the two split screens in Figure 15;
图18为本申请实施例提供的异常提醒方法的流程示意图;Figure 18 is a flowchart illustrating the anomaly alert method provided in an embodiment of this application;
图19为本申请实施例提供的异常操作提醒装置的模块结构示意图;Figure 19 is a schematic diagram of the module structure of the abnormal operation reminder device provided in the embodiment of this application;
图20为本申请实施例涉及的电子设备的硬件结构示意图。Figure 20 is a schematic diagram of the hardware structure of the electronic device involved in the embodiments of this application.
附图标号说明:
100、电子设备;110、屏幕;111、第一分屏;112、第二分屏;113、触摸屏;114、
显示屏;115、压力屏;120、外壳;130、第一区域;131、全蚀刻区;132、半蚀刻区;141、第一传感器;142、第二传感器;150、受压点;151、第一受压点;152、第二受压点;160、摄像头;200、异物。Explanation of icon numbers:
100. Electronic device; 110. Screen; 111. First split screen; 112. Second split screen; 113. Touch screen; 114.
115. Display screen; 120. Housing; 130. First area; 131. Fully etched area; 132. Half-etched area; 141. First sensor; 142. Second sensor; 150. Pressure point; 151. First pressure point; 152. Second pressure point; 160. Camera; 200. Foreign object.
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings.
应当理解,此处所描述的具体实施例仅仅用以解释本申请的技术方案,并不用于限定本申请。It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
为了更好的理解本申请的技术方案,下面将结合说明书附图以及具体的实施方式进行详细的说明。To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
针对相关技术中存在使用不当导致折叠屏损伤的技术问题,本申请提供了解决方案。This application provides a solution to the technical problem of damage to foldable screens due to improper use in related technologies.
本申请实施例的主要解决方案是:在电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置;在屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。The main solution of this application embodiment is: during the physical form switching process of the screen of the electronic device, determine the pressure position of the screen; when the pressure position of the screen is located within a preset area, output an abnormal operation reminder.
本申请实施例提供的解决方案,可以在折叠或展开电子设备的屏幕的过程中,持续识别异常操作行为,一旦发现存在异常操作便进行提醒,以便用户及时知晓当前操作存在导致屏幕损伤的风险,从而停止该风险操作;通过设置预设区域,对于屏幕上更容易被压伤的区域,准确识别被压操作,避免折叠时手指压伤屏幕,实现了降低折叠屏的损伤风险,延长屏幕使用寿命的效果。The solution provided in this application embodiment can continuously identify abnormal operation behaviors during the folding or unfolding of an electronic device screen. Once an abnormal operation is detected, an alert is issued so that the user is aware of the risk of screen damage and can stop the risky operation. By setting a preset area, the solution can accurately identify pressure operations in areas of the screen that are more easily damaged by pressure, thus avoiding finger pressure on the screen during folding. This reduces the risk of damage to the folding screen and extends its lifespan.
在本申请实施例中,为便于表述,以下以电子设备为执行主体进行阐述。In the embodiments of this application, for ease of description, the following description uses an electronic device as the execution subject.
电子设备是一种具有数据处理、网络通信以及程序运行功能的终端设备,例如手机、平板电脑、笔记本电脑、可穿戴设备、车载终端等。下面以手机为例,对本申请实施例及下述各实施例或实施方式进行详细说明。An electronic device is a terminal device with data processing, network communication, and program execution functions, such as a mobile phone, tablet computer, laptop computer, wearable device, and vehicle terminal. The following description uses a mobile phone as an example to illustrate the embodiments of this application and the various embodiments or implementation methods described below.
基于此,本申请实施例提供了一种异常操作提醒方法,参照图1,图1为本申请实施例提供的异常操作提醒方法第一实施例的流程示意图。该异常操作提醒方法应用于电子设备,电子设备的屏幕可折叠,异常操作提醒方法包括步骤S10~S20:Based on this, this application provides an abnormal operation reminder method. Referring to Figure 1, Figure 1 is a flowchart illustrating the first embodiment of the abnormal operation reminder method provided in this application. This abnormal operation reminder method is applied to an electronic device with a foldable screen. The abnormal operation reminder method includes steps S10 to S20:
步骤S10,在电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置。Step S10: During the physical form switching process of the screen of the electronic device, determine the pressure position of the screen.
电子设备的屏幕可以采用柔性材质如柔性显示屏,具有可折叠性。一种示例性的,以电子设备为手机举例,如图2所示为电子设备的外观结构示意图,电子设备100包括屏幕110和外壳120(图2未示出),屏幕110可折叠,俗称折叠屏,电子设备100则可称为折叠屏手机。示例性的,屏幕110采用的柔性显示屏,例如OLED(Organic Light-Emitting Diode:有机电激光显示、有机发光半导体)显示屏、AMOLED(Active-Matrix Organic Light-Emitting Diode:有源矩阵有机发光二极体或主动矩阵有机发光二极体)显示屏、Micro LED(Micro Light Emitting Diode Display:微发光二极管)显示屏等等,这些柔性显示屏使用柔性材料作为基材,具有可折叠性。The screen of an electronic device can be made of flexible materials, such as a flexible display screen, which is foldable. As an example, taking a mobile phone as an example, Figure 2 shows a schematic diagram of the external structure of an electronic device 100. The electronic device 100 includes a screen 110 and a casing 120 (not shown in Figure 2). The screen 110 is foldable, commonly known as a foldable screen, and the electronic device 100 can be called a foldable screen mobile phone. For example, the flexible display screen used in the screen 110 can be an OLED (Organic Light-Emitting Diode) display, an AMOLED (Active-Matrix Organic Light-Emitting Diode) display, a Micro LED (Micro Light-Emitting Diode Display), etc. These flexible display screens use flexible materials as substrates and are foldable.
展开状态与折叠状态均属于屏幕的物理形态,屏幕可以从展开状态切换至折叠状态,也可以从折叠状态切换至展开状态,两种状态的切换过程属于物理形态切换过程。一种示例性的,电子设备可包括两个或两个以上的屏幕,实现双屏折叠或多屏折叠,其任意两个屏幕可进行物理形态切换,包括在展开状态下两个屏幕拼接为一个面积更大的屏幕,以及在折叠状态下两个屏幕相互重合以缩小电子设备的占用空间;另一示例性的,电子设备可以包括一个屏幕,而该屏幕可分为两个或两个以上的分屏,其任意两个分屏可进行物理形态切换,包括在展开状态下直接呈现为一块完整的大屏,以及在折叠状态下两个分屏相互重合以实现该屏幕的折叠。Both the unfolded and folded states are physical forms of the screen. The screen can switch from an unfolded state to a folded state, and vice versa; this switching process is a physical form switching process. For example, an electronic device may include two or more screens, enabling dual-screen or multi-screen folding. Any two screens can switch physical forms, including in the unfolded state where the two screens are combined to form a larger screen, and in the folded state where the two screens overlap to reduce the space occupied by the electronic device. Another example is an electronic device that may include a single screen, which can be divided into two or more sub-screens. Any two sub-screens can switch physical forms, including in the unfolded state where they directly present as a single large screen, and in the folded state where the two sub-screens overlap to achieve the folding of the screen.
示例性的,如图3所示为电子设备的屏幕展开示意图,如图4所示为电子设备的屏幕折叠示意图,基于图2的手机,其屏幕110分为上下两块分屏,当屏幕110呈展开状态时,如图3所示,为一个整体的屏幕;当屏幕110呈折叠状态时,如图4所示,折叠屏向内对折在一起,两块分屏重合。在图3和图4中,示例性地,外壳120对应分屏数量设置,即屏幕110分为上下两块分屏,外壳120也对应分为两个部分。For example, Figure 3 shows a schematic diagram of the unfolded screen of an electronic device, and Figure 4 shows a schematic diagram of the folded screen of an electronic device. Based on the mobile phone in Figure 2, its screen 110 is divided into upper and lower screens. When the screen 110 is unfolded, as shown in Figure 3, it is a single screen; when the screen 110 is folded, as shown in Figure 4, the folded screen is folded inwards, and the two screens overlap. In Figures 3 and 4, for example, the outer casing 120 is set to correspond to the number of screens, that is, the screen 110 is divided into upper and lower screens, and the outer casing 120 is also divided into two parts accordingly.
屏幕受压位置是指屏幕上受到手指按压或异物挤压等情况时,屏幕上手指或异物与屏幕之间接触点所对应的位置。一种示例性的,电子设备可以基于屏幕的触摸功能接收其反馈的接触点的坐标数据,然后根据该坐标数据进行接触点的位置识别,从而得到屏幕受压位置。另一示例性的,电子设备可以基于屏幕下方设置的压力传感器或压力感应矩阵等来检测压力数据,然后根据该压力数据进行接触点的位置识别,从而得到屏幕受压位置。The pressure-affected position on the screen refers to the location of the point of contact between the finger or object and the screen when the screen is pressed by a finger or squeezed by a foreign object. For example, an electronic device can receive the coordinate data of the contact point based on the screen's touch function, and then identify the position of the contact point based on this coordinate data to obtain the pressure-affected position. Another example is that the electronic device can detect pressure data based on a pressure sensor or pressure sensing matrix located below the screen, and then identify the position of the contact point based on this pressure data to obtain the pressure-affected position.
相关技术中,虽然可以在柔性显示屏上方设置盖板,盖板采用柔性材料或超薄玻璃,其作用是保护柔性显示屏,但实际上,这些盖板并不能很好地保护柔性显示屏本身,当屏幕表面即盖板表面受到重压或者合盖时屏幕上即盖板上有较硬的异物时,都很容易将屏幕挤压破坏,导致盖板下方的柔性显示屏出现彩色亮点或黑团等损伤。因而,有必要对一些容易损坏屏幕导致柔性显示屏损伤的异常操作进行检测,尤其是物理形态切换过程中存在的异常操作,因为进行物理形态切换操作时需要更多的作用力,所以屏幕受到的压力会更大一些,从而更容易损坏柔性显示屏。In related technologies, although a cover plate can be placed on top of a flexible display screen, made of flexible materials or ultra-thin glass, its function is to protect the flexible display screen. However, in reality, these cover plates cannot effectively protect the flexible display screen itself. When the screen surface, i.e., the cover plate surface, is subjected to heavy pressure, or when there are hard foreign objects on the screen or cover plate when the cover is closed, the screen can easily be squeezed and damaged, resulting in damage such as colored bright spots or black spots on the flexible display screen underneath. Therefore, it is necessary to detect abnormal operations that can easily damage the screen and thus the flexible display screen, especially abnormal operations during physical form switching. Because physical form switching operations require more force, the screen is subjected to greater pressure, making it more susceptible to damage to the flexible display screen.
因此,本申请实施例在电子设备的屏幕处于物理形态切换的过程中确定屏幕受压位置,具体包括在电子设备的屏幕处于切换至折叠状态的过程中或处于切换至展开状态的过程中的情况下,直接确定屏幕受压位置。Therefore, the embodiments of this application determine the screen pressure position during the physical form switching process of the electronic device screen, specifically including directly determining the screen pressure position when the electronic device screen is switching to a folded state or switching to an unfolded state.
由于物理形态切换过程中屏幕受到损坏的风险更高,所以进行步骤S10,实现屏幕受压检测,能够及时地对物理形态切换过程中用户异常操作所造成的屏幕受压情况进行识别,确定屏幕受压位置,以便后续及时进行异常操作提醒。Since the risk of screen damage is higher during physical form switching, step S10 is performed to realize screen pressure detection. This can promptly identify screen pressure caused by abnormal user operation during physical form switching, determine the screen pressure location, and provide timely abnormal operation reminders.
步骤S20,在屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。Step S20: When the screen is under pressure within a preset area, output an abnormal operation alert.
预设区域是指预先设定的容易受损的屏幕区域。预设区域可以是整个屏幕对应的区域,也可以是屏幕的部分区域,比如屏幕中部、中下部等一些容易损坏的区域。当电子设备具有多个屏幕时,预设区域可以是多个屏幕处于折叠状态下所对应的重合区域,也可以是多个屏幕拼接时的拼接处对应的区域或拼接处两侧的一定范围内的区域;当电子设备具有一个屏幕,而该屏幕包括多块分屏时,预设区域可以是折叠状态下多个分屏重合的区域,也可以是屏幕分界处对应的区域或分界处两侧的一定范围内的区域,实际可根据需要选择,此处不做限定。A preset area refers to a pre-defined area of the screen that is prone to damage. The preset area can be the entire screen or a portion of the screen, such as the center or lower-middle section. When an electronic device has multiple screens, the preset area can be the overlapping area of the screens when they are folded, or the area at the joint where the screens are spliced together, or a certain range on either side of the joint. When an electronic device has one screen, and that screen comprises multiple sub-screens, the preset area can be the overlapping area of the sub-screens when folded, or the area at the screen boundary, or a certain range on either side of the boundary. The choice is based on need and is not limited here.
在一些可行的实施例中,预设区域为至少两个屏幕处于折叠状态下的重合区域。In some feasible embodiments, the preset area is the overlapping area of at least two screens in a folded state.
当电子设备具有两个屏幕时,两个屏幕的折叠可以向内或内外,但无论哪种折叠方式,折叠后必然有屏幕重合的区域,该重合区域可作为预设区域,此时的预设区域可能为两个屏幕的全部(两个屏幕折叠后完全重合),也可能为一个屏幕的全部,另一屏幕的部分(两个屏幕折叠后部分重合);当电子设备具有多个屏幕,比如依序排列为上屏、中屏和下屏的三个屏幕时,若上屏与中屏可折叠,中屏与下屏不可折叠,则预设区域为上屏与中屏折叠后重合的区域,此时的预设区域可能为全部上屏和全部下屏(上屏与下屏折叠后完全重合),也可能为全部上屏和部分中屏(上屏与下屏折叠后部分重合),若上屏与中屏可折叠,中屏与下屏也可折叠,折叠后上屏与下屏与中屏完全重合,这种情况下,上屏、中屏和下屏的全部都将作为预设区域。实际应用中,还可以根据电子设备中屏幕的具体结构或屏幕折叠后的具体重合区域来对应设置预设区域,本申请实施例不做具体限定。When an electronic device has two screens, the folding of the two screens can be inward or outward. Regardless of the folding method, there will always be an overlapping area after folding. This overlapping area can be used as a preset area. In this case, the preset area may be the entirety of both screens (the two screens completely overlap after folding), or it may be the entirety of one screen and a portion of the other screen (the two screens partially overlap after folding). When an electronic device has multiple screens, such as three screens arranged in sequence as an upper screen, middle screen, and lower screen, if the upper and middle screens are foldable, but the middle and lower screens are not foldable, then the preset area is the overlapping area of the upper and middle screens after folding. In this case, the preset area may be the entire upper screen and the entire lower screen (the upper and lower screens completely overlap after folding), or it may be the entire upper screen and a portion of the middle screen (the upper and lower screens partially overlap after folding). If the upper and middle screens are foldable, and the middle and lower screens are also foldable, and the upper, lower, and middle screens completely overlap after folding, then the entirety of the upper, middle, and lower screens will be used as the preset area. In practical applications, preset areas can also be set according to the specific structure of the screen in the electronic device or the specific overlapping area after the screen is folded. This application embodiment does not make specific limitations.
在步骤S10确定屏幕受压位置之后,可以判断该屏幕受压位置是否在预设区域内,若屏幕受压位置位于预设区域内,则说明用户手指可能按压到屏幕上容易损坏的区域,屏幕受损风险较大,即此时存在异常操作,可以进行异常操作提醒;若屏幕受压位置不在预设区域内,则说明此时的屏幕虽然受压,但可能是常规的触屏操作,用户手指并未按压到屏幕上容易损坏的区域,屏幕受损风险较小,即此时不存在异常操作,不需要进行异常操作提醒,此时可以返回步骤S10,以持续进行受压检测以及异常操作的判断,以实现一旦发现屏幕受压位置在预设区域内,立即进行异常操作提醒。After determining the screen pressure location in step S10, it can be determined whether the screen pressure location is within a preset area. If the screen pressure location is within the preset area, it means that the user's finger may have pressed on an easily damaged area of the screen, and the risk of screen damage is relatively high. In other words, there is an abnormal operation at this time, and an abnormal operation reminder can be issued. If the screen pressure location is not within the preset area, it means that although the screen is under pressure, it may be a normal touch screen operation, and the user's finger has not pressed on an easily damaged area of the screen. The risk of screen damage is relatively low, and there is no abnormal operation at this time. No abnormal operation reminder is needed. At this time, it can return to step S10 to continue pressure detection and abnormal operation judgment, so as to realize that once the screen pressure location is found to be within the preset area, an abnormal operation reminder can be issued immediately.
另外,异常操作提醒是指电子设备对用户进行提醒,以提示用户在对电子设备的物理形态切换操作过程中,存在异常操作行为。异常操作提醒的方式可以有多种,例如通过电子设备的处理器调用马达进行震动提醒、通过喇叭发声进行语音提醒、通过屏幕上显示界面弹出显示窗口进行弹窗提醒等等,此处不做限定。输出异常操作提醒可以由电子设备直接输出,也可以间接地输出,例如通过蓝牙向用户的手环、手表、耳机等发送提醒指令,以使手环、手表、耳机等对应进行提醒,包括通过震动、语音、弹窗等提醒方式进行提醒。输出异常操作提醒的方式并不限于此,实际应用中还可根据需要配置。In addition, abnormal operation alerts refer to electronic devices notifying users of any abnormal behavior during the switching of the device's physical form. There are various ways to issue abnormal operation alerts, such as using the device's processor to activate a motor for vibration, using a speaker for voice alerts, or displaying a pop-up window on the screen. These methods are not limited here. Abnormal operation alerts can be output directly or indirectly by the electronic device, such as sending alert commands via Bluetooth to the user's wristband, watch, or headphones, causing them to respond accordingly, including through vibration, voice, or pop-up windows. The methods for outputting abnormal operation alerts are not limited to these; they can be configured as needed in practical applications.
本实施例提供了一种异常操作提醒方法,通过在电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置,然后在屏幕受压位置位于预设区域内的情况下,输出异常操作提醒,可以在折叠或展开电子设备的屏幕的过程中,持续识别异常操作行为,一旦发现存在异常操作便进行提醒,以便用户及时知晓当前操作存在导致屏幕损伤的风险,从而停止该风险操作;通过设置预设区域,对于屏幕上更容易被压伤的区域,准确识别被压操作,避免折叠时手指压伤屏幕,实现了降低折叠屏的损伤风险,延长屏幕使用寿命的效果。This embodiment provides an abnormal operation alert method. By determining the pressure point on the screen during the physical transformation of the electronic device's screen, and then outputting an abnormal operation alert when the pressure point is within a preset area, the method can continuously identify abnormal operation behaviors during the folding or unfolding of the electronic device's screen. Once an abnormal operation is detected, an alert is issued so that the user is promptly aware of the risk of screen damage and can stop the risky operation. By setting a preset area, the method accurately identifies pressure operations in areas of the screen that are more easily damaged by pressure, avoiding finger pressure on the screen during folding, thereby reducing the risk of damage to the foldable screen and extending its lifespan.
基于本申请实施例异常操作提醒方法的第一实施例,在本申请实施例异常操作提醒方法的第二实施例中,与上述实施例相同或相似的内容,可以参考上文介绍,后续不再赘述。在此基础上,参照图5,图5为本申请实施例提供的异常操作提醒方法第二实施例的流程示意图,步骤S20包括步骤S211~S212:Based on the first embodiment of the abnormal operation reminder method of this application, in the second embodiment of the abnormal operation reminder method of this application, the same or similar content as the above embodiment can be referred to the above description, and will not be repeated hereafter. On this basis, referring to Figure 5, which is a flowchart of the second embodiment of the abnormal operation reminder method provided by this application, step S20 includes steps S211 to S212:
步骤S211,在屏幕受压位置位于预设区域内的情况下,检测屏幕受压位置处的屏幕受压压力。Step S211: When the screen pressure position is within a preset area, detect the screen pressure at the screen pressure position.
屏幕受压压力是指屏幕上手指或异物与屏幕之间接触点所对应承受的压力大小。屏幕受压压力的检测方式包括通过设置于屏幕下方的压力传感器或压力感应矩阵等检测得到。Screen pressure refers to the pressure exerted on the screen at the contact point between a finger or foreign object and the screen. Screen pressure can be detected using pressure sensors or pressure sensing matrices located beneath the screen.
一种示例性的,如图6所示为电子设备的屏幕结构示意图,屏幕110可以包括由上至下层叠设置的触摸屏113、显示屏114和压力屏115,其中,触摸屏113可以识别手指触控动作,获得手指的坐标数据,以确定屏幕受压位置,压力屏115可以检测手指触控动作所对应的触控压力,以获得屏幕受压压力。示例性的,在手指触摸屏幕的时候,触摸屏113识别手指触控动作,并提供对应的坐标数据,根据该坐标数据确定手指接触屏幕的具体位置,得到屏幕受压位置,当屏幕受压位置位于预设区域内时,压力屏115采集手指按压的压力,得到屏幕受压位置处的屏幕受压压力。As exemplified by Figure 6, which is a schematic diagram of the screen structure of an electronic device, the screen 110 may include a touchscreen 113, a display screen 114, and a pressure screen 115 stacked from top to bottom. The touchscreen 113 can recognize finger touch actions and obtain the coordinate data of the finger to determine the pressure position on the screen. The pressure screen 115 can detect the touch pressure corresponding to the finger touch action to obtain the screen pressure. For example, when a finger touches the screen, the touchscreen 113 recognizes the finger touch action and provides corresponding coordinate data. Based on this coordinate data, it determines the specific position where the finger contacts the screen, obtaining the screen pressure position. When the screen pressure position is within a preset area, the pressure screen 115 collects the pressure applied by the finger to obtain the screen pressure at the pressure position.
步骤S212,在屏幕受压压力满足压力异常条件的情况下,输出异常操作提醒。Step S212: If the pressure applied to the screen meets the abnormal pressure condition, output an abnormal operation reminder.
压力异常条件是指压力过大可能导致屏幕受损所对应的预设的压力门限值或是指超出一定大小范围的压力作用于屏幕时可能导致屏幕受损所对应的预设的压力阈值范围。满足压力异常条件可以为屏幕受压压力对应的压力大小小于预设的压力门限值,或者屏幕受压压力对应的压力大小在预设的压力阈值范围内,具体可根据实际需要选择,此处不做限定。An abnormal pressure condition refers to a preset pressure threshold value that may cause screen damage due to excessive pressure, or a preset pressure threshold range that may cause screen damage when pressure exceeding a certain range is applied to the screen. Meeting an abnormal pressure condition means that the pressure applied to the screen is less than the preset pressure threshold value, or that the pressure applied to the screen is within the preset pressure threshold range. The specific choice can be made according to actual needs and is not limited here.
预设区域可以包括多个部分,各部分的压力异常条件可以对应设置,使得在屏幕受压位置位于预设区域的某个部分时,检测屏幕受压位置处的屏幕受压压力后,基于该部分对应的压力异常条件进行压力大小比对,从而可以针对性地进行不同区域或不同程度的异常操作提醒。The preset area can include multiple parts, and the pressure abnormality conditions of each part can be set accordingly. When the screen is under pressure in a certain part of the preset area, the screen pressure at the pressure location is detected, and the pressure magnitude is compared based on the corresponding pressure abnormality conditions of that part. This allows for targeted alerts for abnormal operations in different areas or at different levels.
当判定步骤S10得到的屏幕受压位置位于预设区域内时,电子设备检测得到屏幕受压压力后,判断该屏幕受压压力是否满足压力异常条件,例如判断该屏幕受压压力是否超过设定的门限值,若是,则说明用户不仅按压到了屏幕上容易受损的区域,而且按压的压力较大,屏幕受损风险极高,即此时存在异常操作,可以进行异常操作提醒,具体由电子设备输出异常操作提醒,若否,则可以不做任何动作即不需要提醒,此时还可以返回步骤S10,以持续进行受压位置检测、受压大小检测以及异常操作的判断。When the screen pressure position obtained in step S10 is within the preset area, the electronic device detects the screen pressure and determines whether the screen pressure meets the abnormal pressure conditions. For example, it determines whether the screen pressure exceeds the set threshold. If so, it means that the user has not only pressed a vulnerable area on the screen, but also pressed a large amount of pressure, resulting in a very high risk of screen damage. In other words, there is an abnormal operation, and an abnormal operation reminder can be issued. Specifically, the electronic device outputs the abnormal operation reminder. If not, no action is required and no reminder is needed. At this time, the process can return to step S10 to continue detecting the pressure position, pressure magnitude, and abnormal operation.
本实施例提供了一种异常操作提醒方法,区别于第一实施例仅通过屏幕受压位置进行异常操作判断的方式,具体通过屏幕受压位置以及屏幕受压压力的结合来进行异常操作判断,对于按压到易受损的预设区域且按压压力过大的明显异常操作进行识别,并及时进行异常操作提醒,以便用户尽快停止异常操作,避免使电子设备的屏幕受损。This embodiment provides an abnormal operation reminder method, which differs from the first embodiment in that it judges abnormal operation only by the pressure position of the screen. Specifically, it judges abnormal operation by combining the pressure position of the screen and the pressure applied to the screen. It identifies obvious abnormal operations that are pressed into a preset area that is easily damaged and the pressure is too high, and promptly reminds users of the abnormal operation so that they can stop the abnormal operation as soon as possible and avoid damaging the screen of the electronic device.
基于本申请实施例异常操作提醒方法的第一实施例,在本申请实施例异常操作提醒方法的第三实施例中,与上述实施例相同或相似的内容,可以参考上文介绍,后续不再赘述。在此基础上,步骤S20可以包括两种可行的实施方式。Based on the first embodiment of the abnormal operation reminder method of this application, in the third embodiment of the abnormal operation reminder method of this application, the same or similar content as the above embodiment can be referred to the above description, and will not be repeated hereafter. On this basis, step S20 may include two feasible implementation methods.
在一种可行的实施方式中,物理形态切换的过程包括切换至折叠状态的过程。In one feasible implementation, the physical form switching process includes switching to a folded state.
如图7所示为屏幕切换至折叠状态的操作示意图,示例性的,以手机的折叠屏包括上下两个半屏为例进行说明,在对折叠屏进行弯曲折叠的时候,很多用户习惯用单手进行折叠,如图7所示,需要大拇指按压住下半屏,食指和中指从上半屏背面推动,从而将整机折叠。对屏幕进行折叠的操作属于屏幕的物理形态切换操作,屏幕从展开状态切换至折叠状态的过程中,若是单手折叠屏幕,需要大拇指按压住下半屏,并且用力较大,这很容易将屏幕压伤,从而使得显示屏出现彩色亮点或黑团等损伤。因而,需要对单手折叠屏幕的异常操作进行识别,以对应进行异常操作提醒。Figure 7 illustrates the operation of switching the screen to a folded state. Taking a foldable phone screen consisting of two halves (top and bottom) as an example, many users habitually fold the screen with one hand, as shown in Figure 7. This requires the thumb to press down on the bottom half of the screen, while the index and middle fingers push from the back of the top half to fold the entire device. Folding the screen is a physical change in screen form. When switching from an unfolded to a folded state, folding the screen with one hand requires pressing down on the bottom half with considerable force, which can easily damage the screen, resulting in bright spots or black spots. Therefore, it is necessary to identify this abnormal one-handed screen folding operation and provide corresponding alerts.
在图7中,大拇指按压屏幕110的位置为屏幕受压位置,屏幕110上与该屏幕受压位置对应的手指与屏幕的接触点为一个受压点150。In Figure 7, the position where the thumb presses the screen 110 is the screen pressure position, and the contact point between the finger and the screen corresponding to the screen pressure position is a pressure point 150.
在此基础上,参照图8,图8为本申请实施例提供的异常操作提醒方法第三实施例的一种流程示意图,步骤S10包括步骤S101:Based on this, referring to Figure 8, which is a flowchart of a third embodiment of the abnormal operation alert method provided in this application, step S10 includes step S101:
步骤S101,在电子设备的屏幕处于切换至折叠状态的过程中,确定屏幕受压位置。Step S101: During the process of switching the screen of the electronic device to a folded state, determine the pressure position of the screen.
对应的,步骤S20包括步骤S221~S222:Correspondingly, step S20 includes steps S221 to S222:
步骤S221,基于屏幕受压位置确定屏幕的受压点数量。Step S221: Determine the number of pressure points on the screen based on the pressure location of the screen.
步骤S222,在受压点数量为一个且屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。Step S222: When there is only one pressure point and the pressure point on the screen is within a preset area, output an abnormal operation reminder.
受压点是指手指或异物与屏幕接触时对应位置的接触点,如图7所示,当单手进行折叠操作时,屏幕受压位置对应的受压点150的数量为一个。The pressure point refers to the contact point at the corresponding position when a finger or foreign object comes into contact with the screen. As shown in Figure 7, when a folding operation is performed with one hand, there is one pressure point 150 corresponding to the pressure position of the screen.
当电子设备确定屏幕受压位置后,确定出受压点数量为一个的同时,还识别到屏幕受压位置位于预设区域内,则说明用户存在单手折叠屏幕的操作行为,该操作属于容易损伤屏幕的风险操作,需要进行异常操作提醒,即电子设备在确定受压点数量为一个且屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。Once the electronic device determines the pressure point on the screen, and confirms that there is only one pressure point, and also recognizes that the pressure point is within a preset area, it indicates that the user is folding the screen with one hand. This operation is a risky operation that could easily damage the screen, and an abnormal operation alert is required. That is, when the electronic device determines that there is only one pressure point and the pressure point is within the preset area, it outputs an abnormal operation alert.
示例性地,结合图6与图7,在手指触摸屏幕的时候,屏幕110的触摸屏113可以提供报点坐标数据,电子设备根据报点坐标数据确认有手指接触屏幕110,并且根据报点坐标数据确定具体的位置,得到屏幕受压位置,然后,还根据屏幕受压位置的数量对应确定屏幕110的受压点150数量,若受压点150数量为一个,并且屏幕受压位置位于预设区域内,则判定当前存在异常操作,电子设备进行异常操作提醒。For example, referring to Figures 6 and 7, when a finger touches the screen, the touch screen 113 of the screen 110 can provide reporting point coordinate data. The electronic device confirms that a finger is touching the screen 110 based on the reporting point coordinate data, and determines the specific position based on the reporting point coordinate data to obtain the screen pressure position. Then, it also determines the number of pressure points 150 on the screen 110 according to the number of screen pressure positions. If the number of pressure points 150 is one, and the screen pressure position is located within a preset area, it is determined that there is an abnormal operation, and the electronic device provides an abnormal operation reminder.
本实施方式中,通过确定屏幕的受压点数量,结合屏幕受压位置来具体识别单手折叠操作,在折叠屏幕的操作过程中,将容易导致屏幕损伤的异常操作中具有代表性的、典型的风险操作准确识别出来后,对应进行准确的异常操作提醒。In this embodiment, by determining the number of pressure points on the screen and combining the pressure location on the screen, the single-hand folding operation is specifically identified. During the screen folding operation, representative and typical risky operations that are prone to screen damage are accurately identified, and corresponding accurate abnormal operation reminders are given.
在另一可行的实施方式中,物理形态切换的过程包括切换至展开状态的过程。In another feasible implementation, the physical form switching process includes switching to the unfolded state.
如图9所示为屏幕切换至展开状态的操作示意图,示例性的,仍以手机的折叠屏包括上下两个半屏为例进行说明,在对折叠屏进行展开操作的时候,很多用户也习惯用单手操作,如图9所示,需要大拇指挤入折叠后重合的屏幕之间,大拇指按压住下半屏后再向上顶上半屏,从而将整机展开。对屏幕进行展开的操作属于屏幕的物理形态切换操作,屏幕从折叠状态切换至展开状态的过程中,若是单手展开屏幕,需要大拇指顶起上半屏,并且用力较大,这很容易将屏幕顶伤,从而使得显示屏出现彩色亮点或黑团等损伤。因而,需要对单手展开屏幕的异常操作进行识别,以对应进行异常操作提醒。Figure 9 illustrates the operation of switching the screen to the unfolded state. Taking a foldable phone screen, consisting of two halves (top and bottom), as an example, many users habitually operate the unfolding operation with one hand. As shown in Figure 9, the thumb needs to be inserted between the overlapping folded screen halves, pressing down on the bottom half and then pushing up the top half to unfold the entire device. Unfolding the screen is a physical change in screen form. If the screen is unfolded with one hand during this process, the thumb needs to push up the top half with considerable force, which can easily damage the screen, causing bright spots or black spots. Therefore, it is necessary to identify this abnormal one-handed screen unfolding operation and provide corresponding alerts.
在图9中,大拇指挤压屏幕110的位置为屏幕受压位置,大拇指挤压在折叠的屏幕之间,对应具有两个屏幕受压位置,该屏幕110上对应两个受压点,即第一受压点151和第二受压点152,如图9所示,第一受压点151为手指按压屏幕的位置,第二受压点152为手指顶住屏幕的位置,当屏幕110折叠时,第一受压点151和第二受压点152的位置对称。In Figure 9, the position where the thumb presses the screen 110 is the screen pressure position. When the thumb presses between the folded screens, there are two screen pressure positions. There are two pressure points on the screen 110, namely the first pressure point 151 and the second pressure point 152, as shown in Figure 9. The first pressure point 151 is the position where the finger presses the screen, and the second pressure point 152 is the position where the finger presses against the screen. When the screen 110 is folded, the positions of the first pressure point 151 and the second pressure point 152 are symmetrical.
在此基础上,参照图10,图10为本申请实施例提供的异常操作提醒方法第三实施例的另一流程示意图,步骤S10包括步骤S102:Based on this, referring to Figure 10, which is another flowchart of the third embodiment of the abnormal operation reminder method provided in this application, step S10 includes step S102:
步骤S102,在电子设备的屏幕处于切换至展开状态的过程中,确定屏幕受压位置。Step S102: During the process of switching the screen of the electronic device to the unfolded state, determine the pressure position of the screen.
对应的,步骤S20包括步骤S231~S232:Correspondingly, step S20 includes steps S231 to S232:
步骤S231,基于屏幕受压位置确定屏幕的受压点数量。Step S231: Determine the number of pressure points on the screen based on the pressure location on the screen.
步骤S232,在受压点数量为两个且两个受压点位置对称,以及屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。Step S232: When there are two pressure points and the two pressure points are symmetrically positioned, and the pressure point on the screen is within a preset area, output an abnormal operation reminder.
如图9所示,当单手进行展开操作时,屏幕受压位置对应的受压点数量为两个,分别为第一受压点151和第二受压点152,并且,该第一受压点151与该第二受压点152的位置对称。As shown in Figure 9, when the screen is unfolded with one hand, there are two pressure points corresponding to the pressure position, namely the first pressure point 151 and the second pressure point 152. Furthermore, the positions of the first pressure point 151 and the second pressure point 152 are symmetrical.
当电子设备确定屏幕受压位置后,确定出受压点数量为两个且两个受压点位置对称的同时,若还识别到两个屏幕受压位置均位于预设区域内,则说明用户存在单手展开屏幕的操作,该操作属于容易损伤屏幕的风险操作,需要进行异常操作提醒,即电子设备在确定受压点数量为两个且两个受压点位置对称,以及屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。Once the electronic device determines the pressure points on the screen, and confirms that there are two pressure points that are symmetrical, and if it also detects that both pressure points are within a preset area, it indicates that the user is unfolding the screen with one hand. This operation is considered a risky operation that could easily damage the screen, and an abnormal operation alert is required. In other words, the electronic device outputs an abnormal operation alert when it confirms that there are two pressure points that are symmetrical and that the pressure points are within a preset area.
示例性地,结合图6与图9,在手指挤入折叠的屏幕110之间时,屏幕110的触摸屏113可以提供两组报点坐标数据,电子设备根据报点坐标数据确认有手指接触屏幕110,并且根据报点坐标数据确定具体的位置,得到两个屏幕受压位置,然后,还根据屏幕受压位置的数量对应确定屏幕110的受压点数量,若该受压点数量为两个,且根据屏幕受压位置判定出两个受压点位置对称,同时,两个屏幕受压位置均位于预设区域内,则可以判定当前存在异常操作,电子设备进行异常操作提醒。For example, referring to Figures 6 and 9, when a finger is squeezed between the folded screens 110, the touch screen 113 of the screen 110 can provide two sets of reporting coordinate data. The electronic device confirms that a finger is touching the screen 110 based on the reporting coordinate data, and determines the specific position based on the reporting coordinate data to obtain two screen pressure positions. Then, it also determines the number of pressure points on the screen 110 according to the number of screen pressure positions. If the number of pressure points is two, and the two pressure points are determined to be symmetrical based on the screen pressure positions, and both screen pressure positions are located within a preset area, it can be determined that there is an abnormal operation, and the electronic device will issue an abnormal operation reminder.
本实施方式中,通过确定屏幕的受压点数量,结合屏幕受压位置来具体识别单手展开屏幕的操作,在展开屏幕的操作过程中,将容易导致屏幕损伤的异常操作中具有代表性的、典型的风险操作准确识别出来后,对应进行准确的异常操作提醒。In this embodiment, by determining the number of pressure points on the screen and combining the pressure location on the screen, the operation of unfolding the screen with one hand is specifically identified. During the operation of unfolding the screen, representative and typical risky operations that are prone to screen damage are accurately identified, and corresponding accurate abnormal operation reminders are given.
上述提供的第一种实施方式相较于第二种实施方式的差异在于物理形态切换过程的不同,使得后续的单手操作具体为单手折叠或单手展开的操作识别方式具有不同,第一种实施方式对单手折叠的异常操作进行识别,第二种实施方式对单手展开的异常操作进行识别,相较于前述的实施例,这两种实施方式均可以提高异常操作的识别准确性,从而可以提高异常操作提醒的准确性。The difference between the first and second embodiments described above lies in the different physical form switching processes, which results in different identification methods for subsequent one-handed operations, specifically one-handed folding or one-handed unfolding. The first embodiment identifies abnormal operations of one-handed folding, while the second embodiment identifies abnormal operations of one-handed unfolding. Compared to the aforementioned embodiments, both embodiments can improve the accuracy of abnormal operation identification, thereby improving the accuracy of abnormal operation alerts.
以上仅是本申请实施例提供的异常操作提醒方法的第三实施例中步骤S20的两种可行的实施方式,可选进一步检测屏幕受压位置处的屏幕受压压力,在同步识别到屏幕受压压力满足压力异常条件的情况下,再输出异常操作提醒,以进一步提高准确性。本申请实施例对于步骤S20的具体实施方式并不做具体限定。The above are merely two feasible implementations of step S20 in the third embodiment of the abnormal operation reminder method provided in this application. Optionally, the screen pressure at the pressure-bearing position can be further detected, and an abnormal operation reminder can be output only when the screen pressure meets the abnormal pressure condition, so as to further improve accuracy. This application does not specifically limit the specific implementation of step S20.
基于本申请实施例异常操作提醒方法的第一实施例,在本申请实施例异常操作提醒方法的第四实施例中,与上述实施例相同或相似的内容,可以参考上文介绍,后续不再赘述。在此基础上,电子设备的屏幕包括至少两个分屏。下面以包括两个分屏为例进行说明。Based on the first embodiment of the abnormal operation reminder method of this application, in the fourth embodiment of the abnormal operation reminder method of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter. On this basis, the screen of the electronic device includes at least two split screens. The following description uses an example including two split screens.
如图11所示为电子设备的屏幕分屏示意图,屏幕110包括第一分屏111和第二分屏112,屏幕110折叠状态下第一分屏111与第二分屏112重合。如图12所示为图11中屏幕的显示屏分区示意图,结合图7可知,屏幕110包括触摸屏113、显示屏114和压力屏115,其中显示屏114的中间区域是全蚀刻区131,全蚀刻区131两侧的区域是半蚀刻区132。屏幕弯折时,全蚀刻区131对应的弯折区域呈水滴形状且有较小的弯折应力,半蚀刻区132具有减小弯折区应力的作用。因此,在全蚀刻区131对应的屏幕区域,如果压力过大,该区域的屏幕变形就大,会导致显示屏114出现彩色亮点或黑团等损伤,所以,与显示屏114中全蚀刻区131和/或半蚀刻区132对应的屏幕区域更容易损坏,属于高风险区域。Figure 11 shows a schematic diagram of the screen splitting of an electronic device. Screen 110 includes a first split screen 111 and a second split screen 112. When screen 110 is folded, the first split screen 111 and the second split screen 112 overlap. Figure 12 shows a schematic diagram of the display screen partitioning in Figure 11. Referring to Figure 7, screen 110 includes a touchscreen 113, a display screen 114, and a pressure-sensitive screen 115. The central area of display screen 114 is a fully etched area 131, and the areas on either side of the fully etched area 131 are semi-etched areas 132. When the screen is bent, the bending area corresponding to the fully etched area 131 is teardrop-shaped and has relatively low bending stress. The semi-etched areas 132 reduce the stress in the bending area. Therefore, in the screen area corresponding to the fully etched area 131, if the pressure is too high, the screen deformation in that area will be significant, leading to damage such as bright spots or black spots on display screen 114. Therefore, the screen areas corresponding to the fully etched area 131 and/or the semi-etched area 132 in display screen 114 are more prone to damage and are considered high-risk areas.
基于此,一种示例性的,如图13所示为图11中屏幕的预设区域示例,该屏幕110中的预设区域与全蚀刻区131对应,或与全蚀刻区131及其附近预设范围内的区域对应,也就是说,预设区域可以是相邻两个分屏的交界区域或交界区域两侧的预设范围区域,例如此处的预设区域为第一区域130,具体为第一分屏111与第二分屏112的交界区域以及第一分屏111的下部五分之一部分和第二分屏112的上部五分之一部分,实际应用中可对应再调整区域大小,此处仅为一种举例,不做具体限定。Based on this, an exemplary example is shown in Figure 13, which is an example of the preset area of the screen in Figure 11. The preset area in the screen 110 corresponds to the fully etched area 131, or to the area within a preset range of the fully etched area 131 and its vicinity. That is to say, the preset area can be the boundary area of two adjacent split screens or the preset range area on both sides of the boundary area. For example, the preset area here is the first area 130, specifically the boundary area between the first split screen 111 and the second split screen 112, as well as the lower fifth of the first split screen 111 and the upper fifth of the second split screen 112. In actual applications, the area size can be adjusted accordingly. This is only an example and is not specifically limited.
针对电子设备的屏幕中的高风险区域,对应设置预设区域,可以进一步准确进行屏幕受压位置与预设区域的比较,以准确识别高风险的异常操作,从而准确输出异常操作提醒。For high-risk areas on the screen of electronic devices, preset areas can be set accordingly. This allows for a more accurate comparison between the pressure points on the screen and the preset areas, enabling the accurate identification of high-risk abnormal operations and the output of abnormal operation alerts.
在一可行的实施方式中,参照图14,图14为本申请实施例提供的异常操作提醒方法第四实施例的一种流程示意图,步骤S10包括步骤S11~S13:In a feasible implementation, referring to FIG14, FIG14 is a flowchart of a fourth embodiment of the abnormal operation reminder method provided in this application, wherein step S10 includes steps S11 to S13:
步骤S11,确定相邻两个分屏之间的夹角。Step S11: Determine the included angle between two adjacent split screens.
步骤S12,在基于夹角确定屏幕处于物理形态切换过程中的情况下,获取触屏坐标数据。Step S12: When the screen is determined to be in the process of physical form switching based on the included angle, obtain the touch screen coordinate data.
步骤S13,基于触屏坐标数据确定屏幕受压位置。Step S13: Determine the pressure position on the screen based on the touch screen coordinate data.
可以利用电子设备在不同方向上的加速度来确定相邻两个分屏之间的夹角,然后可以通过这个夹角识别这两个分屏之间的状态,比如夹角为0度时,两个分屏折叠且重合,夹角为180度时,两个分屏展开并构成一个完整的屏幕,也可以基于夹角的变化情况识别出屏幕所处的具体物理形态切换过程。触屏坐标数据是指手指或异物与屏幕之间接触点的坐标数据。触屏坐标数据的获取可以利用屏幕的显示屏或压力屏获取,也可以利用设置在屏幕下的三轴加速度传感器或三轴陀螺仪获取。The angle between two adjacent split screens can be determined by the acceleration of electronic devices in different directions. This angle can then be used to identify the state between the two split screens; for example, when the angle is 0 degrees, the two split screens are folded and overlap; when the angle is 180 degrees, the two split screens unfold and form a complete screen. The specific physical form switching process of the screen can also be identified based on changes in the angle. Touchscreen coordinate data refers to the coordinate data of the contact point between a finger or foreign object and the screen. Touchscreen coordinate data can be obtained using the screen's display or pressure-sensitive screen, or using a three-axis accelerometer or three-axis gyroscope located under the screen.
示例性地,如图11所示,在电子设备100的外壳120内,第一分屏111的下方可以设置第一传感器141,在外壳120内,第二分屏112的下方可以设置第二传感器142。第一传感器141与第二传感器142均为三轴加速度传感器或三轴陀螺仪,实际应用时,第一传感器141可以设置在第一分屏111的主板上,第二传感器142可以设置在第二分屏112的主板上。通过第一传感器141与第二传感器142可以检测第一分屏111与第二分屏112之间的夹角,通过夹角的变化情况可以识别出屏幕110当前处于切换至折叠状态的过程中或是处于切换至展开状态的过程中,即实现物理形态切换过程的识别。实际应用中,可以实时采集两个传感器的数据,以实时计算两个分屏之间的夹角,判定出屏幕的实时状态与所处的具体物理形态切换过程。For example, as shown in Figure 11, a first sensor 141 can be disposed below the first split screen 111 within the housing 120 of the electronic device 100, and a second sensor 142 can be disposed below the second split screen 112 within the housing 120. Both the first sensor 141 and the second sensor 142 are three-axis accelerometers or three-axis gyroscopes. In practical applications, the first sensor 141 can be disposed on the main board of the first split screen 111, and the second sensor 142 can be disposed on the main board of the second split screen 112. The angle between the first split screen 111 and the second split screen 112 can be detected by the first sensor 141 and the second sensor 142. By observing the change in the angle, it can be identified whether the screen 110 is currently switching to a folded state or a unfolded state, thus recognizing the physical form switching process. In practical applications, data from the two sensors can be collected in real time to calculate the angle between the two split screens in real time, determining the real-time state of the screen and the specific physical form switching process.
在一可行的实施方式中,步骤S12包括步骤S121:In one possible implementation, step S12 includes step S121:
步骤S121,在基于夹角确定屏幕处于物理形态切换过程的起始阶段的情况下,获取触屏坐标数据。Step S121: If the screen is determined to be in the initial stage of the physical form switching process based on the included angle, obtain the touch screen coordinate data.
无论屏幕是处于切换至折叠状态的过程或是处于切换至展开状态的过程,只要根据夹角变化识别到进入物理形态切换过程,可以在该过程的起始阶段获取触屏坐标数据,并持续获取直到屏幕的折叠操作完成后处于折叠状态或展开操作完成后处于展开状态。Regardless of whether the screen is in the process of switching to a folded state or a unfolded state, as long as the change in the angle is used to identify the physical form switching process, the touch screen coordinate data can be obtained at the beginning of the process and will continue to be obtained until the screen is in a folded state after the folding operation is completed or in an unfolded state after the unfolding operation is completed.
示例性的,当获取的夹角在从大变小(如从150°变化到120°)、夹角的变小跨度达到指定值(如减小了30°)、或者夹角从一固定值减小到另一固定值(如从180°减小到150°)等情况下,可以判定当前的物理形态切换过程为切换至折叠状态的过程,具体可根据需要选择设置,此处不做限定。对应的,切换至折叠状态的过程的起始阶段是指屏幕从完全展开状态开始折叠的起始阶段,如夹角从180°减小到150°时,获取触屏坐标数据。For example, when the acquired angle decreases from a large value (e.g., from 150° to 120°), the decrease in angle reaches a specified value (e.g., a reduction of 30°), or the angle decreases from one fixed value to another (e.g., from 180° to 150°), the current physical form switching process can be determined as a switch to the folded state. Specific settings can be selected as needed and are not limited here. Correspondingly, the starting stage of the switch to the folded state refers to the initial stage when the screen begins to fold from the fully unfolded state, such as when the angle decreases from 180° to 150°, at which point touch screen coordinate data is acquired.
示例性的,当获取的夹角在从小变大(如从30°变化到60°)、夹角的变大跨度达到指定值(如增大了30°)、或者夹角从一固定值增大到另一固定值(如从0°增大到30°)等情况下,可以判定当前的物理形态切换过程为切换至展开状态的过程,具体可根据需要选择设置,此处不做限定。对应的,切换至展开状态的过程的起始阶段是指屏幕从完全折叠状态开始展开的起始阶段,如夹角从0°增大到30°时,获取触屏坐标数据。For example, when the acquired angle increases from a small value (e.g., from 30° to 60°), the angle increases by a specified range (e.g., by 30°), or the angle increases from one fixed value to another (e.g., from 0° to 30°), the current physical form switching process can be determined as a switch to the unfolded state. Specific settings can be selected as needed and are not limited here. Correspondingly, the starting stage of the switch to the unfolded state refers to the initial stage when the screen begins to unfold from a fully folded state, such as when the angle increases from 0° to 30°, at which point touchscreen coordinate data is acquired.
本实施方式中,通过折叠屏之间的夹角来判定屏幕所处的具体的物理形态切换过程,可以针对具体的物理形态切换过程对应选择获取触屏坐标数据的时机或对应选择后续的异常操作识别方式。In this embodiment, the specific physical form switching process of the screen is determined by the angle between the folding screens. The timing for obtaining touch screen coordinate data or the subsequent abnormal operation recognition method can be selected according to the specific physical form switching process.
在一些可行的实施例中,电子设备的屏幕还包括摄像头,摄像头设置于相邻两个分屏中的任一分屏,物理形态切换的过程包括切换至折叠状态的过程。In some feasible embodiments, the screen of the electronic device also includes a camera, which is located on either of two adjacent split screens, and the physical form switching process includes switching to a folded state.
示例性的,如图15所示为电子设备的摄像头位置示意图,屏幕110还包括摄像头160,摄像头160设置于第一分屏111上,具体为前置摄像头,该摄像头160的拍摄区域如图15中的虚线所示,对第一分屏111与第二分屏112之间的空间进行拍摄,可以理解的,拍摄区域还可根据实际需要调整。For example, as shown in Figure 15, which is a schematic diagram of the camera position of an electronic device, the screen 110 also includes a camera 160, which is set on the first split screen 111, specifically a front-facing camera. The shooting area of the camera 160 is shown by the dotted line in Figure 15, and it shoots the space between the first split screen 111 and the second split screen 112. It can be understood that the shooting area can also be adjusted according to actual needs.
参照图16,图16为本申请实施例提供的异常操作提醒方法第四实施例的另一流程示意图,步骤S20包括步骤S241~S243:Referring to Figure 16, which is another flowchart of the fourth embodiment of the abnormal operation reminder method provided in this application, step S20 includes steps S241 to S243:
步骤S241,在基于夹角确定屏幕处于物理形态切换过程中的情况下,启动摄像头。Step S241: If the screen is determined to be in a physical form switching process based on the included angle, the camera is activated.
步骤S242,根据摄像头采集的图像对相邻两个分屏之间的空间进行异物检测,得到异物检测结果。Step S242: Based on the images captured by the camera, perform foreign object detection on the space between two adjacent split screens to obtain the foreign object detection result.
步骤S243,在异物检测结果为存在异物和/或屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。Step S243: If the foreign object detection result indicates the presence of a foreign object and/or the screen pressure position is located within a preset area, an abnormal operation alert is output.
异物检测可以采用图像识别技术、深度学习分类算法、机器学习模型等实现,具体对摄像头采集的图像进行检测,以识别可能对屏幕造成损坏的异物,具体的异物检测方式可以有多种,此处不做限定。Foreign object detection can be achieved using image recognition technology, deep learning classification algorithms, machine learning models, etc. Specifically, it involves detecting images captured by the camera to identify foreign objects that may damage the screen. There are various methods for foreign object detection, which are not limited here.
如图17所示为图15中两个分屏之间的空间存在异物的示例,当第一分屏111与第二分屏112之间存在异物200时,两个分屏折叠时会夹住异物200,由于屏幕本身是柔性屏,异物200很容易将屏幕挤压,也容易导致屏幕出现彩色亮点或黑团等损伤。因此,在手指按压可能导致屏幕损伤的基础上,若折叠时的折叠空间即折叠的两个分屏之间的空间还存在异物,即使克服了手指按压可能造成损伤的情况,仍可能会在折叠后造成屏幕损伤。所以,可以进一步提供异物检测功能。Figure 17 illustrates an example of a foreign object present in the space between the two split screens in Figure 15. When a foreign object 200 exists between the first split screen 111 and the second split screen 112, the object 200 will be trapped when the two split screens are folded. Since the screen itself is flexible, the foreign object 200 can easily squeeze the screen, potentially causing damage such as bright spots or black spots. Therefore, in addition to the possibility of screen damage from finger pressure, if a foreign object exists in the folding space (between the two split screens), even if the potential damage from finger pressure is overcome, screen damage may still occur after folding. Therefore, a foreign object detection function could be further provided.
示例性的,在步骤S11之后,基于夹角确定屏幕处于切换至折叠状态的过程中时,电子设备启动摄像头,根据摄像头采集的图像进行异物检测,得到异物检测结果,然后基于步骤S13的屏幕受压位置与步骤S242的异物检测结果,若异物检测结果为存在异物,或者屏幕受压位置位于预设区域内,则都输出异常操作提醒,可选设置为,当异物检测结果为存在异物并且屏幕受压位置位于预设区域内时,输出异常操作提醒,具体可根据实际需要选择设置。For example, after step S11, when the screen is in the process of switching to the folded state based on the included angle, the electronic device activates the camera, performs foreign object detection based on the image captured by the camera, obtains the foreign object detection result, and then, based on the screen pressure position in step S13 and the foreign object detection result in step S242, if the foreign object detection result indicates the presence of a foreign object, or if the screen pressure position is within a preset area, an abnormal operation reminder is output. Optionally, when the foreign object detection result indicates the presence of a foreign object and the screen pressure position is within the preset area, an abnormal operation reminder is output. The specific settings can be selected according to actual needs.
本实施方式中,不仅可以对手指按压屏幕的异常操作进行识别与提醒,还可以对折叠屏幕时异物可能挤压屏幕的情况进行识别,从而进行异物提醒,实现更多可能导致屏幕受损的异常情况的识别与提醒,功能更全面。In this embodiment, not only can abnormal operations such as finger pressing on the screen be identified and alerted, but also situations where foreign objects may compress the screen when the screen is folded can be identified and alerted, thus enabling the identification and alerting of more abnormal situations that may damage the screen, making the function more comprehensive.
在一可行的实施方式中,步骤S241包括步骤S2411:In one possible implementation, step S241 includes step S2411:
步骤S2411,在确定屏幕处于物理形态切换过程中的情况下,启动摄像头并且控制相邻两个分屏中未设置摄像头的另一分屏显示预设图片。Step S2411: When it is determined that the screen is in the process of physical form switching, the camera is activated and the other split screen in the two adjacent split screens that does not have a camera set up is controlled to display a preset image.
预设图片可以是纯色图片,如纯白色图片,也可以是便于识别该另一分屏对应的屏幕表面可能存在异物的其他预存图片,此处不做限定。The preset image can be a solid color image, such as a pure white image, or it can be another pre-stored image that is easy to identify if there are foreign objects on the screen surface corresponding to the other split screen. There are no restrictions here.
示例性的,如图15所示,两个分屏中未设置摄像头的另一分屏为第二分屏112,当确定切换至折叠状态的过程中时,电子设备启动摄像头160的同时,可以同步控制第二分屏112显示预设图片。For example, as shown in Figure 15, the other split screen that does not have a camera is the second split screen 112. When the electronic device is switching to the folded state, it can simultaneously control the second split screen 112 to display a preset image while activating the camera 160.
本实施方式中,在摄像头拍摄的同时,控制另一分屏显示预设图片,可以使得在基于摄像头采集的图像进行异物检测时,检测结果更准确,从而可以提高异常操作提醒的准确性。In this embodiment, while the camera is capturing images, another split screen is controlled to display a preset image. This makes the detection results more accurate when performing foreign object detection based on the images captured by the camera, thereby improving the accuracy of abnormal operation alerts.
本申请实施例提供的异常操作提醒方法,依靠程序改进对屏幕可能遭受的风险进行识别与提醒,在不增加成本的情况下,做到异常操作识别和风险排除,避免屏幕被压伤,可以延长显示屏的折叠寿命和降低弯折屏幕损伤,从而满足更多用户的使用场景需求,提升产品的易用性和用户的使用体验。The abnormal operation reminder method provided in this application relies on program improvement to identify and remind users of potential risks to the screen. Without increasing costs, it can identify abnormal operations and eliminate risks, prevent the screen from being damaged by pressure, extend the folding life of the display screen and reduce damage from bending the screen, thereby meeting the usage needs of more users and improving the usability of the product and the user experience.
上述示例仅用于理解本申请实施例,并不构成对本申请实施例异常操作提醒方法的限定,基于此技术构思进行更多形式的简单变换,均在本申请的保护范围内。The above examples are only used to understand the embodiments of this application and do not constitute a limitation on the abnormal operation reminder method of the embodiments of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
本申请实施例还提供一种异常提醒方法,应用于电子设备,其中,电子设备的屏幕可折叠,电子设备的屏幕包括至少两个分屏;电子设备的屏幕还包括摄像头,参照图18,图18为本申请实施例提供的异常提醒方法的流程示意图,该异常提醒方法包括步骤s10~s30:This application embodiment also provides an anomaly alert method applied to an electronic device, wherein the screen of the electronic device is foldable and includes at least two split screens; the screen of the electronic device also includes a camera. Referring to Figure 18, Figure 18 is a flowchart illustrating the anomaly alert method provided in this application embodiment, which includes steps s10 to s30:
步骤s10,在电子设备的屏幕处于物理形态切换的过程中,启动摄像头;其中,物理形态切换的过程包括切换至折叠状态的过程。Step s10: During the physical form switching process of the electronic device screen, the camera is activated; wherein, the physical form switching process includes the process of switching to a folded state.
步骤s20,根据摄像头采集的图像对相邻两个分屏之间的空间进行异物检测,得到异物检测结果。Step s20: Based on the images captured by the camera, perform foreign object detection on the space between two adjacent split screens to obtain the foreign object detection results.
步骤s30,在异物检测结果为存在异物的情况下,输出异常提醒。Step s30: If the foreign object detection result indicates the presence of a foreign object, output an abnormality alert.
在一些可行的实施例中,步骤s10包括步骤s110:In some feasible embodiments, step s10 includes step s110:
步骤s110,在电子设备的屏幕处于物理形态切换的过程中,启动摄像头并且控制相邻两个分屏中未设置摄像头的另一分屏显示预设图片。Step s110: During the physical form switching process of the electronic device screen, the camera is activated and the preset image is displayed on the other of the two adjacent split screens that does not have a camera.
在一些可行的实施例中,步骤s10包括步骤s121~s122:In some feasible embodiments, step s10 includes steps s121 to s122:
步骤s121,确定相邻两个分屏之间的夹角。Step s121: Determine the included angle between two adjacent split screens.
步骤s122,在基于夹角确定屏幕处于物理形态切换过程中的情况下,启动摄像头。Step s122: If the screen is determined to be in a physical form switching process based on the included angle, the camera is activated.
在一些可行的实施例中,步骤s30包括步骤s310~s320:In some feasible embodiments, step s30 includes steps s310 to s320:
步骤s310,在基于夹角确定屏幕处于物理形态切换过程中的情况下,确定屏幕受压位置。Step s310: If the screen is in the process of physical form switching based on the included angle, determine the pressure position of the screen.
步骤s320,在异物检测结果为存在异物和/或屏幕受压位置位于预设区域内的情况下,输出异常提醒。Step s320: If the foreign object detection result indicates the presence of a foreign object and/or the screen pressure location is within a preset area, an abnormality alert is output.
该异常提醒方法的更多实施例或实施方式可以参照前述异常操作提醒方法中对应的描述,与上述异常提醒方法各实施例中相同或相似的内容,可以参考上文介绍,此处不再赘述。More embodiments or implementations of this abnormality alert method can be found in the corresponding descriptions in the aforementioned abnormal operation alert method. Contents that are the same as or similar to those in the embodiments of the above-mentioned abnormality alert method can be found in the above description and will not be repeated here.
本申请实施例提供的异常提醒方法与前述异常操作提醒方法的区别之处在于,在实现异物检测与提醒的基础上,增加异常操作识别与提醒功能。该异常提醒方法能解决相关技术中折叠屏存在异物导致折叠屏损伤以及使用不当导致折叠屏损伤的技术问题,本申请实施例提供的异常提醒方法的有益效果与其他技术特征均可参照前述异常操作提醒方法实施例中的描述,在此不做赘述。The difference between the anomaly alert method provided in this application and the aforementioned abnormal operation alert method lies in that, in addition to foreign object detection and alerting, it adds abnormal operation identification and alerting functions. This anomaly alert method can solve the technical problems in related technologies where foreign objects cause damage to foldable screens, and improper use causes damage to foldable screens. The beneficial effects and other technical features of the anomaly alert method provided in this application can be referred to the description in the aforementioned abnormal operation alert method embodiments, and will not be repeated here.
本申请实施例还提供一种异常操作提醒装置,参照图19,图19提供了一种异常操作提醒装置的模块结构示意图,该异常操作提醒装置应用于电子设备,电子设备的屏幕可折叠,该异常操作提醒装置包括:检测模块M10,被设置为在电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置;提醒模块M20,被设置为在屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。This application embodiment also provides an abnormal operation reminder device. Referring to FIG19, FIG19 provides a schematic diagram of the module structure of an abnormal operation reminder device. The abnormal operation reminder device is applied to an electronic device with a foldable screen. The abnormal operation reminder device includes: a detection module M10, configured to determine the pressure position of the screen during the physical form switching process of the screen of the electronic device; and a reminder module M20, configured to output an abnormal operation reminder when the pressure position of the screen is located within a preset area.
一种示例性的,预设区域为至少两个屏幕处于折叠状态下的重合区域。One example is that the preset area is the overlapping area of at least two screens in a folded state.
一种示例性的,提醒模块M20,还被设置为在屏幕受压位置位于预设区域内的情况下,检测屏幕受压位置处的屏幕受压压力;在屏幕受压压力满足压力异常条件的情况下,输出异常操作提醒。In one example, the reminder module M20 is further configured to detect the screen pressure at the screen pressure location when the screen pressure location is within a preset area; and to output an abnormal operation reminder when the screen pressure meets the abnormal pressure condition.
一种可选的示例中,物理形态切换的过程包括切换至折叠状态的过程;提醒模块M20,还被设置为基于屏幕受压位置确定屏幕的受压点数量;在受压点数量为一个且屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。In one optional example, the physical form switching process includes switching to a folded state; the reminder module M20 is also configured to determine the number of pressure points on the screen based on the pressure position of the screen; and output an abnormal operation reminder when the number of pressure points is one and the pressure position of the screen is within a preset area.
一种可选的示例中,物理形态切换的过程包括切换至展开状态的过程;提醒模块M20,还被设置为基于屏幕受压位置确定屏幕的受压点数量;在受压点数量为两个且两个受压点位置对称,以及屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。In one optional example, the physical form switching process includes switching to the unfolded state; the reminder module M20 is also configured to determine the number of pressure points on the screen based on the screen pressure position; and output an abnormal operation reminder when there are two pressure points and the two pressure points are symmetrically positioned, and the screen pressure position is located within a preset area.
一种示例性的,屏幕包括至少两个分屏;检测模块M10,还被设置为确定相邻两个分屏之间的夹角;在基于夹角确定屏幕处于物理形态切换过程中的情况下,获取触屏坐标数据;基于触屏坐标数据确定屏幕受压位置。In one example, the screen includes at least two sub-screens; the detection module M10 is also configured to determine the angle between two adjacent sub-screens; when it is determined that the screen is in a physical form switching process based on the angle, it acquires touch screen coordinate data; and determines the pressure position of the screen based on the touch screen coordinate data.
一种示例性的,检测模块M10,还被设置为在基于夹角确定屏幕处于物理形态切换过程的起始阶段的情况下,获取触屏坐标数据。In one example, the detection module M10 is also configured to acquire touch screen coordinate data when the screen is determined to be in the initial stage of a physical form switching process based on the included angle.
一种示例性的,电子设备的屏幕还包括摄像头,摄像头设置于相邻两个分屏中的任一分屏,物理形态切换的过程包括切换至折叠状态的过程;提醒模块M20,还被设置为在基于夹角确定屏幕处于物理形态切换过程中的情况下,启动摄像头;根据摄像头采集的图像对相邻两个分屏之间的空间进行异物检测,得到异物检测结果;在异物检测结果为存在异物和/或屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。In one example, the screen of the electronic device also includes a camera, which is located on either of two adjacent split screens. The physical form switching process includes switching to a folded state. The reminder module M20 is also configured to activate the camera when the screen is determined to be in a physical form switching process based on the included angle. The camera is used to detect foreign objects in the space between the two adjacent split screens based on the image captured by the camera, and a foreign object detection result is obtained. If the foreign object detection result indicates the presence of a foreign object and/or the screen pressure position is located within a preset area, an abnormal operation reminder is output.
一种示例性的,提醒模块M20,还被设置为在确定屏幕处于物理形态切换过程中的情况下,启动摄像头并且控制相邻两个分屏中未设置摄像头的另一分屏显示预设图片。In one example, the reminder module M20 is also configured to activate the camera and control the other of the two adjacent split screens that does not have a camera to display a preset image when it is determined that the screen is in the process of physical form switching.
本申请实施例提供的异常操作提醒装置,采用上述实施例中的异常操作提醒方法,能解决相关技术中存在使用不当导致折叠屏损伤的技术问题。与相关技术相比,本申请实施例提供的异常操作提醒装置的有益效果与上述实施例提供的异常操作提醒方法的有益效果相同,且该异常操作提醒装置中的其他技术特征与上述实施例异常操作提醒方法公开的特征相同,在此不做赘述。The abnormal operation reminder device provided in this application, employing the abnormal operation reminder method described in the above embodiments, can solve the technical problem in related technologies where improper use leads to damage to foldable screens. Compared with related technologies, the beneficial effects of the abnormal operation reminder device provided in this application are the same as those of the abnormal operation reminder method provided in the above embodiments, and other technical features of this abnormal operation reminder device are the same as those disclosed in the abnormal operation reminder method of the above embodiments, and will not be repeated here.
本申请实施例还提供一种电子设备,电子设备包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述实施例中的异常操作提醒方法。This application also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the abnormal operation alert method in the above embodiments.
下面参考图20,图20示出了适于用来实现本申请实施例的电子设备的硬件结构示意图。本申请实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、PDA(Personal Digital Assistant:个人数字助理)、PAD(Portable Application Description:平板电脑)、PMP(Portable Media Player:便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端。图20示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG20, FIG20 illustrates a schematic diagram of a hardware structure suitable for implementing an electronic device according to embodiments of the present application. The electronic device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptops, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), etc. The electronic device shown in FIG20 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present application.
如图20所示,电子设备可以包括处理装置1001(例如中央处理器、图形处理器等),其可以根据存储在只读存储器(ROM:Read Only Memory)1002中的程序或者从存储装置1003加载到随机访问存储器(RAM:Random Access Memory)1004中的程序而执行各种适当的动作和处理。在RAM1004中,还存储有电子设备操作所需的各种程序和数据。处理装置1001、ROM1002以及RAM1004通过总线1005彼此相连。输入/输出(I/O)接口1006也连接至总线1005。通常,以下系统可以连接至I/O接口1006:包括例如触摸屏、触摸板、键盘、鼠标、图像传感器、麦克风、加速度计、陀螺仪等的输入装置1007;包括例如液晶显示器(LCD:Liquid Crystal Display)、扬声器、振动器等的输出装置1008;包括例如磁带、硬盘等的存储装置1003;以及通信装置1009。通信装置1009可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种系统的电子设备,但应理解的是,并不要求实施或具备所有示出的系统,可以替代地实施或具备更多或更少的系统。As shown in Figure 20, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus 1005. Typically, the following systems can be connected to I/O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown, and more or fewer systems may be implemented alternatively.
特别地,根据本申请公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请公开的实施例包括一种计算机程序产品,其包括承载在计算机可读存储介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1003被安装,或者从ROM1002被安装。在该计算机程序被处理装置1001执行时,执行本申请实施例公开的异常操作提醒方法中限定的上述功能。Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1009, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the abnormal operation alert method disclosed in the embodiments of this application.
本申请提供的电子设备,采用上述实施例中的异常操作提醒方法,能解决相关技术中存在使用不当导致折叠屏损伤的技术问题。与相关技术相比,本申请提供的电子设备的有益效果与上述实施例提供的异常操作提醒方法的有益效果相同,且该电子设备中的其他技术特征与上述实施例异常操作提醒方法公开的特征相同,在此不做赘述。The electronic device provided in this application, employing the abnormal operation reminder method in the above embodiments, can solve the technical problem in related technologies where improper use leads to damage to the foldable screen. Compared with related technologies, the beneficial effects of the electronic device provided in this application are the same as those of the abnormal operation reminder method provided in the above embodiments, and other technical features of this electronic device are the same as those disclosed in the abnormal operation reminder method of the above embodiments, and will not be repeated here.
本申请公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式的描述中,具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。The various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
以上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
本申请还提供一种计算机可读存储介质,具有存储在其上的计算机可读程序指令(即计算机程序),计算机可读程序指令用于执行上述实施例中的异常操作提醒方法。This application also provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the abnormal operation alert method in the above embodiments.
本申请提供的计算机可读存储介质例如可以是U盘,但不限于电、磁、光、电磁、红外线或半导体的指令执行系统、系统或器件,或者任意以上的组合。计算机可读存储介质的更具体地例子可以包括但不限于具有一个或多个导线的、电连接的便携式计算机磁盘、硬盘、随机访问存储器(RAM:Random Access Memory)、只读存储器(ROM:Read Only Memory)、可擦式可编程只读存储器(EPROM:Erasable Programmable Read Only Memory或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM:CD-Read Only Memory)、光存储器件、磁存储器件等等,或者上述的任意合适的组合。在本实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、系统或器件使用,或者与其结合使用。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于电线、光缆、RF(Radio Frequency:射频)等等,或者上述的任意合适的组合。The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, an instruction execution system, system, or device that is electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc., or any suitable combination thereof, having one or more wires that are electrically connected. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
上述计算机可读存储介质可以是电子设备中所包含的;也可以是单独存在,而未装配入电子设备中的。The aforementioned computer-readable storage medium may be included in an electronic device; or it may exist independently and not assembled into an electronic device.
上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被电子设备执行时,使得电子设备:The aforementioned computer-readable storage medium carries one or more programs, which, when executed by an electronic device, cause the electronic device to:
在电子设备的屏幕处于物理形态切换的过程中,确定屏幕受压位置;在屏幕受压位置位于预设区域内的情况下,输出异常操作提醒。During the physical transformation of the electronic device screen, determine the pressure point on the screen; if the pressure point is within a preset area, output an abnormal operation alert.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN:Local Area Network)或广域网(WAN:Wide Area Network),连接到用户计算机,或者,可以连接到外部计算机,例如利用因特网服务提供商来通过因特网连接。Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer, for example, via the Internet using an Internet service provider.
附图中的流程图和框图,图示了按照本申请各种实施例的方法、设备、系统和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods, apparatuses, systems, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
本申请提供的存储介质为计算机可读存储介质,计算机可读存储介质上存储有用于执行上述异常操作提醒方法的计算机可读程序指令(即计算机程序),能够解决相关技术中存在使用不当导致折叠屏损伤的技术问题。与相关技术相比,本申请提供的计算机可读存储介质的有益效果与上述实施例提供的异常操作提醒方法的有益效果相同,在此不做赘述。The storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., a computer program) for executing the above-described abnormal operation reminder method, and can solve the technical problem in related technologies where improper use leads to damage to foldable screens. Compared with related technologies, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the abnormal operation reminder method provided in the above embodiments, and will not be repeated here.
本申请还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如上述的异常操作提醒方法的步骤。This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described abnormal operation alert method.
本申请提供的计算机程序产品能够解决相关技术中存在使用不当导致折叠屏损伤的技术问题。与相关技术相比,本申请提供的计算机程序产品的有益效果与上述实施例提供的异常操作提醒方法的有益效果相同,在此不做赘述。The computer program product provided in this application can solve the technical problem of damage to foldable screens caused by improper use in related technologies. Compared with related technologies, the beneficial effects of the computer program product provided in this application are the same as those of the abnormal operation reminder method provided in the above embodiments, and will not be repeated here.
以上仅为本申请的部分实施例,并非因此限制本申请的专利范围,凡是在本申请的技术构思下,利用本申请说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本申请的专利保护范围内。The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct/indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims (11)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410656267.XA CN121008882A (en) | 2024-05-24 | 2024-05-24 | Abnormal operation alert methods, electronic devices and storage media |
| CN202410656267.X | 2024-05-24 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025241659A1 true WO2025241659A1 (en) | 2025-11-27 |
Family
ID=97729677
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/081119 Pending WO2025241659A1 (en) | 2024-05-24 | 2025-03-06 | Abnormal operation alerting method, electronic device, and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN121008882A (en) |
| WO (1) | WO2025241659A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111182137A (en) * | 2019-12-19 | 2020-05-19 | 华为技术有限公司 | Display method and electronic device of electronic device with flexible screen |
| CN112578981A (en) * | 2019-09-29 | 2021-03-30 | 华为技术有限公司 | Control method of electronic equipment with flexible screen and electronic equipment |
| WO2021197085A1 (en) * | 2020-03-31 | 2021-10-07 | 华为技术有限公司 | Mistouch prompting method and apparatus for terminal device having under-display camera |
| CN114879860A (en) * | 2022-04-20 | 2022-08-09 | 荣耀终端有限公司 | Method, device and storage medium for preventing mistaken touch of foldable screen |
-
2024
- 2024-05-24 CN CN202410656267.XA patent/CN121008882A/en active Pending
-
2025
- 2025-03-06 WO PCT/CN2025/081119 patent/WO2025241659A1/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112578981A (en) * | 2019-09-29 | 2021-03-30 | 华为技术有限公司 | Control method of electronic equipment with flexible screen and electronic equipment |
| CN111182137A (en) * | 2019-12-19 | 2020-05-19 | 华为技术有限公司 | Display method and electronic device of electronic device with flexible screen |
| WO2021197085A1 (en) * | 2020-03-31 | 2021-10-07 | 华为技术有限公司 | Mistouch prompting method and apparatus for terminal device having under-display camera |
| CN114879860A (en) * | 2022-04-20 | 2022-08-09 | 荣耀终端有限公司 | Method, device and storage medium for preventing mistaken touch of foldable screen |
Also Published As
| Publication number | Publication date |
|---|---|
| CN121008882A (en) | 2025-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102485231B1 (en) | Apparatus and driving method for flexible display device | |
| KR102848756B1 (en) | Electronic device for performing operation based on status information of the electronic device and a method for the same | |
| KR102638783B1 (en) | Electronic device for controlling application according to folding angle and method thereof | |
| US20210311526A1 (en) | Electronic device with flexible display and method for operating same | |
| KR102721440B1 (en) | Electronic device having two display surfaces and method for operating a display thereof | |
| KR20250171243A (en) | Electronic device and displaycontrl method therof | |
| KR102492560B1 (en) | Electronic device and method for controlling input thereof | |
| CN114374751A (en) | Electronic device including flexible display and method of operating screen of electronic device | |
| KR20200119020A (en) | Electronic device and method for controlling and operating of foldable display | |
| CN102004602A (en) | Information processing apparatus, information processing method, and program | |
| KR102859432B1 (en) | Electronic device and displaycontrl method therof | |
| CN111052055B (en) | Electronic device and method for controlling touch sensing signal and storage medium | |
| CN110998497A (en) | Electronic device including force sensor and electronic device control method | |
| KR102819627B1 (en) | Electronic device including flexible display and method of operating the same | |
| US11157110B2 (en) | Electronic device and control method for electronic device | |
| US11762501B2 (en) | Information processing apparatus and control method | |
| KR20190021568A (en) | Method for determining input detection region corresponding to user interface and electronic device thereof | |
| KR102353919B1 (en) | Electronic device and method for performing predefined operations in response to pressure of touch | |
| CN108307055B (en) | Electronic device, fall protection method, and related products | |
| WO2025241659A1 (en) | Abnormal operation alerting method, electronic device, and storage medium | |
| KR102824359B1 (en) | An electronic device and method for operating functions of the electronic device using uncontact gesture | |
| KR102719976B1 (en) | Method for operating based on touch input and electronic device thereof | |
| KR101494443B1 (en) | Transparent flexible display apparatus and operation methods thereof | |
| KR102884545B1 (en) | Electronic device for seamlessly displaying image and operating method thereof | |
| CN108737656B (en) | Floating button processing method, device, storage medium and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25806600 Country of ref document: EP Kind code of ref document: A1 |