Light control method and device, electronic equipment and computer readable storage medium

By collecting motion data of electronic devices and dynamically adjusting the brightness and frequency of the flash based on the motion characteristics, the problem of lack of interaction and fun in flash control is solved, and intelligent light control is realized for interacting with users.

CN120547737AInactive Publication Date: 2025-08-26REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510649728.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2025-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the control of flash lacks interactivity and fun, mainly relies on ambient light sensors or manual settings, and cannot be combined with dynamic interactive scenes.

Method used

By collecting motion data of electronic devices, determining target control parameters based on motion characteristics such as speed, acceleration, etc., dynamically adjusting the brightness and frequency of the flash to achieve light control interaction with the user.

Benefits of technology

It improves the interactivity and dynamic nature of light control, increases the fun of light control, and can adjust the brightness and frequency in real time according to the motion state, providing visual feedback and safety tips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120547737A_ABST
    Figure CN120547737A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a light control method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: collecting the motion data of the electronic equipment, and determining a motion feature based on the motion data, the motion feature comprising a speed; a light-emitting device of the electronic equipment is controlled to operate according to target control parameters, the target control parameters are matched with the motion characteristics, and the light-emitting device comprises a flash lamp. The interactivity and interestingness of light control can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer control technology, and relate to but are not limited to a lighting control method, device, electronic device, and computer-readable storage medium. Background Art

[0002] The functions of the flash of an electronic device include temporary lighting, fill light when shooting, and sending notifications or rescue signals.

[0003] However, in related technologies, the flash only supports adjusting the on and off, or even controlling the brightness, through camera applications, system function switches, etc., and relies on ambient light or manual settings in the process of adjusting the flash, which lacks interactivity. Summary of the Invention

[0004] In view of this, the lighting control method, device, electronic device, and computer-readable storage medium provided in the embodiments of the present application can enhance the interactivity and fun of lighting control. The lighting control method, device, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of the present application are implemented as follows:

[0005] In one aspect of an embodiment of the present application, a lighting control method is provided, the method comprising:

[0006] Collecting motion data of the electronic device and determining motion characteristics based on the motion data, the motion characteristics including speed;

[0007] A light emitting device of the electronic device is controlled to operate with target control parameters, wherein the target control parameters match the motion characteristics, and the light emitting device includes a flash.

[0008] In another aspect of the embodiments of the present application, a lighting control device is provided, the device comprising: a first acquisition module and a first control module;

[0009] A first acquisition module is configured to acquire motion data of the electronic device and determine motion characteristics based on the motion data, wherein the motion characteristics include speed;

[0010] The first control module is configured to control a light emitting device of the electronic device to operate according to target control parameters, where the target control parameters match the motion characteristics, and the light emitting device includes a flash.

[0011] The electronic device provided in the embodiment of the present application includes a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor executes the program, the lighting control method of the embodiment of the present application is implemented.

[0012] The computer-readable storage medium provided in the embodiment of the present application stores a computer program, which, when executed by a processor, implements the lighting control method provided in the embodiment of the present application.

[0013] The computer program product provided in the embodiments of the present application includes a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the lighting control method provided in the embodiments of the present application is implemented.

[0014] The lighting control method, device, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of the present application can determine the speed and other motion characteristics of the electronic device based on the motion data of the electronic device. When controlling the light-emitting device of the electronic device, the light-emitting device is controlled to operate through the target control parameter. Since the target control parameter matches the motion characteristics, it can be considered that the target control parameter is determined based on the speed and other motion characteristics. Based on this, it is possible to control the light based on the speed and other motion characteristics. Since the speed and other motion characteristics are real-time and dynamic, and can reflect the interaction between the outside world and the electronic device, the interactivity and dynamism of the lighting control can be improved; and in the process of controlling the light, the operation of the light-emitting device can change with the change of the speed and other motion characteristics, that is, the speed and other motion characteristics can be reflected through the operation of the light-emitting device, thereby increasing the interest of the lighting control. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. 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 creative work.

[0016] Figure 1 A schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application;

[0017] Figure 2 This is a schematic diagram of the first flow chart of the lighting control method provided in an embodiment of the present application;

[0018] Figure 3 This is a schematic diagram of the second flow chart of the lighting control method provided in an embodiment of the present application;

[0019] Figure 4 This is a schematic diagram of a global parameter configuration interface provided in an embodiment of the present application;

[0020] Figure 5 This is a schematic diagram of the third flow chart of the lighting control method provided in an embodiment of the present application;

[0021] Figure 6 This is a schematic diagram of the fourth flow chart of the lighting control method provided in an embodiment of the present application;

[0022] Figure 7 This is a fifth flow chart of the lighting control method provided in an embodiment of the present application;

[0023] Figure 8 This is a sixth flow chart of the lighting control method provided in an embodiment of the present application;

[0024] Figure 9 This is a schematic diagram of an interface of the history record interface provided in an embodiment of the present application;

[0025] Figure 10 This is a schematic structural diagram of a lighting control device provided in an embodiment of the present application;

[0026] Figure 11 This is another structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0027] To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the specific technical solutions of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application but are not intended to limit the scope of the present application.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0029] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0030] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0031] In order to more clearly explain the lighting control method provided in the embodiments of the present application, one of the hardware structures of the electronic device to which the method is applied is explained below.

[0032] Figure 1This is a schematic diagram of the hardware structure of an electronic device provided in the embodiment of this application. Please refer to Figure 1 The electronic device includes: a processor, a memory and a light emitting device, wherein the processor can be, for example, Figure 1 The CPU (Central Processing Unit) shown in the figure may also be other types of processors, such as a GPU (Graphics Processing Unit), an NPU (Neural-network Processing Unit), etc., or any combination of the above-mentioned processors, such as different CPUs, different GPUs, CPU and GPU, CPU and NPU, CPU, GPU and NPU, etc. One or more corresponding processors can be set according to actual execution requirements, and no specific limitation is made here.

[0033] Optionally, the electronic devices may include, but are not limited to, mobile phones, wearable devices (such as smart watches, smart bracelets, smart glasses, etc.), tablet computers, laptop computers, vehicle-mounted terminals, PCs (Personal Computers), VR (Virtual Reality) devices, AR (Augmented Reality) devices, MR (Mixed Reality) devices, etc. The functions implemented by the method can be implemented by calling program code by a processor in the electronic device, and of course the program code can be stored in a computer storage medium.

[0034] It should be noted that Figure 1 The CPU is only used as an example for explanation. In actual implementation, the CPU can also be replaced with other types of processors, or used in combination with other types of processors. No specific limitation is made here.

[0035] The light-emitting device may include a flash and a screen, wherein the flash is used to provide fill light when shooting or as a flashlight; the screen is used to display text, images, videos and other content, and users can interact with the electronic device through the screen.

[0036] It should be noted that Figure 1 The electronic device is only explained with one flash and screen as an example. In the actual implementation process, it may also include multiple different flashes and screens. Different flashes and screens can operate independently, and one or more corresponding flashes or screens can be operated according to actual needs.

[0037] Optionally, the light control method provided in the embodiment of the present application may be a way to control a flash light.

[0038] In the related art, in the process of controlling the flash, it is only supported to adjust the flash on and off, or even control the brightness of the flash, through camera applications, system function switches, etc.

[0039] However, there are certain problems with the technical means adopted in the related art. The brightness adjustment of the flash mostly depends on the ambient light sensor or manual setting. The control process only relies on the data of a single light sensor, and does not combine the flash with the dynamic interactive scene. There is a lack of dynamic connection with the user interaction scene. Therefore, there is a problem in the related art that the control method is single and the control process lacks interactivity and fun.

[0040] In order to solve the above problems existing in the related art, an embodiment of the present application provides a lighting control method, which can control the lighting based on motion characteristics such as speed, thereby improving the interactivity, dynamism and fun of lighting control.

[0041] Figure 2 This is a first flow chart of the lighting control method provided in the embodiment of the present application. The lighting control method can be applied to scenes such as team-building activities, party activities, concerts, sports games, health monitoring, navigation, and games. The execution subject of the lighting control method can be an electronic device or a server with a light-emitting device. The following example takes the execution subject as an electronic device with a light-emitting device. Please refer to Figure 2 The lighting control method may include the following steps S201 and S202, which are described in detail below.

[0042] Step S201: collect motion data of the electronic device and determine motion characteristics based on the motion data.

[0043] In the embodiment of the present application, the motion feature includes speed, and the motion feature may also include at least one of acceleration, displacement, angular velocity, direction, posture, height change, and motion trajectory.

