Function starting method and device, electronic equipment and computer readable storage medium

By detecting the posture of electronic equipment and responding to target operations, the problem of difficulty in starting functions in tents and standing positions is solved, and more convenient and accurate function startup is achieved, reducing the rate of false triggering.

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

Patent Information

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

AI Technical Summary

Technical Problem

The prior art is difficult to quickly and conveniently activate specific functions in specific postures of electronic devices, especially in tent postures and standing postures. The traditional quick start method is not applicable, resulting in user operation difficulties and high error triggering rates.

Method used

By detecting the current attitude of the electronic device, if the preset attitude conditions are met, respond to the target operation to start the target function, use the attitude acquisition module and function activation module, and combine the acceleration sensor, gyroscope and other sensors to determine the equipment attitude and user operation to prevent Triggered by mistake.

Benefits of technology

It simplifies the complexity of function activation of electronic devices in specific postures, reduces the rate of error triggering, improves the convenience of starting functions in specific postures, and avoids the difficulty of operating in special postures by traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225846A_ABST
    Figure CN119225846A_ABST
Patent Text Reader

Abstract

The invention provides a function starting method, which is applied to electronic equipment which comprises a first component and a second component, and the first component and the second component can move relatively, and the method comprises the following steps: if a target operation is detected, obtaining a current posture of the electronic equipment; if the current posture meets the first posture condition, calling and starting a target function of the electronic equipment in response to the target operation; wherein meeting the first attitude condition represents that the relative position of the first component and the second component is a preset relative position. The invention further provides a function starting device, electronic equipment and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic information technology, and in particular to a function activation method, device, electronic device, and computer-readable storage medium. Background Art

[0002] With the development of the times, various electronic devices have become important auxiliary tools in people's lives and work. As people's dependence on electronic devices increases, how to quickly and conveniently start the functions required by users on electronic devices has become a concern for people. Taking the camera function as an example, there are already many ways to quickly and conveniently access the camera function on electronic devices, including quickly starting the camera function by tapping a button with a specific action. However, these quick methods are not always applicable to all situations. In some scenarios, there is no simple and quick way to start its camera function. Summary of the invention

[0003] In view of this, the present disclosure provides a function activation method, an apparatus, an electronic device, and a computer-readable storage medium for improving the activation efficiency of an electronic device in a specific posture.

[0004] According to a first aspect of the present disclosure, a function activation method is provided, which is applied to an electronic device including a first component and a second component, and the first component and the second component can move relative to each other. The method includes: if a target operation is detected, obtaining a current posture of the electronic device; if the current posture satisfies a first posture condition, activating a target function of the electronic device in response to the target operation; wherein, satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position.

[0005] According to an embodiment of the present disclosure, the target operation is acquired by a target acquisition element located in a target sensing area.

[0006] According to an embodiment of the present disclosure, the target sensing area is located in an area corresponding to the target function.

[0007] According to an embodiment of the present disclosure, an angle is defined between the first component and the second component, and the angle is variable; the electronic device satisfying the first posture condition is characterized by the angle between the first component and the second component being smaller than a preset angle.

[0008] According to an embodiment of the present disclosure, if the current posture satisfies a first posture condition and the electronic device satisfies a stationary condition, in response to the target operation, a target function of the electronic device is activated.

[0009] According to an embodiment of the present disclosure, the target operation is detected when the brightness signals corresponding to the pixels of the entire screen are the same and equal to 0; the activation of the target function of the electronic device includes: based on the target function, generating a display control signal, transmitting the display control signal to a display controller, and the display controller controlling the display device to perform full-screen display according to the display control signal, wherein the display control signal indicates that the brightness signals corresponding to the pixels of the entire screen are the same and greater than a first preset threshold.

[0010] According to an embodiment of the present disclosure, the target function is a shooting function; and the target sensing area is located in the area where the image acquisition element is located.

[0011] According to a second aspect of the present disclosure, a function activation device is provided, which is applied to an electronic device including a first component and a second component, and the first component and the second component can move relative to each other, including: a posture acquisition module, which is used to obtain the current posture of the electronic device if a target operation is detected; and a function activation module, which is used to activate the target function of the electronic device in response to the target operation if the current posture satisfies a first posture condition; wherein satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position.

[0012] According to a third aspect of the present disclosure, there is provided an electronic device, comprising: a first component, a second component, and the first component and the second component can move relative to each other; 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, and the instructions are executed by the at least one processor to perform a function startup method, the function startup method comprising: if a target operation is detected, obtaining a current posture of the electronic device; if the current posture satisfies a first posture condition, initiating a target function of the electronic device in response to the target operation; wherein satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position.

[0013] According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having a computer program / instruction stored thereon, wherein the computer program / instruction, when executed by a processor, implements the steps of the method according to any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above contents and other purposes, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0015] Figure 1The application scenario diagram of the function activation method, apparatus, device, medium and program product according to the embodiment of the present disclosure is schematically shown;

[0016] Figure 2 A flowchart of a function activation method according to an embodiment of the present disclosure is schematically shown;

[0017] Figure 3 A schematic diagram schematically shows a target sensing area according to an embodiment of the present disclosure;

[0018] Figure 4 An application flow chart of a function activation method according to an embodiment of the present disclosure is schematically shown;

[0019] Figure 5 A structural block diagram of a function activation device according to an embodiment of the present disclosure is schematically shown; and

[0020] Figure 6 A block diagram of an electronic device suitable for implementing a function activation method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0021] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0022] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0023] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0024] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0025] Figure 1 The application scenario diagram 100 of the function activation method and the function activation device according to the embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 The examples shown are merely scenarios in which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0026] like Figure 1 As shown, in application scenario 100, the electronic device is a foldable mobile phone as an example, including a first component 101 and a second component 102, and the first component 101 and the second component 102 can move relative to each other. It should be noted that Figure 1 The foldable mobile phone shown is only a schematic illustration of an electronic device, and the electronic device can be a foldable laptop computer, a foldable mobile phone, and other devices with transformable forms, which are not specifically limited here. Based on the connecting member 103 of the electronic device, such as a connecting bearing, a connecting chain, etc., the electronic device can be divided into a first component 101 and a second component 102, wherein the first component 101 and the second component 102 can move relative to each other based on the connecting member 103, so that the electronic device can be folded.

[0027] Although various electronic devices have realized function activation based on keys or touch buttons, these operations have one thing in common, that is, they are all activation methods with a very low error rate. However, in the increasingly diverse application scenarios of electronic devices, these quick methods of starting specific functions are not suitable for electronic devices with certain postures. Figure 1Two postures of an electronic device are schematically shown, one of which is a posture in which the first part 101 and the second part 102 of the electronic device are at a certain angle and inverted, which is similar to the shape of a tent, namely, a tent posture; the other posture is a posture in which the first part 101 and the second part 102 of the electronic device are at a certain angle and one of the first part 101 and the second part 102 is placed on a platform as a supporting part, namely, a standing posture. In these two postures, the current method of quickly starting a specific function is no longer applicable, such as pressing the power button multiple times to activate a specific function, or it is necessary to pick up the electronic device and unfold it before operating. If the user needs to start a specific function while maintaining the posture of the electronic device, it may require the cooperation of both hands, such as one hand is used to fix the electronic device to keep the posture, and the other hand is used to press buttons or touch to start the function. Therefore, the user cannot quickly and conveniently start some functions when the electronic device is in these two postures.

[0028] Based on the above problems, the present disclosure provides a function activation method, which detects the posture of an electronic device and responds to a target operation to activate a target function when the electronic device is detected to be in a specific preset posture, thereby simplifying the complexity of function activation of the electronic device in a specific posture, reducing the false trigger rate during quick activation, and improving the convenience of activating certain functions in a specific posture. Figure 2~Figure 4 The function activation method of the disclosed embodiment is described in detail.

[0029] Figure 2 The flowchart of the function startup method according to the embodiment of the present disclosure is schematically shown.

[0030] like Figure 2 As shown, the function activation method of this embodiment includes operations S210 to S220, and is applied to an electronic device including a first component and a second component, and the first component and the second component can move relative to each other. The transaction processing method can be executed sequentially.

[0031] In operation S210, if a target operation is detected, a current posture of the electronic device is obtained.

[0032] Among them, the target operation is related to the device posture. When the device is in a first posture, the error operation rate of the target operation is a first error operation rate. When the device is in a second posture, the error operation rate of the target operation is a second error operation rate. The second error operation rate is greater than the first error operation rate and the first error operation rate is lower than the error operation rate threshold.

[0033] Taking the target operation of touching the camera and the device being a foldable device as an example, when the device is in the above-mentioned standing posture or tent posture (that is, in the first posture), it is generally placed on a stable plane, and when the device is in the normal unfolded posture or closed posture (that is, in the second posture), it is generally held in the hand by the user for use or placed in the pocket. The error operation rate of the camera being accidentally touched in the standing posture or tent posture is much lower than the error operation rate of the camera being accidentally touched in the unfolded posture or closed posture.

[0034] In one embodiment, the current posture of the electronic device can be obtained based on information collected by a gyroscope, a gravity sensor, an acceleration sensor, etc. configured on the electronic device. The target operation can be an operation used by a user to start a certain function of the electronic device when the electronic device is in a preset posture. When the electronic device is in a preset posture, under the premise of maintaining the preset posture of the electronic device, the target operation can be an action of the user's hand approaching the electronic device, or a gesture or touch operation of the user within a specific area of ​​the electronic device, etc.

[0035] When the electronic device senses the target operation, it confirms whether the current user's operation is the user's desired operation to start a specific function of the electronic device under a specific posture based on the current posture of the electronic device, thereby preventing the occurrence of accidental touches.

[0036] In operation S220, if the current gesture satisfies the first gesture condition, a target function of the electronic device is activated in response to the target operation.

[0037] Wherein, satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position, forming a preset posture of the electronic device. As mentioned above, the error operation rate of the target operation is related to the device posture. If the current posture of the electronic device satisfies the first posture condition, it can be determined that the current target operation is the operation that the user expects to start the target function of the electronic device, that is, the error operation rate of the target operation in the first posture is lower than the error operation rate threshold, and the target function of the electronic device can be called up based on the operating system of the electronic device in response to the target operation. If the current posture of the electronic device does not satisfy the first posture condition, the operating system of the electronic device can determine that the current target operation is not the operation that the user expects to start the target function of the electronic device, that is, the error operation rate of the target operation in a non-first posture is higher than the error operation rate threshold, and the target function of the electronic device is not started in response to the target operation.

[0038] Based on the function activation method provided by the embodiment of the present disclosure, when the electronic device detects the target operation, it can determine whether the current target operation is an operation for invoking the target function when the electronic device is in a first posture condition by detecting the current posture of the electronic device, and then determine whether to activate the target function of the electronic device. The function activation method determines whether to activate the target function of the electronic device by simultaneously determining whether the target operation and the current posture of the electronic device meet the first posture condition, thereby simplifying the target operation and solving the problem that it is difficult for the electronic device to activate the target function conveniently and quickly when the electronic device is in a specific posture, and avoiding the false triggering of the target operation.

[0039] In some methods of quickly launching functions, when the electronic device is in a normal use posture, such as when a foldable mobile phone is in an unfolded state, the target function can be launched based on the user's shaking operation collected by the acceleration sensor, or the rotation angle between the first part and the second part of the electronic device can be detected by the flip angle sensor, and the target function can be launched when the rotation angle reaches a preset angle. However, when the electronic device is in some special postures, such as Figure 1 This quick start function method is not applicable in the tent posture and standing posture shown.

[0040] In operation S210 , the target operation is acquired by a target acquisition element located in a target sensing area.

[0041] The target acquisition element may be a sensor, such as a proximity sensor and a gesture recognition sensor, etc. Among them, the proximity sensor may be used to detect a target operation of a user's hand approaching the electronic device when the electronic device is in a preset posture; the gesture recognition sensor may be used to detect a gesture operation performed by the user on the electronic device when the electronic device is in a preset posture, and the gesture operation may be a single action or a combination of multiple actions. The description of the target acquisition element here is only for illustration, and the selection of the target acquisition element is not specifically limited here. In one embodiment of the present disclosure, the target acquisition element may be kept in an activated state at all times to acquire the target operation at any time, so that the electronic device can respond to the target operation in a timely manner to start the target function.

