Control method, intelligent terminal and storage medium
By implementing an intelligent lighting control method based on preset attitude and environmental information on the smart terminal, the problem of inconvenient lighting functions of the smart terminal is solved, convenient and intelligent lighting management is realized, user experience is improved, and energy consumption and safety are optimized. .
Patent Information
- Application Number
- CN202411409989.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-02-14
AI Technical Summary
The built-in lighting function on the smart terminal is inconvenient to use.
By implementing a control method on the smart terminal, the lighting function is automatically controlled according to the preset terminal attitude and environmental information, including intelligent control based on conditions such as light intensity, time, location, environmental picture changes and user activities, etc. .
It realizes intelligent and convenient lighting control functions, improves user experience, and further optimizes lighting management through the "night light" mode and "monitoring" mode to save energy consumption and ensure safety.
Smart Images

Figure CN119449946A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a control method, an intelligent terminal and a storage medium. Background Art
[0002] Smart terminals such as mobile phones have become necessities in people's lives, replacing products such as televisions, wallets, flashlights, and cameras. Among them, flashlights are a common and indispensable function on smart terminals such as mobile phones. Flashlights achieve lighting through LED lights on smartphones.
[0003] In the process of conceiving and realizing the present application, the inventors found that there are at least the following problems: the lighting function provided on smart terminals such as mobile phones is still inconvenient to use.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention
[0005] In response to the above technical problems, the present application provides a control method, a smart terminal and a storage medium, which can enable the smart terminal to realize intelligent and convenient lighting control functions and improve the user experience.
[0006] The present application provides a control method which can be applied to a smart terminal, including: S1, in a preset terminal posture, in response to environmental information meeting a preset condition, controlling a lighting function according to a preset control strategy.
[0007] Optionally, the preset terminal posture includes one of the following: The folding screen folds into a preset angle; The entirety of the intelligent terminal is fixed vertically.
[0008] Optionally, the preset condition includes at least one of the following: The light intensity of the current environment obtained by the camera module meets the light intensity requirement for turning on the lighting; The current time meets the time requirement for turning on the lighting; The current location is the preset location; The current environment image fed back by the shooting module changes dynamically; A preset user activity is detected in the current environment image fed back by the shooting module; Stranger activities are detected in the current environment image fed back by the shooting module.
[0009] Optionally, the preset control strategy includes at least one of the following: When the current environment screen changes dynamically, the lighting module is controlled to turn on the lighting function in a preset lighting mode; When a preset user activity is detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode; When stranger activities are detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode, and / or to perform alarm control in a preset alarm mode; When the current environment picture information fed back by the camera module is a static picture or the preset user leaves, the lighting function is turned off; When the current environment picture fed back by the shooting module is a static picture or the preset user leaves for a preset time period, the lighting function is turned off.
[0010] Optionally, the preset lighting mode includes one of the following: Lighting is performed at a first brightness value; Illuminate with preset light colors; Use front flash for lighting; Use rear flash for lighting; While maintaining the illumination, the first brightness value is gradually increased to the second brightness value in a gradual increasing manner.
[0011] Optionally, the preset alarm mode includes at least one of the following: Perform audio alarm actions through speakers; Execute telephone alarm action through telephone function; Execute SMS alarm action through SMS function; Perform screen recording actions through the video recording function; Based on the screen information obtained by performing the screen recording action and the preset help end, the screen sharing action is performed; Control the associated terminals to execute synchronous alarm actions; Hide the control interface corresponding to all or part of the currently executed actions related to the alarm.
[0012] Optionally, the control method provided in the present application also includes: turning on the night light mode in response to a preset operation.
[0013] Optionally, the control method provided in the present application also includes: after turning on the lighting function, in response to the approach of a preset user, gradually reducing the current brightness value of the lighting function to a first brightness value in a gradually decreasing manner.
[0014] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the control method described in any one of the above items are implemented.
[0015] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method described in any one of the above items are implemented.
[0016] As described above, the present application provides a control method, a smart terminal and a storage medium. The control method can be applied to the smart terminal, including the steps: S1, in a preset terminal posture, in response to environmental information meeting a preset condition, controlling the lighting function according to a preset control strategy. Through the technical solution of the present application, when the smart terminal is in a preset terminal posture, the control demand for the lighting function can be determined according to the environmental information to control the lighting function. Therefore, the technical solution of the present application can enable the smart terminal to realize the lighting control function intelligently and conveniently, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0018] Figure 1 A schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application.
[0019] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application.
[0020] Figure 3 It is a flow chart of the control method shown in the embodiment of the present application.
[0021] Figure 4 It is a scene schematic diagram of the folding posture of the folding screen terminal shown in this application.
[0022] Figure 5 This is a schematic diagram of the scene of the folding and placement process of the foldable screen mobile phone shown in this application.
[0023] Figure 6 This is a schematic diagram of a scenario in which the folding screen mobile phone performs screen monitoring as shown in this application.
[0024] Figure 7 This is a schematic diagram of the lighting scene of the folding screen mobile phone shown in this application.
[0025] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0026] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0027] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0028] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.
[0029] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0030] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0031] It should be noted that in this article, step codes such as S1 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence.
[0032] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0033] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0034] The smart terminal may be implemented in various forms. For example, the smart terminal described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0035] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.
[0036] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0037] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal: The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing- Long Term Evolution), TDD-LTE (Time Division Duplexing- Long Term Evolution), 5G and 6G, etc.
[0038] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
[0039] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0040] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0041] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0042] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0043] The user input unit 107 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch panel 1071), and drive corresponding connection devices according to a pre-set program. The touch panel 1071 may include a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0044] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0045] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0046] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0047] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0048] The mobile terminal 100 may further include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0049] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0050] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.
[0051] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.
[0052] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0053] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .
[0054] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving GateWay) 2034, PGW (PDN Gate Way) 2035, and PCRF (Policy and Charging Rules Function) 2036. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure), and store some user-specific information such as service features and data rates. All user data can be sent through SGW2034. PGW2035 can provide IP address allocation and other functions for UE 201. PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0055] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0056] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G and future new network systems (such as 6G), etc., without limitation here.
[0057] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0058] First embodiment Reference Figure 3 , Figure 3 is a flow chart of a control method shown in an embodiment of the present application. The control method in the embodiment of the present application can be applied to a smart terminal (such as a mobile phone), and includes the following steps (for example, step S1): S1, in a preset terminal posture, in response to environmental information meeting preset conditions, controlling the lighting function according to a preset control strategy.
[0059] Optionally, the preset terminal posture may represent a posture in which the intelligent terminal can fully or partially expose its lighting module.
[0060] Optionally, the preset terminal posture includes but is not limited to one of the following: The folding screen folds into a preset angle; The entirety of the intelligent terminal is fixed vertically.
[0061] Alternatively, see Figure 4 When the smart terminal is a folding screen terminal and the folding screen is folded to a preset angle, the body area where the lighting module is located can be supported so that the smart terminal can fully expose the lighting module, thereby determining the control requirements for the lighting function according to environmental information and controlling the lighting function.
[0062] Optionally, the preset angle may represent an angle at which the body of the smart terminal can be stably placed and the body area where the lighting module is located can be supported after the folding screen of the smart terminal is folded.
[0063] Optionally, the manner of determining whether the entire smart terminal is fixed vertically includes but is not limited to at least one of the following: The posture detection function of the smart terminal is used to detect the terminal posture of the smart terminal, so as to determine whether the whole smart terminal is fixed vertically based on the detected terminal posture; When the smart terminal is fixed on the vertical support device, based on the signal triggered and fed back by the vertical support device, it is determined that the entire smart terminal is fixed vertically.
[0064] Optionally, the posture detection function can be implemented based on the integration and data fusion of multiple sensors (such as accelerometers, gyroscopes, magnetometers, etc.).
[0065] Optionally, the vertical support device can be a base charger (a terminal fixing base with a charging function), a vertical bracket or a housing. The vertical support device can fix the smart terminal on an attachment surface (such as a desktop, a wall, etc.) in an upright or inclined form, and the vertical support device can establish an electrical connection or a signal connection with the smart terminal.
[0066] Optionally, the preset conditions may represent various scenarios or situations in which there is a need to control the lighting function.
[0067] Optionally, the environmental information may include at least one of the light intensity of the current environment, the current time, the current location, the current environment picture, etc.
[0068] Optionally, the preset conditions include but are not limited to at least one of the following: The light intensity of the current environment obtained by the camera module meets the light intensity requirement for turning on the lighting; The current time meets the time requirement for turning on the lighting; The current location is the preset location; The current environment image fed back by the shooting module changes dynamically; A preset user activity is detected in the current environment image fed back by the shooting module; Stranger activities are detected in the current environment image fed back by the shooting module.
[0069] Optionally, the light intensity of the current environment obtained by the shooting module meets the light intensity requirement for turning on the lighting, which can characterize the specific light sensing function of the camera module. When it is detected that the light intensity of the current environment is dark, it can determine whether there is a need to control the lighting function alone, or combine other environmental information (such as the current time, current location and / or current environmental picture, etc.) to more accurately determine whether there is a need to control the lighting function, thereby realizing automatic or prompt turning on of the lighting function according to the control demand for the lighting function.
[0070] Optionally, the time requirement for turning on the lighting can be a set time period, or a dark period determined according to the current weather. The technical solution of this embodiment can determine the existence of the control demand for the lighting function by the time requirement for turning on the lighting, or combine other environmental information (such as the light intensity of the current environment, the current location and / or the current environment picture, etc.) to more accurately determine the existence of the control demand for the lighting function, thereby realizing automatic or prompt turning on of the lighting function according to the control demand for the lighting function.
[0071] Optionally, the preset location may include a dimly lit location or any location set by the user. Examples of dimly lit locations include warehouses, caves, etc. Examples of any location set by the user include bedrooms, living rooms, etc. The technical solution of this embodiment can determine the existence of a control demand for the lighting function alone when the current location is detected as a preset location, or more accurately determine the existence of a control demand for the lighting function in combination with other environmental information (such as the current time, the light intensity of the current environment, and / or the current environment image, etc.), thereby realizing automatic or prompt turning on of the lighting function according to the control demand for the lighting function.
[0072] Optionally, under a preset terminal posture, a camera module integrated with or separately connected to the smart terminal can start a shooting function to obtain a picture of the current environment.
[0073] Optionally, the technical solution of this embodiment may further include: acquiring and feeding back the current environment picture through the shooting module; when there is a difference between the current environment picture and the previous environment picture fed back by the shooting module, it can be determined that there is a dynamic change in the current environment picture fed back by the shooting module.
[0074] The technical solution of this embodiment can determine the existence of the control need for the lighting function alone when there is a dynamic change in the current environment picture fed back by the shooting module, or can more accurately determine the existence of the control need for the lighting function in combination with other environmental information (such as the current time, the light intensity of the current environment and / or the current location, etc.), thereby realizing automatic or prompt turning on of the lighting function according to the control need for the lighting function.
[0075] Optionally, the shooting module may include a wide-angle camera component. In this way, the technical solution of this embodiment can obtain the current environment picture through the wide-angle camera component, so that the wide-angle characteristic can be used to ensure that the current environment picture can represent more objects in the actual environment.
[0076] Optionally, the technical solution of this embodiment may further include: acquiring and feeding back the current environment picture through the shooting module; identifying portrait information in the current environment picture through portrait recognition technology; when a preset user matching the portrait information is detected, it is determined that the preset user activity is detected in the current environment picture fed back by the shooting module; or, when no preset user matching the portrait information is detected, it is determined that a stranger activity is detected in the current environment picture fed back by the shooting module.
[0077] The technical solution of this embodiment can determine the existence of the need to control the lighting function alone when there is a dynamic change in the current environment picture fed back by the shooting module, or when a preset user activity is detected in the current environment picture fed back by the shooting module, or can more accurately determine the existence of the need to control the lighting function in combination with other environmental information (such as the current time, the light intensity of the current environment and / or the current location, etc.), thereby realizing automatic or prompt turning on of the lighting function according to the control demand for the lighting function.
[0078] Optionally, the shooting module may include a lens and a photosensitive chip. The lens is used to provide and form a camera window; the photosensitive chip is used to obtain optical environment information, wherein the optical environment information may include the light intensity of the current environment and / or the current environment picture. In this way, the shooting module in the technical solution of this embodiment can have both light sensing function and shooting function.
[0079] Optionally, the shooting module can conveniently control the lighting function to realize a "night light" mode. For example, when the light intensity of the current environment fed back by the camera module is lower than a preset value, the "night light" mode can be entered, and the low-power monitoring mode of the camera module can be turned on to detect the current environment, so that when there are dynamic changes in the current environment picture fed back by the shooting module, the lighting function can be turned on to serve as a night light, and / or, when there are no dynamic changes in the current environment picture fed back by the shooting module, the lighting function can be kept off to save energy.
[0080] Optionally, the step of the shooting module acquiring optical environment information may include: entering the light sensing mode, initializing the light sensing of the designated pixel area of the photosensitive chip of the shooting module; acquiring light sensing environment information using the designated pixel area of the photosensitive chip after light sensing initialization; and performing light sensing intensity analysis on the light sensing environment information to determine the light intensity of the current environment. In this way, the photosensitive chip of the shooting module in the technical solution of this embodiment can be set with a pixel area dedicated to light sensing, so that the camera module can have light sensing work, which can reduce the additional photosensitive components in the smart terminal, can reduce the production cost of the smart terminal, and improve the market competitiveness of smart terminal products.
[0081] Optionally, the designated pixel area for light sensing may be the entire pixel area or a portion of the pixel area of the photosensitive chip. Optionally, when the designated pixel area for light sensing is a portion of the pixel area of the photosensitive chip, the portion of the pixel area may be the pixel area at the center of the photosensitive chip or the pixel area at the edge of the photosensitive chip. Optionally, a portion of the pixel area may represent an area composed of a preset number of pixels. Optionally, the preset number may be reasonably set according to parameters such as the pixel level of the smart terminal and system performance, which are not limited here. In this way, this embodiment detects light intensity through the pixel area of a portion of the photosensitive chip, and has good energy consumption performance.
[0082] In one embodiment, the step of performing light intensity analysis on the light environment information to determine the light intensity of the current environment may include one of the following: Determine the light intensity of the current environment based on the RGB information corresponding to the light sensing environment information; The light intensity of the current environment is determined based on the induced current value corresponding to the light sensing environment information.
[0083] Optionally, in the RGB information, R is red, G is green, and B is blue.
[0084] Optionally, the light-sensing environment information obtained under different light intensities has corresponding induced current values that are different.
[0085] Optionally, the preset control strategy includes but is not limited to at least one of the following: When the current environment screen changes dynamically, the lighting module is controlled to turn on the lighting function in a preset lighting mode; When a preset user activity is detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode; When stranger activities are detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode, and / or to perform alarm control in a preset alarm mode; When the current environment picture information fed back by the camera module is a static picture or the preset user leaves, the lighting function is turned off; When the current environment picture fed back by the shooting module is a static picture or the preset user leaves for a preset time period, the lighting function is turned off.
[0086] Optionally, when the current environment picture changes dynamically, the lighting module is controlled to turn on the lighting function in a preset lighting mode; when a preset user activity is detected in the current environment picture, the lighting module is controlled to turn on the lighting function in a preset lighting mode. It can be configured in the "night light" mode. In this way, the technical solution of this embodiment enables the smart terminal with a preset terminal posture to turn on the lighting function for lighting when a dynamic object or a preset user is detected through the camera component in a low-light environment, so as to avoid bumps between people in a low-light environment.
[0087] Optionally, when the current environment picture information fed back by the shooting module is a static picture or the preset user leaves, the lighting function is turned off, or when the current environment picture fed back by the shooting module is a static picture or the preset user leaves and exceeds a preset time, the lighting function is turned off. It can be configured in the "night light" mode. In this way, the technical solution of this embodiment enables the smart terminal with a preset terminal posture to detect a dynamic object or a preset user through the camera component in a low-light environment, so that the lighting function can realize the lighting function of turning on the light when the person comes and turning off the light when the person leaves or after the person leaves for a while. In this way, it can save energy and avoid long-term lighting that affects the user's sleepiness.
[0088] Optionally, when stranger activity is detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode, and / or to perform alarm control in a preset alarm mode. In this way, the technical solution of this embodiment enables a smart terminal with a preset terminal posture to turn on the lighting function for lighting when a stranger activity is detected by the camera component in a set environment.
[0089] Optionally, when stranger activities are detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode, and to perform alarm control in a preset alarm mode, which can be configured in the monitoring mode. In this way, the technical solution of this embodiment enables the smart terminal with a preset terminal posture to turn on the lighting function for light warnings and alarm control when a stranger is monitored in a set environment, so as to ensure the user's life and property safety or meet the user's other monitoring needs.
[0090] Optionally, the preset lighting mode includes but is not limited to one of the following: Lighting is performed at a first brightness value; Illuminate with preset light colors; Use front flash for lighting; Use rear flash for lighting; While maintaining the illumination, the first brightness value is gradually increased to the second brightness value in a gradual increasing manner.
[0091] Optionally, in the "night light" mode, the first brightness value may represent a brightness value that is not glaring in a low-light environment, thus avoiding affecting the user's sleepiness. When performing a light warning in the "monitoring" mode, the first brightness value may represent a brightness value that has a light warning effect in a low-light environment, thus achieving a warning and intimidation effect on strangers.
[0092] Optionally, in the "night light" mode, the preset light color can represent a soft light color, so as to avoid affecting the user's sleepiness. When the light warning is performed in the "monitoring" mode, the preset light color can represent a warning color (such as red or yellow, etc.) or a color with high color rendering (such as white, which can better illuminate the environment), so as to achieve a warning and intimidation effect on strangers.
[0093] Optionally, the technical solution of this embodiment may include a front shooting module and a rear shooting module. When the current environment picture obtained by the front shooting module has dynamic changes or human activities, the front flash can be used for lighting, and when the current environment picture obtained by the rear shooting module has dynamic changes or human activities, the rear flash can be used for lighting. In this way, in the technical solution of this embodiment, when there are human activities on both the front and rear sides of the smart terminal, the rear flash and the rear flash can be turned on at the same time to better achieve lighting; or, the technical solution of this embodiment can turn on the first flash on the corresponding side when one of the front and rear sides of the smart terminal detects human activities, and when the person leaves the detection range of the shooting module of one of the front and rear sides and appears in the detection range of the shooting module of the other of the front and rear sides, the first flash can be turned off, and / or the second flash on the other side can be turned on, so that not only a good lighting effect can be provided, but also energy consumption can be saved and user experience can be improved.
[0094] Optionally, while maintaining the lighting, the first brightness value is gradually increased to the second brightness value in a progressively increasing manner, which can be configured in the "night light" mode. In this way, the technical solution of this embodiment enables the smart terminal with a preset terminal posture to detect a dynamic object or a preset user through the camera component in a low-light environment. The brightness of the lighting function can be changed from dark to bright. It can not only have the night lighting function of a night light, but also avoid the glare caused by the light being too bright after it is suddenly turned on, thereby affecting the user's sleepiness, thereby improving the user experience.
[0095] Optionally, the preset alarm mode includes at least one of the following: Perform audio alarm actions through speakers; Execute telephone alarm action through telephone function; Execute SMS alarm action through SMS function; Perform screen recording actions through the video recording function; Based on the screen information obtained by performing the screen recording action and the preset help end, the screen sharing action is performed; Control the associated terminals to execute synchronous alarm actions; Hide the control interface corresponding to all or part of the currently executed actions related to the alarm.
[0096] Optionally, in the technical solution of this embodiment, when stranger activities are detected in the current environment screen, the video recording function can be used to perform a screen recording action to achieve video evidence collection and retention.
[0097] Optionally, in the technical solution of this embodiment, when stranger activities are detected in the current environment screen, the screen sharing action is performed based on the screen information obtained by executing the screen recording action and the preset help-seeking end, so as to achieve seeking help from other people and / or evidence backup, and facilitate other people to understand the specific rescue situation and arrange rescue strategies.
[0098] Optionally, the preset help-seeking terminal may be a smart terminal of any designated person, or may be an alarm platform of a rescue unit of a government department.
[0099] Optionally, the associated terminal may be a wearable terminal or other smart terminal other than the wearable terminal, which may be associated with the smart terminal through an account or wireless communication. Optionally, the wearable terminal may be a smart bracelet, a smart watch, or the like.
[0100] Optionally, in the technical solution of this embodiment, when stranger activities are detected in the current environment screen, while controlling the lighting function to issue a light warning, the terminal, wearable terminal and / or the terminal of the emergency contact within the preset range can also be controlled to issue an alarm. Optionally, a vibration alarm or an audio alarm can be issued by the wearable terminal to give a close-range warning to the preset user, ensuring that the preset user can be effectively reminded of the intrusion of a stranger when the preset user is in a deep sleep state, thereby protecting the life and property safety of the preset user.
[0101] Optionally, in the technical solution of this embodiment, when stranger activities are detected in the current environment screen, the control interface corresponding to all or part of the alarm-related actions currently being executed is hidden, which can realize private alarms and prevent illegal persons from interrupting the alarm, and can further protect the life and property safety of the preset users.
[0102] Optionally, the control method provided in the present application (for example, before step S1 or in step S1) may further include: turning on the night light mode in response to a preset operation.
[0103] Optionally, the control method provided by the present application further includes: after the lighting function is turned on, in response to the approach of a preset user, gradually reducing the current brightness value of the lighting function to a first brightness value in a progressively decreasing manner. In this way, the technical solution of this embodiment can gradually dim the light when the preset user approaches the smart terminal to avoid glare.
[0104] The control method provided in this embodiment can be applied to a smart terminal, and includes the following steps: S1, in a preset terminal posture, in response to environmental information meeting a preset condition, controlling the lighting function according to a preset control strategy. Through the technical solution of this embodiment, when the smart terminal is in a preset terminal posture, the control demand for the lighting function can be determined according to the environmental information to control the lighting function. Therefore, the technical solution of this embodiment can enable the smart terminal to realize the lighting control function intelligently and conveniently, thereby improving the user experience.
[0105] Furthermore, the technical solution of this embodiment can also enable the smart terminal to have a "night light" mode and / or a "monitoring" mode to further enhance the user experience.
[0106] In order to facilitate understanding of the technical concept of the above technical solution, a specific application scenario of a folding screen mobile phone using the above control method is exemplified below for reference: See also Figure 5 , a device equipped with a rear wide-angle camera module and / or a front camera module ( Figure 5 The folding screen mobile phone with a plurality of cameras (not shown) and a lighting module, wherein the wide-angle camera module and / or the front camera module has an AON function (Always-On, i.e., always-on function, is a camera working mode that allows the camera to continue to operate in an ultra-low power state to achieve rapid response and real-time monitoring). The lighting module may include a front flash ( Figure 5 The foldable screen mobile phone is adjusted to a proper folding posture and placed on a support.
[0107] First example scenario: When the foldable phone is adjusted to an appropriate folding posture and placed on a support, the foldable phone can be operated to turn on the night light mode, so that the wide-angle camera module turns on the AON function to monitor the surrounding environment to obtain the environment picture (see Figure 6 ), and after the folding screen mobile phone determines that there are dynamic people in the environment picture, it controls the lighting module to illuminate (see Figure 7 ); Subsequently, when the folding screen mobile phone determines that the person in the environment screen disappears for a period of time (for example, 30 seconds), the lighting function of the lighting module is turned off.
[0108] Second example scenario: When you go to bed at night, fold the foldable screen phone to the angle you want to monitor, then pull down the foldable screen phone menu and turn on the night light mode. When you get out of bed at night, the foldable screen phone uses the wide-angle camera module to monitor dynamic changes in the picture (periodic frame taking, changes in the previous and next frames), then turn on the lighting module to illuminate, ensuring personal safety at night.
[0109] Third example scenario: When sleeping at night, fold the foldable screen phone to the angle you want to monitor, then pull down the foldable screen phone menu and turn on the night light mode. When you are asleep, the foldable screen phone will monitor the dynamic changes in the picture through the wide-angle camera module. If it is determined that a thief has broken in, it will turn on the lighting module to illuminate and deter the thief.
[0110] Fourth example scenario: When you go to bed at night, fold the foldable phone to the angle you want to monitor, then pull down the menu of the foldable phone and turn on the night light mode. When you are asleep, the foldable phone detects dynamic changes in the picture through the wide-angle camera module and turns on the lighting module for illumination.
[0111] After turning on the lighting module, the current image is obtained and the person is identified. If the person is identified as the owner or other family members set by the owner, only the lighting function will be retained; if the person is identified as a stranger, an alarm will be sounded using speakers, indicator lights, phone calls, etc. In addition, the recording function can be turned on after the person is identified as a stranger.
[0112] Fifth example scenario: Fold the foldable screen phone to the preset folding angle, detect the ambient light intensity through the wide-angle camera module, and automatically enter the night light mode when the light intensity is lower than the preset value, turning on the AON function of the wide-angle camera module.
[0113] Sixth example scenario: The foldable screen mobile phone is folded to a preset folding angle, and the AON function is turned on for both the rear wide-angle camera module and the front camera module to monitor the surrounding environment to obtain environmental images. If the foldable screen mobile phone determines that there is something wrong with the image fed back by the rear wide-angle camera module, the rear flash is turned on, and / or, if the foldable screen mobile phone determines that there is something wrong with the image fed back by the front camera module, the front flash is turned on.
[0114] An embodiment of the present application further provides an intelligent terminal, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the control method in any of the above embodiments are implemented.
[0115] An embodiment of the present application further provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the control method in any of the above embodiments are implemented.
[0116] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned control method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods, and will not be repeated here.
[0117] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.
[0118] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.
[0119] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0120] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0121] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0122] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0123] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.
[0124] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0125] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0127] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)), etc.
[0128] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A control method, characterized in that: Applied to smart terminals, including: S1, in a preset terminal posture, in response to environmental information meeting preset conditions, controlling the lighting function according to a preset control strategy.
2. The control method according to claim 1, characterized in that: The preset terminal posture includes one of the following: The foldable screen folds into a preset angle; The entirety of the intelligent terminal is fixed vertically.
3. The control method according to claim 2, characterized in that: The preset conditions include at least one of the following: The light intensity of the current environment obtained by the camera module meets the light intensity requirement for turning on the lighting; The current time meets the time requirement for turning on the lighting; The current location is the preset location; The current environment image fed back by the shooting module changes dynamically; A preset user activity is detected in the current environment image fed back by the shooting module; Stranger activities are detected in the current environment image fed back by the shooting module.
4. The control method according to any one of claims 1 to 3, characterized in that: The preset control strategy includes at least one of the following: When the current environment picture changes dynamically, the lighting module is controlled to turn on the lighting function in a preset lighting mode; When a preset user activity is detected in the current environment picture, controlling the lighting module to turn on the lighting function in a preset lighting mode; When stranger activities are detected in the current environment screen, the lighting module is controlled to turn on the lighting function in a preset lighting mode, and / or to perform alarm control in a preset alarm mode; When the current environment picture information fed back by the camera module is a static picture or the preset user leaves, the lighting function is turned off; When the current environment picture fed back by the shooting module is a static picture or the preset user leaves for a preset time period, the lighting function is turned off.
5. The control method according to claim 4, characterized in that: Preset lighting mode, including one of the following: Lighting is performed at a first brightness value; Illuminate with preset light colors; Use front flash for lighting; Use rear flash for lighting; While maintaining the illumination, the first brightness value is gradually increased to the second brightness value in a gradual increasing manner.
6. The control method according to claim 4, characterized in that: The preset alarm mode includes at least one of the following: Perform audio alarm actions through speakers; Execute telephone alarm action through telephone function; Execute SMS alarm action through SMS function; Perform screen recording actions through the video recording function; Based on the screen information obtained by performing the screen recording action and the preset help end, the screen sharing action is performed; Control the associated terminals to execute synchronous alarm actions; Hide the control interface corresponding to all or part of the currently executed actions related to the alarm.
7. The control method according to any one of claims 1 to 3, characterized in that: Also includes: In response to a preset operation, the night light mode is turned on.
8. The control method according to any one of claims 1 to 3, characterized in that: Also includes: After the lighting function is turned on, in response to the approach of a preset user, the current brightness value of the lighting function is gradually reduced to the first brightness value in a gradually decreasing manner.
9. An intelligent terminal, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the control method according to any one of claims 1 to 8 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Multifunctional illuminating lamp with intelligent network monitoring function and monitoring method thereof
CN104244506A
Night lamp illumination method and device based on folding screen, terminal and readable storage medium
CN111212176A
Folding screen lighting method and device
CN112241194A
Monitoring method and device, storage medium and electronic equipment
CN112911204A
Smart home lighting method and device and storage medium
CN115802561A