Device display control method, device and storage medium

The aperture-type display device receives power acquisition instructions and determines the target display control parameters, which solves the problem of a single way of displaying power in electronic devices, enables users to identify power through light effects, and improves user experience.

CN112684991BActive Publication Date: 2024-09-20COLLEGE OF MOBILE TELECOMM CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011506073.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-18
Publication Date
2024-09-20
Estimated Expiration
2040-12-18

AI Technical Summary

Technical Problem

Existing electronic devices display power in a single way, which reduces user experience.

Method used

The aperture display device receives power acquisition instructions, determines the corresponding target display control parameters, and controls the aperture display device to perform display operations. The user can identify the power through the light effect.

Benefits of technology

It improves the user experience and realizes visual identification of power through different display control parameters corresponding to different power levels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112684991B
    Figure CN112684991B
Patent Text Reader

Abstract

The embodiment of the present application discloses a device display control method, apparatus and storage medium, which are applied to an electronic device, wherein the electronic device includes an aperture display device, and the method includes: receiving a power acquisition instruction, responding to the power acquisition instruction to acquire a first power of the electronic device; determining a target display control parameter of the aperture display device corresponding to the first power; and controlling the aperture display device to perform a display operation with the target display control parameter. The embodiment of the present application can identify power by light effect, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing technology, and in particular to a device display control method, apparatus and storage medium. Background Art

[0002] With the advancement of technology, electronic devices (such as smartphones, tablets, smart watches, etc.) have profoundly affected our lives and have become our life partners.

[0003] Currently, the battery level of electronic devices is only displayed through the display screen, which makes the display method relatively simple and reduces the user experience. Summary of the invention

[0004] The embodiments of the present application provide a device display control method, apparatus, and storage medium, which can display power through an aperture effect, thereby improving user experience.

[0005] In a first aspect, an embodiment of the present application provides a device display control method, which is applied to an electronic device, wherein the electronic device includes an aperture display device, and the method includes:

[0006] receiving a power acquisition instruction, and responding to the power acquisition instruction to acquire a first power of the electronic device;

[0007] Determine a target display control parameter of the aperture display device corresponding to the first electrical quantity;

[0008] The aperture display device is controlled to perform a display operation according to the target display control parameter.

[0009] In a second aspect, an embodiment of the present application provides a device display control apparatus, which is applied to an electronic device, wherein the electronic device includes an aperture display device, and the apparatus includes: an acquisition unit, a determination unit, and a control unit, which are specifically as follows:

[0010] The acquisition unit is used to receive a power acquisition instruction, and respond to the power acquisition instruction to acquire a first power of the electronic device;

[0011] The determining unit is used to determine a target display control parameter of the aperture display device corresponding to the first electrical quantity;

[0012] The control unit is used to control the aperture display device to perform display operation according to the target display control parameters.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, an aperture display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0016] The implementation of the embodiments of the present application has the following beneficial effects:

[0017] It can be seen that the device display control method, apparatus and storage medium described in the embodiments of the present application are applied to electronic devices, which include an aperture display device, receive a power acquisition instruction, respond to the power acquisition instruction to acquire a first power of the electronic device, determine a target display control parameter of the aperture display device corresponding to the first power, and control the aperture display device to perform display operations with the target display control parameters. In this way, the display control parameters corresponding to different power levels can be determined, and then the aperture display device is controlled to display according to the display control parameters. The user can identify the power level through the light effect, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1A It is a flow chart of a device display control method provided in an embodiment of the present application;

[0020] Figure 1B It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0021] Figure 2 It is a flowchart of another device display control method provided in an embodiment of the present application;

[0022] Figure 3 is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application;

[0023] Figure 4 This is a block diagram of the functional units of a device display control apparatus provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but in a possible example also includes steps or units that are not listed, or in a possible example also includes other steps or units inherent to these processes, methods, products or devices.

[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0027] The electronic devices described in the embodiments of the present invention may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), smart robots, tablet computers, PDAs, smart wall lamps, smart sensor lights, driving recorders, laptop computers, mobile Internet devices (MID, Mobile Internet Devices), smart speakers, or wearable devices (such as smart watches, Bluetooth headsets), etc. The above are only examples and not exhaustive, including but not limited to the above electronic devices, and are not limited here.