[0042] In another embodiment of the present disclosure, the target acquisition element can be activated when the electronic device is in some specific states, and is in a dormant state at other times, thereby reducing the power consumption of the target acquisition element. In particular, the specific state of the electronic device can be that its posture is a specific preset posture. When the posture of the electronic device is adjusted to the preset posture, the target acquisition element is activated to collect the target operation that the user expects to start the target function in the current preset posture. For example, when the electronic device is in a standing posture, the gesture recognition sensor of the electronic device provided in front of the screen is activated to detect the user's target gesture.

[0043] According to operation S220, when the current posture of the electronic device meets the first posture condition, the operating system of the electronic device can determine that the current target operation is an operation for starting the target function, in other words, the target operation is not an erroneous operation, and then activate the target function.

[0044] According to the electronic device provided by the embodiment of the present disclosure, there is an angle between the first component and the second component of the electronic device, and the angle is variable; the electronic device satisfies the first posture condition, which indicates that the angle between the first component and the second component is less than a preset angle.

[0045] For example, the electronic device may be a foldable mobile phone. Specifically, the foldable mobile phone includes two parts whose relative positions can be changed. The two parts of the foldable mobile phone whose relative positions can be changed are the first part and the second part mentioned above. It should be noted that the description of the electronic device here is only for illustration. The first part and the second part of the electronic device may be interconnected or separated, which is not specifically limited here.

[0046] Take a foldable phone as an example. When the foldable phone is in an unfolded state, it is relatively easy for the user to operate on the screen, keyboard or buttons. When the foldable phone is in a folded state, there is an angle between the first part and the second part. As the angle becomes smaller, the user's viewing angle and operable area relative to the first part and the second part become smaller, and the operations that the user can perform on the first part and the second part are limited, and it becomes increasingly difficult to activate the target function. When the angle between the first part and the second part of the foldable phone is less than the preset angle, the foldable phone can be in a state such as Figure 1 The tent posture or standing posture shown in the figure is not easy for the user to touch the screen or buttons in the current posture, and if the user operates with one hand, it is easy to destroy the current posture of the foldable phone, resulting in operation failure, and it is difficult for the user to open the target function.

[0047] In this embodiment, when the electronic device is in a special posture where the angle between the first component and the second component is less than a preset angle, the electronic device quickly starts the target function based on the sensed target operation, so as to solve the problem that it is difficult for the user to quickly and conveniently start the target function through normal operation means when the posture of the electronic device meets the first posture condition.

[0048] In some application scenarios, there may be a situation where the electronic device is in motion and the posture satisfies the first posture condition. If the user accidentally makes a target operation-like action relative to the electronic device during the movement of the electronic device, it is easy for the electronic device to misidentify it as a target operation, resulting in the target function being activated in a scenario that the user does not expect. Therefore, based on the aforementioned function activation method, determining the target operation as a condition for activating the target function in the current posture may further include: if the current posture satisfies the first posture condition and the electronic device satisfies the stationary condition, in response to the target operation, activating the target function of the electronic device, to prevent the target function from being activated due to misidentification or mistouch when the electronic device is in motion.

[0049] Taking the electronic device as a portable foldable computer as an example, the user's operation of the computer is generally performed when the notebook is in a stationary state (for example, placed on a desktop). In some work scenarios, it is not ruled out that the user holds the computer in an unfolded state and moves it in the work scenario. If the user accidentally touches the computer button, touch area or touch screen during the movement, it is easy to make some wrong operations on the computer. According to the function startup method provided by the embodiment of the present disclosure, in the process of the user holding the computer, in addition to detecting whether the computer is in an unfolded state (that is, whether the first posture condition is met), it is also necessary to determine whether the computer is in a stationary state. If the computer is in a non-stationary state, it is determined that the computer is being carried and moved, and the input of the keyboard, touch area and touch screen can be temporarily stopped to prevent accidental touches; if the computer is in a stationary state, the input of the keyboard, touch area and touch screen is started to ensure that the user can use the computer normally.

[0050] According to an embodiment of the present disclosure, a target acquisition element may be located in a target sensing area of ​​an electronic device. The target sensing area may be an area where a sensing element corresponding to a target function is located. For example, the target sensing area may be the entire area or a portion of the front, back, or side of the electronic device. The target sensing area may be provided with, for example, an infrared sensing element, a light sensing element, a temperature sensing element, or an electromagnetic sensing element. The target acquisition element may be one of the sensing elements provided in the target sensing area. By means of infrared detection, light intensity detection, temperature sensing, or electromagnetic induction, it is sensed whether the user is currently performing a target operation.

[0051] Among them, the position of the target sensing area is related to the device posture. The target sensing area is located in the area where the operation can be sensed in the first posture, and the error operation rate of the target operation sensed by the target sensing area in the non-first posture is higher than the error operation rate of the target operation sensed by the target sensing area in the first posture.

[0052] Taking the aforementioned folding device as an example, when in a tent posture, the area between the angles cannot be touched by the user, so when in a tent posture, the area that the folding device can sense and operate includes the area located on the outside and having the sensing element, such as the area corresponding to the infrared proximity sensor, touch detection sensor, etc. located on the outside, and when in a tent posture, the error operation rate of the operation sensed by these areas (areas located on the outside and having the sensing element in the tent posture) is lower than the error operation rate threshold; when in a standing posture, the area corresponding to the support surface for supporting the device cannot be touched by the user, so when in a standing posture, the area that the folding device can sense and operate includes the area located on the non-support surface and having the sensing element, and when in a tent posture, the error operation rate of the operation sensed by these areas (areas located on the non-support surface and having the sensing element in the standing posture) is lower than the error operation rate threshold. However, the error operation rate of the operation sensed by these areas (areas located on the outside and having the sensing element in the tent posture, areas located on the non-support surface and having the sensing element in the standing posture) when in a closed posture and an unfolded posture is higher than the error operation rate threshold.

[0053] In one embodiment of the present disclosure, an electronic device has a first screen and a second screen, the first screen covers the first side of the first component and the second component, and the area between the first component and the second component can be bent, the second screen covers the second side of the first component opposite to the first side, and the image acquisition element of the electronic device is located under the screen of the second screen. In this embodiment, the target function of the electronic device can be a shooting function, the target sensing area of ​​the electronic device for capturing target operations is located in the area where the image acquisition element is located, the sensing element corresponding to the target function is the image acquisition element, and the target acquisition element is located near the image acquisition element, such as an infrared proximity detection element and a touch sensing element located near the image acquisition element. Among them, the image acquisition element is used to capture environmental images to realize the shooting function. Specifically, the image acquisition element includes a charge-coupled device (CCD), a complementary metal oxide semiconductor camera (CMOS), and a charge injection detector (CID).

[0054] Taking the first posture as a tent posture and a standing posture as an example, when the relative positions of the first component and the second component of the device are a tent posture and a standing posture, the shooting function is quickly activated in the tent posture and the standing posture by sensing the target operation near the image acquisition component.

[0055] In this embodiment, the operation of starting the shooting function is strongly related to the acquisition element of the shooting function. On the premise of providing a convenient operation of quick start for the tent posture and the standing posture, the difficulty of the convenient operation is also reduced.

[0056] In one embodiment of the present disclosure, an electronic device has a first screen and a second screen, the first screen covers the first side of the first component and the second component, and the area between the first component and the second component can be bent, and the second screen covers the second side of the first component opposite to the first side. In this embodiment, the target function of the electronic device can be a shooting function, and the image acquisition element of the electronic device for realizing the shooting function is a camera disposed on the first screen, and the target sensing area of ​​the electronic device for acquiring target operations is located in the area of ​​the second screen opposite to the location of the camera, and the target acquisition element is located in the target sensing area, and the target acquisition element includes an infrared proximity detection element, a touch sensing element, etc.

[0057] Taking the first posture as a standing posture as an example, when the relative positions of the first component and the second component of the device are in a standing posture, the camera on the first screen is aimed at the target object, and the shooting function is quickly activated in the standing posture by sensing the target operation near the second screen.

[0058] In this embodiment, the operation of activating the shooting function is weakly related to the acquisition element of the shooting function. On the premise of providing a convenient operation for quick startup in a standing posture, the operation does not need to be limited to the vicinity of the acquisition element, thereby reducing the difficulty of convenient operation.

[0059] Figure 3 A schematic diagram of a target sensing area according to an embodiment of the present disclosure is schematically shown.

[0060] like Figure 3 As shown, in the embodiment of the present disclosure, the electronic device is a foldable mobile phone 300, and the first component 301 and the second component 302 are placed upside down at an angle less than 90 degrees, so that the foldable mobile phone 300 is in a tent posture. The inside of the foldable mobile phone 300 is a main screen for executing system operations, and an image acquisition element 303 such as a camera is arranged on the outside of the first component 301.