[0044] In some embodiments, an accelerometer and a GPS (Global Positioning System) may be deployed in the electronic device, and the accelerometer may be a three-axis accelerometer. The electronic device may also be deployed with at least one of a gyroscope, a magnetometer, and a barometer. For example, if an electronic device is deployed with an accelerometer, a GPS, a gyroscope, a magnetometer, and a barometer, the electronic device may measure the linear acceleration of the electronic device on three axes (X, Y, Z) through the accelerometer, and the collected motion data may be an acceleration value, which includes the acceleration of gravity, and the acceleration value may be used to detect the movement, tilt, vibration, etc. of the electronic device. The electronic device may determine the geographic location of the electronic device through the GPS, and the collected motion data may be latitude and longitude, altitude, etc., and the latitude and longitude, altitude are used for navigation, location tracking, etc. The electronic device may measure the angular velocity of the electronic device around three axes through the gyroscope, and the collected motion data may be an angular velocity value, which is used to detect the rotation of the electronic device, attitude changes, etc. Electronic devices can use magnetometers to measure the strength of the magnetic field in their environment. The collected motion data can be the magnetic field strength value, which is used to determine the orientation of the electronic device, thereby implementing a compass function. Electronic devices can also use barometers to measure atmospheric pressure. The collected motion data can be the air pressure value, which is used to estimate the altitude change of the electronic device.

[0045] In some embodiments, a three-axis accelerometer is a sensor used to measure the acceleration of an electronic device in three-dimensional space. A three-axis accelerometer generally consists of three mutually perpendicular acceleration measurement units, corresponding to the three coordinate axes in space, usually the X, Y, and Z axes. Its core components are a mass block, an elastic element connected to it, and a detection circuit. When an object has acceleration in a certain direction, the mass block will be displaced due to inertia, causing the elastic element to deform. The detection circuit converts this deformation into an electrical signal, and after processing, the acceleration value in that direction can be obtained. The three-axis accelerometer can accurately measure the acceleration of an electronic device in the three axes of X, Y, and Z at the same time, and comprehensively reflect the changes in the motion state of the electronic device. Whether it is linear acceleration, deceleration, or turning, tilting, and other movements in a plane or in space, it can be analyzed through the acceleration data of the three axes. The three-axis accelerometer adopts advanced micro-electromechanical system technology, etc., with high measurement accuracy and stability, can detect tiny acceleration changes, and can meet a variety of high-precision measurement needs. Triaxial accelerometers can also quickly track changes in the motion state of electronic devices, outputting acceleration data in a timely manner. They can accurately measure and provide real-time feedback on dynamically changing accelerations. Applications for triaxial accelerometers include motion monitoring, navigation and positioning, and IoT devices.

[0046] In some embodiments, velocity can be determined by integrating acceleration, where acceleration is acquired by an accelerometer. Alternatively, position change can be determined by using geographic location, and then velocity can be determined from this position change, where geographic location is acquired by GPS. Alternatively, the velocities obtained by these two methods can be combined using an algorithm such as a Kalman filter to correct for integration errors and obtain a more accurate velocity. Based on this, velocity, a motion characteristic, can be determined using any of these methods.

[0047] In other embodiments, displacement is determined by integrating accelerometer and GPS data, acceleration can be directly acquired by the accelerometer, angular velocity can be directly acquired by the gyroscope, and attitude is determined by fusing accelerometer, gyroscope, and magnetometer data. The attitude can include pitch, roll, and yaw angles. Direction can be determined by magnetometer and accelerometer data, altitude change can be determined by barometer or GPS data, and motion trajectory can be determined by GPS and accelerometer data. Based on this, motion characteristics such as acceleration, displacement, angular velocity, attitude, direction, altitude change, and motion trajectory can also be determined.

[0048] In some embodiments, the electronic device may include a motion state analysis module, and the motion characteristics may include acceleration vector amplitude and frequency domain characteristics. Based on this, the acceleration vector amplitude and frequency domain characteristics can be determined by the motion analysis module.

[0049] In an embodiment of the present application, the above-mentioned step S201 can be performed periodically, that is, the motion data of the electronic device is periodically collected according to a preset period, and the motion characteristics are determined based on the motion data. Exemplarily, the preset period can be a value set in advance based on experience. Exemplarily, the preset period can be 100 milliseconds, 200 milliseconds, 500 milliseconds, etc.

[0050] Step S202: Control the light-emitting device of the electronic device to operate with target control parameters.

[0051] In an embodiment of the present application, the target control parameter matches the motion characteristics, and the light-emitting device includes a flash. Based on this, the target control parameter can be first determined based on the motion characteristics, and then the light-emitting device of the electronic device can be controlled to operate according to the target control parameter, where the target control parameter can include light brightness.

[0052] Here, when determining the target control parameters, the target control parameters can be determined based on the motion feature alone; the target control parameters can also be determined based on the motion feature and other features, where the other features are features other than the motion feature. For example, the other features can be at least one of audio features, visual features, touch features, environmental features, communication features, and biometric features.

[0053] For example, if the motion characteristic is speed, the target control parameter is brightness, and the light-emitting device is a flashlight, a first brightness corresponding to the speed can be determined first, and then the flashlight can be controlled to operate at the first brightness. Furthermore, because step S201 is performed periodically, a real-time, dynamic speed is obtained. Based on this, a real-time, dynamic first brightness can be determined. The flashlight can then operate at a dynamic brightness that matches the speed, enabling brightness control of the flashlight based on speed. Since speed is a motion characteristic generated by interaction, this enhances the interactivity of the flashlight.

[0054] In other embodiments, motion characteristics may include speed and acceleration, and target control parameters may include operating status, luminous brightness, and luminous frequency. Acceleration and speed can be used to control the operating status, luminous brightness, and luminous frequency of a light-emitting device in real time, thereby enriching lighting control modes and increasing the diversity of lighting control.

[0055] Taking the determination of target control parameters based on motion characteristics and other characteristics as an example, when the other characteristics are audio characteristics, the motion characteristics are speed, the target control parameter is luminous brightness, and the light-emitting device is a flash light, the fifth luminous brightness corresponding to the speed and audio characteristics (such as audio decibels) can be determined first, and then the flash light can be controlled to operate at the fifth luminous brightness.

[0056] In other embodiments, audio features may include audio decibels and audio frequencies. Therefore, acceleration, speed, audio decibels, and audio frequencies can be used to control the operating state, brightness, and frequency of a light-emitting device in real time. This allows for the coordinated control of light-emitting devices through multiple dimensions of features, enriching lighting control modes and increasing the diversity and fun of lighting control.

[0057] In some embodiments, the flash may also include a screen of the electronic device, that is, the screen may be controlled by motion features, or the screen may be controlled by both motion features and other features.

[0058] Through the above steps S201 and S202, the speed and other motion characteristics of the electronic device can be determined based on the motion data of the electronic device. When controlling the light-emitting device of the electronic device, the light-emitting device is controlled to operate through the target control parameter. Since the target control parameter matches the motion characteristics, it can be considered that the target control parameter is determined based on motion characteristics such as speed. Based on this, it is possible to control the light based on motion characteristics such as speed. Since motion characteristics such as speed are real-time and dynamic and can reflect the interaction between the outside world and the electronic device, the interactivity and dynamism of the light control can be improved; and during the light control process, the operation of the light-emitting device can change with the changes in motion characteristics such as speed. That is, the operation of the light-emitting device can reflect the motion characteristics such as speed, thereby increasing the interest of the light control.

[0059] In some embodiments, the target control parameter includes luminous brightness, Figure 3 This is a second flow chart of the lighting control method provided in the embodiment of the present application. Please refer to Figure 3 The lighting control method may include the following steps S301 to S303, which are described in detail below.

[0060] Step S301: collect motion data of the electronic device and determine motion characteristics based on the motion data.

[0061] In the embodiment of the present application, the motion feature includes speed.

[0062] In some embodiments, the implementation process of step S301 is similar to the implementation process of the above-mentioned step S201. Therefore, the implementation process of step S301 can refer to the implementation process of the above-mentioned step S201.

[0063] Step S302: determining a first light emitting brightness based on the speed and the first mapping relationship.

[0064] In the embodiment of the present application, the first mapping relationship is used to represent the mapping relationship between the first preset speed and the first preset luminous brightness. Exemplarily, the first mapping relationship can be a first mapping table constructed in advance, which stores the first preset speed, the first preset luminous brightness, and the corresponding relationship between the two. The first mapping relationship can also be a first mapping function set in advance, which can be a monotonic function such as a linear or quadratic function, for example, a monotonic increasing function or a monotonic decreasing function.

[0065] Taking the first mapping relationship as a mapping table as an example, Table 1 is a first mapping table provided in an embodiment of the present application. Referring to Table 1, if the speed is 0 meters per second, 8 millicandelas are determined as the first luminous brightness; and if the speed is 0.2 meters per second, the speed does not exist in the first mapping table at this time, and the first luminous brightness corresponding to the speed can be determined by linear interpolation, and the first luminous brightness corresponding to 0.2 meters per second can be obtained as 9.6 millicandelas.

[0066] Table 1 First mapping table

[0067]

[0068]

[0069] Taking the first mapping relationship as the first mapping function as an example, the first mapping function is shown in formula (1):

[0070] y1=8x1+8 formula (1);

[0071] In formula (1), x1 represents the first preset speed, and y1 represents the first preset luminous brightness. Based on this, when the speed is 0.2 meters per second, based on the above formula (1), it can be determined that the first luminous brightness is 9.6 millicandela.