[0028] The following is a detailed description of the embodiments of the present application.

[0029] See also Figure 1A , Figure 1A 1 is a flow chart of a device display control method provided in an embodiment of the present application, which is applied to an electronic device, wherein the electronic device includes an aperture display device. As shown in the figure, the device display control method includes:

[0030] 101. Receive a power acquisition instruction, and respond to the power acquisition instruction to acquire a first power of the electronic device.

[0031] In the embodiment of the present application, the power acquisition instruction is used to obtain the remaining power, power consumption rate, etc. of the electronic device, which is not limited here. The first power is any of the following: remaining power, power consumption (power consumption rate). The electronic device can perform power monitoring, and then, the first power of the electronic device can be monitored.

[0032] In the specific implementation, Figure 1B As shown, Figure 1B Provided Figure 1A The product form schematic diagram of the electronic device shown in the figure may include a display screen and an aperture display device. Of course, the aperture display device may include a middle hollow area and a peripheral aperture display component.

[0033] In a possible example, the above step 101, receiving a power acquisition instruction, may include the following steps:

[0034] 11. Collecting a first user image of the user through an infrared camera;

[0035] 12. Identify the first user image;

[0036] 13. When the user is identified as a target object, prompt the user that the identity confirmation is successful;

[0037] 14. Acquire a second user image of the user;

[0038] 15. Perform action recognition on the second user image to obtain a target action;

[0039] 16. When the target action is a preset action, receive the power acquisition instruction.

[0040] Among them, the preset actions and preset objects can be preset or set by the system default. In a specific implementation, the electronic device can collect the first user image of the user through an infrared camera, and can also identify the first user image. When it is identified that the user is not the preset object, the subsequent steps are not executed, or the identity authentication can be re-performed. When the user is identified as the preset object, the user is prompted that the identity confirmation is successful, and the second user image of the user is obtained. The action recognition is performed on the second user image to obtain the target action. When the target action is the preset action, the power acquisition instruction is received. Of course, when the target action is not the preset action, other instructions can be received, or no processing is performed. In this way, on the one hand, identity authentication can be achieved, and on the other hand, it can be ensured that the aperture power display function can be realized only for specific users.

[0041] Furthermore, in a possible example, the above step 15, identifying the first user image, may include the following steps:

[0042] 151. Perform image segmentation on the first user image to obtain a first target face region image;

[0043] 152. Obtain target ambient temperature;

[0044] 153. Determine a target compensation parameter corresponding to the target ambient temperature according to a preset mapping relationship between the temperature and the compensation parameter;

[0045] 154. Compensate the first target face region image according to the target compensation parameter to obtain a second target face region image;

[0046] 155. Perform feature extraction on the second target face region image to obtain a first face feature set;

[0047] 156. Match the first facial feature set with a second facial feature set of a preset facial template;

[0048] 157. When the first facial feature set matches the second facial feature set successfully, it is determined that the user is successfully identified.

[0049] In the embodiment of the present application, the electronic device may include a pre-stored mapping relationship between a preset temperature and a compensation parameter.

[0050] Furthermore, the electronic device can perform image segmentation on the first user image to obtain a first target face area image, and can also obtain the target ambient temperature through a temperature sensor, and then determine the target compensation parameters corresponding to the target ambient temperature according to the mapping relationship between the preset temperature and the compensation parameters. In the embodiment of the present application, the compensation parameters can be at least one of the following: an image enhancement algorithm, a control parameter corresponding to the image enhancement algorithm, etc., which are not limited here. The image enhancement algorithm can be at least one of the following: grayscale stretching, histogram equalization, wavelet transform, Retinex algorithm, etc., which are not limited here. The control parameters corresponding to the image enhancement algorithm are used to adjust the degree of image enhancement, and different image enhancement algorithms correspond to different control parameters.

[0051] Furthermore, the electronic device can compensate the first target face area image according to the target compensation parameter to obtain the second target face area image, and then, can perform feature extraction on the second target face area image to obtain a first face feature set. The feature extraction algorithm can be at least one of the following: Harris corner point detection, scale-invariant feature extraction transformation algorithm, etc., which are not limited here. The first face feature set is then matched with the second face feature set of a preset face template. When the first face feature set and the second face feature set are matched successfully, it is determined that the user is successfully identified. In this way, the efficiency of face recognition can be improved.

[0052] Furthermore, in a possible example, the above step 152, obtaining the target ambient temperature, may include the following steps:

[0053] 1521. Obtain a first temperature of an indoor temperature sensor;

[0054] 1522. Obtain a device temperature of the electronic device;

[0055] 1523. Obtain the body temperature of the user;

[0056] 1524. Determine a first deviation between the human body temperature and the first temperature;

[0057] 1525. Determine a target first optimization factor corresponding to the first deviation according to a preset mapping relationship between the deviation and the first optimization factor;

[0058] 1526. Determine a second deviation between the device temperature and the first temperature;

[0059] 1527. Determine a target second optimization factor corresponding to the second deviation according to a preset mapping relationship between the deviation and the second optimization factor;

[0060] 1528. Optimize the first temperature according to the target first optimization factor and the target second optimization factor to obtain the target ambient temperature.

[0061] Among them, in the embodiment of the present application, the mapping relationship between the preset deviation and the first optimization factor, and the mapping relationship between the preset deviation and the second optimization factor can be pre-stored in the electronic device, the value range of the first priority factor can be -0.1 to 0.1, and the value range of the second optimization factor is -0.08 to 0.08. The electronic device can obtain the first temperature of the indoor temperature sensor, the device temperature of the electronic device, and the body temperature of the user. Since both the indoor temperature and the body temperature will affect infrared imaging, and the device temperature also affects the device performance, it will also affect infrared imaging to a certain extent.

[0062] Furthermore, the electronic device can determine a first deviation between the human body temperature and the first temperature, and then, according to the mapping relationship between the preset deviation and the first optimization factor, determine the target first optimization factor corresponding to the first deviation. It can also determine a second deviation between the device temperature and the first temperature, and according to the mapping relationship between the preset deviation and the second optimization factor, determine the target second optimization factor corresponding to the second deviation. Finally, the first temperature is adjusted according to the target first optimization factor and the target second optimization factor to obtain the target ambient temperature. The specific calculation formula is as follows:

[0063] Target ambient temperature = (1 + target first optimization factor) * (1 + target second optimization factor) * first temperature

[0064] In this way, the final ambient temperature can be comprehensively evaluated by combining the human body, equipment, and ambient temperature, which helps to achieve subsequent accurate image compensation.

[0065] In a possible example, after step 155, extracting features from the second target face region image to obtain a first face feature set, and before step 156, matching the first face feature set with a second face feature set of a preset face template, the following steps may also be included:

[0066] A1. determining a target image quality evaluation value of the second target face region image;

[0067] A2. Obtaining a preset face recognition threshold;

[0068] A3. Determine a target adjustment coefficient corresponding to the target image quality evaluation value according to a preset mapping relationship between the image quality evaluation value and the adjustment coefficient;

[0069] A4. Adjust the preset face recognition threshold according to the target adjustment coefficient to obtain a target face recognition threshold;

[0070] The matching of the first facial feature set with a second facial feature set of a preset facial template includes:

[0071] According to the target face recognition threshold, the first face feature set is matched with a second face feature set of a preset face template.

[0072] The preset face recognition threshold may also be pre-stored in the electronic device, or may be set by the user or by the system by default.

[0073] In a specific implementation, the electronic device may use at least one image quality evaluation index to evaluate the image quality of the second target face region image to obtain a target image quality evaluation value, and the image quality evaluation index may be at least one of the following: average gradient, mean square error, clarity, feature point distribution density, etc., which are not limited here. The electronic device may also pre-store a preset face recognition threshold, and may also store a mapping relationship between a preset image quality evaluation value and an adjustment coefficient.

[0074] Specifically, the electronic device can determine the target adjustment coefficient corresponding to the target image quality evaluation value according to the mapping relationship between the preset image quality evaluation value and the adjustment coefficient. The value range of the adjustment coefficient is -0.25 to 0.25. Then, the electronic device can adjust the preset face recognition threshold according to the target adjustment coefficient to obtain the target face recognition threshold. The specific calculation formula is as follows:

[0075] Target face recognition threshold = preset face recognition threshold * (1 + target adjustment coefficient)

[0076] Furthermore, the electronic device can also match the first facial feature set with the second facial feature set of a preset facial template based on the target facial recognition threshold. That is, when the matching value between the first facial feature set and the second facial feature set is greater than the target facial recognition threshold, recognition is considered successful, otherwise recognition is considered failed.

[0077] 102. Determine a target display control parameter of the aperture display device corresponding to the first electrical quantity.

[0078] Among them, in the embodiment of the present application, different amounts of electricity can correspond to different display control parameters of the aperture display device.

[0079] In a possible example, the display control parameter is at least one of the following: aperture display brightness, aperture rotation rate, aperture rotation direction, aperture arc length, aperture display color type, aperture flashing frequency, and display mode.

[0080] Among them, in the embodiment of the present application, the display control parameter can be at least one of the following: aperture display brightness, aperture rotation rate, aperture rotation direction, aperture arc length, aperture display color type, aperture flashing frequency, aperture rotation direction, display mode, aperture display width, number of apertures, etc., which are not limited here. Among them, the aperture display color type can be at least one of the following: red, orange, yellow, blue, green, white, gray, etc., which are not limited here. The display mode can be understood as a display effect, and the display mode can be pre-set. The display mode can be at least one of the following: the aperture changes from narrow to wide, the aperture changes from wide to narrow, the number of apertures changes from few to many, the number of apertures changes from many to small, the aperture changes from complete to incomplete, the aperture changes from incomplete to complete, etc., which are not limited here. The number of apertures can be one aperture or multiple apertures.

[0081] In a possible example, the above step 102, determining the target display control parameter of the aperture display device corresponding to the first electrical quantity, may be implemented as follows:

[0082] According to a mapping relationship between a preset power level and a display control parameter of the aperture display device, a target display control parameter corresponding to the first power level is determined.

[0083] The electronic device may pre-store a mapping relationship between a preset power level and a display control parameter of the aperture display device, and then determine a target display control parameter corresponding to the first power level based on the mapping relationship.

[0084] To give an example, in the embodiment of the present application, the aperture can also rotate, and the rotation speed is proportional to the power level. The more power the battery has, the faster it rotates, and the less power the battery has, the slower it rotates.

[0085] To give another example, in the embodiment of the present application, different colors can display different brightness and power levels.

[0086] To give another example, a full circle of light can represent full power, and a half circle of light can represent 50% power. Furthermore, a mapping relationship between the arc length of the aperture and the power can be preset in the electronic device. Based on the mapping relationship, the power can be determined according to the ratio of the arc length of the bright aperture to the circumference.

[0087] In a possible example, the above step of determining the target display control parameter corresponding to the first power according to the mapping relationship between the preset power and the display control parameter of the aperture display device may include the following steps:

[0088] A21. Determine a first power level corresponding to the first power level;

[0089] A22, determining a target aperture number corresponding to the first power level according to a preset mapping relationship between the power level and the aperture number;

[0090] A23, obtaining target environment parameters;

[0091] A24. Determine the target light effect configuration parameter corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the light effect configuration parameter;

[0092] A25. Use the target aperture number and the target light effect configuration parameters as the target display control parameters of the first electrical quantity.

[0093] Among them, in the embodiment of the present application, the environmental parameters may include at least one of the following: ambient light brightness, temperature, humidity, weather, geographical location, magnetic field interference intensity, etc., which are not limited here. In the specific implementation, the electronic device can realize environmental parameter collection through an environmental sensor, and the environmental sensor can be at least one of the following: ambient light sensor, temperature sensor, humidity sensor, meteorological sensor, positioning sensor, magnetic field detection sensor, which are not limited here. For example, the temperature sensor detects the ambient temperature, and for another example, the magnetic field detection sensor realizes the magnetic field interference intensity. The light effect configuration parameter can be at least one of the following: aperture display brightness, aperture rotation rate, aperture rotation direction, aperture arc length, aperture display color type, aperture flashing frequency, aperture rotation direction, display mode, aperture display width, etc., which are not limited here. The mapping relationship between the preset environmental parameters and the light effect configuration parameters can be pre-stored in the electronic device.

[0094] In a specific implementation, the electronic device may pre-store a mapping relationship between power and power level, and then determine the first power level corresponding to the first power based on the mapping relationship. Furthermore, the electronic device may pre-store a mapping relationship between a preset power level and the number of apertures, and then determine the mapping relationship between the preset power level and the number of apertures based on the mapping relationship, and determine the target number of apertures corresponding to the first power level. The electronic device may also obtain target environmental parameters, and then determine the target light effect configuration parameters corresponding to the target environmental parameters according to the mapping relationship between the preset environmental parameters and the light effect configuration parameters. Finally, the target number of apertures and the target light effect configuration parameters may be used as the target display control parameters of the first power. In this way, a light effect suitable for the environment can be achieved, thereby improving the user experience.

[0095] In a possible example, when the first power is a first power consumption rate, the above step of determining the target display control parameter corresponding to the first power according to a mapping relationship between a preset power and a display control parameter of the aperture display device may include the following steps:

[0096] B21. Acquire a target foreground application of the electronic device;

[0097] B22. Determine the target display color type corresponding to the target foreground application according to the preset mapping relationship between the foreground application and the display color type;

[0098] B23, determining a target rotation rate corresponding to the first power consumption rate according to a preset mapping relationship between the power consumption rate and the aperture rotation rate;

[0099] B24. Use the target display color and the target rotation rate as the target display control parameters.

[0100] Among them, in the embodiment of the present application, the first power can be understood as the first power consumption rate, and the foreground application can be a type of application or a specific application. For example, the foreground application can be at least one of the following applications: game application, video application, payment application, shopping application, browser application, navigation application, etc., which are not limited here.

[0101] In a specific implementation, the electronic device can pre-store the mapping relationship between the preset foreground application and the display color type, as well as the mapping relationship between the preset power consumption rate and the aperture rotation rate. The electronic device can obtain the foreground application of the electronic device, and then, according to the mapping relationship between the preset foreground application and the display color type, the target display color type corresponding to the target foreground application can be determined. In this way, the color of the foreground application can be used to show which application or type of application is displayed. Furthermore, the electronic device can determine the target rotation rate corresponding to the first power consumption rate according to the mapping relationship between the preset power consumption rate and the aperture rotation rate, and then, the target display color and the target rotation rate can be used as target display control parameters. In this way, the user can be warned that a certain application consumes power quickly, and the user is advised to close it, or use the application with caution.

[0102] 103. Control the aperture display device to perform a display operation according to the target display control parameter.

[0103] Among them, the electronic device can control the aperture display device to perform display operations with the above-mentioned target display control parameters, and the user can know the current power status through the display effect of the aperture display device, which is convenient for the user to charge the electronic device in time.

[0104] It can be seen that the device display control method described in the embodiment of the present application is applied to an electronic device, which includes an aperture display device, receives a power acquisition instruction, responds to the power acquisition instruction to acquire a first power of the electronic device, determines a target display control parameter of the aperture display device corresponding to the first power, and controls the aperture display device to perform display operations with the target display control parameters. In this way, the display control parameters corresponding to different power levels can be determined, and then the aperture display device is controlled to display according to the display control parameters. The user can identify the power level through the light effect, thereby improving the user experience.

[0105] With the above Figure 1A For the embodiments shown, please refer to Figure 2 , Figure 2 1 is a flow chart of a device display control method provided in an embodiment of the present application, which is applied to an electronic device, wherein the electronic device includes an aperture display device. As shown in the figure, the device display control method includes:

[0106] 201. Collect a first user image of a user through an infrared camera.

[0107] 202. Identify the first user image.

[0108] 203. When the user is identified as a target object, a prompt is given that the user identity is successfully confirmed.

[0109] 204. Obtain a second user image of the user.

[0110] 205. Perform action recognition on the second user image to obtain a target action.

[0111] 206. When the target action is a preset action, receive a power acquisition instruction, and respond to the power acquisition instruction to acquire a first power of the electronic device.

[0112] 207. Determine a target display control parameter of the aperture display device corresponding to the first electrical quantity.

[0113] 208. Control the aperture display device to perform a display operation according to the target display control parameter.

