CN111641752A - Method, device and electronic device for adjusting screen state - Google Patents
Method, device and electronic device for adjusting screen state Download PDFInfo
- Publication number
- CN111641752A CN111641752A CN202010444248.2A CN202010444248A CN111641752A CN 111641752 A CN111641752 A CN 111641752A CN 202010444248 A CN202010444248 A CN 202010444248A CN 111641752 A CN111641752 A CN 111641752A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- screen
- ground
- state
- adjusting
- 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.)
- Granted
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
本申请公开了一种调整屏幕状态的方法、装置及电子设备,属于通信技术领域。该方法包括:确定电子设备处于跌落状态;在电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。该方法可以应用于防止电子设备的屏幕在电子设备跌落过程中被损坏的场景中。
The present application discloses a method, a device and an electronic device for adjusting a screen state, which belong to the technical field of communication. The method includes: determining that the electronic device is in a falling state; when the electronic device is in a falling state, adjusting the state of the screen of the electronic device relative to the ground; wherein, after adjusting the state of the screen relative to the ground, after the electronic device is dropped to the same level as the ground In the case of ground contact, the screen does not touch the ground. The method can be applied in scenarios where the screen of the electronic device is prevented from being damaged during the drop of the electronic device.
Description
技术领域technical field
本申请属于通信技术领域,具体涉及一种调整屏幕状态的方法、装置及电子设备。The present application belongs to the field of communication technologies, and in particular relates to a method, an apparatus and an electronic device for adjusting a screen state.
背景技术Background technique
随着通信技术的发展,电子设备的应用越来越广泛。在用户使用电子设备的过程中,用户可能会不小心将电子设备跌落,当将电子设备跌落时,如果电子设备的屏幕直接与地面接触,那么可能使得电子设备的屏幕被地面划伤,从而导致电子设备的屏幕被损坏。With the development of communication technology, the application of electronic equipment is becoming more and more extensive. In the process of using the electronic device, the user may accidentally drop the electronic device. When the electronic device is dropped, if the screen of the electronic device directly contacts the ground, the screen of the electronic device may be scratched by the ground, resulting in The screen of the electronic device is damaged.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种调整屏幕状态的方法、装置及电子设备,能够解决电子设备跌落时,电子设备的屏幕被地面划伤,导致电子设备的屏幕被损坏的问题。The purpose of the embodiments of the present application is to provide a method, device and electronic device for adjusting the screen state, which can solve the problem that the screen of the electronic device is scratched by the ground when the electronic device is dropped, resulting in damage to the screen of the electronic device.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种调整屏幕状态的方法,该方法包括:确定电子设备处于跌落状态;且在电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。In a first aspect, an embodiment of the present application provides a method for adjusting a screen state, the method comprising: determining that the electronic device is in a falling state; and adjusting the state of the screen of the electronic device relative to the ground when the electronic device is in the falling state ; wherein, after adjusting the state of the screen relative to the ground, the screen does not contact the ground when the electronic device falls to contact the ground.
第二方面,本申请实施例提供了一种调整屏幕状态的装置,该装置包括:确定模块和控制模块。确定模块,用于确定电子设备处于跌落状态;控制模块,用于在确定模块确定电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,控制模块调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。In a second aspect, an embodiment of the present application provides an apparatus for adjusting a screen state, the apparatus including: a determination module and a control module. The determining module is used to determine that the electronic device is in a falling state; the control module is used to adjust the state of the screen of the electronic device relative to the ground when the determining module determines that the electronic device is in a falling state; wherein the control module adjusts the screen relative to the ground. After the state of the ground, in the case where the electronic device falls into contact with the ground, the screen does not come into contact with the ground.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,该程序或指令被处理器执行时实现如第一方面的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is implemented when executed by the processor Such as the steps of the method of the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,调整屏幕状态的装置可以确定电子设备处于跌落状态;且在电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。通过该方案,在电子设备处于跌落状态的情况下,由于调整屏幕状态的装置可以调整电子设备的屏幕相对于地面的状态,使电子设备跌落至与地面接触时,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the embodiment of the present application, the device for adjusting the screen state can determine that the electronic device is in a falling state; and when the electronic device is in a falling state, adjust the state of the screen of the electronic device relative to the ground; wherein, adjusting the screen relative to the ground After the state of , the screen does not touch the ground when the electronic device falls into contact with the ground. Through this solution, when the electronic device is in a falling state, the device for adjusting the screen state can adjust the state of the screen of the electronic device relative to the ground, so that when the electronic device is dropped to contact the ground, the screen of the electronic device does not contact the ground. , so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
附图说明Description of drawings
图1为本申请实施例提供的调整屏幕状态的方法的示意图;FIG. 1 is a schematic diagram of a method for adjusting a screen state provided by an embodiment of the present application;
图2为本申请实施例中的电子设备处于跌落状态的示意图之一;FIG. 2 is one of the schematic diagrams of the electronic device in the dropped state in the embodiment of the application;
图3为本申请实施例中的电子设备处于跌落状态的示意图之二;3 is the second schematic diagram of the electronic device in the dropped state in the embodiment of the present application;
图4为本申请实施例中的电子设备处于跌落状态的示意图之三;4 is the third schematic diagram of the electronic device in the dropped state in the embodiment of the application;
图5为另一种可能的实现方式中的电子设备的结构示意图;5 is a schematic structural diagram of an electronic device in another possible implementation;
图6为本申请实施例中的电子设备处于跌落状态的示意图之四;FIG. 6 is the fourth schematic diagram of the electronic device in the dropped state in the embodiment of the application;
图7为本申请实施例中的电子设备处于跌落状态的示意图之五;FIG. 7 is the fifth schematic diagram of the electronic device in the dropped state in the embodiment of the application;
图8为本申请实施例提供的调整屏幕状态的装置的示意图;8 is a schematic diagram of an apparatus for adjusting a screen state provided by an embodiment of the present application;
图9为本申请实施例提供的电子设备的硬件示意图。FIG. 9 is a schematic hardware diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的调整屏幕状态的方法进行详细地说明。The method for adjusting the screen state provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
本发明实施例提供的调整屏幕状态的方法可以应用于在电子设备处于跌落状态的情况下,对电子设备的屏幕进行保护的场景中。The method for adjusting the screen state provided by the embodiment of the present invention can be applied to the scenario of protecting the screen of the electronic device when the electronic device is in a dropped state.
具体的,调整屏幕状态的装置可以实时检测电子设备是否处于跌落状态,当确定电子设备处于跌落状态(例如,电子设备在重力方向上的加速度大于或等于预设加速度阈值)时,可以调整电子设备的屏幕相对于地面的状态,以使在电子设备掉落至地面时,电子设备的屏幕与地面不接触。如此,在电子设备处于跌落状态的情况下,由于调整屏幕状态的装置可以调整电子设备的屏幕相对于地面的状态,使电子设备跌落至与地面接触时,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。可以理解,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。Specifically, the device for adjusting the screen state can detect in real time whether the electronic device is in a falling state, and when it is determined that the electronic device is in a falling state (for example, the acceleration of the electronic device in the direction of gravity is greater than or equal to a preset acceleration threshold), the electronic device can be adjusted The state of the screen of the electronic device relative to the ground, so that when the electronic device falls to the ground, the screen of the electronic device does not touch the ground. In this way, when the electronic device is in a falling state, the device for adjusting the screen state can adjust the state of the screen of the electronic device relative to the ground, so that when the electronic device is dropped to contact the ground, the screen of the electronic device does not contact the ground, thereby It can prevent the screen of the electronic device from being scratched by the ground. It can be understood that, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
如图1所示,本申请实施例提供一种调整屏幕状态的方法,该方法可以包括下述步骤101和步骤102。As shown in FIG. 1 , an embodiment of the present application provides a method for adjusting a screen state, and the method may include the
步骤101、调整屏幕状态的装置确定电子设备处于跌落状态。Step 101: The device for adjusting the screen state determines that the electronic device is in a dropped state.
本申请实施例中,调整屏幕状态的装置可以实时确定电子设备当前所处的状态,以确定电子设备是否处于跌落状态。In this embodiment of the present application, the device for adjusting the screen state can determine the current state of the electronic device in real time, so as to determine whether the electronic device is in a dropped state.
可选地,本申请实施例中,调整屏幕状态的装置可以通过确定电子设备在重力方向上的加速度的方式,确定电子设备当前所处的状态;还可以通过其他任意可能的方式,确定电子设备当前所处的状态。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the device for adjusting the screen state may determine the current state of the electronic device by determining the acceleration of the electronic device in the direction of gravity; it may also determine the current state of the electronic device in any other possible way. current state. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
本申请实施例中,电子设备处于跌落状态表示电子设备在空间中作自由落体运动、抛物线运动等运动的状态。In the embodiments of the present application, the electronic device being in a falling state indicates a state in which the electronic device performs a free fall motion, a parabolic motion, or the like in space.
步骤102、在电子设备处于跌落状态的情况下,调整屏幕状态的装置调整电子设备的屏幕相对于地面的状态。
其中,在调整屏幕状态的装置调整电子设备的屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。Wherein, after the device for adjusting the screen state adjusts the state of the screen of the electronic device relative to the ground, when the electronic device falls to contact the ground, the screen does not contact the ground.
需要说明的是,本申请实施例中,调整屏幕状态的装置调整电子设备的屏幕相对于地面的状态,具体可以为在电子设备跌落至与地面接触之前,调整该屏幕相对于地面的状态,且完成调整动作。如此,在电子设备跌落至与地面接触的情况下,可以实现屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤或击碎。It should be noted that, in the embodiment of the present application, the device for adjusting the screen state adjusts the state of the screen of the electronic device relative to the ground. Specifically, it may be adjusting the state of the screen relative to the ground before the electronic device falls into contact with the ground, and Complete the adjustment action. In this way, in the case that the electronic device is dropped to contact the ground, the screen can be prevented from contacting the ground, so that the screen of the electronic device can be prevented from being scratched or broken by the ground.
可选地,本申请实施例中,屏幕相对于地面的状态可以为第一状态或第二状态。若屏幕相对于地面的状态为第一状态,则在电子设备跌落至与地面接触的情况下,屏幕与地面接触;若屏幕相对于地面的状态为第二状态,则在电子设备跌落至与地面接触的情况下,屏幕与地面不接触。Optionally, in this embodiment of the present application, the state of the screen relative to the ground may be the first state or the second state. If the state of the screen relative to the ground is the first state, when the electronic device falls to contact the ground, the screen contacts the ground; if the state of the screen relative to the ground is the second state, then the electronic device falls to the ground In the case of contact, the screen does not touch the ground.
可选地,本申请实施例中,假设电子设备处于跌落状态,且屏幕相对于地面的状态为第一状态;那么,在调整屏幕状态的装置调整屏幕相对于地面的状态之后,屏幕相对于地面的状态为第二状态。如此,在电子设备跌落至与地面接触的情况下,可以实现屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤或击碎。Optionally, in the embodiment of the present application, it is assumed that the electronic device is in a falling state, and the state of the screen relative to the ground is the first state; then, after the device for adjusting the screen state adjusts the state of the screen relative to the ground, the screen relative to the ground is in the first state. state is the second state. In this way, in the case that the electronic device is dropped to contact the ground, the screen can be prevented from contacting the ground, so that the screen of the electronic device can be prevented from being scratched or broken by the ground.
本申请实施例提供的调整屏幕状态的方法中,在电子设备处于跌落状态的情况下,由于调整屏幕状态的装置可以调整电子设备的屏幕相对于地面的状态,使电子设备跌落至与地面接触时,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the method for adjusting the screen state provided by the embodiment of the present application, when the electronic device is in a falling state, the device for adjusting the screen state can adjust the state of the screen of the electronic device relative to the ground, so that the electronic device is dropped to the point where it is in contact with the ground. , the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选地,本申请实施例中,当调整屏幕状态的装置通过确定电子设备在重力方向上的加速度的方式,确定电子设备当前所处的状态时,上述步骤101具体可以通过下述的步骤101a和步骤101b实现。Optionally, in this embodiment of the present application, when the device for adjusting the screen state determines the current state of the electronic device by determining the acceleration of the electronic device in the direction of gravity, the
步骤101a、调整屏幕状态的装置获取第二加速度。Step 101a, the device for adjusting the screen state acquires the second acceleration.
其中,上述第二加速度可以为电子设备在重力方向上的加速度。Wherein, the above-mentioned second acceleration may be the acceleration of the electronic device in the direction of gravity.
可选地,本申请实施例中,调整屏幕状态的装置可以通过电子设备中的重力传感器或重力传感器,获取第二加速度。Optionally, in this embodiment of the present application, the apparatus for adjusting the screen state may acquire the second acceleration through a gravity sensor or a gravity sensor in the electronic device.
步骤101b、在第二加速度大于或等于重力加速度的情况下,调整屏幕状态的装置确定电子设备处于跌落状态。Step 101b, when the second acceleration is greater than or equal to the gravitational acceleration, the device for adjusting the screen state determines that the electronic device is in a falling state.
本申请实施例中,调整屏幕状态的装置获取第二加速度之后,可以将第二加速度的速度值与重力加速度的速度值比对,若第二加速度的速度值大于或等于重力加速度的速度值,则确定电子设备处于跌落状态。若第二加速度的速度值小于重力加速度的速度值,则确定电子设备处于非跌落状态。In the embodiment of the present application, after the device for adjusting the screen state obtains the second acceleration, the speed value of the second acceleration may be compared with the speed value of the gravitational acceleration. If the speed value of the second acceleration is greater than or equal to the speed value of the gravitational acceleration, Then it is determined that the electronic device is in a dropped state. If the speed value of the second acceleration is smaller than the speed value of the gravitational acceleration, it is determined that the electronic device is in a non-drop state.
本申请实施例中,重力加速度具体可以为电子设备当前所处位置处的重力加速度。In this embodiment of the present application, the gravitational acceleration may specifically be the gravitational acceleration at the current position of the electronic device.
可以理解,本申请实施例中,上述重力方向即为重力加速度的方向。It can be understood that, in the embodiment of the present application, the above-mentioned direction of gravity is the direction of the acceleration of gravity.
可选地,本申请实施例中,用户将电子设备向下掷的瞬间,第二加速度大于重力加速度。Optionally, in this embodiment of the present application, when the user throws the electronic device downward, the second acceleration is greater than the gravitational acceleration.
本申请实施例中,由于调整屏幕状态的装置可以根据电子设备在重力方向上的加速度,确定电子设备是否处于跌落状态,因此可以提高确定电子设备处于跌落状态的准确性。In the embodiment of the present application, since the device for adjusting the screen state can determine whether the electronic device is in a falling state according to the acceleration of the electronic device in the direction of gravity, the accuracy of determining that the electronic device is in a falling state can be improved.
可选地,本申请实施例中,电子设备不同,调整屏幕状态的装置调整电子设备的屏幕相对于地面的状态方法也可能不同。下面分别以两种可能的实现方式(即下述的一种可能的实现方式和另一种可能的实现方式)对本申请实施例提供的调整屏幕状态的方法进行示例性地说明。Optionally, in the embodiment of the present application, different electronic devices may have different methods for adjusting the state of the screen of the electronic device relative to the ground by the device for adjusting the screen state. The method for adjusting the screen state provided by the embodiments of the present application is exemplarily described below in two possible implementation manners (ie, one possible implementation manner and another possible implementation manner described below).
可选地,本申请实施例中,在一种可能的实现方式中,当上述电子设备为可弯折的电子设备时,上述步骤102具体可以通过下述的步骤102a实现。Optionally, in the embodiment of the present application, in a possible implementation manner, when the above-mentioned electronic device is a bendable electronic device, the above-mentioned
步骤102a、在电子设备处于跌落状态的情况下,调整屏幕状态的装置通过控制电子设备向电子设备的屏幕一侧弯折,调整该屏幕相对于地面的状态。Step 102a, when the electronic device is in a dropped state, the device for adjusting the screen state adjusts the state of the screen relative to the ground by controlling the electronic device to bend to the screen side of the electronic device.
示例性地,如图2所示,图2中的30为处于跌落状态的电子设备,图2中的31为电子设备30的屏幕,图2中的32为地面,图2中的虚线箭头33为电子设备30的跌落方向。图2中的虚线箭头34和虚线箭头35为电子设备30的弯折方向。具体的,图2中的(a)为电子设备30处于跌落状态的示意图,此时,屏幕31朝向地面(即屏幕背向天空)。图2中的(b)为调整屏幕状态的装置控制电子设备30向屏幕31一侧弯折的过程中的示意图,其中,调整屏幕状态的装置具体可以控制电子设备沿虚线箭头34和虚线箭头35的方向弯折。图2中的(c)为电子设备沿虚线箭头34和虚线箭头35的方向弯折后的示意图,即电子设备30的向屏幕31一侧弯折后的示意图,可以看出,此时,电子设备30弯折为一个环形,且屏幕31位于环形的内侧,可以理解,在电子设备30弯折为一个环形,且屏幕31位于环形的内侧后即表示调整屏幕状态的装置完成对电子设备的屏幕相对于地面的状态的调整。Exemplarily, as shown in FIG. 2 , 30 in FIG. 2 is the electronic device in a falling state, 31 in FIG. 2 is the screen of the
又示例性地,如图3所示,图3中的30为处于跌落状态的电子设备,图3中的31为电子设备30的屏幕,图3中的32为地面,图3中的虚线箭头33为电子设备30的跌落方向,图3中的虚线箭头36为电子设备30的弯折方向。具体的,图3中的(a)为电子设备30处于跌落状态的示意图,此时,屏幕31背向地面(即屏幕朝向天空)。图3中的(b)为调整屏幕状态的装置控制电子设备30的向屏幕31一侧弯折的过程中的示意图。可以看出,在图3中的(b)中,电子设备30以电子设备30的长度方向上的对称线对折,且屏幕位于对折后的电子设备的内侧;图3中的(c)为调整屏幕状态的装置控制电子设备30的向屏幕31一侧弯折后的示意图。可以理解,调整屏幕状态的装置控制电子设备30的向屏幕31一侧弯折后,即表示调整屏幕状态的装置完成对电子设备的屏幕相对于地面的状态的调整。For another example, as shown in FIG. 3 , 30 in FIG. 3 is the electronic device in a dropped state, 31 in FIG. 3 is the screen of the
可选地,本申请实施例中,调整屏幕状态的装置可以通过控制电子设备中的驱动机构(具体可以根据实际使用需求确定,本申请实施例不作限定)运动的方式,控制电子设备向电子设备的屏幕一侧弯折。Optionally, in this embodiment of the present application, the device for adjusting the screen state may control the movement of the electronic device to the electronic device by controlling the movement of the driving mechanism in the electronic device (specifically, it may be determined according to actual use requirements, which is not limited in this embodiment of the present application). the side of the screen is bent.
本申请实施例中,当电子设备为可弯折的电子设备时,由于调整屏幕状态的装置可以通过控制电子设备向电子设备的屏幕一侧弯折,从而可以将电子设备的屏幕包裹起来,因此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the embodiment of the present application, when the electronic device is a bendable electronic device, since the device for adjusting the screen state can bend the electronic device to the side of the screen of the electronic device, the screen of the electronic device can be wrapped, so In the process of dropping the electronic device to contact the ground, the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选地,本申请实施例中,在另一种可能的实现方式中,电子设备的屏幕为可弯折的屏幕,上述步骤102具体可以通过下述的步骤102b实现。Optionally, in the embodiment of the present application, in another possible implementation manner, the screen of the electronic device is a bendable screen, and the
步骤102b、在电子设备处于跌落状态的情况下,调整屏幕状态的装置通过控制屏幕从电子设备的第一侧移动至电子设备的第二侧,调整该屏幕相对于地面的状态。Step 102b, when the electronic device is in a dropped state, the device for adjusting the screen state adjusts the state of the screen relative to the ground by controlling the screen to move from the first side of the electronic device to the second side of the electronic device.
本申请实施例中,电子设备的屏幕为可以绕电子设备移动的屏幕。例如,可以电子设备的屏幕可以从电子设备的第一侧移动至电子设备的第二侧。In this embodiment of the present application, the screen of the electronic device is a screen that can move around the electronic device. For example, the screen of the electronic device may be moved from a first side of the electronic device to a second side of the electronic device.
本申请实施例中,电子设备的第一侧为调整屏幕状态的装置预测的,当电子设备跌落至与地面接触时,电子设备中与地面接触的一侧;电子设备的第二侧为调整屏幕状态的装置预测的,当电子设备跌落至与地面接触时,电子设备中与地面不接触的一侧。In the embodiment of the present application, the first side of the electronic device is predicted by the device for adjusting the state of the screen, and when the electronic device falls to contact the ground, the side of the electronic device that contacts the ground; the second side of the electronic device is the adjustment screen The device of the state predicts the side of the electronic device that is not in contact with the ground when the electronic device is dropped into contact with the ground.
示例性地,图4为电子设备处于跌落状态的示意图。图4中的30为处于跌落状态的电子设备,图4中的30’为预测的与地面接触时的电子设备,图4中的31为电子设备的屏幕,图4中的31’为预测的电子设备跌落至与地面接触时电子设备的屏幕,图4中的32为地面,图4中的虚线箭头33为电子设备的跌落方向。如图4所示,假设电子设备跌落时,屏幕31朝向地面32;那么,如图4中的(a)所示,若调整屏幕状态的装置预测电子设备(即30’所示的电子设备)跌落至与地面接触时,屏幕(即31’所示的屏幕)与地面32接触,则电子设备的第一侧为屏幕31所在的一侧,电子设备的第二侧为电子设备中与屏幕31所在一侧相反的一侧。或者,如图4中的(b)所示,若调整屏幕状态的装置预测电子设备(即30’所示的电子设备)跌落至与地面接触时,屏幕(即31’所示的屏幕)与地面32接触,则电子设备的第一侧为电子设备中与屏幕31所在一侧相反的一侧,电子设备的第二侧为屏幕31所在的一侧。可以理解,在图4中的(b)中,电子设备在下跌过程中翻转,从而当电子设备跌落至与地面接触时,电子设备的屏幕可能与地面接触。Exemplarily, FIG. 4 is a schematic diagram of the electronic device in a dropped state. 30 in Fig. 4 is the electronic device in a falling state, 30' in Fig. 4 is the predicted electronic device when it is in contact with the ground, 31 in Fig. 4 is the screen of the electronic device, and 31' in Fig. 4 is the predicted electronic device When the electronic device is dropped to the screen of the electronic device, 32 in FIG. 4 is the ground, and the dotted
本申请实施例中,调整屏幕状态的装置控制电子设备的屏幕从电子设备的第一侧移动至电子设备的第二侧之后,电子设备的屏幕背向地面(即朝向天空)。In this embodiment of the present application, after the device for adjusting the screen state controls the screen of the electronic device to move from the first side of the electronic device to the second side of the electronic device, the screen of the electronic device faces away from the ground (ie, faces the sky).
可选地,本申请实施例中,电子设备可以为可弯折的电子设备,也可以为不可弯折的电子设备,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the electronic device may be a bendable electronic device or an inflexible electronic device, which may be determined according to actual usage requirements, which is not limited in the embodiment of the present application.
本申请实施例中,由于调整屏幕状态的装置可以控制电子设备的屏幕从电子设备的朝向地面的一侧,移动至与电子设备中、与地面相背的一侧,因此可以实现电子设备跌落至与地面接触的情况下,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In this embodiment of the present application, since the device for adjusting the screen state can control the screen of the electronic device to move from the side of the electronic device facing the ground to the side of the electronic device that faces away from the ground, the electronic device can be dropped to In the case of contact with the ground, the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选地,本申请实施例中,在上述另一种可能的实现方式中,电子设备上设置有传送部件,屏幕固定设置在该传送部件上。该传送部件可以从电子设备的第一侧移动至电子设备的第二侧,从而带动该屏幕从电子设备的第一侧移动至电子设备的第二侧。从而,上述步骤102b具体可以通过下述的步骤102b1实现。Optionally, in the embodiment of the present application, in another possible implementation manner, the electronic device is provided with a transmission component, and the screen is fixedly arranged on the transmission component. The transfer member can move from the first side of the electronic device to the second side of the electronic device, thereby driving the screen to move from the first side of the electronic device to the second side of the electronic device. Therefore, the above step 102b can be specifically implemented by the following step 102b1.
步骤102b1、在电子设备处于跌落状态的情况下,调整屏幕状态的装置通过控制传送部件带动屏幕从电子设备的第一侧移动至电子设备的第二侧,调整屏幕相对于地面的状态。Step 102b1: When the electronic device is in a dropped state, the device for adjusting the screen state drives the screen to move from the first side of the electronic device to the second side of the electronic device by controlling the transmission component, and adjusts the state of the screen relative to the ground.
可选地,本申请实施例中,传送部件可以为传送带、滑块,或其他任意可能的传送部件,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the transmission component may be a conveyor belt, a slider, or any other possible transmission component, which may be determined according to actual use requirements, which is not limited in the embodiment of the present application.
示例性地,假设传送部件为传送带,那么,上述另一种可能的实现方式中的电子设备可以为如图5所示的电子设备50,其中,图5中的(a)为电子设备50的左视图,图5中的(b)为电子设备50的正视图。具体的,如图5中的(a)所示,传送带51套设在电子设备50上,屏幕52固定设置在传送带51上,从而调整屏幕状态的装置可以控制传送带51带动屏幕从电子设备的第一侧移动至电子设备的第二侧,以调整屏幕相对于地面的状态。Exemplarily, assuming that the conveying component is a conveyor belt, the electronic device in the above-mentioned another possible implementation manner may be the
进一步地,如图5中的(a)所示,电子设备50中对称设置有两个带轮53,传送带53具体可以套设在这两个带轮53上。Further, as shown in (a) of FIG. 5 , two
可选地,本申请实施例中,上述两个带轮中的至少一个带轮可以与驱动电机连接,从而调整屏幕状态的装置可以通过控制驱动电机工作以驱动带轮转动,从而实现传送带绕着两个带轮移动。如此可以带动屏幕从电子设备的第一侧移动至电子设备的第二侧。Optionally, in the embodiment of the present application, at least one of the two pulleys can be connected to a drive motor, so that the device for adjusting the screen state can drive the pulley to rotate by controlling the drive motor to work, so that the conveyor belt can be rotated around. Two pulleys move. In this way, the screen can be driven to move from the first side of the electronic device to the second side of the electronic device.
下面再结合图6对本申请实施例提供的调整屏幕状态的方法进行示例性地说明。The method for adjusting the screen state provided by the embodiment of the present application will be exemplarily described below with reference to FIG. 6 .
示例性地,如图6中的(a)所示,假设电子设备50处于跌落状态,且电子设备50的屏幕52朝向地面;传送部件为传送带51,那么,如图6中的(b)所示,调整屏幕状态的装置可以控制传送带51带动屏幕52从电子设备50的朝向地面的一侧(即电子设备的第一侧,例如图6中的(b)所示的虚线框52’所在的一侧)沿箭头54移动至电子设备50的朝向天空的一侧(即电子设备的第二侧)。Exemplarily, as shown in (a) of FIG. 6 , assuming that the
本申请实施例中,由于电子设备的屏幕固定设置在传送部件上,因此调整屏幕状态的装置控制传送部件移动的过程中,电子设备的屏幕可以跟随传送部件一起移动,从而在调整屏幕状态的装置控制传送部件从电子设备的朝向地面的一侧,移动至与电子设备的、与地面向背的一侧之后,电子设备的屏幕位于电子设备的、与地面向背的一侧。如此可以实现电子设备与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。In the embodiment of the present application, since the screen of the electronic device is fixedly arranged on the transmission part, the screen of the electronic device can move with the transmission part during the process of controlling the movement of the transmission part by the device for adjusting the screen state, so that the device for adjusting the state of the screen can move together with the transmission part. After the control transmission part moves from the side of the electronic device facing the ground to the side facing away from the ground, the screen of the electronic device is located on the side of the electronic device facing away from the ground. In this way, in the process of contacting the electronic device with the ground, the screen of the electronic device does not contact the ground, thereby preventing the screen of the electronic device from being scratched by the ground.
可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102c实现。Optionally, in this embodiment of the present application, the foregoing
步骤102c、在电子设备处于跌落状态、且第一夹角处于预设角度范围内的情况下,调整电子设备的屏幕相对于地面的状态。Step 102c, when the electronic device is in a falling state and the first included angle is within a preset angle range, adjust the state of the screen of the electronic device relative to the ground.
其中,第一夹角可以为调整屏幕状态的装置预测的在电子设备跌落至与地面接触时,屏幕与地面的夹角。Wherein, the first included angle may be the included angle between the screen and the ground when the electronic device falls to contact the ground predicted by the device for adjusting the state of the screen.
可选地,本申请实施例中,预设角度范围可以包括[0°,90°]和[270°,360°]。Optionally, in this embodiment of the present application, the preset angle range may include [0°, 90°] and [270°, 360°].
可选地,本申请实施例中,当电子设备处于跌落状态时,调整屏幕状态的装置可以先预测第一夹角;然后,调整屏幕状态的装置可以将第一夹角与预设角度范围比对,若第一夹角处于预设角度范围内,则调整屏幕状态的装置可以调整电子设备的屏幕相对于地面的状态。若第一夹角不处于预设角度范围内,则调整屏幕状态的装置可以不调整电子设备的屏幕相对于地面的状态。Optionally, in the embodiment of the present application, when the electronic device is in a falling state, the device for adjusting the screen state may first predict the first included angle; then, the device for adjusting the screen state may compare the first included angle with the preset angle range. Yes, if the first included angle is within the preset angle range, the device for adjusting the screen state can adjust the state of the screen of the electronic device relative to the ground. If the first included angle is not within the preset angle range, the device for adjusting the screen state may not adjust the state of the screen of the electronic device relative to the ground.
本申请实施例中,第一夹角处于预设角度范围内,表示电子设备跌落至与地面接触时,电子设备的屏幕朝向地面;第一夹角不处于处于预设角度范围内,表示电子设备跌落至与地面接触时,电子设备的屏幕背向地面,即屏幕与地面不会接触,从而无需调整屏幕相对于地面的状态。In the embodiment of the present application, if the first included angle is within the preset angle range, it means that when the electronic device falls into contact with the ground, the screen of the electronic device faces the ground; if the first included angle is not within the preset angle range, it means that the electronic device is in contact with the ground. When dropped to contact with the ground, the screen of the electronic device faces away from the ground, that is, the screen does not touch the ground, so there is no need to adjust the state of the screen relative to the ground.
对于调整屏幕状态的装置预测第一角度的方法将在下述实施例中进行具体描述,为了避免重复,此处不予赘述。The method for predicting the first angle by the apparatus for adjusting the screen state will be described in detail in the following embodiments, and in order to avoid repetition, it will not be repeated here.
本申请实施例中,在电子设备跌落的过程中,由于调整屏幕状态的装置可以预测电子设备跌落至与地面接触时,屏幕与地面的夹角,在预测屏幕与地面的夹角处于预设角度范围内时,调整屏幕相对于地面的状态;在预测屏幕与地面的夹角不处于预设角度范围内时,不调整屏幕相对于地面的状态,因此不但可以保证电子设备跌落至与地面接触时,屏幕与地面不接触,而且可以节省电子设备的耗电量。In the embodiment of the present application, in the process of falling of the electronic device, since the device for adjusting the state of the screen can predict the angle between the screen and the ground when the electronic device falls into contact with the ground, the predicted angle between the screen and the ground is at a preset angle. When it is within the range, adjust the state of the screen relative to the ground; when the predicted angle between the screen and the ground is not within the preset angle range, the state of the screen relative to the ground will not be adjusted. , the screen is not in contact with the ground, and it can save the power consumption of electronic equipment.
可选地,本申请实施例中,电子设备处于跌落状态时,电子设备的跌落姿态不同,则调整屏幕状态的装置预测第一夹角的方法也不同。其中,电子设备的跌落姿态包括,跌落但不翻转(第一种方式)和跌落且翻转(第二种方式)。Optionally, in the embodiment of the present application, when the electronic device is in a falling state, and the falling postures of the electronic device are different, the method for predicting the first included angle by the device for adjusting the screen state is also different. Wherein, the falling posture of the electronic device includes falling without turning over (the first way) and falling and turning over (the second way).
可以理解,本申请实施例中,在上述第一种方式中,在电子设备跌落的过程中,随着跌落时间的变化,电子设备的屏幕相对于地面的夹角基本保持一致。在上述第二种方式中,在电子设备跌落的过程中,随着跌落时间的变化,电子设备的屏幕相对于地面的夹角发生周期性地变化。It can be understood that in the embodiment of the present application, in the above-mentioned first manner, during the falling process of the electronic device, the included angle of the screen of the electronic device relative to the ground is basically the same as the drop time changes. In the above-mentioned second manner, during the falling process of the electronic device, the angle between the screen of the electronic device and the ground changes periodically with the change of the falling time.
示例性地,如图7所示,假设电子设备30的第一端为s1,电子设备30的第二端为s2,如图7中的(a)所示,在A1时刻,电子设备30的屏幕31与地面32的夹角为30°,且电子设备沿虚线箭头33所示方向向地面跌落。那么,在上述第一种方式中,在A1+A2时刻,如图7中的(b1)所示,屏幕31与地面32的夹角仍然为30°;且在A1+A2+A3时刻,如图7中的(c1)所示,屏幕31与地面32的夹角也为30°;即在第一种方式中,在电子设备跌落的过程中,屏幕与地面的夹角保持不变。在上述第二种方式中,若电子设备30的第一端s2绕第二端s1逆时针转动,则在A1+A2时刻,如图7中的(b2)所示,屏幕31与地面32的夹角为60°;且在A1+A2+A3时刻,如图7中的(c2)所示,屏幕31与地面32的夹角为330°;即在电子设备跌落的过程中,屏幕与地面的夹角随着时间的变化而变化。Exemplarily, as shown in FIG. 7 , it is assumed that the first end of the
可以理解,在上述第一种方式中,假设电子设备逆时针旋转一圈的所用的时间为T,那么,在A1+T时刻,电子设备的屏幕与地面的夹角可以为30°。It can be understood that, in the first method above, assuming that the time it takes for the electronic device to rotate counterclockwise is T, then, at time A1+T, the angle between the screen of the electronic device and the ground can be 30°.
可选地,本申请实施例中,在上述第一种方式中,由于在电子设备跌落的过程中,电子设备不翻转,即随着跌落时间的变化,电子设备的屏幕与地面的夹角基本保持一致,因此调整屏幕状态的装置可以直接通过电子设备中的姿态传感器,检测在跌落过程中的任意时刻,电子设备的屏幕相对于地面的夹角(以下称为夹角a),并将该夹角a确定为第一夹角。Optionally, in the embodiment of the present application, in the above-mentioned first method, since the electronic device does not turn over during the falling process of the electronic device, that is, with the change of the falling time, the angle between the screen of the electronic device and the ground is basically Therefore, the device for adjusting the screen state can directly detect the included angle of the screen of the electronic device relative to the ground (hereinafter referred to as the included angle a) at any moment during the fall process through the attitude sensor in the electronic device, and use the The included angle a is determined as the first included angle.
可选地,本申请实施例中,在第二种方式中,由于在电子设备跌落的过程中,电子设备会翻转,即随着跌落时间的变化,电子设备的屏幕与地面的夹角会周期性地变化;因此调整屏幕状态的装置可以根据当前时刻电子设备的屏幕与地面的夹角(例如下述第二夹角)、电子设备的剩余跌落距离(例如下述目标距离)、电子设备当前的跌落速度(例如下述目标速度)、电子设备的翻转方向(例如下述目标翻转方向)、电子设备的翻转频率(例如下述目标翻转频率),确定第一夹角。Optionally, in the embodiment of the present application, in the second method, since the electronic device will flip during the falling process of the electronic device, that is, with the change of the falling time, the angle between the screen of the electronic device and the ground will periodically change. Therefore, the device for adjusting the screen state can be based on the angle between the screen of the electronic device and the ground at the current moment (such as the second angle described below), the remaining drop distance of the electronic device (such as the target distance described below), the current The first included angle is determined by the falling speed of the electronic device (for example, the following target speed), the flip direction of the electronic device (for example, the following target flip direction), and the flip frequency of the electronic device (for example, the following target flip frequency).
示例性地,本申请实施例中,在第二种方式中,本申请实施例提供的调整屏幕状态的方法还可以包括下述的步骤103至步骤105。Exemplarily, in the embodiment of the present application, in the second manner, the method for adjusting the screen state provided by the embodiment of the present application may further include the following steps 103 to 105 .
步骤103、调整屏幕状态的装置根据目标速度、目标距离和第一加速度,确定电子设备的剩余跌落时长。Step 103 , the device for adjusting the screen state determines the remaining fall duration of the electronic device according to the target speed, the target distance and the first acceleration.
其中,目标速度可以为电子设备跌落至第一位置,例如,如图7中的(a)所示的电子设备30所处的位置时,电子设备的跌落速度。目标距离可以为电子设备跌落至第一位置时,电子设备与地面之间的距离,例如图7中的(a)所示的距离h;第一加速度可以为电子设备在重力方向上的加速度。The target speed may be the drop speed of the electronic device when the electronic device falls to the first position, for example, the position where the
可选地,本申请实施例中,调整屏幕状态的装置可以通过速度传感器检测目标速度。调整屏幕状态的装置可以通过距离传感器检测目标距离。Optionally, in this embodiment of the present application, the device for adjusting the screen state may detect the target speed through a speed sensor. The device that adjusts the state of the screen can detect the target distance through the distance sensor.
可选地,本申请实施例中,调整屏幕状态的装置具体可以通过公式1计算得到剩余跌落时长t,公式1可以为:Optionally, in this embodiment of the present application, the device for adjusting the screen state can specifically calculate the remaining drop duration t through formula 1, and formula 1 can be:
其中,v0为目标速度为v0,为h目标距离,a为第一加速度,t为剩余跌落时长。 Among them, v 0 is the target speed v0, h is the target distance, a is the first acceleration, and t is the remaining fall time.
步骤104、调整屏幕状态的装置根据目标翻转频率和剩余跌落时长,确定屏幕在目标距离内的翻转圈数(以下称为目标翻转圈数)。Step 104 , the device for adjusting the screen state determines the number of turns of the screen within the target distance (hereinafter referred to as the number of target turns) according to the target turning frequency and the remaining drop duration.
其中,上述目标翻转频率可以为电子设备跌落至第一位置的过程中的翻转频率。Wherein, the target flip frequency may be the flip frequency in the process of dropping the electronic device to the first position.
可选地,本申请实施例中,目标翻转频率可以为电子设备从初始跌落位置跌落图7中的(a)所示的电子设备30所处的位置(即第一位置)的过程中的翻转频率。Optionally, in this embodiment of the present application, the target flip frequency may be the flip in the process of dropping the electronic device from the initial drop position to the position where the
可选地,本申请实施例中,调整屏幕状态的装置可以根据电子设备从初始跌落位置跌落至第一位置的跌落时长(以下称为初始跌落时长),在初始跌落时长内的翻转圈数(以下称为初始翻转圈数),确定目标翻转频率。例如,假设初始跌落时长为t1,初始翻转圈数为m1,目标翻转圈数为m2,剩余跌落时长为t;那么可以确定目标翻转频率f=m1/t1。如此,上述目标翻转圈数m2=f*t,其中,m2为目标翻转圈数,t为剩余跌落时长。Optionally, in this embodiment of the present application, the device for adjusting the screen state may be based on the drop duration of the electronic device from the initial drop position to the first position (hereinafter referred to as the initial drop duration), and the number of flip turns ( Hereinafter referred to as the number of initial flipping turns), to determine the target flipping frequency. For example, assuming that the initial drop duration is t 1 , the initial rollover turns are m 1 , the target rollover turns are m 2 , and the remaining drop duration is t; then the target rollover frequency f=m 1 /t 1 can be determined. In this way, the above-mentioned target turning number of turns m 2 =f*t, where m 2 is the target turning turn number, and t is the remaining falling time.
步骤105、调整屏幕状态的装置根据第二夹角、目标翻转方向和目标翻转圈数,确定第一夹角。Step 105: The device for adjusting the screen state determines the first included angle according to the second included angle, the target turning direction, and the target turning number of turns.
其中,上述第二夹角可以为电子设备跌落至第一位置时,电子设备的屏幕与地面的夹角;目标翻转方向可以为电子设备跌落至第一位置的过程中的翻转方向。The second angle may be the angle between the screen of the electronic device and the ground when the electronic device falls to the first position; the target flip direction may be the flip direction during the drop of the electronic device to the first position.
可选地,本申请实施例中,调整屏幕状态的装置可以通过姿态传感器,确定第二夹角。Optionally, in this embodiment of the present application, the device for adjusting the state of the screen may determine the second included angle through a gesture sensor.
可选地,本申请实施例中,目标翻转方向可以为顺时针方向,也可以为逆时针方向,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the target flip direction may be a clockwise direction or a counterclockwise direction, which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
其中,顺时针方向为屏幕与地面的夹角由大变小的方向,逆时针方向为屏幕与地面的夹角由小变大的方向。例如,假设在A1时刻时,屏幕与地面的夹角为角度1,在A1时刻的下一时刻时,屏幕与地面的夹角为角度2,那么,若角度1大于角度2,则确定目标方向为顺时针方向,若角度1小于角度2,则确定目标方向为逆时针方向。Among them, the clockwise direction is the direction in which the angle between the screen and the ground changes from large to small, and the counterclockwise direction is the direction in which the angle between the screen and the ground changes from small to large. For example, suppose that at time A1, the angle between the screen and the ground is angle 1, and at the next time at time A1, the angle between the screen and the ground is
可选地,本申请实施例中,目标翻转方向不同,调整屏幕状态的装置确定的第一夹角也不同。Optionally, in this embodiment of the present application, the target flip direction is different, and the first angle determined by the device for adjusting the screen state is also different.
具体的,如果目标方向为逆时针方向,那么,调整屏幕状态的装置可以先将第二夹角与目标角度相加,得到第三角度;然后,再用第三角度除以360°,若第三角度能够被整除,那么可以确定第一角度为360°,若第三角度不能被整除,那么将余数作为第一角度,如果目标方向为顺时针方向,那么,调整屏幕状态的装置可以先将第二夹角与目标角度相减,得到第四角度;然后,再用第四角度的绝对值除以360°,若第四角度的绝对值能够被整除,那么可以确定第一角度为360°或0°,若第四角度的绝对值不能被整除,那么将余数作为第一角度。其中,目标角度为目标翻转圈数对应的角度,且1圈对应360°。Specifically, if the target direction is counterclockwise, the device for adjusting the screen state can first add the second angle to the target angle to obtain the third angle; then divide the third angle by 360°, if the first angle is If the three angles are divisible, then the first angle can be determined to be 360°. If the third angle cannot be divisible, the remainder is used as the first angle. If the target direction is clockwise, the device for adjusting the screen state can The second angle is subtracted from the target angle to obtain the fourth angle; then, the absolute value of the fourth angle is divided by 360°, if the absolute value of the fourth angle can be divisible, then the first angle can be determined to be 360° Or 0°, if the absolute value of the fourth angle is not divisible, then the remainder is taken as the first angle. Among them, the target angle is the angle corresponding to the number of turns of the target flip, and 1 turn corresponds to 360°.
示例性地,假设第二角度为30度,目标翻转圈数为1.5圈,那么,若目标方向为逆时针方向,则第一角度为210°;若目标方向为顺时针方向,则第一角度为150°。Exemplarily, assuming that the second angle is 30 degrees and the number of target flip turns is 1.5, then, if the target direction is counterclockwise, the first angle is 210°; if the target direction is clockwise, the first angle is 150°.
可选地,本申请实施例中,在上述另一种可能的实现方式中,当第一夹角处于预设角度范围内时,电子设备的第一侧即为电子设备的屏幕所在的一侧。Optionally, in this embodiment of the present application, in another possible implementation manner, when the first included angle is within a preset angle range, the first side of the electronic device is the side where the screen of the electronic device is located. .
本申请实施例中,由于可以根据电子设备的跌落姿态确定第一夹角,因此可以增加第一夹角的准确度。In this embodiment of the present application, since the first included angle can be determined according to the falling posture of the electronic device, the accuracy of the first included angle can be increased.
需要说明的是,本申请实施例提供的调整屏幕状态的方法,执行主体可以为调整屏幕状态的装置,或者该装置中的用于执行调整屏幕状态的方法的控制模块。下述实施例中再以该装置执行调整屏幕状态的方法为例,说明本申请实施例提供的调整屏幕状态的装置。It should be noted that, for the method for adjusting the screen state provided by the embodiments of the present application, the execution subject may be an apparatus for adjusting the screen state, or a control module in the apparatus for executing the method for adjusting the screen state. In the following embodiments, the device for adjusting the screen state provided by the embodiment of the present application is described by taking the method for adjusting the screen state performed by the device as an example.
如图8所示,本申请实施例提供一种调整屏幕状态的装置80,该装置80可以包括:确定模块81和控制模块82。确定模块81,可以用于确定电子设备处于跌落状态;控制模块82,可以用于在确定模块81确定电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,控制模块82调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。As shown in FIG. 8 , an embodiment of the present application provides an
在本申请实施例提供的调整屏幕状态的装置中,调整屏幕状态的装置可以确定电子设备处于跌落状态;且在电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。通过该方案,在电子设备处于跌落状态的情况下,由于调整屏幕状态的装置可以调整电子设备的屏幕相对于地面的状态,使电子设备跌落至与地面接触时,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the device for adjusting the screen state provided by the embodiment of the present application, the device for adjusting the screen state can determine that the electronic device is in a falling state; and when the electronic device is in a falling state, adjust the state of the screen of the electronic device relative to the ground; wherein , after adjusting the state of the screen relative to the ground, when the electronic device falls to contact the ground, the screen does not contact the ground. Through this solution, when the electronic device is in a falling state, the device for adjusting the screen state can adjust the state of the screen of the electronic device relative to the ground, so that when the electronic device is dropped to contact the ground, the screen of the electronic device does not contact the ground. , so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选地,本申请实施例中,电子设备可以为可弯折的电子设备。上述控制模块82,具体可以用于通过控制电子设备向该屏幕一侧弯折,调整屏幕相对于地面的状态。Optionally, in this embodiment of the present application, the electronic device may be a bendable electronic device. The above-mentioned
本申请实施例中,当电子设备为可弯折的电子设备时,由于调整屏幕状态的装置可以通过控制电子设备向电子设备的屏幕一侧弯折,从而可以将电子设备的屏幕包裹起来,因此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the embodiment of the present application, when the electronic device is a bendable electronic device, since the device for adjusting the screen state can bend the electronic device to the side of the screen of the electronic device, the screen of the electronic device can be wrapped, so In the process of dropping the electronic device to contact the ground, the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选地,本申请实施例中,电子设备的屏幕可以为可弯折的屏幕;控制模块82,具体可以用于通过控制该屏幕从电子设备的第一侧移动至电子设备的第二侧,调整该屏幕相对于地面的状态。Optionally, in this embodiment of the present application, the screen of the electronic device may be a bendable screen; the
本申请实施例中,由于调整屏幕状态的装置可以控制电子设备的屏幕从电子设备的朝向地面的一侧,移动至与电子设备中、与地面向背的一侧,因此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the embodiment of the present application, since the device for adjusting the screen state can control the screen of the electronic device to move from the side of the electronic device facing the ground to the side of the electronic device and facing away from the ground, the electronic device can be dropped to the side opposite to the ground. During the ground contact process, the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选地,本申请实施例中,电子设备上设置有传送部件,电子设备的屏幕固定设置在该传送部件上;控制模块82,具体可以用于通过控制该传送部件带动该屏幕从电子设备的第一侧移动至电子设备的第二侧,调整该屏幕相对于地面的状态。Optionally, in the embodiment of the present application, a transmission component is provided on the electronic device, and the screen of the electronic device is fixedly arranged on the transmission component; the
本申请实施例中,由于电子设备的屏幕固定设置在传送部件上,因此调整屏幕状态的装置控制传送部件移动的过程中,电子设备的屏幕可以跟随传送部件一起移动,从而在调整屏幕状态的装置控制传送部件从电子设备的朝向地面的一侧,移动至与电子设备的、与地面向背的一侧之后,电子设备的屏幕位于电子设备的、与地面向背的一侧。如此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。In the embodiment of the present application, since the screen of the electronic device is fixedly arranged on the transmission part, the screen of the electronic device can move with the transmission part during the process of controlling the movement of the transmission part by the device for adjusting the screen state, so that the device for adjusting the state of the screen can move together with the transmission part. After the control transmission part moves from the side of the electronic device facing the ground to the side facing away from the ground, the screen of the electronic device is located on the side of the electronic device facing away from the ground. In this way, when the electronic device is dropped to contact the ground, the screen of the electronic device does not contact the ground, thereby preventing the screen of the electronic device from being scratched by the ground.
可选地,本申请实施例中,控制模块82,具体可以用于在电子设备处于跌落状态、且第一夹角处于预设角度范围内的情况下,调整电子设备的屏幕相对于地面的状态;Optionally, in this embodiment of the present application, the
其中,所述第一夹角为预测的在电子设备跌落至与地面接触时,所述屏幕与地面的夹角。Wherein, the first included angle is a predicted included angle between the screen and the ground when the electronic device falls to contact the ground.
本申请实施例中,在电子设备跌落的过程中,由于调整屏幕状态的装置可以预测电子设备跌落至与地面接触时,屏幕与地面的夹角,在预测屏幕与地面的夹角处于预设角度范围内时,调整屏幕相对于地面的状态;在预测屏幕与地面的夹角不处于预设角度范围内时,不调整屏幕相对于地面的状态,因此不但可以保证电子设备跌落至与地面接触时,屏幕与地面不接触,而且可以节省电子设备的耗电量。In the embodiment of the present application, in the process of falling of the electronic device, since the device for adjusting the state of the screen can predict the angle between the screen and the ground when the electronic device falls into contact with the ground, the predicted angle between the screen and the ground is at a preset angle. When it is within the range, adjust the state of the screen relative to the ground; when the predicted angle between the screen and the ground is not within the preset angle range, the state of the screen relative to the ground will not be adjusted. , the screen is not in contact with the ground, and it can save the power consumption of electronic equipment.
可选地,本申请实施例中,上述确定模块81还可以用于根据目标速度、目标距离和第一加速度,确定电子设备的剩余跌落时长;且根据目标翻转频率和该剩余跌落时长,确定屏幕在目标距离内的翻转圈数;并根据第二夹角、目标翻转方向和该翻转圈数,确定第一夹角。其中,第二夹角可以为电子设备跌落至第一位置时,该屏幕与地面的夹角;目标速度可以为电子设备跌落至第一位置时,电子设备的跌落速度;目标距离可以为电子设备跌落至第一位置时,电子设备与地面之间的距离;第一加速度可以为电子设备在重力方向上的加速度;目标翻转频率可以为电子设备跌落至第一位置的过程中的翻转频率;目标翻转方向可以为电子设备跌落至第一位置的过程中的翻转方向。Optionally, in the embodiment of the present application, the above determination module 81 may also be used to determine the remaining drop duration of the electronic device according to the target speed, target distance and first acceleration; and determine the screen according to the target flip frequency and the remaining drop duration. The number of turns within the target distance; and the first included angle is determined according to the second included angle, the target turning direction and the number of turns. Wherein, the second angle can be the angle between the screen and the ground when the electronic device falls to the first position; the target speed can be the falling speed of the electronic device when the electronic device drops to the first position; the target distance can be the electronic device The distance between the electronic device and the ground when it falls to the first position; the first acceleration can be the acceleration of the electronic device in the direction of gravity; the target flip frequency can be the flip frequency in the process of the electronic device falling to the first position; the target The flip direction may be the flip direction in the process of dropping the electronic device to the first position.
本申请实施例中,由于调整屏幕状态的装置可以根据电子设备的跌落姿态确定第一夹角,因此可以增加第一夹角的准确度。In the embodiment of the present application, since the device for adjusting the screen state can determine the first included angle according to the falling posture of the electronic device, the accuracy of the first included angle can be increased.
可选地,本申请实施例中,上述确定模块81可以包括获取子模块和确定子模块;获取子模块,可以用于获取第二加速度,第二加速度可以为电子设备在重力方向上的加速度;确定子模块,可以用于在获取子模块获取的第二加速度大于或等于重力加速度的情况下,确定电子设备处于跌落状态。Optionally, in this embodiment of the present application, the above determination module 81 may include an acquisition sub-module and a determination sub-module; the acquisition sub-module may be used to acquire a second acceleration, and the second acceleration may be the acceleration of the electronic device in the direction of gravity; The determining submodule may be configured to determine that the electronic device is in a falling state when the second acceleration acquired by the acquiring submodule is greater than or equal to the gravitational acceleration.
本申请实施例中,由于调整屏幕状态的装置可以根据电子设备在重力方向上的加速度,确定电子设备是否处于跌落状态,因此可以提高确定电子设备处于跌落状态的准确性。In the embodiment of the present application, since the device for adjusting the screen state can determine whether the electronic device is in a falling state according to the acceleration of the electronic device in the direction of gravity, the accuracy of determining that the electronic device is in a falling state can be improved.
本申请实施例中的调整屏幕状态的装置可以是电子设备,也可以是电子设备中的部件、集成电路、或芯片。该电子设备可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The apparatus for adjusting the screen state in the embodiment of the present application may be an electronic device, or may be a component, an integrated circuit, or a chip in the electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., the embodiment of the present application There is no specific limitation.
本申请实施例中的调整屏幕状态的装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for adjusting the screen state in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的调整屏幕状态的装置80能够实现图1至图7所示的方法实施例中调整屏幕状态的装置实现的各个过程,为避免重复,这里不再赘述。The
可选的,如图9所示,本申请实施例还提供一种电子设备,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的程序或指令,该程序或指令被处理器1010执行时实现上述调整屏幕状态的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 9 , an embodiment of the present application further provides an electronic device, including a
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图9为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application. The
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,处理器1010,用于确定电子设备处于跌落状态;且在确定电子设备处于跌落状态的情况下,调整屏幕相对于地面的状态;其中,处理器1010调整屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。Wherein, the
在本申请实施例提供的电子设备中,电子设备可以确定电子设备处于跌落状态;且在电子设备处于跌落状态的情况下,调整电子设备的屏幕相对于地面的状态;其中,调整该屏幕相对于地面的状态之后,在电子设备跌落至与地面接触的情况下,该屏幕与地面不接触。通过该方案,在电子设备处于跌落状态的情况下,由于电子设备可以调整电子设备的屏幕相对于地面的状态,使电子设备跌落至与地面接触时,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the electronic device provided in the embodiment of the present application, the electronic device can determine that the electronic device is in a falling state; and when the electronic device is in a falling state, adjust the state of the screen of the electronic device relative to the ground; wherein, adjusting the screen relative to the ground After the state of the ground, in the case where the electronic device falls into contact with the ground, the screen does not come into contact with the ground. Through this solution, when the electronic device is in a falling state, since the electronic device can adjust the state of the screen of the electronic device relative to the ground, when the electronic device falls to contact the ground, the screen of the electronic device does not contact the ground, so that it can be Avoid the screen of the electronic device being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选的,本申请实施例中,上述电子设备为可弯折的电子设备。处理器1010,具体用于通过控制电子设备向屏幕一侧弯折,调整屏幕相对于地面的状态。Optionally, in this embodiment of the present application, the above-mentioned electronic device is a bendable electronic device. The
本申请实施例中,当电子设备为可弯折的电子设备时,由于电子设备可以通过控制电子设备向电子设备的屏幕一侧弯折,从而可以将电子设备的屏幕包裹起来,因此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In the embodiment of the present application, when the electronic device is a bendable electronic device, since the electronic device can be bent to the side of the screen of the electronic device by controlling the electronic device, the screen of the electronic device can be wrapped, so the electronic device can be realized. In the process of dropping the device into contact with the ground, the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选的,本申请实施例中,电子设备的屏幕为可弯折的屏幕;处理器1010,具体用于通过控制屏幕从电子设备的第一侧移动至电子设备的第二侧,调整屏幕相对于地面的状态。Optionally, in this embodiment of the present application, the screen of the electronic device is a bendable screen; the
本申请实施例中,由于电子设备可以控制电子设备的屏幕从电子设备的朝向地面的一侧,移动至与电子设备中、与地面向背的一侧,因此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。如此,执行本发明实施例提供的调整屏幕状态的方法可以在电子设备被跌落的情况下,保护电子设备的屏幕不被损坏。In this embodiment of the present application, since the electronic device can control the screen of the electronic device to move from the side of the electronic device facing the ground to the side of the electronic device and facing away from the ground, the electronic device can be dropped to the side that is in contact with the ground. During the process, the screen of the electronic device does not contact the ground, so that the screen of the electronic device can be prevented from being scratched by the ground. In this way, performing the method for adjusting the screen state provided by the embodiments of the present invention can protect the screen of the electronic device from being damaged when the electronic device is dropped.
可选的,本申请实施例中,电子设备上设置有传送部件,上述屏幕固定设置在传送部件上;处理器1010,具体用于通过控制传送部件带动屏幕从电子设备的第一侧移动至电子设备的第二侧,调整屏幕相对于地面的状态。Optionally, in this embodiment of the present application, a transmission component is provided on the electronic device, and the above-mentioned screen is fixedly arranged on the transmission component; the
本申请实施例中,由于电子设备的屏幕固定设置在传送部件上,因此电子设备控制传送部件移动的过程中,电子设备的屏幕可以跟随传送部件一起移动,从而在电子设备控制传送部件从电子设备的朝向地面的一侧,移动至与电子设备的、与地面向背的一侧之后,电子设备的屏幕位于电子设备的、与地面向背的一侧。如此可以实现电子设备跌落至与地面接触的过程中,电子设备的屏幕与地面不接触,从而可以避免电子设备的屏幕被地面划伤。In this embodiment of the present application, since the screen of the electronic device is fixed on the transmission part, the screen of the electronic device can move with the transmission part during the process of the electronic device controlling the movement of the transmission part, so that when the electronic device controls the transmission part to move from the electronic device After moving to the side of the electronic device facing the ground, the screen of the electronic device is located on the side of the electronic device facing away from the ground. In this way, when the electronic device is dropped to contact the ground, the screen of the electronic device does not contact the ground, thereby preventing the screen of the electronic device from being scratched by the ground.
可选的,本申请实施例中,处理器1010,具体用于在电子设备处于跌落状态、且第一夹角处于预设角度范围内的情况下,调整屏幕相对于地面的状态;Optionally, in this embodiment of the present application, the
其中,第一夹角为预测的在电子设备跌落至与地面接触时,屏幕与地面的夹角。The first included angle is the predicted included angle between the screen and the ground when the electronic device falls to contact the ground.
可选的,本申请实施例中,处理器1010,还用于根据目标距离和第一加速度,确定电子设备的剩余跌落时长;且根据目标翻转频率和剩余跌落时长,确定屏幕在目标距离内的翻转圈数;并根据第二夹角、目标翻转方向和翻转圈数,确定第一夹角;第二夹角为电子设备跌落至第一位置时,屏幕与地面的夹角;其中,目标距离为电子设备跌落至第一位置时,电子设备与地面之间的距离;第一加速度为电子设备在重力方向上的加速度;目标翻转频率为电子设备跌落至第一位置的过程中的翻转频率;目标翻转方向为电子设备跌落至第一位置的过程中的翻转方向。Optionally, in this embodiment of the present application, the
本申请实施例中,由于电子设备可以根据电子设备的跌落姿态确定第一夹角,因此可以增加第一夹角的准确度。In this embodiment of the present application, since the electronic device can determine the first included angle according to the falling posture of the electronic device, the accuracy of the first included angle can be increased.
可选的,本申请实施例中,输入单元1004,用于获取第二加速度,第二加速度为电子设备在重力方向上的加速度;处理器1010,用于在输入单元1004获取的第二加速度大于或等于重力加速度的情况下,确定电子设备处于跌落状态。Optionally, in this embodiment of the present application, the
本申请实施例中,由于电子设备可以根据电子设备在重力方向上的加速度,确定电子设备是否处于跌落状态,因此可以提高确定电子设备处于跌落状态的准确性。In this embodiment of the present application, since the electronic device can determine whether the electronic device is in a falling state according to the acceleration of the electronic device in the direction of gravity, the accuracy of determining that the electronic device is in a falling state can be improved.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述调整屏幕状态的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above-mentioned method for adjusting a screen state can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述调整屏幕状态的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the various processes of the above-mentioned method embodiments for adjusting the screen state, and can To achieve the same technical effect, in order to avoid repetition, details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010444248.2A CN111641752B (en) | 2020-05-22 | 2020-05-22 | Method, device, electronic device and readable storage medium for adjusting screen state |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010444248.2A CN111641752B (en) | 2020-05-22 | 2020-05-22 | Method, device, electronic device and readable storage medium for adjusting screen state |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111641752A true CN111641752A (en) | 2020-09-08 |
| CN111641752B CN111641752B (en) | 2021-05-18 |
Family
ID=72331559
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010444248.2A Active CN111641752B (en) | 2020-05-22 | 2020-05-22 | Method, device, electronic device and readable storage medium for adjusting screen state |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111641752B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115150509A (en) * | 2022-06-29 | 2022-10-04 | 深圳传音控股股份有限公司 | Terminal screen protection method, intelligent terminal and storage medium |
| CN115242922A (en) * | 2022-07-21 | 2022-10-25 | Oppo广东移动通信有限公司 | Screen protection method and device, electronic equipment and storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8804948B2 (en) * | 2012-06-18 | 2014-08-12 | Hon Hai Precision Industry Co., Ltd. | Handheld device and method for protecting handheld device from falling collision |
| CN106155268A (en) * | 2015-03-24 | 2016-11-23 | 联想(北京)有限公司 | A kind of control method and device |
| CN106200948A (en) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | The falling protection method of a kind of flexible screen mobile terminal and mobile terminal |
| CN106371630A (en) * | 2016-09-06 | 2017-02-01 | 广东欧珀移动通信有限公司 | Falling data processing method, falling data processing device and mobile terminal |
| CN108184026A (en) * | 2018-01-23 | 2018-06-19 | 广东欧珀移动通信有限公司 | Falling protection method and related product |
| CN108234769A (en) * | 2018-01-02 | 2018-06-29 | 广东欧珀移动通信有限公司 | Falling protection method and related product |
| CN108429850A (en) * | 2018-01-10 | 2018-08-21 | 广东欧珀移动通信有限公司 | Drop handling method and related products |
| CN110891115A (en) * | 2019-11-15 | 2020-03-17 | 珠海格力电器股份有限公司 | Electronic equipment drop protection method and device, storage medium and electronic equipment |
-
2020
- 2020-05-22 CN CN202010444248.2A patent/CN111641752B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8804948B2 (en) * | 2012-06-18 | 2014-08-12 | Hon Hai Precision Industry Co., Ltd. | Handheld device and method for protecting handheld device from falling collision |
| CN106155268A (en) * | 2015-03-24 | 2016-11-23 | 联想(北京)有限公司 | A kind of control method and device |
| CN106200948A (en) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | The falling protection method of a kind of flexible screen mobile terminal and mobile terminal |
| CN106371630A (en) * | 2016-09-06 | 2017-02-01 | 广东欧珀移动通信有限公司 | Falling data processing method, falling data processing device and mobile terminal |
| CN108234769A (en) * | 2018-01-02 | 2018-06-29 | 广东欧珀移动通信有限公司 | Falling protection method and related product |
| CN108429850A (en) * | 2018-01-10 | 2018-08-21 | 广东欧珀移动通信有限公司 | Drop handling method and related products |
| CN108184026A (en) * | 2018-01-23 | 2018-06-19 | 广东欧珀移动通信有限公司 | Falling protection method and related product |
| CN110891115A (en) * | 2019-11-15 | 2020-03-17 | 珠海格力电器股份有限公司 | Electronic equipment drop protection method and device, storage medium and electronic equipment |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115150509A (en) * | 2022-06-29 | 2022-10-04 | 深圳传音控股股份有限公司 | Terminal screen protection method, intelligent terminal and storage medium |
| CN115242922A (en) * | 2022-07-21 | 2022-10-25 | Oppo广东移动通信有限公司 | Screen protection method and device, electronic equipment and storage medium |
| CN115242922B (en) * | 2022-07-21 | 2023-10-03 | Oppo广东移动通信有限公司 | Screen protection method and device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111641752B (en) | 2021-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10231347B2 (en) | Electronic device including flexible display | |
| US9141195B2 (en) | Electronic device and method using a touch-detecting surface | |
| US10296053B1 (en) | Multi-form factor information handling system (IHS) with attachable keyboard | |
| US8704781B2 (en) | Information processing apparatus, information processing method, and program | |
| CN104954631B (en) | A kind of method for processing video frequency, device and system | |
| US8820936B2 (en) | Electronic device having 3-D image projection mechanism and 3-D image projection method of the same | |
| CN215499053U (en) | electronic device | |
| US9429987B2 (en) | Electronic device capable of rotating display image and display image rotating method thereof | |
| EP3805982A1 (en) | Gesture recognition method, apparatus and device | |
| CN108376019A (en) | Electronic device | |
| US20160034043A1 (en) | Buttonless display activation | |
| CN109643187B (en) | Electronic device including a plurality of touch displays and method for changing state thereof | |
| EP3349323A1 (en) | Terminal and method for charging the same | |
| CN107924216A (en) | Foldable electronic and its method for information display including hiding display | |
| US9235238B2 (en) | Mobile electronic device with dual touch displays and multitasking function, control method, and storage medium storing control program | |
| CN105706035A (en) | Tilting to scroll | |
| WO2018214734A1 (en) | Photographing control method and related product | |
| US20150052375A1 (en) | Information processing method and electronic device | |
| CN113255912A (en) | Channel pruning method and device for neural network, electronic equipment and storage medium | |
| US20140092003A1 (en) | Direct haptic feedback | |
| CN111641752A (en) | Method, device and electronic device for adjusting screen state | |
| CN108778932A (en) | Method and device for controlling pan-tilt reset, pan-tilt, unmanned aerial vehicle | |
| EP4280035A1 (en) | Screen control method and apparatus, and electronic device | |
| CN103762390A (en) | Charging method and action electronic device | |
| CN111783969A (en) | Data processing method, data processing device, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |

