Equipment control method and electronic equipment

By allowing users to customize the scenario mode and start or close one by one, it solves the problem that the inherent scenario mode in the existing technology cannot meet the needs of user needs, and improves setting efficiency and use experience.

CN119363877AActive Publication Date: 2025-01-24HONOR DEVICE CO LTD

Patent Information

Application Number
CN202411918698.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-01-24
Estimated Expiration
2044-12-25

Smart Images

  • Figure CN119363877A_ABST
    Figure CN119363877A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment control method and electronic equipment, and the method comprises the steps: receiving a request for newly building a scene mode, and displaying a first interface which is used for supporting a user to set the scene mode; the first interface comprises a first control; receiving a selection operation for the first control, and generating a first scene mode based on setting information in the first interface; and when the first scene mode is in a closed state, receiving a request for starting the first scene mode, and adjusting system setting information of the electronic equipment according to first setting information of the first scene mode. According to the embodiment of the invention, the setting efficiency of the user on the electronic equipment in different scenes can be improved, the setting requirements of the user are met, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent terminals, and in particular to a device control method and an electronic device. Background Art

[0002] In order to meet the different setting requirements of users for electronic devices in different scenarios, electronic devices (such as mobile phones) provide users with several scene modes for users to choose. The above scene modes include flight mode, dark mode, power saving mode, etc. Users can choose a scene mode on their own, and the electronic device can be set and adjusted according to the scene mode selected by the user, realizing one-click setting of the electronic device.

[0003] However, as people's work and life scenarios become increasingly diverse, the several inherent scene modes provided by electronic devices to users can no longer meet user needs. In many scenarios, users are unable to select a suitable scene mode from several inherent scene modes to perform one-click settings of electronic devices, and can only perform independent settings through cumbersome operations, which affects the user experience. Summary of the invention

[0004] The embodiments of the present application provide a device control method and an electronic device, which can improve the user's setting efficiency of the electronic device in different scenarios, meet the user's setting requirements, and improve the user's usage experience.

[0005] In the first aspect, the embodiment of the present application provides a device control method, which is applied to an electronic device, and the method includes: receiving a request for a new scene mode, displaying a first interface, the first interface is used to support the user to set the scene mode; the first interface includes a first control; receiving a selection operation for the first control, generating a first scene mode based on the setting information in the first interface; when the first scene mode is in an off state, receiving a request to start the first scene mode, adjusting the system setting information of the electronic device according to the first setting information of the first scene mode. The first setting information here refers to the setting information of the first scene mode. The method enables the user to customize the scene mode according to the setting requirements for different scenes, and start the first scene mode with one click when necessary, which is convenient for user operation, thereby improving the user's setting efficiency of the electronic device in different scenes while meeting the user's setting requirements, thereby improving the user's use experience.

[0006] In some embodiments, the first interface may be, for example, a new interface for a custom scene mode in a subsequent embodiment, and the first control may be, for example, a completion control in the new interface. The user's setting of the scene mode in the first interface may include setting of the scene name, setting items included in the scene mode and their parameter values, etc. The setting information in the first interface may be generated based on the above operations of the user in the first interface.

[0007] In a possible implementation, after receiving a request to start the first scene mode, and adjusting the system setting information of the electronic device according to the first setting information of the first scene mode, the method further includes: receiving a request to turn off the first scene mode, restoring the parameter value of the first setting item in the system setting information to the parameter value before the first scene mode is started, and the first setting item is a setting item included in the first setting information. In the method, when the user does not need to start the first scene mode and thus turns off the first scene mode, the first setting item in the system setting information that is adjusted due to starting the first scene mode is restored to the parameter value before the first scene mode is started, thereby facilitating user operation, improving user setting efficiency, and improving user experience.

[0008] In a possible implementation, after receiving a request to start a first scene mode, and adjusting the system setting information of the electronic device according to the first setting information of the first scene mode, the method further includes: receiving a request to start a second scene mode, and adjusting the system setting information according to the second setting information of the second scene mode. The second scene mode may also be a scene mode customized by the user using a method similar to the first scene mode. The method supports two customized scene modes to be in the startup state at the same time, thereby meeting the setting requirements of users in more scenarios, making the system setting of the electronic device by the user more flexible and diverse, thereby facilitating user operation, improving the user's setting efficiency, and improving the user experience.

[0009] In a possible implementation, after receiving a request to start the second scene mode and adjusting the system setting information according to the second setting information of the second scene mode, it also includes: receiving a request to close the first scene mode, restoring the parameter value of the second setting item in the system setting information to the parameter value before the first scene mode is started; the second setting item is a setting item included in the first setting information but not included in the second setting information. In this method, it is supported that when two custom scene modes are simultaneously in the starting state, the user first closes the scene mode that is started first. At this time, the parameter value of the second setting item in the system setting information is restored to the parameter value before the first scene mode is started, that is, the parameter value of the setting item included in the first setting information but not included in the second setting information is restored, thereby meeting the user's needs that the electronic device is still in the second scene mode, thereby facilitating user operation, improving user setting efficiency, and improving user experience.

[0010] In a possible implementation, after receiving a request to turn off the first scene mode, restoring the parameter value of the second setting item in the system setting information to the parameter value before the first scene mode is started, it also includes: receiving a request to turn off the second scene mode, restoring the parameter value of the third setting item in the system setting information to the parameter value before the first scene mode is started, or restoring the parameter value of the third setting item in the system setting information to the parameter value before the second scene mode is started; the third setting item is a setting item included in the second setting information. In this method, when two custom scene modes are simultaneously started, and the user first turns off the first scene mode that is started first, the user is supported to turn off the second scene mode later, thereby meeting the user's demand for the electronic device to exit the second scene mode, facilitating user operation, improving user setting efficiency, and improving user experience.

[0011] In a possible implementation, after receiving a request to start the second scene mode and adjusting the system setting information according to the setting information of the second scene mode, the method further includes: receiving a request to turn off the second scene mode, restoring the parameter value of the third setting item in the system setting information to the parameter value before the second scene mode is started; the third setting item is a setting item included in the second setting information. In this method, it is supported that when two custom scene modes are simultaneously started, the user turns off one of them first and then starts the second scene mode. At this time, the parameter value of the third setting item in the system setting information is restored to the parameter value before the second scene mode is started, that is, the setting item included in the second setting information in the system setting information is restored to the parameter value before the second scene mode is started, thereby meeting the needs of users whose electronic equipment is still in the first scene mode, facilitating user operation, improving user setting efficiency, and improving user experience.

[0012] In a possible implementation, it also includes: displaying a second interface, the second interface includes a second control, the second control is used to trigger the editing of the first setting information of the first scene mode; detecting a selection operation for the second control, displaying a third interface, the third interface is used to support the user to edit the first setting information of the first scene mode; the third interface includes a third control; receiving a selection operation for the third control, updating the first setting information of the first scene mode based on the setting information in the third interface. The method provides a method for the user to re-edit the first setting information of the custom scene mode, that is, the first scene mode, so that the setting information of the custom scene mode is closer to the user's needs that may change, facilitates user operation, improves the user's setting efficiency, and improves the user experience.

[0013] In a possible implementation, a request for a new scene mode is received and a first interface is displayed, including: the first application displays a fourth interface, the fourth interface includes a fourth control, and the fourth control is used to trigger the new scene mode; the first application detects a selection operation for the fourth control and displays the first interface; or, the first application receives a request for a new scene mode sent by the second application and displays the first interface; the request for a new scene mode is sent by the second application when a user operation requesting a new scene mode is detected. This method supports users to trigger a new scene mode in the first application, and can also support users to trigger a new scene mode in a second application other than the first application, thereby facilitating user operations and improving user experience. In some embodiments, the above-mentioned first application may be a setting application in subsequent embodiments, and the second application may be a control center application in subsequent embodiments.

[0014] In a possible implementation, adjusting the system setting information of the electronic device according to the first setting information of the first scene mode includes: when the parameter value of the fourth setting item in the first setting information conflicts with the parameter value of the fifth setting item in the system setting information, adjusting the parameter value of the fourth setting item and / or the fifth setting item in the system setting information according to a preset conflict handling rule. In this method, a conflict resolution method that may occur when adjusting the system setting information of the electronic device according to the first setting information of the first scene mode is provided, thereby preventing the conflict between the setting information of the user-defined scene mode and the system setting information, and improving the user's use experience.

[0015] In a possible implementation, adjusting the parameter value of the fourth setting item and / or the fifth setting item in the system setting information according to a preset conflict handling rule includes: displaying a fifth interface, the fifth interface is used to prompt the conflict event between the first setting information and the system setting information, and providing a parameter value adjustment method for the fourth setting item and / or the fifth setting item; the adjustment method is determined according to the preset conflict handling rule; receiving a selection operation for the adjustment method, and adjusting the parameter value of the fourth setting item and / or the fifth setting item in the system setting information according to the adjustment method. In this method, the user selects the adjustment method, so that the system setting of the electronic device is closer to the user's needs and the user experience is improved.

[0016] In a possible implementation, it also includes: when it is detected that there is a conflict between the parameter value of the sixth setting item and the parameter value of the seventh setting item in the setting information in the first interface, the sixth interface is displayed, and the sixth interface is used to prompt the conflict event between the parameter value of the sixth setting item and the parameter value of the seventh setting item, and provide a method for adjusting the parameter value of the sixth setting item and / or the seventh setting item; when a selection operation for the adjustment method is received, the parameter value of the sixth setting item and / or the seventh setting item in the first scene mode is adjusted according to the adjustment method. In this method, a method for resolving conflicts that may occur in the first setting information of the first scene mode is provided, thereby preventing conflicts between the setting items of the setting information of the scene mode customized by the user, and improving the user experience.

[0017] In a second aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the processor, the electronic device executes any one of the methods described in the first aspect.

[0018] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect.

[0019] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is run on a computer, it enables the computer to execute any method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 A schematic diagram of the control center interface provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application; Figure 3 A schematic diagram of a software structure of an electronic device provided in an embodiment of the present application; Figure 4 A schematic diagram of an interface implementation of the device control method provided in an embodiment of the present application; Figure 5A schematic diagram of a second interface implementation of the device control method provided in an embodiment of the present application; Figure 6A to Figure 6C A schematic diagram of a third interface implementation of the device control method provided in an embodiment of the present application; Figure 7 A schematic diagram of a fourth interface implementation of the device control method provided in an embodiment of the present application; Figure 8A~Figure 8B A fifth interface implementation diagram of the device control method provided in the embodiment of the present application; Figure 9A~Figure 9B A sixth interface implementation diagram of the device control method provided in an embodiment of the present application; Fig.10 A schematic diagram of a first flow chart of a device control method provided in an embodiment of the present application; Fig.11 A second flow chart of the device control method provided in the embodiment of the present application; Fig. 12A A third flow chart of the device control method provided in the embodiment of the present application; Fig. 12B A fourth flow chart of the device control method provided in the embodiment of the present application; Fig.13 A fifth flow chart of the device control method provided in the embodiment of the present application; Fig.14 A sixth flow chart of the device control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0023] In an electronic device, the setting of the electronic device can be realized by setting the setting items. The setting items can be considered as menus or items for adjusting the behavior, settings and options of the electronic device. For example, the setting items of the electronic device may include: setting items for hardware such as power management strategies of the electronic device, adjusting brightness or touch screen sensitivity, setting items for software such as applications in the electronic device, setting items for the network, setting items for display (such as screen resolution, color depth and refresh rate, etc.), setting items for sound (such as volume, equalizer and audio input and output devices), etc. By setting different setting items in the electronic device, the device capabilities can be adjusted and optimized to help users customize the behavior of the electronic device according to personal needs and preferences. In the relevant technology, the setting items of the electronic device can also be referred to as the system setting items of the electronic device, the parameters of the electronic device, or the system parameters, etc., the specific setting information of the setting items can also be referred to as the setting content, parameter value or status value of the setting items, etc., and the setting items of the electronic device and their parameter values ​​can also be collectively referred to as the system settings of the electronic device, the system setting information of the electronic device, or the setting information of the electronic device, etc. In the embodiments of the present application, the setting of the electronic device can be considered as the setting of the above-mentioned system setting information. Specifically, each setting of the electronic device can be considered as the setting of the parameter values ​​of several setting items in the system setting information, which can also be called the system setting of the electronic device. In some embodiments, since the setting items in the system setting information generally have parameter values ​​(default parameter values ​​or parameter values ​​set by the user), the setting of the setting item parameter values ​​can also be called the adjustment of the setting item parameter values.

[0024] In some embodiments, in order to adapt to different setting demands of users for setting items in different scenarios, the electronic device provides several scene modes for users to choose. The user can select a scene mode on his own, and the electronic device can adjust the corresponding setting items in the system setting information according to the setting information of the scene mode selected by the user (including one or more setting items and their parameter values), so as to realize one-key setting of multiple setting items in the electronic device.

[0025] Take mobile phones as an example. Figure 1 As shown, in some embodiments, the control center of the mobile phone provides the user with several inherent scene modes, including flight mode, dark mode, power saving mode, do not disturb mode, eye protection mode, etc. Each scene mode corresponds to parameter values ​​of several setting items. When the user selects a scene mode, the mobile phone sets the parameter values ​​of the corresponding setting items in the system setting information according to the setting information of the scene mode, thereby realizing one-click setting of multiple setting items.

[0026] However, as people's work and life scenarios become increasingly diverse, the several inherent scene modes provided by electronic devices to users can no longer meet user needs. In many scenarios, users cannot select a suitable scene mode from several inherent scene modes to perform one-click setting of the setting items, and can only independently set different setting items through tedious operations, which affects the user experience.

[0027] The following are some examples of possible pain point scenarios.

[0028] Pain point scenario 1: Users may need to lower the brightness of their phones or mute their phones in cinemas, concert halls, theaters, and other places. In this case, users need to set their phones to dark mode and mute their phones. Moreover, the dark mode of the phone only sets dark colors for the system colors, and cannot lower the brightness of the lock screen or switch to a dark lock screen wallpaper mode simultaneously. When there is a message notification, even if the user sets the phone to dark mode, the screen will still be very bright after it turns on, causing disturbance to the user in the above scenario. If the user wants to solve the above problem, he or she needs to lower the brightness of the lock screen wallpaper through further operation.

[0029] Pain point scenario 2: When users switch between work and life scenarios, they may need to switch the phone settings accordingly, such as turning off the volume and changing the lock screen to a mature wallpaper when at work; turning on the volume, NFC, WLAN, Bluetooth, and Do Not Disturb for work APP messages after get off work. However, users can only manually set different settings to switch phone settings.

[0030] It can be seen that in many scenarios, such as the pain point scenarios mentioned above, users need to manually turn on and adjust multiple setting items, which is cumbersome and inconvenient to use, affecting the user experience of electronic devices.

[0031] To this end, the embodiments of the present application provide a device control method and an electronic device, which can simplify the user's setting operations in different scenarios, improve the user's setting efficiency of the electronic device in different scenarios, meet the user's setting needs, and improve the user's usage experience.

[0032] The device control method of the embodiment of the present application can be applicable to electronic devices, such as mobile phones, personal computers (PCs), tablet computers (PADs), wearable devices, smart screens, etc.

[0033] Figure 2 A schematic structural diagram of an electronic device 100 is shown.

[0034] The electronic device 100 may include a processor 110 , an internal memory 121 , and a display screen 194 .

[0035] In some embodiments, the electronic device 100 may also include: an external memory interface 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0036] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0037] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0038] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0039] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0040] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0041] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0042] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0043] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0044] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0045] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0046] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0047] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0048] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0049] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0050] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0051] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0052] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0053] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0054] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0055] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0056] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0057] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0058] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0059] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0060] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0061] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0062] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0063] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0064] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0065] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0066] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0067] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0068] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0069] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android® system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0070] Figure 3 The figure shows a software structure block diagram of an electronic device provided in an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. Taking the Android system as an example, in some embodiments, the Android system is divided into five layers, namely, from top to bottom, the application layer, the application framework layer, the system library and Android runtime layer, the hardware abstraction layer (HAL) and the kernel layer.

[0071] The application layer may include several applications (hereinafter referred to as applications), such as a camera application, a gallery application, a calendar application, a settings application, a control center application, etc.

[0072] In the embodiment of the present application, the main function of the settings application is to support users in performing personalized settings, system management, security and privacy settings, developer options, etc. of electronic devices, thereby helping users customize and optimize their electronic device experience. The settings application is used to manage and save system settings information of electronic devices (including various settings items and their parameter values), and can provide users with an interface to view and set settings items.

[0073] In the embodiment of the present application, the control center application is used to provide the user with a control center interface, which is an interface for the user to quickly access and control the setting items of the electronic device. The user can quickly access the control center interface through preset operations such as sliding up from the bottom edge of the screen, or sliding from the upper right corner of the screen to the lower left, etc. when any interface is displayed on the screen, so as to view and set the setting items in the electronic device. The setting items and parameter values ​​of the setting items displayed by the control center application in the control center interface can be obtained by the control center application from the setting application. The adjustment (i.e., setting) of the parameter values ​​of the setting items by the user in the control center interface can be sent by the control center application to the setting application, and the setting application updates the parameter values ​​of the setting items.

[0074] In other embodiments, the setting application may provide the user with a control center interface. In this case, the setting application may directly update the parameter values ​​of the setting items in the system setting information based on the user's adjustment of the parameter values ​​of the setting items in the control center interface.

[0075] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer, including various components and services to support developers' Android development. The application framework layer also includes some predefined functions. Figure 3 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0076] The system library and Android runtime layer include the system library and Android runtime. The system library can include multiple functional modules. For example: surface manager, 2D graphics engine, 3D graphics processing library (for example: OpenGLES), media library, font library, etc. Among them, the browser kernel is responsible for interpreting the syntax of the web page (such as an application HTML, JavaScript under the standard universal markup language) and rendering (displaying) the web page; the 2D graphics engine is used to implement 2D graphics drawing, image rendering, synthesis and layer processing, etc.; the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc.; the media library is used to implement the input of different streaming media; the font library is used to implement the input of different fonts. The Android runtime is responsible for the scheduling and management of the Android system, specifically including the core library and the virtual machine. Among them, the core library contains two parts: one part is the function function that needs to be called by the Java language, and the other part is the Android core library; the virtual machine is used to run Android applications developed using the Java language.

[0077] The HAL layer is an interface layer between the operating system kernel and the hardware circuit. The HAL layer includes but is not limited to: the audio hardware abstraction layer (Audio HAL) and the camera hardware abstraction layer (Camera HAL). Among them, the Audio HAL is used to process the audio stream, for example, to perform noise reduction and directional enhancement on the audio stream, and the Camera HAL is used to process the image stream.

[0078] The kernel layer is the layer between hardware and software. The kernel layer may include: display driver, camera driver, audio driver, sensor driver, etc.

[0079] Hereinafter, the embodiments of the present application will be described in detail in combination with the structure of the above-mentioned electronic device.

[0080] In some embodiments, the device control method provided in the embodiments of the present application can be implemented as a function of an application in an electronic device, or as a function provided by an operating system. For example, the device control method provided in the embodiments of the present application can be implemented as a function provided by a setting application.

[0081] In the device control method provided in the embodiment of the present application, the electronic device can support users to customize scene modes according to their own needs, view the established custom scene modes, re-edit the setting information, and other processing, and can also support users to start one or more custom scene modes to perform system settings on the electronic device.

[0082] For the sake of convenience, in the embodiments of the present application, the user-defined scene mode is referred to as a custom scene mode, and the inherent scene modes provided by the system, such as the above-mentioned flight mode, dark mode, power saving mode, do not disturb mode, eye protection mode, etc., are referred to as inherent scene modes.

[0083] In some embodiments, the setting application can provide the user with a scene mode customization function and provide the user with a related interface for the customized scene mode, so that the user can view, set, create, edit, etc. the customized scene mode. Figure 4~Figure 8B shown.

[0084] It should be noted that in the following embodiments, the following Figure 4~Figure 8B In other embodiments, other applications may also provide users with the interface shown. Figure 4~Figure 8B Or, other apps and settings apps provide Figure 4~Figure 8B In other words, the device control method in the embodiment of the present application does not limit the specific application of providing the following interface, as long as the user can implement the setting of the system setting information based on the following interface.

[0085] like Figure 4 As shown, the settings application can provide the user with a display interface for custom scene modes, such as shown in interface 410. The custom scene mode is called "My Scene Mode" in the display interface. The custom scene modes can be displayed in the display interface. For example, the custom scene modes displayed in interface 410 include: theater mode, off-duty mode, sports mode and working mode.

[0086] like Figure 4 As shown, the display interface of the custom scene mode may also include: a new scene mode control, such as control 411 in interface 410, which is used by the user to trigger the establishment of a new custom scene mode. The user selects the new scene mode control such as control 411 by clicking, and accordingly, the setting application detects the user's selection operation on the new scene mode control. In other words, the setting application receives the request for the new scene mode and displays the new interface of the custom scene mode, such as Figure 4 The interface 420 in FIG. 4 is shown. The new interface of the custom scene mode is used to support the user to set the name of the custom scene mode and the setting information of the custom scene mode. The name of the custom scene mode is used to display the custom scene mode to the user, such as the theater mode and the off-duty mode mentioned above. The setting information of the custom scene mode is used to record the setting items that need to be adjusted for the custom scene mode and the parameter values ​​of the setting items.

[0087] like Figure 4As shown, the new interface of the custom scene mode may include: a name input control, such as the text box 421 in the interface 420, the name input control is used to support the user to enter the name of the custom scene mode, and the name of the custom scene mode may also be referred to as the scene name. In some embodiments, the name input control shown in the text box 421 may display prompt information, such as the "scene name" in 4, to prompt the user to enter the information in the control. For example Fig. 6A In the example, the scene name entered by the user in the text box 421 is: sleep mode.

[0088] like Figure 4 As shown, in order to facilitate users to edit the setting items included in the newly created custom scene mode, the new interface of the custom scene mode may include: area 1 and area 2.

[0089] Area 1 is used to display the setting items selected by the user for the newly created custom scene mode, which may also be referred to as the selected setting items. Area 2 is used to display the setting items that the user can select for the newly created custom scene mode, which may also be referred to as the optional setting items. The optional setting items may include some or all of the setting items provided by the electronic device for the user and that can be set by the user, for example, some or all of the setting items of the electronic device managed by the setting application.

[0090] In some embodiments, since there are many setting items in the electronic device, the setting items in the electronic device can be managed hierarchically. In other words, the setting items in the electronic device may include several first-level setting items, each first-level setting item includes several second-level setting items, each second-level setting item includes several third-level setting items, and so on. The setting items in the electronic device are shown in the following Table 1, which shows the first-level setting items and the second-level setting items of the electronic device, and the third-level setting items and the setting items of lower levels are not shown.

[0091]

[0092] Table 1 For the above-mentioned hierarchically managed setting items, some higher-level setting items may not have specific parameter values, but include multiple lower-level setting items. In this case, the parameter value of the higher-level setting item can be considered as the lower-level setting item it includes and the parameter value of the lower-level setting item. Taking the first-level setting item "status" as an example, its parameter value may include: Bluetooth, WLAN, mobile network, personal hotspot and other second-level setting items, as well as the parameter value of each second-level setting item.

[0093] In order to facilitate user understanding and setting, the setting items in the electronic device can be classified in the embodiment of the present application. The classification can be a primary classification or a multi-level classification, which is not limited in the embodiment of the present application. For example, as shown in Table 2 below, the setting items in Table 1 are classified into a primary classification to obtain four categories: status, display, sound and vibration, notification, and application permissions.

[0094]

[0095] Table 2 Based on the above setting item descriptions and classification descriptions, in some embodiments, in order to facilitate user understanding and viewing, the selected setting items in area 1 can be displayed by category, such as Figure 4 As shown in the middle interface 420, in area 1, sub-areas corresponding to the four categories in Table 1 are respectively set, and each sub-area is used to display the selected setting items under the corresponding category. It can be understood that when initially entering the new interface of the custom scene mode, since the user has not performed any operation, the sub-area of ​​each category may be empty, that is, it does not include the selected setting items. With the user's operation, the selected setting items can be gradually added to the sub-areas of each category.

[0096] In some embodiments, in order to facilitate user understanding and viewing, the alternative setting items in area 2 can also be displayed according to categories, such as Figure 4 As shown in the middle interface 420 , in area 2 , the optional setting items under the four categories in Table 1 are respectively displayed.

[0097] For the convenience of user viewing, area 2 may only display the higher-level setting items under each category. For each category, which setting items are specifically displayed in area 2 can be set independently in actual applications, and the present application embodiment does not limit this. Still taking Table 2 as an example, see Figure 4 In interface 420, since the status category only includes one primary setting item, for the status category, area 2 directly displays the secondary setting items under the status category: Bluetooth, WLAN, mobile network and personal hotspot; for the two categories of display, notification and application permissions, area 2 displays the primary setting items under each category respectively, and for the category of sound and vibration, area 2 displays the primary setting items under the category and the secondary setting item of "Do Not Disturb". It should be noted that in order to facilitate the explanation of the information that may be displayed in interface 420, the screen height of the electronic device is extended. In actual applications, when the display screen of the electronic device cannot display all the information in interface 420, the user can view all the information displayed in interface 420 by sliding, turning pages, etc.

[0098] For each setting item displayed in area 2, if the user wants to view the specific content of the setting item, such as the optional parameter value of the setting item, or the lower-level setting items included in the setting item, the user can trigger a new interface through the control for viewing and selection.

[0099] For example Figure 4 As shown in , for each setting item displayed in area 2, a corresponding detail query control is set, such as Figure 4 The middle control 422 is a detail query control corresponding to the alternative setting item "Bluetooth", and the control 423 is a detail query control corresponding to the "Notification Method".

[0100] The user selects the detail query control of the setting item in area 2 by clicking or other operations, and the setting application can display the detail display interface of the setting item. Figure 5 As shown, when the user clicks control 422, the settings application can detect the selection operation of the detail query control corresponding to the "Bluetooth" setting item, and display the detail display interface of the "Bluetooth" setting item, such as interface 430, in which a control control 431 of the "Bluetooth" setting item is displayed, indicating that the optional parameter values ​​of the "Bluetooth" setting item include: start, close. Figure 5 As shown, when the user clicks control 423, the settings application can detect the selection operation of the detail query control corresponding to the "notification method" setting item, and display the detail display interface of the "notification method" setting item, such as shown in interface 440. Interface 440 displays the secondary setting items included in the "notification method" setting item: notification screen light prompt, lock screen notification content, banner notification content, and also displays the detail query control of each secondary setting item, such as the detail query control 441 of the notification screen light prompt, which is used for the user to trigger a new interface through the control to view the specific content of the secondary setting item. The specific display method can be, for example, referred to interface 430 and interface 440, which will not be repeated here.

[0101] Through the above display mode, the user can view the specific content of the optional setting items level by level. It should be noted that in order to make the user's selection and setting of the optional setting items more flexible, in the embodiment of the present application, different setting items of different levels can be used as optional setting items for the user to choose.

[0102] like Figure 4 and Figure 5As shown, for the alternative setting items displayed in area 2 of the new interface of the custom scene mode, corresponding selection controls can be set respectively. For example, control 424 in interface 420 represents the selection control corresponding to the "Bluetooth" setting item, and control 425 represents the selection control corresponding to the "Notification method" setting item. For the detailed display interface of a certain setting item, if alternative setting items are included, corresponding selection controls can also be set for each alternative setting item. For example, in the detailed display interface of the "Notification method" setting item shown in interface 440, the selection control set for the "Notification screen light prompt" setting item is control 442.

[0103] It should be noted that the above interface implementation of the display method of alternative setting items is only an example and is not intended to limit the display method of alternative setting items. For example, the setting items may not be displayed according to category in area 2 of the new interface of the custom scene mode, or each setting item may be displayed according to category and level in area 2 of the new interface of the custom scene mode, etc., which are not listed one by one here.

[0104] The user can select the selection control corresponding to the alternative setting item in the new interface of the custom scene mode or the detailed display interface of an alternative setting item. Accordingly, the settings application can detect the user's selection operation on the alternative setting item and display the alternative setting item selected by the user as the selected setting item in the sub-area of ​​the corresponding category in area 1. Fig. 6A As shown, the user can click the selection control of the "Bluetooth" setting item, that is, control 424, and the "Bluetooth" setting item can be displayed in the sub-area corresponding to the status category.

[0105] Optionally, each alternative setting item displayed in area 2 may be initially in an optional state. When a user clicks a selection control of an alternative setting item, the selected alternative setting item is displayed as a selected setting item in the sub-area of ​​the corresponding category in area 1, and the selected alternative setting item in area 2 may be switched to an unselectable state. Fig. 6A As shown, before the user clicks the selection control of the "Bluetooth" setting item, that is, control 424, the "Bluetooth" setting item is in an optional state. After the user clicks the selection control of the "Bluetooth" setting item, the "Bluetooth" setting item and its corresponding selection control and detail query control are all switched to an unselectable state.

[0106] like Fig. 6AAs shown, the selected setting items displayed in area 1 can be provided with corresponding removal controls, such as the removal control 426 corresponding to the "Bluetooth" setting item. When the user selects the removal control of a selected setting item by clicking or other operations, the setting application detects the removal operation for the selected setting item and can remove the selected setting item from area 1, that is, the selected setting item is no longer displayed in area 1. Optionally, the corresponding alternative setting items in area 2 can be switched from an unselectable state to an selectable state. See Figure 6B For example, when a user clicks on the remove control 426 corresponding to the “Bluetooth” setting item, the “Bluetooth” setting item is no longer displayed in the sub-area of ​​the status category, and the “Bluetooth” setting item and its corresponding selection control and detail query control in area 2 are all switched to an optional state.

[0107] It should be noted that Fig. 6A and Figure 6B In the example above, the user selects an alternative setting item in the new interface of a custom scene mode. In other embodiments, the user can also select a low-level alternative setting item in the details display interface of a certain alternative setting item. In other words, the user can select an alternative setting item at any level. When the user selects a higher-level alternative setting item, the lower-level alternative setting items included in the higher-level setting item are selected together. For example, if the "Notification method" setting item is selected, all the lower-level alternative setting items it includes, such as the next-level "Notification screen light prompt", "Lock screen notification content", "Amplitude notification content" and other alternative settings are selected.

[0108] Similar to area 2, in order to facilitate user viewing, only higher-level selected setting items can be displayed in the sub-area of ​​each category in area 1, and the lower-level selected setting items included in the higher-level selected setting items can be viewed and set in a new interface by the user through a control. Specifically, a corresponding setting control can be set for each selected setting item in area 1 to support the user to trigger the viewing and setting of the lower-level setting items of the selected setting item. For example Figure 6C In the sub-area corresponding to the status category, a "Bluetooth" setting item is included, and a setting control 427 of the "Bluetooth" setting item is provided. When the user clicks the setting control 427, the setting application can detect the selection operation for the "Bluetooth" setting item and display a setting interface of the selected setting item, such as shown in interface 450. In the setting interface of the selected setting item, the user can set the parameter value of the setting item.

[0109] In some embodiments, the selected setting items displayed in area 1 may have default parameter values, and the user may click the corresponding setting control to trigger the setting interface for displaying the selected setting items, and adjust the parameter values ​​of the selected setting items or the parameter values ​​of subordinate setting items of the selected setting items.

[0110] It should be noted that when the user sets the selected setting items, if a conflict event of the parameter value is triggered because the set parameter value exceeds the setting range or conflicts with the parameter value of other selected setting items, the setting application can prompt the user so that the parameter value set by the user for the setting item can be supported by the electronic device. The way in which the setting application prompts the user can be, for example, a pop-up interface or dialog box, and prompt information of the conflict event is displayed in the interface or dialog box. In some embodiments, in addition to displaying the prompt information of the conflict event to the user, the setting application can further prompt the cause of the conflict, and / or, based on the conflicting setting items and preset conflict handling rules, provide the user with several adjustment methods for the conflicting setting items, the above adjustment methods can, for example, include prompts for the range of configurable parameter values ​​of the conflicting setting items, or setting combinations between the conflicting setting items, so that the user can select the required adjustment method to adjust the parameter value of the conflicting setting item. If the adjustment method provided by the settings application to the user includes a clear parameter value of the setting item, the settings application can also provide the user with a control corresponding to the adjustment method in a pop-up interface or dialog box. When the user selects the control corresponding to the adjustment method, the settings application can automatically adjust the parameter value of the conflicting setting item according to the adjustment method.

[0111] For example, if the user has selected the "Do Not Disturb" setting item as the selected setting item and set the "Do Not Disturb" setting item to on, at this time, if the user selects the "Notification Screen Light Up Prompt" setting item as the selected setting item and hopes to set the setting item to "on", the settings application can prompt the user of the setting conflict by displaying an interface or a dialog box, etc. The specific prompt information can be, for example, that when Do Not Disturb is turned on, incoming calls and notifications will be muted, and the device will not be woken up when the screen is off. If you only want to mute and do not want to turn off the notification screen, it is recommended to turn on the mute and notification screen light up prompts. In some embodiments, the user can also be provided with an adjustment method of "turning off Do Not Disturb, turning on mute and notification screen light up prompts" in the form of controls and text. The settings application detects the user's selection operation of the control corresponding to the adjustment method, that is, receives the user's selection operation for the adjustment method of "turning off Do Not Disturb, turning on mute and notification screen light up prompts", and can turn off "Do Not Disturb" and turn on "mute" and "notification screen light up prompts" according to the adjustment method.

[0112] The following is an exemplary description of possible combinations of setting items in different custom scene modes: Theater mode: turn on dark mode + turn on mute + turn on do not disturb + turn on dark lock screen theme + turn off notification screen light prompt; Working mode: turn on mute + turn on working lock screen theme + turn on some application locks; Off-duty mode: turn on the ringing sound + turn on WLAN + turn on NFC + turn on the casual lock screen theme + turn on do not disturb for some apps; Sports mode: turn on Bluetooth + turn on positioning + adjust volume + turn off notification permissions for some apps; Outdoor travel mode: turn up the volume + turn on positioning + turn on automatic brightness adjustment; Loan mode: turn off lock screen notification content + turn off banner notification content.

[0113] After the user thinks that the setting items of the newly created custom scene mode are complete, the user can click the completion control set in the new interface, such as 4~ Figure 6C As shown in the control 428 in , correspondingly, the settings application can obtain the setting information generated by the user's setting operation in the new interface, such as the scene mode name entered by the user in the name input control, the selected setting items and parameter values ​​in area 1, etc., generate a new custom scene mode based on the obtained setting information, and add the new scene mode to the user's custom scene mode list. The new custom scene mode may include a scene name, setting information, etc., and the setting information may include setting items and parameter values ​​of the setting items. Accordingly, when the user opens the display interface of the custom scene mode, such as interface 410, the settings application can add the display of the new scene mode. Taking the newly created custom scene mode as "sleep mode" as an example, after the user clicks control 428, when the display interface of the custom scene mode, such as interface 410, is opened again, "sleep mode" will be added to the display in interface 410.

[0114] Combination of the above Figure 4~Figure 6C The implementation of a user's newly created custom scene mode is described, so that the user can customize the setting items through the provided graphical editing interface to combine into a scene mode that meets personal needs. It can be understood that the "theater mode", "off-duty mode", "sports mode", "working mode" and the like shown in the interface 410 can all be established by the user using a similar method.

[0115] See also Figure 7 As shown, the setting application can also set a corresponding selection control for each custom scene mode in the display interface of the custom scene mode, so that the user can select the custom scene mode. Figure 7 The selection control corresponding to the theater mode is control 412 , the selection control corresponding to the off-duty mode is control 413 , and the selection controls corresponding to the sports mode and the working mode are not listed one by one.

[0116] exist Figure 7In the illustrated embodiment, the selection control may include two states: selected and unselected. The selected state indicates that the corresponding custom scene mode is selected, or in a selected state. At this time, the electronic device is in the custom scene mode, and the system setting information of the electronic device is adjusted based on the selected custom scene mode; the unselected state indicates that the corresponding custom scene mode is not selected, or in an unselected state. In other words, the electronic device is not in the custom scene mode. Figure 7 In the example, the control 412 is in the selected state and the control 413 is in the unselected state. The user can control the state of the custom scene mode by changing the state of the selection control corresponding to the custom scene mode, thereby controlling whether the electronic device is in the custom scene mode.

[0117] In some embodiments, the embodiments of the present application may support the user to select one custom scene mode at a time, and multiple custom scene modes cannot be selected at the same time. Figure 7 As shown, assuming that the theater mode is selected, other custom scene modes cannot be selected. It is necessary to adjust the theater mode to an unselected state before selecting other custom scene modes.

[0118] In other embodiments, the embodiments of the present application can support multiple custom scene modes being selected at the same time, so that the user can control the electronic device to freely switch between not being in a custom scene mode, being in one custom scene mode, being in multiple custom scene modes, etc.

[0119] For example Figure 7 As shown, assuming that the theater mode is selected, the user can switch the off-duty mode from unselected to selected, so that the electronic device is switched to the theater mode and the off-duty mode at the same time. After that, the user can switch the theater mode from selected to unselected, so that the electronic device is switched to the off-duty mode, and then the off-duty mode can be switched from selected to unselected, so that the electronic device is switched to not being in any custom scene mode. Alternatively, when the electronic device is in the theater mode and the off-duty mode at the same time, the "sleep mode" can be switched from unselected to selected, so that the electronic device is switched to the theater mode, the off-duty mode and the sleep mode at the same time, and so on. Other possible operations and switching methods are not listed here one by one.

[0120] It should be noted that when a custom scene mode is switched from unselected to selected, the setting application can adjust the system setting information of the electronic device based on the setting information of the custom scene mode. At this time, a parameter value conflict may occur between the adjusted system setting information and the unadjusted system setting information. At this time, the setting application can prompt the user of the conflict event. The way in which the setting application prompts the user can be, for example, a pop-up interface or dialog box, and prompt information of the conflict event is displayed in the interface or dialog box. In some embodiments, in addition to displaying prompt information of the conflict event to the user, the setting application can further prompt the cause of the conflict, and / or, based on the conflicting setting items and the preset conflict handling rules, provide the user with several adjustment methods for the conflicting setting items. The above adjustment methods may include, for example, a prompt of the range of configurable parameter values ​​of the conflicting setting items, or a setting combination method between the conflicting setting items, etc., to facilitate user operation. If the adjustment method provided by the setting application to the user includes a clear parameter value of the setting item, the setting application can also provide the user with a control corresponding to the adjustment method in a pop-up interface or dialog box. When the user selects the control, the setting application can adjust the parameter value of the setting item according to the adjustment method corresponding to the control.

[0121] For example, if the "Do Not Disturb" setting item in the unadjusted system setting information is turned on, at this time, if the "Notification Screen Light Up Prompt" in the system setting information is adjusted to "On" based on the setting information of the selected custom scene mode, a parameter value conflict will occur between the parameter value of the "Notification Screen Light Up Prompt" and the parameter value of the "Do Not Disturb". At this time, the setting application can prompt the user of the setting conflict by displaying an interface or a dialog box, etc. The specific prompt information can be, for example, that the Do Not Disturb and the Notification Screen Light Up Prompt cannot be turned on at the same time, and it is recommended to turn off the Do Not Disturb, turn on the mute and notification screen light up prompts. In some embodiments, the user can also be provided with an adjustment method of "turning off the Do Not Disturb, turning on the mute and notification screen light up prompts" in the form of controls and text. The setting application detects the user's selection operation of the control corresponding to the adjustment method, that is, receives the user's selection operation for the adjustment method of "turning off the Do Not Disturb, turning on the mute and notification screen light up prompts", and can turn off the "Do Not Disturb" in the system setting information and turn on the "mute" and "notification screen light up prompts" according to the adjustment method.

[0122] The embodiment of the present application can also provide the user with a detail viewing function of a custom scene mode. For example, a corresponding detail viewing control can be set for each custom scene mode in the display interface of the custom scene mode. When the user clicks the detail viewing control corresponding to the custom scene mode, the setting application can detect the selection operation for the detail viewing control, that is, receive a viewing request for the details of the custom scene mode, and can display the detail display interface of the custom scene mode.

[0123] For example Fig. 8A The control 414 in the figure is the detail view control corresponding to the theater mode, and the detail view control corresponding to the off-duty mode, the detail view control corresponding to the exercise mode, and the detail view control corresponding to the work mode are not listed one by one. The user clicks the control 414, and the setting application can display the detail display interface corresponding to the theater mode for the user, such as the interface 460 shown.

[0124] The custom scene mode details display interface may display the setting information of the custom scene mode, and the setting information may include setting items and parameter values ​​of the setting items, etc. For example, the interface 460 displays the setting items and parameter values ​​of the setting items included in the theater mode.

[0125] It should be noted that the way in which the setting information of the theater mode is displayed in interface 460 is only an example and is not intended to limit the specific display method of the setting information of the custom scene mode in the interface of the embodiment of the present application. For example, all setting information can be listed in the same interface, or the setting items can be displayed step by step according to the hierarchy of the setting items, etc., which are not listed one by one here.

[0126] In some embodiments, in order to allow the user to re-edit the setting information of the established custom scene mode, an "edit" control may be provided in the custom scene mode detail display interface to support the user to trigger the editing of the setting information of the established custom scene mode. Figure 8B As shown, the details display interface of the theater mode shown in interface 460 is provided with an "edit" control such as control 461, which is used to support the user to trigger the editing of the setting information of the theater mode.

[0127] The user may click on the "Edit" control shown in control 461, and accordingly, the settings application may detect an edit request for a custom scene mode such as theater mode, and display an edit interface for the custom scene mode, such as Figure 8B The interface 470 shown in FIG. 4 is an example of an editing interface in theater mode.

[0128] In some embodiments, Figure 8B As shown, the editing interface of the custom scene mode and the new interface of the custom scene mode can be implemented using similar interface methods, and the main difference is that the setting information included in the custom scene mode is directly displayed in area 1 in the editing interface of the custom scene mode.

[0129] For the method and interface implementation for users to edit the setting information of the custom scene mode in the editing interface of the custom scene mode, please refer to the relevant instructions in the new interface of the custom scene mode, which will not be repeated here.

[0130] The editing interface of the custom scene mode may include a "Finish" control, such as shown in control 471, for the user to trigger the end of editing the custom scene mode. After the user completes editing the custom scene mode setting information, the user can click the "Finish" control, such as shown in control 471. The setting application detects the selection operation for the "Finish" control, that is, receives the editing completion request of the custom scene mode, and can update the setting information of the custom scene mode based on the setting information generated by the user operation in the editing interface. The specific updating method is not repeated here.

[0131] In other embodiments, the control center interface provided by the electronic device to the user may also display the user's customized scene mode to the user, for example Fig.9A The control center interface shown in the middle interface 480 includes: a display area 481 for custom scene modes, in which icons of custom scene modes created by the user are displayed, such as an icon for theater mode, an icon for off-duty mode, and an icon for sports mode.

[0132] It should be noted that the control center interface can be provided and displayed to the user by the setting application, or provided and displayed to the user by an application other than the setting application. In the following embodiments, the control center interface is provided and displayed to the user by a control center application other than the setting application as an example.

[0133] In some embodiments, due to the limited area of ​​display area 481, if display area 481 cannot display icons of all custom scene modes established by the user, the user can view icons of custom scene modes not displayed in display area 481 by swiping left and right.

[0134] In some embodiments, the icon of the custom scene mode may include two states, selected and unselected, corresponding to the selected and unselected states of the custom scene mode, respectively. The user may switch the icon state of the custom scene mode by clicking on the icon of a custom scene mode, and then switch the state of the custom scene mode. If the icon of the custom scene mode is in the selected state, the electronic device is in the custom scene mode, and if the icon of the custom scene mode is in the unselected state, the electronic device is not in the custom scene mode.

[0135] The user clicks on the icon of the custom scene mode that is not selected. Accordingly, the control center application can detect the selection operation on the custom scene mode icon, switch the icon of the custom scene mode to the selected state, and instruct the setting application to adjust the system setting information based on the setting information of the custom scene mode. Fig.9AAs shown, the user can click on the unselected theater mode icon. Accordingly, the control center application can detect the selection operation for the theater mode, switch the theater mode icon to the selected state, and instruct the setting application to adjust the system setting information based on the theater mode setting information. When the setting items included in the custom scene mode have corresponding icons on the control center interface, when the custom scene mode is selected, the icons of the setting items included therein can also be switched to the selected state. For example Fig.9A As shown, assuming that the setting information of the theater mode includes starting the do not disturb mode, dark mode, silent mode, etc., when the icon of the theater mode is switched to the selected state, the corresponding icons of the do not disturb mode, dark mode, silent mode, etc. are switched to the selected state.

[0136] The user clicks on the icon of the custom scene mode that is in the selected state. Accordingly, the control center application can detect the selection operation on the custom scene mode icon, switch the icon of the custom scene mode to the unselected state, and instruct the settings application to adjust the system setting information to the system setting information before the custom scene mode is unselected. Fig.9A As shown, the user clicks on the icon of the theater mode in the selected state. Accordingly, the control center application can detect the selection operation for the theater mode icon, switch the theater mode icon to an unselected state, and instruct the setting application to adjust the system setting information of the electronic device to the system setting information before the theater mode is selected. When the setting items included in the custom scene mode have corresponding icons on the control center interface, when the custom scene mode is switched to unselected, the icons of the setting items included therein can also be switched to the state before the custom scene mode is selected. For example Fig.9A As shown, assuming that the setting information of the theater mode includes starting the do not disturb mode, dark mode, silent mode, etc., when the theater mode icon is switched to an unselected state, the icons of the do not disturb mode, dark mode, silent mode, etc. are also switched to the state before the theater mode is selected. For example, if the dark mode icon is already in a selected state before the theater mode is selected, then when the theater mode icon is switched to an unselected state, the dark mode icon may remain unchanged; if the do not disturb mode is in an unselected state before the theater mode is selected, then when the theater mode is switched to an unselected state, the state of the setting item may be switched to an unselected state.

[0137] In some embodiments, the user can trigger the control center application to display the details display interface of the custom scene mode to the user by long pressing the icon of the custom scene mode.

[0138] In some embodiments, the control center application can trigger the setting application to display the user's custom scene mode details display interface. Taking the example of a user long pressing the theater mode icon, the control center application can detect a request to view the details of the theater mode, and the control center application can trigger the setting application to display the theater mode details display interface shown in interface 460 to the user by sending a request or other means.

[0139] In other embodiments, the control center application may obtain the setting information of the custom scene mode from the setting application, and display the details display interface of the custom scene mode based on the obtained setting information. The details display interface of the custom scene mode displayed by the control center application may be the same as or different from the details display interface displayed by the setting application. Fig. 9B In the details display interface of the theater mode shown in the middle interface 490, the theater mode is displayed in the form of icons, including: starting dark mode, silent mode and do not disturb mode, and also includes a "more" icon. The user can click the "more" icon to trigger the control center application to display more setting information of the theater mode, or make the control center application trigger the setting application to display the details display interface of the theater mode shown in interface 460, for example.

[0140] In some embodiments, the control center interface displayed by the electronic device may also include an icon for creating a new custom scene mode, such as Fig.9A As shown in control 482 in , the user can select the icon for creating a new custom scene mode by clicking or other operations. Accordingly, the control center application can detect the request for creating a new custom scene mode, and the control center application displays a new interface for the custom scene mode such as that shown in interface 420, or the control center application triggers the setting application to display a new interface for the custom scene mode such as that shown in interface 420.

[0141] Fig.10 1 is a flow chart of a device control method provided in an embodiment of the present application, which is used to create a custom scene mode. Fig.10 As shown, the method may include: Step 1001: Displaying interface A, which includes a new control for creating a custom scene mode, for supporting a user to trigger a new custom scene mode.

[0142] In some embodiments, interface A may be a display interface for setting a custom scene mode displayed by an application, such as shown in interface 410 , and a new control for the custom scene mode is shown in control 411 .

[0143] In some embodiments, interface A may be a control center interface provided by a control center application to a user, such as shown in interface 480 , and a new control for a custom scene mode may be shown in control 482 .

[0144] Step 1002: a selection operation for a new created control is detected, and a new created interface of a custom scene mode is displayed, wherein the new created interface includes a completion control for supporting a user to trigger a completion operation of creating a new custom scene mode.

[0145] Among them, the implementation of the new interface of the custom scene mode can refer to the corresponding description in the aforementioned embodiment, which will not be repeated here.

[0146] In some embodiments, interface A is an interface provided by a settings application, and this step can be performed by the settings application.

[0147] In some embodiments, interface A is an interface provided by a control center application. In this step, the control center application can detect the selection operation for the new control, and the control center application can display the new interface of the custom scene mode or trigger the setting application to display the new interface of the custom scene mode.

[0148] The new interface for the custom scene mode is shown as interface 420 , and the completion control is shown as control 428 .

[0149] Step 1003: Detecting a selection operation for completing the control, obtaining setting information in the new interface, generating a new custom scene mode (corresponding to the first scene mode) according to the setting information, and adding the new custom scene mode to the custom scene mode list.

[0150] Among them, the user performs various setting operations for the custom scene mode in the new interface, such as entering the scene name, selecting alternative setting items as selected setting items, setting parameter values ​​of the selected setting items, etc. The application that displays the new interface (such as the settings application or the control center application) can update the display content of the new interface accordingly and record it as the setting information in the new interface.

[0151] In some embodiments, the new interface of the custom scene mode is displayed by the control center application, and this step can be performed by the control center application. At this time, the control center application can also synchronize the new custom scene mode and its setting information to the setting application.

[0152] In some embodiments, the new interface of the custom scene mode is displayed by a settings application, and this step can be performed by the settings application.

[0153] Fig.10 The method shown realizes the creation of a custom scene mode, thereby facilitating the user to establish a corresponding custom scene mode according to their own usage requirements in different scenarios, allowing users to quickly switch custom scene modes in different scenarios, and meeting the user's system setting requirements for electronic devices (such as mobile phones) in different scenarios.

[0154] Fig.11 Schematic diagram of a flow chart of a device control method provided in an embodiment of the present application. Fig.11 As shown, the method may include: Step 1101: Displaying interface B, where interface B displays a list of custom scene modes and a detail viewing control corresponding to each custom scene mode.

[0155] Among them, interface B and interface A can be the same interface or different interfaces.

[0156] In some embodiments, interface B may be a display interface for setting a custom scene mode displayed by an application, such as shown in interface 410 , and a detail viewing control corresponding to the custom scene mode may be shown in control 414 .

[0157] In some embodiments, interface A may be a control center interface provided by a control center application to a user, such as shown in interface 480 , where the detail viewing control corresponding to the custom scene mode is an icon of the custom scene mode.

[0158] Step 1102: Detecting a selection operation of a detail viewing control for a target custom scene mode, and displaying a detail display interface of the target custom scene mode.

[0159] The target custom scene mode here can be any custom scene mode displayed in interface B.

[0160] In some embodiments, the user can click on the detail viewing control of the target custom scene mode, such as shown in control 414. Accordingly, the settings application can detect the selection operation of the detail viewing control for the target custom scene mode, that is, receiving the detail viewing request for the target custom scene mode, and the settings application can display the detail display interface of the target custom scene mode.

[0161] In some embodiments, the user can long press the icon of the target custom scene mode. Accordingly, the control center application can detect the selection operation of the detail viewing control for the target custom scene mode, that is, receive the detail viewing request for the target custom scene mode, and the control center application can display the detail display interface of the target custom scene mode, or trigger the setting application to display the detail display interface of the target custom scene mode.

[0162] The details display interface of the target custom scene mode may include an editing control for the user to trigger editing of setting information of the target custom scene mode.

[0163] Step 1103: Detecting a selection operation on the editing control, and displaying an editing interface for the target custom scene mode.

[0164] Among them, the implementation of the editing interface of the target custom scene mode can refer to the corresponding description in the aforementioned embodiment, which will not be repeated here.

[0165] Among them, the details display interface of the target custom scene mode is displayed by the setting application, and step 1103 can be executed by the setting application. The details display interface of the target custom scene mode is displayed by the control center application, and step 1103 can be executed by the control center application.

[0166] The detection of a selection operation on the editing control may also be considered as the receipt of an editing request for the target custom scene mode setting information.

[0167] The editing interface may include a completion control, such as control 471, for the user to trigger the completion of editing of the target custom scene mode setting information.

[0168] Step 1104: Detecting a selection operation on the completion control, and updating the setting information of the target custom scene mode according to the setting information in the editing interface.

[0169] Among them, detecting the selection operation for completing the control can also be regarded as receiving an edit completion request for the target custom scene mode setting information.

[0170] Among them, the user performs various setting operations for the target custom scene mode in the editing interface, such as modifying the scene name, adding or deleting selected setting items, modifying the parameter values ​​of selected setting items, etc. The application that displays the editing interface (such as the settings application or the control center application) can update the display content of the editing interface accordingly and record it as the setting information in the editing interface.

[0171] Fig.11 The method shown enables user re-editing of the setting information of the custom scene mode, thereby facilitating the user to adjust the setting information of different custom scene modes based on changes in user needs, so that the setting information of the custom scene mode can change as the user needs change, thereby being closer to the user needs and meeting the user's system setting requirements for electronic devices (such as mobile phones) in different scenarios.

[0172] Fig. 12A Schematic diagram of a flow chart of a device control method provided in an embodiment of the present application. Fig. 12A As shown, the method may include: Step 1201: receiving a start request for custom scene mode 1.

[0173] In some embodiments, this step may include: displaying an interface C, where the interface C displays a list of custom scene modes and a selection control for each custom scene mode, and detecting a selection operation of the selection control for custom scene mode 1. The custom scene mode 1 in this step may be any custom scene mode in the list of custom scene modes.

[0174] Among them, interface B and interface C can be the same interface or different interfaces.

[0175] In some embodiments, interface C may be, for example, a display interface of a custom scene mode provided by a setting application, such as shown in interface 410, and a selection control such as control 412 corresponding to a theater mode and control 413 corresponding to an off-duty mode. The user may switch the selection control of custom scene mode 1 from unselected to selected by clicking or other operations, and accordingly, the setting application may detect the state switching operation of the selection control for custom scene mode 1, that is, receive a start request for custom scene mode 1, and the setting application adjusts the system setting information according to the setting information 1 of custom scene mode 1.

[0176] In some embodiments, interface C may be, for example, a control center interface provided by a control center application, such as shown in interface 480, and the selection control may be shown as icons of various custom scene modes. The user may select the icon of custom scene mode 1 (in an unselected state) by clicking or other operations, and accordingly, the control center application may detect the selection operation for the icon of custom scene mode 1, and may determine that a start request for custom scene mode 1 is received in combination with the state of the icon, and the control center application sends a start request for custom scene mode 1 to the setting application, and the setting application may receive the start request for custom scene mode 1.

[0177] Step 1202: Adjust system setting information according to setting information 1 of custom scene mode 1.

[0178] In some embodiments, this step may be performed by a settings application.

[0179] In some embodiments, before the setting application adjusts the system setting information according to the setting information 1 of the custom scene mode 1 in this step, the system setting information before the adjustment may be stored for restoring the system setting information in step 1204. In order to reduce the amount of data storage, the setting application may store the parameter values ​​of the corresponding setting items in the system setting information before the adjustment according to the setting items included in the setting information 1, so that in step 1204, only the parameter values ​​of the setting items included in the setting information 1 may be restored, thereby reducing the amount of data processing of the setting application.

[0180] The setting information 1 in this step refers to the setting information of the custom scene mode 1, and is referred to as setting information 1 to distinguish it from the setting information 2 of the custom scene mode 2.

[0181] A method for adjusting system setting information according to setting information of custom scene mode 1 is as follows: Fig. 12B As shown, this may include: Step S1: Obtain setting information 1 of custom scene mode 1.

[0182] Step S2: for each setting item included in the setting information 1 of the custom scene mode 1, determine whether the parameter value of the setting item in the setting information 1 matches the parameter value in the system setting information; if so, execute step S3; otherwise, execute step S4.

[0183] In some embodiments, the above-mentioned parameter value matching may mean that the parameter values ​​are the same.

[0184] Step S3: The parameter value of the setting item in the system setting information is kept unchanged, and the judgment branch for the setting item ends.

[0185] It is understandable that if the adjustment of the setting items is performed serially, it is possible to continue returning to step S2 to determine whether the parameter value of the next setting item in the setting information 1 matches the parameter value in the system setting information, which is not listed here one by one.

[0186] Step S4: Determine whether there is a parameter rule conflict between the parameter value of the setting item in the setting information 1 and the parameter value of other setting items in the system setting information. If not, execute step S5; otherwise, execute step S6.

[0187] For example, if setting information 1 includes "Bluetooth" and is set to start, it can be determined whether there is a parameter rule conflict between the parameter value "start" of "Bluetooth" in setting information 1 and the parameter values ​​of other setting items in the system setting information (except "Bluetooth")

[0188] Specific parameter conflict rules can be pre-set. The specific implementation of this step will not be listed one by one in the embodiments of the present application. It can be implemented using the relevant parameter value conflict detection method.

[0189] Step S5: updating the parameter value of the setting item in the system setting information according to the parameter value of the setting item in the setting information 1, and the judgment branch for the setting item ends.

[0190] Step S6: adjusting the system setting information according to the preset conflict handling rules.

[0191] In some embodiments, the parameter value of the setting item in the system setting information can be updated according to the parameter value of the setting item in the setting information 1, and the parameter value of the setting item in the system setting information that conflicts with the setting item can be adjusted to resolve the conflict.

[0192] In other embodiments, the parameter values ​​of the setting item and the setting items that conflict with the setting item in the system setting information may be kept unchanged.

[0193] In some other embodiments, one or more adjustment methods may be determined according to preset conflict handling rules, and the adjustment methods may be displayed to the user through an interface, and the user may select an adjustment method, and the system setting information may be adjusted according to the adjustment method selected by the user. It should be noted that the above interface may also prompt the user with a conflict event, information about the conflicting setting items, and the cause of the conflict, etc., which is not limited in the embodiments of the present application.

[0194] Step 1203: A shutdown request for custom scene mode 1 is detected.

[0195] In some embodiments, the user can switch the selection control of custom scene mode 1 from selected to unselected through operations such as clicking. Accordingly, the settings application can detect the state switching operation of the selection control for custom scene mode 1, that is, receiving a shutdown request for custom scene mode 1, and the settings application restores the system setting information to the system setting information before the custom scene mode 1 is started.

[0196] In some embodiments, the user can select the icon of custom scene mode 1 (in a selected state) by clicking or other operations. Accordingly, the control center application can detect the selection operation of the icon for custom scene mode 1, and combined with the state of the icon, it can be determined that a shutdown request for custom scene mode 1 has been received. The control center application sends a shutdown request for custom scene mode 1 to the settings application, and the settings application restores the system setting information to the system setting information before the custom scene mode 1 is started.

[0197] Step 1204: restore the parameter value of the first target setting item in the system setting information to the parameter value before the customized scene mode 1 is started.

[0198] For the convenience of explanation, the setting items included in the custom scene mode 1 are referred to as first target setting items.

[0199] In some embodiments, before the setting application in step 1202 adjusts the system setting information according to the setting information 1 of the custom scene mode 1, the parameter value of the first target setting item in the system setting information can be stored. In this step, the parameter value of the first target setting item in the system setting information can be restored to the parameter value before the custom scene mode 1 is started based on the above-stored information. The specific implementation will not be repeated here.

[0200] In this step, the parameter value of the first target setting item in the system setting information is restored to the parameter value before the custom scene mode 1 is started. This will not affect the user's settings of the setting items other than the first target setting item in the system setting information after the custom scene mode 1 is started and before it is closed, thereby improving the user experience.

[0201] Fig. 12A The method shown enables the user to start and close the custom scene mode 1, supports the user to start or close the custom scene mode with one click based on user needs, and meets the user's system setting needs for electronic devices (such as mobile phones) in different scenarios.

[0202] Fig.13 Schematic diagram of a flow chart of a device control method provided in an embodiment of the present application. Fig.13 As shown, the method may include: Step 1301 to step 1302 may refer to step 1201 to step 1202 and will not be repeated here.

[0203] Step 1303 : Detecting a start request for the custom scene mode 2 , and adjusting the system setting information according to the setting information 2 of the custom scene mode 2 .

[0204] The specific implementation of detecting the start request for custom scene mode 2 in this step can refer to the specific implementation of detecting the start request for custom scene mode 1 in step 1202, the main difference is that custom scene mode 1 is replaced by custom scene mode 2 in this step.

[0205] The specific implementation of adjusting the system setting information according to the setting information 2 of the custom scene mode 2 in this step can refer to the implementation of "adjusting the system setting information according to the setting information 1 of the custom scene mode 1" in step 1202. The main difference is that the custom scene mode 1 is replaced by the custom scene mode 2 in this step.

[0206] The setting information 2 in this step refers to the setting information of the custom scene mode 1, and is referred to as the setting information 2 to distinguish it from the setting information 1 of the custom scene mode 1.

[0207] Step 1304: a shutdown request for the custom scene mode 2 is detected, and the parameter value of the second target setting item in the system setting information is restored to the parameter value before the custom scene mode 2 is started.

[0208] The second target setting items are setting items included in the custom scene mode 2.

[0209] In this step, the parameter value of the second target setting item in the system setting information is restored to the parameter value before the custom scene mode 2 is started, so that the custom scene mode 2 can be turned off without affecting the user's adjustment of setting items other than the second target setting item in the system setting information after the custom scene mode 2 is turned on and before it is turned off.

[0210] The specific implementation of detecting the closing request for custom scene mode 2 in this step can refer to the specific implementation of detecting the closing request for custom scene mode 1 in step 1203, the main difference is that custom scene mode 1 is replaced by custom scene mode 2 in this step.

[0211] Step 1305: a shutdown request for the custom scene mode 1 is detected, and the parameter value of the first target setting item in the system setting information is restored to the parameter value before the custom scene mode 1 is started.

[0212] The implementation of this step may refer to step 1203 and will not be described in detail here.

[0213] In this step, the parameter value of the first target setting item in the system setting information is restored to the parameter value before the custom scene mode 1 is started, so that the custom scene mode 1 can be turned off without affecting the user's adjustment of setting items other than the first target setting item in the system setting information after the custom scene mode 1 is turned on and before it is turned off.

[0214] Fig.13 The method shown enables the user to continuously start and shut down the custom scene mode 1 and the custom scene mode 2, supports the user to start or shut down the custom scene mode with one click based on user needs, and meets the user's system setting requirements for electronic devices (such as mobile phones) in different scenarios.

[0215] Fig.14 Schematic diagram of a flow chart of a device control method provided in an embodiment of the present application. Fig.14 As shown, the method may include: Steps 1401 to 1403 may refer to steps 1301 to 1303 and are not described in detail here.

[0216] Step 1404: a shutdown request for the custom scene mode 1 is detected, and the parameter value of the third target setting item in the system setting information is restored to the parameter value before the custom scene mode 1 is started.

[0217] The third target setting item is a setting item included in setting information 1 of custom scene mode 1 but not included in setting information 2 of custom scene mode 2, that is, the third target setting item is a setting item of the first target setting item without the intersection with the second target setting item.

[0218] In this step, the parameter value of the third target setting item in the system setting information is restored to the parameter value before the custom scene mode 1 is started, so as not to affect the setting of the system setting information by the start of the custom scene mode 2, and to ensure that the second target setting item in the system setting information is still set according to the setting information 2 of the custom scene mode 2.

[0219] Step 1405: a shutdown request for the custom scene mode 2 is detected, and the parameter value of the second target setting item in the system setting information is restored to the parameter value before the custom scene mode 1 is started.

[0220] In this step, if a shutdown request for custom scene mode 2 is detected, both custom scene mode 1 and custom scene mode 2 are in the closed state, and the parameter value of the second target setting item in the system setting information is restored to the parameter value before custom scene mode 1 is started, thereby ensuring that the first target setting item and the second target setting item in the system setting information can be restored to the parameter value before custom scene mode 1 is started, which is closer to user needs.

[0221] In other embodiments, in this step, the parameter value of the second target setting item in the system setting information may also be restored to the parameter value before the custom scene mode 2 is started.

[0222] In this method, two custom scene modes 1 and 2 are supported to be started in sequence and in the started state at the same time. The user first turns off the custom scene mode 1 that is started first, thereby meeting the user's system setting requirements in different scenarios, facilitating user operation, improving the user's setting efficiency, and improving the user experience.

[0223] For example, assume that the setting information of the off-duty mode and the sports mode is as follows: Off-duty mode: ringing + WLAN + NFC + casual lock screen theme + do not disturb for some apps; Sports mode: turn on Bluetooth + turn on data traffic + turn on positioning + adjust volume + do not disturb some apps.

[0224] for Fig. 12AThe method shown is to first start the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen theme in the system setting information is respectively started, and the notification permissions of the specified application are adjusted; turn off the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen theme in the system setting information is restored to the state before the off-duty mode is started, and the notification permissions of the specified application are adjusted to the state before the off-duty mode is started; If you restart the sports mode, the Bluetooth + data traffic + positioning + volume adjustment in the system setting information will be activated respectively, and the notification permissions of the specified applications will be adjusted; if you turn off the sports mode, the Bluetooth + data traffic + positioning + volume adjustment in the system setting information will be restored to the state before the sports mode was activated, and the notification permissions of the specified applications will be adjusted to the state before the sports mode was activated.

[0225] for Fig.13 The method shown is to first start the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen theme in the system setting information are respectively started, and the notification permissions of the specified application are adjusted; then start the sports mode, then the Bluetooth + data traffic + positioning + volume adjustment in the system setting information are respectively started, and the notification permissions of some applications in the sports mode that do not overlap with the off-duty mode are adjusted; If you turn off sports mode again, the Bluetooth + data traffic + positioning + volume adjustment in the system setting information will be restored to the state before the sports mode was activated, and the notification permissions of some applications in sports mode that do not overlap with off-duty mode will be adjusted to the state before the sports mode was activated; if you turn off off-duty mode again, the ringtone + WLAN + NFC + casual lock screen theme in the system setting information will be restored to the state before the off-duty mode was activated, and the notification permissions of the specified applications in off-duty mode will be adjusted to the state before the off-duty mode was activated.

[0226] for Fig.14 The method shown is to first start the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen theme in the system setting information are respectively started, and the notification permissions of the specified application are adjusted; then start the sports mode, then the Bluetooth + data traffic + positioning + volume adjustment in the system setting information are respectively started, and the notification permissions of some applications in the sports mode that do not overlap with the off-duty mode are adjusted; If you turn off the off-duty mode again, the ringtone + WLAN + NFC + casual lock screen theme in the system setting information will be restored to the state before the off-duty mode was activated, and the notification permissions of some applications in the off-duty mode that do not overlap with the sports mode will be adjusted to the state before the off-duty mode was activated; if you turn off the sports mode again, the Bluetooth + data traffic + positioning + volume adjustment in the system setting information will be restored to the state before the sports mode was activated, and the notification permissions of the specified applications in the sports mode will be adjusted to the state before the off-duty mode was activated.

[0227] Through the above method, a system setting information adjustment mechanism is implemented when the electronic device switches modes, and mandatory adjustment, fine-tuning compatibility, and recommended adjustment are performed according to various situations to ensure smooth use of the electronic device after mode switching.

[0228] The above-mentioned device control method provided in the embodiment of the present application can solve the pain point that due to the increasingly diverse work and life scenarios of people, several modes of the mobile phone control center (flight mode, dark mode, power saving mode, etc.) are not enough to meet user needs, while facilitating user operations and improving operating efficiency.

[0229] It is understandable that the device control method of the embodiment of the present application can be applied to the user's setting requirements for electronic devices in any scenario, including but not limited to the aforementioned pain point scenario. The following further illustrates the scenarios to which the device control method of the embodiment of the present application may be applicable.

[0230] Scenario 1: The user needs to switch scenes quickly.

[0231] For example, Xiao Wang sometimes shows his phone to others to check messages, but he is worried that chats with friends and notifications from apps will suddenly pop up and leak his privacy. If he sets the hidden banner notification content before showing his phone, it will take time, but hiding it at other times will be inconvenient for him to use the phone. If you can preset a "loan mode" in your phone as a custom scene mode, that is, hide the lock screen notification content + hide the banner notification content, and provide an icon with "loan mode" in the control center interface, which can be used to turn on and off the "loan mode" with one click, you can switch it with one click to prevent others from seeing the pop-up message notification content when they are looking at the phone interface.

[0232] Scenario 2: The user has several frequently used scene modes, which need to be changed frequently.

[0233] As personal status changes, you need to switch scenes back and forth, and it is troublesome to adjust them manually one by one each time.

[0234] For example, during work, Xiao Li usually sets his phone to vibrate mode, turns off the media volume, hides the lock screen notification content, turns on WLAN to connect to the company network, turns off the data network, and disables notification permissions for entertainment and leisure applications, so as to avoid being disturbed by too many non-emergency messages during work.

[0235] In order to receive timely messages from family members after get off work, I will set my phone to ring mode, turn up the volume for media and incoming calls, open the lock screen notification content, turn on the data network, turn on Bluetooth to facilitate scanning shared bicycles, and turn on NFC on my phone to facilitate taking the subway.

[0236] Every day I adjust the various settings in the control center, which is very troublesome. Sometimes I miss one or two, which causes the message sound to be very loud during meetings, missed calls from family members, and the subway cannot be refreshed and I have to exit and restart it.

[0237] At this time, you can set custom scene modes such as "work mode" and "off work mode" in your mobile phone to achieve one-click switching of mobile phone settings when going to and from get off work.

[0238] Scenario 3: Xiaohong likes to go to the theater to watch a play after get off work. Every time she goes to the theater, she will set her phone to silent mode, do not disturb, dark mode, and dark lock screen, and turn off notification screen light prompts to avoid the screen suddenly lighting up after receiving messages or unlocking the phone. After the performance, she will adjust the parameters back.

[0239] At this time, you can set the "theater mode" on your mobile phone, start the "theater mode" after going to the theater, and turn off the "theater mode" after leaving the theater.

[0240] An embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the processor is used to execute the method provided in the embodiment of the present application.

[0241] The embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment of the present application.

[0242] The embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method provided by the embodiment of the present application.

[0243] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0244] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0245] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0246] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.

[0247] The above is only a specific implementation of the present application. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A device control method, characterized in that: Applied to electronic equipment, the method comprises: Upon receiving a request for creating a new scene mode, a first interface is displayed, where the first interface is used to support a user to set the scene mode; the first interface includes a first control; Receiving a selection operation for the first control, generating a first scene mode based on setting information in the first interface; When the first scene mode is in an off state, a request to start the first scene mode is received, and system setting information of the electronic device is adjusted according to first setting information of the first scene mode.

2. The method according to claim 1, characterized in that After receiving the request to start the first scene mode and adjusting the system setting information of the electronic device according to the first setting information of the first scene mode, the method further includes: Upon receiving a request to close the first scene mode, restoring a parameter value of a first setting item in the system setting information to a parameter value before the first scene mode is started, the first setting item being a setting item included in the first setting information.

3. The method according to claim 1, characterized in that: After receiving the request to start the first scene mode and adjusting the system setting information of the electronic device according to the first setting information of the first scene mode, the method further includes: A request to start a second scene mode is received, and the system setting information is adjusted according to second setting information of the second scene mode.

4. The method according to claim 3, characterized in that After receiving the request to start the second scene mode and adjusting the system setting information according to the second setting information of the second scene mode, the method further includes: Upon receiving a request to close the first scene mode, the parameter value of the second setting item in the system setting information is restored to the parameter value before the first scene mode is started; the second setting item is a setting item included in the first setting information but not included in the second setting information.

5. The method according to claim 4, characterized in that After receiving the request to close the first scene mode and restoring the parameter value of the second setting item in the system setting information to the parameter value before the first scene mode is started, the method further includes: Upon receiving a request to close the second scene mode, the parameter value of the third setting item in the system setting information is restored to the parameter value before the first scene mode is started, or the parameter value of the third setting item in the system setting information is restored to the parameter value before the second scene mode is started; the third setting item is a setting item included in the second setting information.

6. The method according to claim 3, characterized in that After receiving the request to start the second scene mode and adjusting the system setting information according to the setting information of the second scene mode, the method further includes: Upon receiving a request to close the second scene mode, restoring the parameter value of the third setting item in the system setting information to the parameter value before the second scene mode is started; the third setting item is a setting item included in the second setting information.

7. The method according to any one of claims 1 to 6, characterized in that: Also includes: Displaying a second interface, where the second interface includes a second control, where the second control is used to trigger editing of first setting information of the first scene mode; Detecting a selection operation for the second control, displaying a third interface, the third interface is used to support the user to edit the first setting information of the first scene mode; the third interface includes a third control; A selection operation for the third control is received, and first setting information of the first scene mode is updated based on the setting information in the third interface.

8. The method according to any one of claims 1 to 6, characterized in that: The receiving a request for creating a new scene mode and displaying a first interface includes: The first application displays a fourth interface, the fourth interface includes a fourth control, and the fourth control is used to trigger a new scene mode; the first application detects a selection operation for the fourth control and displays the first interface; or The first application receives the request for creating a new scene mode sent by the second application and displays the first interface; the request for creating a new scene mode is sent by the second application when detecting a user operation requesting to create a new scene mode.

9. The method according to any one of claims 1 to 6, characterized in that: The adjusting the system setting information of the electronic device according to the first setting information of the first scenario mode includes: When the parameter value of the fourth setting item in the first setting information conflicts with the parameter value of the fifth setting item in the system setting information, the parameter values ​​of the fourth setting item and / or the fifth setting item in the system setting information are adjusted according to a preset conflict handling rule.

10. The method according to claim 9, characterized in that The adjusting the parameter value of the fourth setting item and / or the fifth setting item in the system setting information according to the preset conflict handling rule includes: Displaying a fifth interface, wherein the fifth interface is used to prompt a conflict event between the first setting information and the system setting information, and provide a parameter value adjustment method for the fourth setting item and / or the fifth setting item; the adjustment method is determined according to the preset conflict handling rule; A selection operation for the adjustment method is received, and parameter values ​​of the fourth setting item and / or the fifth setting item in the system setting information are adjusted according to the adjustment method.

11. The method according to any one of claims 1 to 6, characterized in that: Also includes: When it is detected that a parameter value of the sixth setting item in the setting information in the first interface conflicts with a parameter value of the seventh setting item, a sixth interface is displayed, wherein the sixth interface is used to prompt a conflict event between the parameter value of the sixth setting item and the parameter value of the seventh setting item, and to provide a method for adjusting the parameter value of the sixth setting item and / or the seventh setting item; A selection operation for the adjustment method is received, and parameter values ​​of the sixth setting item and / or the seventh setting item in the first scene mode are adjusted according to the adjustment method.

12. An electronic device, characterized in that: include: Processor, memory; One or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the processor, enable the electronic device to perform the method according to any one of claims 1 to 11.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 11.

14. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Smart scene configuration method and device

    CN104898505A

  • Control method and apparatus of electronic device

    CN105278986A

  • Method for switching scene mode, and mobile terminal

    CN107888765A

  • Scene mode generation method and device, equipment and storage medium

    CN114968036A

  • Method and device for customizing scene mode of vehicle-mounted equipment

    CN115257594A

Cited By

  • Equipment multi-mode implementation method and electronic equipment

    CN122027737A