[0072] In some embodiments, the first mapping relationship can be considered a brightness curve, which can be visually configured through the mode configuration panel. The brightness curve can be considered a parameter exclusive to the shake and flicker mode. Based on this, the shake and flicker expansion panel can be first accessed through the mode configuration panel. The shake and flicker panel includes a "brightness curve" item and corresponding curve options. Therefore, the brightness curve can be selected in the curve options. The brightness curve setting process can be considered a parameter configuration process. Therefore, the brightness curve setting process can be performed before step S302 or before step S301.

[0073] In some embodiments, the mode configuration panel may also include a global parameter configuration interface. Figure 4 This is a diagram of the global parameter configuration interface provided in the embodiment of this application, see Figure 4The global parameter configuration interface 01 may include a "Brightness Range Slider" item 011. This "Brightness Range Slider" item corresponds to a dual slider control 111. The left end of the dual slider control can be labeled "Minimum Brightness," and the right end can be labeled "Maximum Brightness." "Minimum Brightness" and "Maximum Brightness" can be either brightness values ​​or percentages. For example, "Minimum Brightness" can range from 10% to 30%, and "Maximum Brightness" can range from 70% to 100%. Therefore, through brightness configuration, the brightness range of the light-emitting device can be clearly defined.

[0074] In other embodiments, since the above step S301 is performed periodically, step S302 is also performed periodically, that is, the first light emitting brightness corresponding to the speed is periodically determined.

[0075] Step S303: Control the light-emitting device to operate at a first light-emitting brightness.

[0076] In some embodiments, the luminous brightness of the light-emitting device is adjusted to a first luminous brightness. Since the first luminous brightness changes dynamically with speed, that is, the first luminous brightness is real-time, the operation of the light-emitting device also changes dynamically with speed.

[0077] Continuing with the above example, when the speed is 0.2 m / s, the light emitting device is controlled to emit light at a brightness of 9.6 mcdela. Based on this, when the speed changes to 0.4 m / s in the next cycle, the light emitting device is controlled to emit light at a brightness of 11.2 mcdela.

[0078] In some embodiments, see Figure 4 The global parameter configuration interface may also include an "Auto Pause Switch" item 012. This item corresponds to a slide switch 121 and a time selector 122. The default pause trigger time is 30 seconds, and the time selector can be used to set the pause trigger time to between 1 and 300 seconds. Based on this, when the slide switch is turned on, the pause trigger time is reached, and no motion data is collected, the light-emitting device is controlled to enter a sleep state.

[0079] Through steps S301 to S303, the brightness of the light-emitting device is determined based on the speed and the first mapping relationship, allowing the brightness of the light-emitting device to be dynamically adjusted according to the motion state (speed) of the electronic device. For example, when the device detects a faster motion speed, a higher first brightness may be used, while a lower brightness may be used when the speed is slower. This dynamic adjustment can better adapt to the brightness requirements of the electronic device's light-emitting device in different scenarios, improving the user experience. It can also prevent the light-emitting device from being constantly in a high or fixed brightness state. The brightness can be adjusted appropriately according to the actual speed, helping to save energy. Because lowering the brightness when high brightness is not required can reduce power consumption, thereby extending the battery life of the electronic device. Furthermore, lower brightness also helps reduce wear and tear on the light-emitting device, extending its service life. Linking the brightness of the light-emitting device to the speed of the electronic device can provide visual feedback related to the motion state. For example, in some sports applications or games, the brightness of the light-emitting device changes accordingly with changes in motion speed, which can enhance the visual effect, make the user more immersed in the application or game scene, and improve the interactive experience. In some cases, such as when the user is running or cycling outdoors, the electronic device can automatically adjust the brightness of the light-emitting device according to the motion speed. Increasing the luminous brightness when the speed is faster can illuminate a larger area or display the screen information of the electronic device more clearly, helping to ensure the user's movement safety.

[0080] In some embodiments, the motion characteristics further include acceleration, the target control parameters include luminous brightness and operating state, and the operating state includes an on state and an off state. Figure 5 This is a third flow chart of the lighting control method provided in the embodiment of the present application. Please refer to Figure 5 The lighting control method may include the following steps S401 to S403, which are described in detail below.

[0081] Step S401: collect motion data of the electronic device and determine motion characteristics based on the motion data.

[0082] In the embodiment of the present application, the motion characteristics include speed and acceleration.

[0083] In some embodiments, the implementation process of step S401 is similar to the implementation process of the above-mentioned step S201. Therefore, the implementation process of step S401 can refer to the implementation process of the above-mentioned step S201.

[0084] Step S402: Determine whether the running state is the on state based on the acceleration and the acceleration threshold.

[0085] In some embodiments, the acceleration threshold may be a value set in advance based on experience. For example, the acceleration threshold may be 0.5 m / s², 1 m / s², 1.5 m / s², 2 m / s², 2.5 m / s², 3 m / s², etc. The on state indicates that the light emitting device is on, and the off state indicates that the light emitting device is off.

[0086] In some embodiments, the acceleration threshold can be visually configured through the mode configuration panel. The acceleration threshold can be considered as a parameter exclusive to the shake and flash mode. Based on this, the shake and flash expansion panel can be first entered through the mode configuration panel. The shake and flash expansion panel includes an "acceleration sensitivity grading" item. The "acceleration sensitivity grading" item corresponds to a six-speed dial control, where levels 1 to 6 correspond to 0.5 meters per second squared to 3 meters per second squared. Therefore, the acceleration threshold can be obtained based on the selection operation of the six-speed dial control. The acceleration threshold setting process can be considered as a parameter configuration process. Therefore, the acceleration threshold setting process can be performed before the above step S402 or before the above step S401.

[0087] In some embodiments, the acceleration threshold is a measure of whether the light-emitting device is on. When the acceleration is greater than the acceleration threshold, the operating state is determined to be on; when the acceleration is less than or equal to the acceleration threshold, the operating state is determined to be off. For example, if the acceleration threshold is 1 meter per second squared, when the acceleration is 0.8 meters per second squared, the operating state of the light-emitting device is determined to be off. If the light-emitting device is off at this time, the off state is maintained; if the light-emitting device is on at this time, the operating state of the light-emitting device is adjusted from on to off. When the acceleration is 1.1 meters per second squared, the operating state of the light-emitting device is determined to be on. If the light-emitting device is off at this time, the operating state of the light-emitting device is adjusted from off to on; if the light-emitting device is on at this time, the on state is maintained.

[0088] Step S403: when the operating state is the on state, determining a second luminous brightness based on the speed and the second mapping relationship, and controlling the light emitting device to operate at the second luminous brightness.

[0089] In the embodiment of the present application, the second mapping relationship is used to represent the mapping relationship between the second preset speed and the second preset luminous brightness.

[0090] In some embodiments, when the operating state of the light-emitting device is determined to be the on state, indicating that the light-emitting device is turned on or turned on, a second light brightness is determined based on the speed and a second mapping relationship. The second mapping relationship is similar to the first mapping relationship described above. The second mapping relationship can be a second mapping table constructed in advance, or a second mapping function set in advance. The second mapping table can be the same as or different from the first mapping table described above; the second mapping function can be the same as or different from the first mapping function described above.

[0091] In some embodiments, the implementation process of "determining the second luminous brightness based on the speed and the second mapping relationship, and controlling the light-emitting device to operate at the second luminous brightness" in step S403 is similar to the implementation process of the above-mentioned steps S302 and S303. Therefore, the implementation process of "determining the second luminous brightness based on the speed and the second mapping relationship, and controlling the light-emitting device to operate at the second luminous brightness" in step S403 can refer to the implementation process of the above-mentioned steps S302 and S303.

[0092] In other embodiments, when it is determined that the operating state of the light-emitting device is off, that is, the light-emitting device is not turned on, the process is terminated without determining the second light-emitting brightness based on the speed, and the second light-emitting brightness can be directly considered to be 0.

[0093] In practical applications, steps S401 to S403 described above can be considered to correspond to a shake-and-flicker mode. For example, the strobing of the light-emitting device is triggered based on an acceleration threshold. The accelerometer can extract the acceleration and velocity within the last 100 milliseconds in real time. If the acceleration reaches the threshold, the light-emitting device illuminates. Based on this, the velocity is mapped to the brightness of the light-emitting device. The brightness is lowest at 0 meters per second and highest at 1 meter per second. Speeds in between are mapped to corresponding second mappings selected by the user.

[0094] Through the above steps S401 to S403, by comparing the acceleration with the acceleration threshold to determine whether the operating state is the on state, it is possible to accurately determine whether the device is in a motion state where the light-emitting device needs to be turned on. The light-emitting device is turned on only when the acceleration reaches a certain level, indicating that the electronic device may be in actual motion, thereby avoiding unnecessary activation due to slight shaking or misoperation, and improving the accuracy and reliability of the control. When the operating state is the on state, the second luminous brightness is determined based on the speed and the second mapping relationship, thereby achieving flexible adjustment of the luminous brightness according to different motion speeds. This allows the luminous brightness to be better matched with the motion state, meeting the brightness requirements in different motion scenes. For example, a higher luminous brightness is provided during fast motion, which facilitates viewing of external conditions or display information of the electronic device, while the luminous brightness is reduced during slow motion to save energy. The electronic device can automatically adjust the luminous brightness and operating state according to the actual motion characteristics, without the need for frequent manual operations, making it more intelligent and convenient to use.

[0095] In some embodiments, the target control parameter includes the light emission frequency, Figure 6 This is a fourth flow chart of the lighting control method provided in the embodiment of the present application. Please refer to Figure 6 The lighting control method may include the following steps S501 to S503, which are described in detail below.

[0096] Step S501: collect motion data of the electronic device and determine motion characteristics based on the motion data.

[0097] In the embodiment of the present application, the motion feature includes speed.

[0098] In some embodiments, the implementation process of step S501 is similar to the implementation process of the above-mentioned step S201. Therefore, the implementation process of step S501 can refer to the implementation process of the above-mentioned step S201.

[0099] Step S502: determining a target light emitting frequency based on the speed and the third mapping relationship.

[0100] In the embodiment of the present application, the third mapping relationship is used to represent the mapping relationship between the third preset speed and the preset lighting frequency. For example, the third mapping relationship can be a pre-established third mapping table that stores the third preset speed, the preset lighting frequency, and the corresponding relationship between the third preset speed and the preset lighting frequency. The third mapping relationship can also be a pre-established third mapping function that can be a monotonic function such as a linear or quadratic function.

[0101] Taking the third mapping relationship as an example of a mapping table, Table 2 is a third mapping table provided in an embodiment of the present application. Referring to Table 2, if the speed is 0 meters per second, 1 Hz is determined as the target light-emitting frequency; and if the speed is 0.2 meters per second, the speed does not exist in the third mapping table at this time, and the target light-emitting frequency corresponding to the speed can be determined by linear interpolation, and the target light-emitting frequency corresponding to 0.2 meters per second can be obtained as 1.8 Hz.

[0102] Table 2 Third mapping table

[0103] Third preset speed (meters per second) Default light frequency (Hz) 0 1 0.4 2.6 0.8 4.2 1 5

[0104] Taking the third mapping relationship as the third mapping function as an example, the third mapping function is shown in formula (2):

[0105] y2=4x2+1 formula (2);

[0106] In formula (2), x2 represents the third preset speed, and y2 represents the target preset lighting frequency. Based on this, when the speed is 0.2 meters per second, based on the above formula (2), it can be determined that the target lighting frequency is 1.8 Hz.

[0107] In other embodiments, since the above step S501 is performed periodically, step S502 is also performed periodically, that is, the target light emitting frequency corresponding to the speed is periodically determined.

[0108] Step S503: Control the light emitting device to operate at a target light emitting frequency.

[0109] In some embodiments, the light emitting frequency of the light emitting device is adjusted to the target light emitting frequency. Since the target light emitting frequency changes dynamically with the speed, that is, the target light emitting frequency is real-time, then the operation of the light emitting device also changes dynamically with the speed.

[0110] Continuing with the above example, when the speed is 0.2 m / s, the light emitting device is controlled to flash at a frequency of 1.8 Hz. Based on this, when the speed changes to 0.4 m / s in the next cycle, the light emitting device is controlled to flash at a frequency of 2.6 Hz.

[0111] In some embodiments, the light-emitting device can emit light at a preset brightness while flashing at a target frequency. For example, the preset brightness can be the minimum brightness (8 millicandelas), the maximum brightness (16 millicandelas) or the median brightness (12 millicandelas), thereby achieving control of the light-emitting frequency of the light-emitting device through motion characteristics.

[0112] In other embodiments, when the light-emitting device flashes at a target frequency, it can also emit light based on the first light-emitting brightness determined in the above step S302, or it can emit light based on the second light-emitting brightness determined in the above step S403, thereby achieving the control of the light-emitting brightness and light-emitting frequency of the light-emitting device through motion characteristics.

[0113] Through the above steps S501 to S503, the flashing frequency of the light-emitting device can be changed according to the change of movement speed through the third mapping relationship between speed and light-emitting frequency. For example, when the movement speed is fast, the light-emitting frequency increases, and when the speed is slow, the light-emitting frequency decreases. This can provide users with an intuitive visual feedback, allowing users to perceive their movement state changes more clearly, increasing the fun and interactivity of exercise. In some scenarios, such as outdoor running or cycling, different light-emitting frequencies can be used as a warning signal. A higher movement speed corresponds to a higher light-emitting frequency, which makes it easier for people around to notice the user in motion, thereby improving the safety of the user during exercise and reducing the potential risk of collision. This method of automatically adjusting the light-emitting frequency according to speed provides an intelligent interactive experience. There is no need to manually adjust the light-emitting frequency, the device can automatically adapt according to the movement state, thereby improving the degree of automation and intelligence of lighting control.

[0114] In some embodiments, Figure 7 This is a fifth flow chart of the lighting control method provided in the embodiment of the present application. Please refer to Figure 7 The lighting control method may include the following steps S601 to S603, which are described in detail below.

[0115] Step S601: collect motion data of the electronic device and determine motion characteristics based on the motion data.

[0116] In the embodiment of the present application, the motion feature includes speed.

[0117] In some embodiments, the implementation process of step S601 is similar to the implementation process of the above-mentioned step S201. Therefore, the implementation process of step S601 can refer to the implementation process of the above-mentioned step S201.

[0118] Step S602: collect audio information, perform feature extraction on the audio information, and obtain audio features.

[0119] In some embodiments, an electronic device can collect audio information using its own microphone sensor. This audio information can include voice information, ambient sound information, music information, etc. Based on this, the audio information can also be sampled, quantized, encoded, and processed by root mean square or fast Fourier transform to obtain audio features of the audio information. The audio features can be audio decibels, which can also include audio frequency. In addition to audio decibels and audio frequency, the audio features can also include at least one of timbre, rhythm, loudness, and pitch.

[0120] In some embodiments, the microphone sensor may be an integrated microphone capable of detecting sound pressure levels. The electronic device may further include an acoustic signal processing module capable of determining audio frequency and audio decibels in real time.

[0121] Step S603: determining target control parameters based on the motion characteristics and the audio characteristics, and controlling the light-emitting device of the electronic device to operate according to the target control parameters.

[0122] In some embodiments, target control parameters are jointly determined through features of two different dimensions, namely motion features and audio features, and the light-emitting devices are controlled to operate with the target control parameters. That is, the light-emitting devices are jointly controlled through features of two different dimensions, avoiding the singleness of controlling the light-emitting devices with features of a single dimension, thereby improving the diversity of lighting control.

[0123] In some embodiments, the implementation of the above step S603 may include the following four implementations, which are described in detail below.

[0124] Implementation method one, the audio feature includes audio decibels, and the target control parameter includes luminous brightness. The first implementation process of the above-mentioned step S603 may include: determining the third luminous brightness based on the speed and the fourth mapping relationship, and the fourth mapping relationship is used to characterize the mapping relationship between the fourth preset speed and the third preset luminous brightness; determining the fourth luminous brightness based on the audio decibels and the fifth mapping relationship, and the fifth mapping relationship is used to characterize the mapping relationship between the first preset audio decibels and the fourth preset luminous brightness; weighting the third luminous brightness and the fourth luminous brightness to obtain the fifth luminous brightness; controlling the light-emitting device to operate at the fifth luminous brightness.

[0125] In some embodiments, the fourth mapping relationship is similar to the first mapping relationship, and the fourth mapping relationship may be a fourth mapping table constructed in advance, or a fourth mapping function set in advance. The fourth mapping table may be the same as or different from the first mapping table; the fourth mapping function may be the same as or different from the first mapping function.

[0126] Here, the implementation process of "determining the third luminous brightness based on the speed and the fourth mapping relationship" in the above-mentioned implementation method one is similar to the implementation process of the above-mentioned step S302. Therefore, the implementation process of "determining the third luminous brightness based on the speed and the fourth mapping relationship" in the above-mentioned implementation method one can refer to the implementation process of the above-mentioned step S302.

[0127] In some embodiments, the fifth mapping relationship can be a fifth mapping table constructed in advance, in which the first preset audio decibel, the fourth preset luminous brightness and the corresponding relationship between the two are stored; the fifth mapping relationship can also be a fifth mapping function set in advance, and the fifth mapping function can be a monotonic function such as a first or second order function. The fifth mapping table is similar to the first mapping table, except that the first column in the first mapping table is the first preset speed, while the first column in the fifth mapping table is the first preset audio decibel; the fifth mapping function is similar to the above formulas (1) and (2), and can also be a monotonic increasing function, except that the independent variable of the first mapping function is the first preset speed, the dependent variable of the first mapping function is the first preset luminous brightness, and the first luminous brightness is obtained by the first mapping function, while the independent variable of the fifth mapping function is the first preset frequency decibel, the dependent variable of the fifth mapping function is the fourth preset luminous brightness, and the fourth luminous brightness is obtained by the fifth mapping function.