[0114] The specific description of the above steps 201 to 208 can refer to the above Figure 1A The corresponding steps of the described device display control method will not be repeated here.

[0115] It can be seen that the device display control method described in the embodiment of the present application is applied to an electronic device, which includes an aperture display device. A first user image of a user is collected by an infrared camera, and the first user image is identified. When the user is identified as a target object, the user is prompted that the identity confirmation is successful, and a second user image of the user is obtained. The action of the second user image is identified to obtain a target action. When the target action is a preset action, the first power of the electronic device is obtained, and the target display control parameters of the aperture display device corresponding to the first power are determined. The aperture display device is controlled to perform display operations with the target display control parameters. The display control parameters corresponding to different power levels can be determined, and then the aperture display device is controlled to display according to the display control parameters. The user can identify the power level through light effects, thereby improving the user experience.

[0116] In accordance with the above embodiment, please refer to Figure 3 , Figure 3 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, an aperture display device, and one or more programs, which are applied to the electronic device. The one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:

[0117] receiving a power acquisition instruction, and responding to the power acquisition instruction to acquire a first power of the electronic device;

[0118] Determine a target display control parameter of the aperture display device corresponding to the first electrical quantity;

[0119] The aperture display device is controlled to perform a display operation according to the target display control parameter.

[0120] It can be seen that the electronic device described in the embodiment of the present application includes an aperture display device, receives a power acquisition instruction, responds to the power acquisition instruction to obtain a first power of the electronic device, determines a target display control parameter of the aperture display device corresponding to the first power, and controls the aperture display device to perform display operations with the target display control parameters. In this way, the display control parameters corresponding to different power levels can be determined, and then the aperture display device is controlled to perform display according to the display control parameters. The user can identify the power level through the light effect, thereby improving the user experience.

[0121] In a possible example, in determining the target display control parameter of the aperture display device corresponding to the first electrical quantity, the program includes instructions for executing the following steps:

[0122] According to a mapping relationship between a preset power level and a display control parameter of the aperture display device, a target display control parameter corresponding to the first power level is determined.

[0123] In a possible example, when the first power is a first power consumption rate, in determining the target display control parameter corresponding to the first power according to the mapping relationship between the preset power and the display control parameter of the aperture display device, the program includes instructions for performing the following steps:

[0124] Obtaining a foreground application of the electronic device;

[0125] Determine the target display color type corresponding to the target foreground application according to the preset mapping relationship between the foreground application and the display color type;

[0126] Determining a target rotation rate corresponding to the first power consumption rate according to a preset mapping relationship between the power consumption rate and the aperture rotation rate;

[0127] The target display color and the target rotation rate are used as the target display control parameters.

[0128] In a possible example, in determining the target display control parameter corresponding to the first power according to the mapping relationship between the preset power and the display control parameter of the aperture display device, the program includes instructions for executing the following steps:

[0129] determining a first power level corresponding to the first power level;

[0130] Determine the target aperture number corresponding to the first power level according to a preset mapping relationship between the power level and the aperture number;

[0131] Get target environment parameters;

[0132] Determine the target light effect configuration parameter corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the light effect configuration parameter;

[0133] The target aperture number and the target light effect configuration parameters are used as the target display control parameters of the first electrical quantity.

[0134] In a possible example, the display control parameter is at least one of the following: aperture display brightness, aperture rotation rate, aperture rotation direction, aperture arc length, aperture display color type, aperture flashing frequency, aperture rotation direction, and display mode.

[0135] In a possible example, in terms of receiving the power acquisition instruction, the program further includes instructions for executing the following steps:

[0136] collecting a first user image of the user through an infrared camera;

[0137] identifying the first user image;

[0138] When the user is identified as a target object, a prompt is given that the user identity is successfully confirmed;

[0139] Acquire a second user image of the user;

[0140] Performing action recognition on the second user image to obtain a target action;

[0141] When the target action is a preset action, the power acquisition instruction is received.

[0142] In a possible example, in the aspect of identifying the first user image, the program further includes instructions for performing the following steps:

[0143] Performing image segmentation on the first user image to obtain a first target face area image;

[0144] Get the target ambient temperature;

[0145] Determine the target compensation parameter corresponding to the target ambient temperature according to the preset mapping relationship between the temperature and the compensation parameter;