[0061] In this embodiment, the target function is to start the image acquisition component 303 to realize the shooting function. When the foldable mobile phone 300 is in the tent posture, according to the traditional camera startup method, the foldable mobile phone 300 needs to be unfolded and the relevant software needs to be started on the main screen to start the image application component 303. The operation is not convenient and changes the original posture of the foldable mobile phone 300, which may violate the user's original intention to shoot in the current posture.

[0062] According to the function activation method provided by the embodiment of the present disclosure, under the premise of not changing the posture of the foldable mobile phone 300, the target operation for activating the shooting function can be an operation of a finger in the target sensing area where the image acquisition component 303 is located, wherein the target sensing area can be the area where the image acquisition component 303 is located. When the user operates the area near the image acquisition component 303, it is determined whether the posture of the foldable mobile phone 300 is a tent posture; if the posture of the foldable mobile phone 300 is a tent posture, the shooting function of the image acquisition component 303 is activated according to the operation sensed in the target sensing area.

[0063] On the basis of the above-mentioned function activation method, the target operation can be detected when the brightness signals corresponding to the full-screen pixels are the same and equal to 0, that is, the target operation can be sensed by the electronic device in the off-screen state. The electronic device is generally in a silent low-power state in the off-screen state. When the electronic device is in the off-screen state, the user cannot activate the target function by touching the display device. When the electronic device detects the target operation and activates the target function of the electronic device based on the target operation, the electronic device can generate a display control signal based on the target function, and transmit the display control signal to the display controller. The display controller controls the display device to display the full screen according to the display control signal, wherein the display control signal indicates that the brightness signals corresponding to the full-screen pixels are the same and greater than the first preset threshold, that is, the display device is activated to light up the screen.

[0064] By activating the display device, the user can be shown the current activation status of the target function. For example, when the target function is the shooting function, after the camera is activated, the display device can be lit up, and the process of the camera being activated and the image captured after activation can be displayed through the display device; when the target function is the lighting function, after the lighting device is turned on, the number of lighting devices turned on or the lighting brightness can be displayed through the display device. If the user needs, the implementation effect of the target function can be adjusted according to the actual activation status of the display device. For example, when the target function is the shooting function, if the user is not satisfied with the image effect displayed by the display device, the camera shooting parameters can be adjusted to improve the image effect; when the target function is the lighting function, the user can adjust the brightness, color temperature, color and lighting range according to the lighting parameters displayed by the display device.

[0065] Based on the above function startup method, Figure 4 An application flow chart of a function startup method according to an embodiment of the present disclosure is schematically shown.

[0066] like Figure 4 As shown, in an actual application scenario of starting a target function, the function starting method provided by the embodiment of the present disclosure may include operations S410 to S460, wherein the target function may be a camera function.

[0067] In operation S410, when the electronic device is started or under a preset environmental condition, a target collection element is activated.

[0068] In operation S420, a target operation performed by a user on the electronic device is detected based on the target acquisition element, for example, the user approaches the electronic device, shakes the electronic device, or performs a click operation in the target sensing area.

[0069] In operation S430, if the target acquisition component detects the target operation, the current posture of the electronic device is acquired through the operating system of the electronic device.

[0070] In operation S440, it is determined whether the current posture of the electronic device satisfies the first posture condition. If the current posture does not satisfy the first posture condition, the electronic device does not respond to the current target operation and detects a new target operation based on the target acquisition element. If the current posture satisfies the first posture condition, operation S450 is performed.

[0071] In operation S450, if the current posture satisfies the first posture condition, a target function of the electronic device is activated in response to the target operation.

[0072] In operation S460, based on the instruction to activate the target function, the electronic device activates a hardware device that implements the target function, thereby activating the target function.

[0073] Based on this function activation method, by detecting the posture of the electronic device, a target operation can be responded to to activate the target function when the electronic device is detected to be in a preset posture, thereby providing convenience for the user to activate certain functions when the electronic device is in a specific posture.

[0074] Based on the above function activation method, the present disclosure also provides a function activation device. Figure 6 The device is described in detail.

[0075] Figure 5 The structural block diagram of the function activation device according to the embodiment of the present disclosure is schematically shown.