[0128] In some embodiments, the implementation process of "weighting the third luminance and the fourth luminance to obtain a fifth luminance" in the above-mentioned implementation method 1 may include: first obtaining a first preset weight and a second preset weight set in advance, and then weighting the third luminance and the fourth luminance based on the first preset weight and the second preset weight to obtain the fifth luminance. The sum of the first preset weight and the second preset weight may be 1. For example, the first preset weight may be 0.4, and the second preset weight may be 0.6.

[0129] Continuing with the above example, assuming the third luminance is 8 millicandelas, the fourth luminance is 10 millicandelas, the first preset weight is 0.4, and the second preset weight is 0.6, the resulting fifth luminance is 9.2 millicandelas. Based on this, the light-emitting device is controlled to emit light at a brightness of 9.2 millicandelas.

[0130] In practical applications, the above-mentioned implementation method 1 can be considered as a fusion method 1 without trigger conditions, which is to obtain the fifth luminous brightness of the final controlled light-emitting device by fusing the third luminous brightness corresponding to the motion dimension and the fourth luminous brightness corresponding to the audio dimension.

[0131] Implementation method 1, by combining two distinct dimensions—speed and audio decibels—to determine luminous brightness, more comprehensively considers the electronic device's environment and activity. Speed ​​reflects motion, while audio decibels can reflect ambient noise levels or the intensity of the user's own voice. Combining these two factors allows for more precise matching of luminous brightness requirements in various scenarios. Based on the mapping of speed, audio decibels, and luminous brightness, the electronic device can automatically adjust luminous brightness in real time based on actual conditions, eliminating the need for manual intervention and enhancing the intelligent nature of the adjustment. Weighting the third and fourth luminous brightnesses balances the impact of different factors on luminous brightness, avoiding inappropriate luminous brightness adjustments caused by a single factor. For example, when speed is slow but audio decibels are high, weighting ensures that the brightness is neither too low due to slow speed nor too high due to high audio decibels, thereby optimizing the visual experience.

[0132] Implementation method two, the audio feature includes audio decibels, the target control parameter includes luminous brightness, and the second implementation method of the above step S603 may include: determining the fusion feature based on the speed, the speed upper limit, the audio decibels and the decibel upper limit; determining the sixth luminous brightness based on the fusion feature and the sixth mapping relationship, the sixth mapping relationship is used to characterize the mapping relationship between the first preset fusion feature and the fifth preset luminous brightness; controlling the light-emitting device to operate at the sixth luminous brightness.

[0133] In some embodiments, the implementation process of "determining a fusion feature based on speed, speed upper limit, audio decibels, and decibel upper limit" in the above-mentioned implementation method 2 may include: determining a first ratio of speed to speed upper limit, and a second ratio of audio decibels to a preset decibel upper limit; and weighting the first ratio and the second ratio based on a third preset weight and a fourth preset weight to obtain a fusion feature. The third preset weight and the fourth preset weight are values ​​set based on experience, and the sum of the third preset weight and the fourth preset weight may be 1. For example, the third preset weight may be 0.3, and the fourth preset weight may be 0.7.

[0134] For example, assuming the speed is 0.2 meters per second, the speed limit is 1 meter per second, the audio decibel level is 40 decibels, the decibel limit is 100 decibels, the third preset weight is 0.3, and the fourth preset weight is 0.7. Based on this, the first ratio is 0.2, the second ratio is 0.4, and the fusion feature is 0.34.

[0135] In some embodiments, the implementation process of "determining the sixth luminance based on the fused features and the sixth mapping relationship" in the above-mentioned implementation method 2 is similar to the implementation process of the above-mentioned step S302. Therefore, the implementation process of "determining the sixth luminance based on the fused features and the sixth mapping relationship" in the above-mentioned implementation method 2 can refer to the implementation process of the above-mentioned step S302. For example, assuming that the fifth luminance corresponding to 0.34 is 10 millicandelas, the light-emitting device is controlled to emit light at a brightness of 10 millicandelas.

[0136] In practical applications, the above-mentioned second implementation method can be considered as a second fusion method without trigger conditions, which first obtains the fusion feature by fusing the motion dimension feature and the audio dimension feature; and then obtains the sixth luminous brightness of the final control light-emitting device by mapping.

[0137] Through the second implementation described above, the fused feature is determined by integrating speed, speed limit, audio decibel level, and decibel limit, providing a more comprehensive reflection of the electronic device's environment and usage status. Speed ​​and audio decibel level directly reflect the current motion state and ambient sound conditions, while the speed limit and decibel limit provide relative reference boundaries, making the judgment of the electronic device's status more accurate and detailed, avoiding the limitations of relying solely on a single factor or incomplete information. Determining the sixth luminous brightness based on the fused feature and the sixth mapping relationship enables more precise brightness adjustment based on complex actual conditions. For example, when speed approaches the speed limit and audio decibel level approaches the decibel limit, it indicates that the user may be engaging in intense exercise or in a noisy environment. In this case, the luminous brightness can be increased, thereby increasing the illuminated area or the brightness of the electronic device's display content, thereby optimizing the visual experience. Fusion features that consider multiple factors enable electronic devices to adapt to a variety of usage scenarios and environmental conditions. Whether engaging in light exercise in a quiet room or engaging in high-intensity exercise outdoors, the electronic device can adjust the luminous brightness of the light-emitting device according to the specific situation, demonstrating excellent adaptability and flexibility, and enhancing the practicality and versatility of the electronic device.

[0138] Implementation method three, audio features include audio decibels and audio frequency, motion features include speed and acceleration, target control parameters include luminous brightness and operating state, the operating state includes a first sub-state and a second sub-state, the first sub-state and the second sub-state include an on state and an off state, the third implementation method of the above step S603 may include: determining whether the first sub-state is in the on state based on acceleration and acceleration threshold; determining whether the second sub-state is in the on state based on audio frequency, upper frequency limit, lower frequency limit, audio decibel and decibel threshold; when the first sub-state and the second sub-state are both in the on state, determining the seventh luminous brightness based on speed and the seventh mapping relationship; determining the eighth luminous brightness based on the audio decibel and the eighth mapping relationship; weighting the seventh luminous brightness and the eighth luminous brightness to obtain a ninth luminous brightness; controlling the light-emitting device to operate at the ninth luminous brightness, the seventh mapping relationship is used to characterize the mapping relationship between the fifth preset speed and the sixth preset luminous brightness, and the eighth mapping relationship is used to characterize the mapping relationship between the second preset audio decibel and the seventh preset luminous brightness.

[0139] In some embodiments, the first sub-state may be matched to a motion feature, and the second sub-state may be matched to an audio feature. The decibel threshold is a value set in advance based on experience. The decibel threshold is used to represent the lower limit of the electronic device's response to the audio feature. For example, the decibel threshold may be 10 decibels, 15 decibels, etc.

[0140] In actual applications, the decibel threshold can be visually configured through the mode configuration panel. The decibel threshold can be considered as a parameter of the audio dimension. Based on this, the audio extension panel can be entered through the mode configuration panel. The audio extension panel can include a "decibel threshold slider" item. The "decibel threshold slider" can be a single slider control, corresponding to an adjustable range of 10 to 100 decibels. The decibel threshold setting process can be considered as a parameter configuration process. Therefore, the decibel threshold setting process can be performed before the above step S603, or before the above steps S601 or S602.

[0141] In some embodiments, the implementation process of "determining whether the first sub-state is in the on state based on the acceleration and the acceleration threshold" in the above-mentioned implementation method three may include: when the acceleration is greater than the acceleration threshold, determining that the first sub-state is in the on state; and when the acceleration is less than or equal to the acceleration threshold, determining that the first sub-state is in the off state.

[0142] In some embodiments, the implementation process of "determining whether the second sub-state is in the on state based on the audio frequency, the upper frequency limit, the lower frequency limit, the audio decibels, and the decibel threshold" in the above-mentioned implementation method three may include: when the audio frequency is between the upper frequency limit and the lower frequency limit, and the audio decibels are greater than the decibel threshold, determining the second sub-state as the on state. Furthermore, when at least one of the following three conditions exists, determining the second sub-state as the off state: Condition 1: the audio frequency is greater than the upper frequency limit; Condition 2: the audio frequency is less than the lower frequency limit; Condition 3: the audio decibels are less than or equal to the decibel threshold.

[0143] In actual applications, the microphone extracts the audio frequency and audio decibels of the last 100 numbers in real time. If the audio frequency is within the range set by the user (between the upper frequency limit and the lower frequency limit) and the audio decibel exceeds the decibel threshold, the light-emitting device will light up, otherwise the light-emitting device will not light up.

[0144] In some embodiments, when both the first and second sub-states are on, a ninth luminance is determined, and the light-emitting device is controlled to emit light at the ninth luminance. The implementation process of "determining the seventh luminance based on the speed and the seventh mapping relationship; determining the eighth luminance based on the audio decibel and the eighth mapping relationship; weighting the seventh luminance and the eighth luminance to obtain the ninth luminance; and controlling the light-emitting device to operate at the ninth luminance" in the third implementation is similar to the implementation process of the first implementation, and therefore, reference may be made to the implementation process of the first implementation.

[0145] In other embodiments, when at least one of the first sub-state and the second sub-state is in the off state, that is, the light-emitting device is not turned on, the process is terminated. There is no need to determine the ninth light-emitting brightness based on the speed, the seventh mapping relationship, the audio decibel and the eighth mapping relationship. The ninth light-emitting brightness can also be directly considered to be 0.

[0146] In actual applications, the upper and lower frequency limits may correspond to a frequency range. The audio extension panel may further include a "frequency range slider" item, which corresponds to a dual-slider control. The left end of the dual-slider control may be labeled "Lowest Frequency," and the right end of the dual-slider control may be labeled "Highest Frequency." The "Lowest Frequency" may be 0 to 50 Hz, and the "Highest Frequency" may be 10 kHz to 50 kHz. Therefore, the effective audio frequency range can be clearly defined through frequency configuration.

[0147] In actual applications, the above-mentioned implementation method three can be considered as the fusion method one with trigger conditions. The trigger condition is that the motion dimension and the audio dimension meet the trigger conditions at the same time, which triggers the light-emitting device to emit light. The motion dimension and the audio dimension can be considered to be in an "and" relationship.

[0148] Through the third implementation, by determining the first sub-state based on acceleration and the acceleration threshold, and determining the second sub-state based on audio frequency, upper and lower frequency limits, audio decibels, and the decibel threshold, a more refined assessment of the electronic device's environment and usage status can be made. Acceleration can reflect the electronic device's motion changes, while audio-related parameters can reflect the audio characteristics of the surrounding environment. This multi-dimensional assessment method can more accurately identify different usage scenarios. When both the first and second sub-states are on, the brightness is determined by comprehensively considering speed and audio decibels, enabling more precise brightness control. The mapping relationship between speed and the seventh brightness level, and the mapping relationship between audio decibels and the eighth brightness level, allows the electronic device to determine a ninth brightness level that matches different combinations of motion speed and ambient sound. The ninth brightness level is determined by weighting the seventh and eighth brightness levels. This approach balances the effects of speed and audio decibels on brightness, avoiding the excessive influence of a single factor on brightness adjustment. In addition, the electronic device turns on the light-emitting device only when the acceleration and audio decibel conditions are met at the same time, which improves the prerequisite for turning on the light-emitting device and avoids unnecessary frequent turning on of the light-emitting device, thereby reducing power consumption and extending the service life of the electronic device.

[0149] Implementation method four, audio features include audio decibels and audio frequency, motion features include speed and acceleration, target control parameters include luminous brightness and operating status, operating status on state and off state, the fourth implementation method of the above step S603 may include: based on acceleration, acceleration threshold, audio decibels and decibel threshold, determining whether the operating state is on state; when the operating state is on state, determining the fusion feature based on speed, speed upper limit, audio decibels and decibel upper limit; determining the tenth luminous brightness based on the fusion feature and the ninth mapping relationship; controlling the light-emitting device to operate at the tenth luminous brightness; the ninth mapping relationship is used to characterize the mapping relationship between the second preset fusion feature and the eighth preset luminous brightness.

[0150] In some embodiments, the implementation process of "determining whether the operating state is on based on acceleration, acceleration threshold, audio decibels, and decibel threshold" in the above-mentioned implementation method 4 may include: determining a third ratio of acceleration to the acceleration threshold, and a fourth ratio of audio decibels to the decibel threshold; weighting the third ratio and the fourth ratio based on a fifth preset weight and a sixth preset weight to obtain a weighted value; when the weighted value is greater than a preset value, determining that the operating state is on. The fifth preset weight and the sixth preset weight are values ​​set based on experience, and the sum of the fifth preset weight and the sixth preset weight may be 2; the preset value is also a value set in advance, and the preset value may be 1.

[0151] For example, assuming the acceleration is 0.5 meters per second squared, the acceleration threshold is 1 meter per second squared, the audio decibel is 6 decibels, the decibel threshold is 10 decibels, the fifth preset weight is 1.3, the sixth preset weight is 0.7, and the preset value is 1.

[0152] Continuing with the above example, at this time, the acceleration is less than the acceleration threshold, and the audio decibel is less than the decibel threshold. If based on the above implementation method three, it is determined that the first sub-state and the second sub-state are both off states. At this time, the light-emitting device is controlled to be in the off state. There is no need to determine the target control parameters, and the process ends.

[0153] Continuing with the above example, when the above implementation method 4 is adopted, it is determined that the third ratio is 0.5, the fourth ratio is 0.6, and the weighted value is 1.07. Since the weighted value 1.07 is greater than the preset value 1, it is determined that the operating state is the on state.

[0154] In some embodiments, under the premise of determining that the operating state is the on state, the fusion feature is determined based on the speed, the speed upper limit value, the audio decibel and the decibel upper limit value; the tenth luminous brightness is determined based on the fusion feature and the ninth mapping relationship; the light-emitting device is controlled to operate at the tenth luminous brightness, wherein the implementation process of "determining the fusion feature based on the speed, the speed upper limit value, the audio decibel and the decibel upper limit value; determining the tenth luminous brightness based on the fusion feature and the ninth mapping relationship; controlling the light-emitting device to operate at the tenth luminous brightness" is similar to the implementation process of the above-mentioned implementation method two, and therefore, the above-mentioned implementation method two can be referred to.

[0155] In other embodiments, when the weighted value is less than or equal to the weighted value, the operating state is determined to be the off state. At this time, the light emitting device is in the off state, and the process ends.

[0156] In actual applications, the above-mentioned implementation method four can be considered as the fusion method two with trigger conditions. The trigger condition is that the trigger condition is met after the motion dimension and the audio dimension are fused, which triggers the light-emitting device to emit light. The motion dimension and the audio dimension can be considered to be in an "or" relationship.

[0157] Through the above-described fourth implementation, the operating state is determined by calculating the third ratio of acceleration to the acceleration threshold and the fourth ratio of audio decibels to the decibel threshold, and then weighting them, taking both factors into account. This more comprehensively reflects the electronic device's environment and usage status, and is more accurate and reliable than relying solely on a single factor. The fifth and sixth preset weights are set based on experience, and their sum is 2. This allows for flexible adjustment of the relative importance of acceleration and audio decibels in determining the operating state based on actual application scenarios and needs. If acceleration has a more critical impact on the operating state in certain scenarios, the fifth preset weight can be appropriately increased; conversely, if the impact of audio decibels is more significant, the sixth preset weight can be increased. This flexibility allows for better adaptation to different usage environments and needs. Setting a preset value (e.g., 1) as the basis for determining the operating state provides a clear and quantifiable standard for determining the operating state of the electronic device. When the weighted value is greater than the preset value, the operating state is determined to be on. This makes the determination process clear and easy to implement, and also ensures consistency and stability in determining the operating state of the electronic device under different circumstances. When the operating state is on, the luminous brightness is adjusted by the fusion characteristics determined by the comprehensive motion and audio factors, which can match the luminous brightness of both motion characteristics and audio characteristics, thereby optimizing the visual experience.

[0158] The above implementations 1 and 2 are examples of determining luminous brightness. Target control parameters such as luminous frequency, color temperature, and coverage angle can also be determined using the above implementations 1 and 2. The above implementations 3 and 4 are examples of determining the operating state and luminous brightness. Target control parameters such as luminous frequency, color temperature, and coverage angle can also be determined using the above implementations 3 and 4. The above implementations 3 and 4 are examples of determining the operating state and luminous brightness. Target control parameters such as luminous frequency, color temperature, and coverage angle can also be determined using the above implementations 3 and 4.

[0159] Through the above steps S601 to S603, the target control parameters can be jointly determined based on the motion characteristics and audio characteristics, and the operation of the light-emitting device can be controlled by the motion characteristics and audio characteristics. This realizes the multi-dimensional perception of the motion characteristics and audio characteristics of the light-emitting device, so that the light-emitting device can respond to the motion characteristics and audio characteristics simultaneously. Because motion characteristics such as speed are real-time and dynamic and can reflect the interaction between the outside world and the electronic device, and audio characteristics can reflect the environmental conditions of the electronic device, it can enhance the interactivity, dynamism and scene adaptability of lighting control. It can break through the limitations of single ambient light adjustment and achieve coordinated response of the sound field environment and motion status, which can be applied to social scenes such as atmosphere creation.

[0160] In some embodiments, Figure 8 This is a sixth flow chart of the lighting control method provided in the embodiment of the present application. Please refer to Figure 8After the above step S202, the lighting control method may include the following steps S203 to S205, which are described in detail below.

[0161] Step S203 : displaying the target control parameters during the process of controlling the light emitting device to operate with the target control parameters.

[0162] In some embodiments, during the execution of step S202 above, the target control parameters are also displayed in the form of characters, videos, etc. For example, the characters "luminous brightness is 9.6 millicandela" can be displayed on the screen of an electronic device, thereby improving the interactivity of the lighting control method.

[0163] Step S204 , in response to the control end instruction, generating historical operation data based on each target control parameter, and storing the historical operation data in the target storage space.

[0164] In some embodiments, the historical running data also includes a motion type, which is obtained by identifying the motion data. In actual implementation, the motion data can be subjected to feature extraction and classification to obtain the motion type. For example, the motion type can be running, jumping, playing table tennis, etc.

[0165] In other embodiments, historical operation data may also include an audio identifier, which is obtained by identifying audio information. In actual implementation, the audio data may be preprocessed, feature extracted, pattern matched, or recognized to obtain the audio identifier corresponding to the audio information. For example, the obtained audio identifier may be song A.

[0166] In some embodiments, the control end instruction can be a trigger operation for the "stop" control on the screen, or it can be a voice "stop". Based on this, when the control end instruction is received, each target control parameter, motion type, and audio identifier in the entire control process is determined as historical operation data, where each target control parameter is sorted in chronological order; finally, the historical operation data is stored in a target storage space, which can be a pre-set storage space or determined by the electronic device based on the remaining size of each storage space.

[0167] In actual application, each time the light emitting device finishes flashing, a record is saved and a prompt window pops up to summarize the flashing activity of the light emitting device. The record corresponds to the above-mentioned historical operation data.

[0168] Step S205 : In response to a trigger operation on the historical operation data, controlling the operation of the light emitting device based on the historical operation data.

[0169] In some embodiments, the triggering operation for the historical operation data may be a click operation on the display information of the historical operation data, which reproduces the process of controlling the light-emitting device and may also display the corresponding motion type and audio identification.

[0170] In some embodiments, Figure 9 This is a schematic diagram of the historical operation interface provided in the embodiment of this application, see Figure 9 The electronic device further includes a history record interface 02, which includes a plurality of historical operation data 021 and a generation time 022 of the historical operation data. Figure 9 Take three historical operating data as an example.

[0171] Through the above steps S203 to S205, the target control parameters are displayed during the process of controlling the light-emitting device to operate with the target control parameters, which increases the transparency and perceptibility of the control process. In response to the control end instruction, historical operation data is generated and stored. These data include information such as target control parameters, motion type and audio identification, which provide a rich basis for subsequent analysis and optimization. By analyzing historical operation data, it is helpful to discover potential problems and optimize the performance of electronic equipment. In addition, the operation of the light-emitting device is controlled based on the historical operation data to achieve the purpose of reproducing the lighting control and one-button operation, thereby improving the convenience and practicality of the electronic device. Records of flashing using light-emitting devices, such as emotional records based on motion trajectory and amplitude, can be saved as memories of the times when the heart is surging.

[0172] It should be understood that, although the steps in the above-mentioned flowcharts are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily to be 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.

[0173] Based on the aforementioned embodiments, an embodiment of the present application provides a lighting control device, which includes the modules included and the units included in each module, and can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), an MPU (Microprocessor Unit), a DSP (Digital Signal Processor) or an FPGA (Field-Programmable Gate Array), etc.

[0174] Figure 10 This is a schematic diagram of the structure of the lighting control device provided in the embodiment of this application. Please refer to Figure 10 , another aspect of the embodiment of the present application further provides a lighting control device, the device comprising: a first acquisition module 801 and a first control module 802;

[0175] A first acquisition module 801 is configured to acquire motion data of an electronic device and determine motion characteristics based on the motion data, wherein the motion characteristics include speed;

[0176] The first control module 802 is configured to control a light emitting device of the electronic device to operate according to target control parameters, where the target control parameters match the motion characteristics, and the light emitting device includes a flash.

[0177] In some embodiments, the target control parameter includes luminous brightness, and the first control module 802 is further used to: determine the first luminous brightness based on the speed and the first mapping relationship, wherein the first mapping relationship is used to characterize the mapping relationship between the first preset speed and the first preset luminous brightness; and control the light-emitting device to operate at the first luminous brightness.

[0178] In some embodiments, the motion characteristics also include acceleration, the target control parameters include luminous brightness and operating status, the operating status includes an on state and an off state, and the first control module 802 is also used to: determine whether the operating state is the on state based on the acceleration and acceleration threshold; when the operating state is the on state, determine the second luminous brightness based on the speed and the second mapping relationship, and control the light-emitting device to operate at the second luminous brightness, and the second mapping relationship is used to characterize the mapping relationship between the second preset speed and the second preset luminous brightness.

[0179] In some embodiments, the target control parameter includes a light-emitting frequency, and the first control module 802 is further used to: determine the target light-emitting frequency based on the speed and a third mapping relationship, wherein the third mapping relationship is used to characterize the mapping relationship between a third preset speed and a preset light-emitting frequency; and control the light-emitting device to operate at the target light-emitting frequency.

[0180] In some embodiments, the lighting control device also includes a second acquisition module, which is used to collect audio information, perform feature extraction on the audio information, and obtain audio features; the first control module 802 is also used to: determine the target control parameters based on the motion features and the audio features, and control the light-emitting device of the electronic device to operate with the target control parameters.

[0181] In some embodiments, the audio feature includes audio decibels, the target control parameter includes luminous brightness, and the first control module 802 is further used to: determine a third luminous brightness based on the speed and the fourth mapping relationship, and the fourth mapping relationship is used to characterize the mapping relationship between the fourth preset speed and the third preset luminous brightness; determine a fourth luminous brightness based on the audio decibels and the fifth mapping relationship, and the fifth mapping relationship is used to characterize the mapping relationship between the first preset audio decibels and the fourth preset luminous brightness; weight the third luminous brightness and the fourth luminous brightness to obtain a fifth luminous brightness; and control the light-emitting device to operate at the fifth luminous brightness.

[0182] In some embodiments, the audio feature includes audio decibels, the target control parameter includes luminous brightness, and the first control module 802 is further used to: determine the fusion feature based on the speed, the speed upper limit, the audio decibels and the decibel upper limit; determine the sixth luminous brightness based on the fusion feature and the sixth mapping relationship, the sixth mapping relationship is used to characterize the mapping relationship between the first preset fusion feature and the fifth preset luminous brightness; control the light-emitting device to operate at the sixth luminous brightness.

[0183] In some embodiments, the audio feature includes audio decibels and audio frequency, the motion feature also includes acceleration, the target control parameter includes luminous brightness and operating state, the operating state includes a first sub-state and a second sub-state, the first sub-state and the second sub-state include an on state and an off state, and the first control module 802 is further used to: determine whether the first sub-state is the on state based on the acceleration and the acceleration threshold; determine whether the second sub-state is the on state based on the audio frequency, the upper frequency limit, the lower frequency limit, the audio decibel and the decibel threshold; when the first sub-state and the second sub-state are both the on state, determine the seventh luminous brightness based on the speed and the seventh mapping relationship; determine the eighth luminous brightness based on the audio decibel and the eighth mapping relationship; weight the seventh luminous brightness and the eighth luminous brightness to obtain a ninth luminous brightness; control the light-emitting device to operate at the ninth luminous brightness, the seventh mapping relationship is used to characterize the mapping relationship between the fifth preset speed and the sixth preset luminous brightness, and the eighth mapping relationship is used to characterize the mapping relationship between the second preset audio decibel and the seventh preset luminous brightness.

[0184] In some embodiments, the audio feature includes audio decibels and audio frequency, the motion feature also includes acceleration, the target control parameter includes luminous brightness and operating state, the operating state is on state and off state, and the first control module 802 is also used to: determine whether the operating state is the on state based on the acceleration, acceleration threshold, the audio decibel and decibel threshold; when the operating state is the on state, determine the fusion feature based on the speed, speed upper limit, the audio decibel and decibel upper limit; determine the tenth luminous brightness based on the fusion feature and the ninth mapping relationship; control the light-emitting device to operate at the tenth luminous brightness; the ninth mapping relationship is used to characterize the mapping relationship between the second preset fusion feature and the eighth preset luminous brightness.

[0185] In some embodiments, the lighting control device further includes a second control module and a generation module;

[0186] a second control module, configured to display the target control parameters during the process of controlling the light emitting device to operate with the target control parameters;

[0187] The generating module is configured to generate historical operation data based on each of the target control parameters in response to a control end instruction, and store the historical operation data in a target storage space.

[0188] In some embodiments, the historical operation data further includes a motion type, and the operation type is obtained by identifying the motion data.

[0189] In some embodiments, the lighting control device further includes a third control module, which is configured to control the operation of the light-emitting device based on the historical operation data in response to a triggering operation on the historical operation data.

[0190] The description of the above device embodiment is similar to the description of the above method embodiment and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of this application, please refer to the description of the method embodiment of this application for understanding.