[0146] Compensating the first target face region image according to the target compensation parameter to obtain a second target face region image;

[0147] Performing feature extraction on the second target face region image to obtain a first face feature set;

[0148] Matching the first facial feature set with a second facial feature set of a preset facial template;

[0149] When the first facial feature set matches the second facial feature set successfully, it is determined that the user is successfully identified.

[0150] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0151] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0152] Figure 4 4 is a functional unit composition block diagram of a device display control device 400 involved in an embodiment of the present application. The device display control device 400 is applied to an electronic device, and the electronic device includes an aperture display device. The device 400 includes: an acquisition unit 401, a determination unit 402 and a control unit 403, which are specifically as follows:

[0153] The acquisition unit 401 is used to acquire a first power of the electronic device;

[0154] The determining unit 402 is used to determine a target display control parameter of the aperture display device corresponding to the first electrical quantity;

[0155] The control unit 403 is used to control the aperture display device to perform display operation according to the target display control parameters.

[0156] It can be seen that the device display control apparatus described in the embodiment of the present application is applied to an electronic device, which includes an aperture display device. The first power level of the electronic device is obtained, the target display control parameters of the aperture display device corresponding to the first power level are determined, and the aperture display device is controlled to perform display operations with the target display control parameters. In this way, the display control parameters corresponding to different power levels can be determined, and then the aperture display device is controlled to display according to the display control parameters. The user can identify the power level through the light effect, thereby improving the user experience.

[0157] In a possible example, in determining the target display control parameter of the aperture display device corresponding to the first electrical quantity, the determining unit is specifically configured to:

[0158] According to a mapping relationship between a preset power level and a display control parameter of the aperture display device, a target display control parameter corresponding to the first power level is determined.

[0159] In a possible example, when the first power is a first power consumption rate, determining the target display control parameter corresponding to the first power according to a mapping relationship between a preset power and a display control parameter of the aperture display device includes:

[0160] Obtaining a foreground application of the electronic device;

[0161] Determine the target display color type corresponding to the target foreground application according to the preset mapping relationship between the foreground application and the display color type;

[0162] Determining a target rotation rate corresponding to the first power consumption rate according to a preset mapping relationship between the power consumption rate and the aperture rotation rate;

[0163] The target display color and the target rotation rate are used as the target display control parameters.

[0164] In a possible example, determining the target display control parameter corresponding to the first power according to a mapping relationship between a preset power amount and a display control parameter of the aperture display device includes:

[0165] determining a first power level corresponding to the first power level;

[0166] Determine the target aperture number corresponding to the first power level according to a preset mapping relationship between the power level and the aperture number;

[0167] Get target environment parameters;

[0168] Determine the target light effect configuration parameter corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the light effect configuration parameter;

[0169] The target aperture number and the target light effect configuration parameters are used as the target display control parameters of the first electrical quantity.

[0170] In a possible example, the display control parameter is at least one of the following: aperture display brightness, aperture rotation rate, aperture rotation direction, aperture arc length, aperture display color type, aperture flashing frequency, aperture rotation direction, and display mode.

[0171] In a possible example, in terms of receiving the power acquisition instruction, the acquisition unit 401 is specifically used to:

[0172] collecting a first user image of the user through an infrared camera;

[0173] identifying the first user image;

[0174] When the user is identified as a target object, a prompt is given that the user identity is successfully confirmed;

[0175] Acquire a second user image of the user;

[0176] Performing action recognition on the second user image to obtain a target action;

[0177] When the target action is a preset action, the power acquisition instruction is received.

[0178] In a possible example, in the aspect of identifying the first user image, the acquiring unit 401 is specifically configured to:

[0179] Performing image segmentation on the first user image to obtain a first target face area image;

[0180] Get the target ambient temperature;

[0181] Determine the target compensation parameter corresponding to the target ambient temperature according to the preset mapping relationship between the temperature and the compensation parameter;

[0182] Compensating the first target face region image according to the target compensation parameter to obtain a second target face region image;

[0183] Performing feature extraction on the second target face region image to obtain a first face feature set;

[0184] Matching the first facial feature set with a second facial feature set of a preset facial template;