[0076] like Figure 5 As shown, the function activation device 500 of this embodiment includes a posture acquisition module 510 and a function activation module 520, and is applied to an electronic device including a first component and a second component, and the first component and the second component can move relative to each other.

[0077] The posture acquisition module 510 is used to obtain the current posture of the electronic device if a target operation is detected. In one embodiment, the posture acquisition module 510 can be used to perform the operation S210 described above, which will not be described in detail here.

[0078] The function activation module 520 is used to activate the target function of the electronic device in response to the target operation if the current posture satisfies the first posture condition. Wherein, satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position. In one embodiment, the function activation module 520 can be used to perform the operation S220 described above, which will not be repeated here.

[0079] According to an embodiment of the present disclosure, the posture acquisition module 510 is used to detect the target operation. After the posture detection module 510 detects the target operation, the current posture of the electronic device can be identified through the posture data recorded by the operating system of the electronic device to confirm whether the current user's operation is an operation that the user expects to start a specific function of the electronic device under a specific posture, which can prevent the occurrence of accidental touches, etc. The function activation module 520 determines whether the current posture of the electronic device meets the preset first posture condition. If the current posture meets the first posture condition, the function activation module 520 notifies the operating system of the electronic device to activate the target function of the electronic device in response to the target operation.

[0080] According to an embodiment of the present disclosure, any multiple modules in the posture acquisition module 510 and the function call module 520 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the posture acquisition module 510 and the function call module 520 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the posture acquisition module 510 and the function call module 520 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0081] Figure 6 A block diagram of an electronic device suitable for implementing a function activation method according to an embodiment of the present disclosure is schematically shown.

[0082] like Figure 6As shown, the electronic device 600 according to the embodiment of the present disclosure includes a first component and a second component (not shown in the figure), and the first component and the second component can move relative to each other. The electronic device 600 also includes a processor 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.

[0083] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0084] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the input / output (I / O) interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output (I / O) interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0085] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0086] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.

[0087] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the function startup method provided by the embodiment of the present disclosure.

[0088] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0089] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0090] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.

[0091] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0092] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0093] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0094] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A function activation method, applied to an electronic device including a first component and a second component, wherein the first component and the second component can move relative to each other, the method comprising: If the target operation is detected, obtaining the current posture of the electronic device; If the current posture satisfies a first posture condition, in response to the target operation, activating a target function of the electronic device; Wherein, satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position.

2. The method according to claim 1, wherein the target operation is acquired by a target acquisition element located in a target sensing area. 3 . The method according to claim 2 , wherein the target sensing area is located in an area corresponding to the target function.

4. The method according to claim 1, wherein the first component and the second component have an angle therebetween, and the angle is variable; The electronic device meeting the first posture condition represents that the angle between the first component and the second component is less than a preset angle. 5 . The method according to claim 1 , wherein if the current posture satisfies a first posture condition and the electronic device satisfies a stationary condition, in response to the target operation, a target function of the electronic device is activated.

6. The method according to claim 1, wherein the target operation is detected when the brightness signals corresponding to all pixels on the screen are the same and equal to 0; The step of initiating a target function of the electronic device includes: Based on the target function, a display control signal is generated and transmitted to a display controller, and the display controller controls the display device to perform full-screen display according to the display control signal, wherein the display control signal indicates that the brightness signals corresponding to the pixels of the full screen are the same and greater than a first preset threshold.

7. The method according to claim 3, wherein the target function is a shooting function; The target sensing area is located in the area where the image acquisition element is located.

8. A function activation device, applied to an electronic device including a first component and a second component, wherein the first component and the second component can move relative to each other, comprising: A posture acquisition module, used for obtaining the current posture of the electronic device if a target operation is detected; a function activation module, configured to activate a target function of the electronic device in response to the target operation if the current posture satisfies a first posture condition; Wherein, satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position.

9. An electronic device, comprising: A first component and a second component, wherein the first component and the second component are movable relative to each other; at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to perform a function startup method, wherein the function startup method includes: If the target operation is detected, obtaining the current posture of the electronic device; If the current posture satisfies a first posture condition, in response to the target operation, activating a target function of the electronic device; Wherein, satisfying the first posture condition indicates that the relative position of the first component and the second component is a preset relative position.

10. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.