[0191] It should be noted that in the embodiments of this application Figure 10 The module division of the lighting control device shown is schematic and represents only one logical functional division; actual implementations may employ different divisions. Furthermore, the functional units in the various embodiments of this application may be integrated into a single processing unit, physically exist separately, or two or more units may be integrated into a single unit. These integrated units may be implemented as hardware or software functional units, or a combination of software and hardware.

[0192] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM (Read Only Memory), a magnetic disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0193] Figure 11 This is another structural diagram of the electronic device provided in the embodiment of the present application, please refer to Figure 11 The embodiments of the present application provide an electronic device, which may include but is not limited to mobile phones, wearable devices (such as smart watches, smart bracelets, smart glasses, etc.), tablet computers, laptop computers, vehicle-mounted terminals, PCs, VR, AR, MR, etc. The functions implemented by the method can be implemented by calling program code by a processor in the electronic device, and of course the program code can be stored in a computer storage medium.

[0194] The internal structure diagram of the electronic device can be as follows Figure 11As shown. The electronic device includes a processor 902 and a memory connected via a system bus 901. The processor 902 of the electronic device is used to provide computing and control capabilities. The processor 902 may be, for example, a CPU, or may be a CPU and a GPU, etc., which are not specifically limited here. The memory of the electronic device may include a non-volatile storage medium 9031 and an internal memory 9032. The non-volatile storage medium 9031 stores an operating system, a computer program, and a database. The internal memory 9032 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium 9031. The database of the electronic device is used to store data. When the computer program is executed by the processor 902, the above method is implemented.

[0195] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method provided in the above embodiment are implemented.

[0196] An embodiment of the present application provides a computer program product comprising a computer program or computer executable instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.

[0197] Those skilled in the art will understand that Figure 11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0198] In one embodiment, the lighting control device provided by the present application can be implemented in the form of a computer program. The computer program can be used in Figure 11 The electronic device is operated on the electronic device shown. The memory of the electronic device may store the various program modules that constitute the above-mentioned apparatus. The computer program composed of the various program modules enables the processor to execute the steps of the method of each embodiment of the present application described in this specification.

[0199] It should be noted that the description of the computer-readable storage medium and electronic device embodiments described above is similar to the description of the method embodiments described above, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium, and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0200] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments. The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other. For the sake of brevity, they will not be repeated here.

[0201] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0202] In addition, all functional modules in the embodiments of the present application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the above-mentioned integrated modules can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0203] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: mobile storage devices, ROM, disks or optical disks, and other media that can store program codes.

[0204] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.

[0205] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0206] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0207] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0208] The above is merely an embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A lighting control method, characterized in that: The method comprises: Collecting motion data of the electronic device and determining motion characteristics based on the motion data, the motion characteristics including speed; A light emitting device of the electronic device is controlled to operate with target control parameters, wherein the target control parameters match the motion characteristics, and the light emitting device includes a flash.

2. The method according to claim 1, characterized in that The target control parameter includes light emitting brightness, and controlling the light emitting device of the electronic device to operate according to the target control parameter includes: Determining a first luminous brightness based on the speed and a first mapping relationship, where the first mapping relationship is used to represent a mapping relationship between a first preset speed and a first preset luminous brightness; The light emitting device is controlled to operate at the first light emitting brightness.

3. The method according to claim 1, characterized in that The motion characteristic further includes acceleration, the target control parameter includes luminous brightness and operating state, the operating state includes an on state and an off state, and controlling the light emitting device of the electronic device to operate according to the target control parameter includes: determining, based on the acceleration and the acceleration threshold, whether the operating state is the on state; When the operating state is the on state, a second luminous brightness is determined based on the speed and a second mapping relationship, and the light-emitting device is controlled to operate at the second luminous brightness, and the second mapping relationship is used to characterize the mapping relationship between a second preset speed and a second preset luminous brightness.

4. The method according to claim 1, wherein The target control parameter includes a light emitting frequency, and controlling the light emitting device of the electronic device to operate according to the target control parameter includes: determining a target light emitting frequency based on the speed and a third mapping relationship, wherein the third mapping relationship is used to represent a mapping relationship between a third preset speed and a preset light emitting frequency; The light emitting device is controlled to operate at the target light emitting frequency.

5. The method according to claim 1, wherein The method further comprises: Collecting audio information, performing feature extraction on the audio information to obtain audio features; The controlling the light emitting device of the electronic device to operate with target control parameters includes: The target control parameter is determined based on the motion feature and the audio feature, and the light emitting device of the electronic device is controlled to operate with the target control parameter.

6. The method according to claim 5, characterized in that The audio feature includes audio decibels, the target control parameter includes light emitting brightness, and determining the target control parameter based on the motion feature and the audio feature, and controlling the light emitting device of the electronic device to operate at the target control parameter, includes: determining a third luminous brightness based on the speed and a fourth mapping relationship, wherein the fourth mapping relationship is used to represent a mapping relationship between a fourth preset speed and the third preset luminous brightness; determining a fourth luminous brightness based on the audio decibels and a fifth mapping relationship, wherein the fifth mapping relationship is used to represent a mapping relationship between the first preset audio decibels and the fourth preset luminous brightness; weighting the third luminous brightness and the fourth luminous brightness to obtain a fifth luminous brightness; The light emitting device is controlled to operate at the fifth light emitting brightness.

7. The method according to claim 5, characterized in that The audio feature includes audio decibels, the target control parameter includes light emitting brightness, and determining the target control parameter based on the motion feature and the audio feature, and controlling the light emitting device of the electronic device to operate at the target control parameter, includes: Determining a fusion feature based on the speed, the speed upper limit, the audio decibels, and the decibel upper limit; determining a sixth luminous brightness based on the fusion feature and a sixth mapping relationship, wherein the sixth mapping relationship is used to represent a mapping relationship between the first preset fusion feature and the fifth preset luminous brightness; The light emitting device is controlled to operate at the sixth light emitting brightness.

8. The method according to claim 5, characterized in that The audio feature includes audio decibels and audio frequency, the motion feature also includes acceleration, the target control parameter includes light brightness and an operating state, the operating state includes a first sub-state and a second sub-state, the first sub-state and the second sub-state include an on state and an off state, and determining the target control parameter based on the motion feature and the audio feature, and controlling the light-emitting device of the electronic device to operate with the target control parameter, includes: determining, based on the acceleration and the acceleration threshold, whether the first sub-state is the on state; determining whether the second sub-state is the on state based on the audio frequency, the upper frequency limit, the lower frequency limit, the audio decibels, and the decibel threshold; When the first sub-state and the second sub-state are both the on-state, the seventh luminous brightness is determined based on the speed and the seventh mapping relationship; the eighth luminous brightness is determined based on the audio decibel and the eighth mapping relationship; the seventh luminous brightness and the eighth luminous brightness are weighted to obtain a ninth luminous brightness; the light-emitting device is controlled to operate at the ninth luminous brightness, the seventh mapping relationship is used to characterize the mapping relationship between the fifth preset speed and the sixth preset luminous brightness, and the eighth mapping relationship is used to characterize the mapping relationship between the second preset audio decibel and the seventh preset luminous brightness.

9. The method according to claim 5, characterized in that The audio feature includes audio decibels and audio frequency, the motion feature also includes acceleration, the target control parameter includes luminous brightness and operating state, and the operating state is an on state and an off state. Determining the target control parameter based on the motion feature and the audio feature, and controlling the light-emitting device of the electronic device to operate with the target control parameter includes: determining whether the operating state is the on state based on the acceleration, the acceleration threshold, the audio decibels, and the decibel threshold; When the operating state is the on state, a fusion feature is determined based on the speed, the speed upper limit, the audio decibel and the decibel upper limit; a tenth luminous brightness is determined based on the fusion feature and the ninth mapping relationship; the light-emitting device is controlled to operate at the tenth luminous brightness; the ninth mapping relationship is used to characterize the mapping relationship between the second preset fusion feature and the eighth preset luminous brightness.

10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: During the process of controlling the light emitting device to operate with the target control parameter, displaying the target control parameter; In response to a control end instruction, historical operation data is generated based on each of the target control parameters, and the historical operation data is stored in a target storage space.

11. The method according to claim 10, characterized in that The historical operation data further includes a motion type, and the operation type is obtained by identifying the motion data.

12. The method according to claim 11, characterized in that The method further comprises: In response to a trigger operation on the historical operation data, the operation of the light emitting device is controlled based on the historical operation data.

13. A lighting control device, characterized in that: The device comprises: A first acquisition module is configured to acquire motion data of the electronic device and determine motion characteristics based on the motion data, wherein the motion characteristics include speed; The first control module is used to control the light-emitting device of the electronic device to operate according to target control parameters, where the target control parameters match the motion characteristics, and the light-emitting device includes a flash.

14. An electronic device, characterized in that: The method comprises 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 processor implements the lighting control method according to any one of claims 1 to 12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the lighting control method according to any one of claims 1 to 12 is implemented.