[0185] When the first facial feature set matches the second facial feature set successfully, it is determined that the user is successfully identified.

[0186] It can be understood that the functions of each program module of the device display control apparatus of this embodiment can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.

[0187] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.

[0188] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.

[0189] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0190] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0191] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0192] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0193] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0194] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0195] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0196] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A device display control method, It is characterized in that Applied to an electronic device, the electronic device includes an aperture display device, and the method includes: receiving a power acquisition instruction, and responding to the power acquisition instruction to acquire a first power of the electronic device; Determine a target display control parameter of the aperture display device corresponding to the first electrical quantity; Controlling the aperture display device to perform display operation according to the target display control parameter; Wherein, determining the target display control parameter of the aperture display device corresponding to the first electrical quantity includes: determining a first power level corresponding to the first power level; Determine the target aperture number corresponding to the first power level according to a preset mapping relationship between the power level and the aperture number; Get target environment parameters; Determine the target light effect configuration parameter corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the light effect configuration parameter; The target aperture number and the target light effect configuration parameters are used as the target display control parameters of the first electrical quantity.

2. The method according to claim 1, It is characterized in that When the first power is a first power consumption rate, determining a target display control parameter of the aperture display device corresponding to the first power includes: Acquire a target foreground application of the electronic device; Determine the target display color type corresponding to the target foreground application according to the preset mapping relationship between the application and the display color type; Determining a target rotation rate corresponding to the first power consumption rate according to a preset mapping relationship between the power consumption rate and the aperture rotation rate; The target display color and the target rotation rate are used as the target display control parameters.

3. The method according to claim 1 or 2, It is characterized in that The receiving of the power acquisition instruction includes: collecting a first user image of the user through an infrared camera; identifying the first user image; When the user is identified as a target object, a prompt is given that the user identity is successfully confirmed; Acquire a second user image of the user; Performing action recognition on the second user image to obtain a target action; When the target action is a preset action, the power acquisition instruction is received.

4. The method according to claim 3, It is characterized in that The identifying the first user image includes: Performing image segmentation on the first user image to obtain a first target face area image; Get the target ambient temperature; Determine the target compensation parameter corresponding to the target ambient temperature according to the preset mapping relationship between the temperature and the compensation parameter; Compensating the first target face region image according to the target compensation parameter to obtain a second target face region image; Performing feature extraction on the second target face region image to obtain a first face feature set; Matching the first facial feature set with a second facial feature set of a preset facial template; When the first facial feature set matches the second facial feature set successfully, it is determined that the user is successfully identified.

5. A device display control device, It is characterized in that Applied to electronic equipment, the electronic equipment includes an aperture display device, the device includes: an acquisition unit, a determination unit and a control unit, wherein: The acquisition unit is used to receive a power acquisition instruction, and respond to the power acquisition instruction to acquire a first power of the electronic device; The determining unit is used to determine a target display control parameter of the aperture display device corresponding to the first electrical quantity; The control unit is used to control the aperture display device to perform display operation according to the target display control parameter; Wherein, in determining the target display control parameter of the aperture display device corresponding to the first electrical quantity, the determining unit is specifically used for: determining a first power level corresponding to the first power level; Determine the target aperture number corresponding to the first power level according to a preset mapping relationship between the power level and the aperture number; Get target environment parameters; Determine the target light effect configuration parameter corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the light effect configuration parameter; The target aperture number and the target light effect configuration parameters are used as the target display control parameters of the first electrical quantity.

6. The device according to claim 5, It is characterized in that When the first power is a first power consumption rate, in determining the target display control parameter of the aperture display device corresponding to the first power, the determining unit is specifically used to: Acquire a target foreground application of the electronic device; Determine the target display color type corresponding to the target foreground application according to the preset mapping relationship between the application and the display color type; Determining a target rotation rate corresponding to the first power consumption rate according to a preset mapping relationship between the power consumption rate and the aperture rotation rate; The target display color and the target rotation rate are used as the target display control parameters.

7. An electronic device, It is characterized in that The invention comprises a processor, a memory and an aperture display device, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program comprises instructions for executing the steps in the method according to any one of claims 1 to 4.

8. A computer-readable storage medium, It is characterized in that A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 4.