Device control method and electronic device
Through the device control method of customizing scene modes and conflict handling rules, the problem of insufficient setting requirements for existing electronic devices in diverse scenarios is solved, and the user's setting efficiency and experience are improved.
Patent Information
- Application Number
- CN202411918698.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2044-12-25
AI Technical Summary
The inherent scenario mode of existing electronic devices cannot meet users' settings needs in diverse scenarios, resulting in users' cumbersome operations and affecting their user experience.
It provides a device control method that allows users to customize scene modes and set the setting information of scene modes through the interface, supports the simultaneous start and close of multiple custom scene modes, realizes one-click start and restores the original state, and provides conflict handling rules to avoid setting information conflicts.
It improves the user's setting efficiency and flexibility in different scenarios, simplifies the operation process, and improves the user experience.
Smart Images

Figure CN119363877B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart terminals, and in particular to a device control method and an electronic device. Background Art
[0002] To accommodate users' diverse preferences for electronic device settings in different scenarios, electronic devices (such as mobile phones) offer several scene modes for users to choose from. These scene modes include airplane mode, dark mode, and power saving mode. Users can select a scene mode, and the electronic device will then adjust its settings accordingly, enabling one-click configuration 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 tedious 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 efficiency in setting up the electronic device in different scenarios, meet the user's setting needs, and enhance the user's usage experience.
[0005] In a first aspect, an embodiment of the present application provides a device control method, which is applied to an electronic device, the method comprising: receiving a request to create a new scene mode, displaying a first interface, the first interface being used to support a user in setting the scene mode; the first interface comprising 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 to start the first scene mode with one click when needed, 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 usage experience.
[0006] In some embodiments, the first interface may be, for example, a new interface for creating a custom scene mode in subsequent embodiments, and the first control may be, for example, a completion control in the new interface. The user's settings for the scene mode in the first interface may include setting a scene name, the setting items included in the scene mode, and their parameter values. The setting information in the first interface may be generated based on the user's operations in the first interface.
[0007] In one possible implementation, after receiving a request to activate a first scenario mode and adjusting system setting information of the electronic device according to first setting information of the first scenario mode, the method further includes: receiving a request to deactivate the first scenario mode, restoring a parameter value of a first setting item in the system setting information to a parameter value before the first scenario mode was activated, where the first setting item is a setting item included in the first setting information. In this method, when the user no longer needs to activate the first scenario mode and thus deactivates the first scenario mode, the first setting item in the system setting information that was adjusted due to the activation of the first scenario mode is restored to its parameter value before the activation of the first scenario mode, thereby facilitating user operation, improving user setting efficiency, and enhancing user experience.
[0008] In one possible implementation, after receiving a request to activate a first scenario mode and adjusting the system settings of the electronic device according to first setting information of the first scenario mode, the method further includes: receiving a request to activate a second scenario mode and adjusting the system settings according to second setting information of the second scenario mode. The second scenario mode may also be a scenario mode customized by the user using a method similar to the first scenario mode. This method supports two customized scenario modes being activated simultaneously, thereby meeting the user's setting requirements in more scenarios, making the user's system settings of the electronic device more flexible and diverse, thereby facilitating user operation, improving user setting efficiency, and enhancing the user experience.
[0009] In one possible implementation, after receiving a request to activate a second scene mode and adjusting system setting information according to second setting information of the second scene mode, the method further includes: receiving a request to deactivate the first scene mode, restoring the parameter value of a second setting item in the system setting information to the parameter value before the first scene mode was activated; the second setting item is a setting item included in the first setting information but not included in the second setting information. This method supports the case where two custom scene modes are activated simultaneously and the user first deactivates the scene mode activated first. In this case, the parameter value of the second setting item in the system setting information is restored to the parameter value before the first scene mode was activated. 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. This satisfies the needs of users who still have the electronic device in the second scene mode, facilitates user operation, improves user setting efficiency, and enhances user experience.
[0010] In one possible implementation, after receiving a request to disable 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 was activated, the method further includes: receiving a request to disable the second scene mode and restoring the parameter value of the third setting item in the system setting information to the parameter value before the first scene mode was activated, or restoring the parameter value of the third setting item in the system setting information to the parameter value before the second scene mode was activated; the third setting item is a setting item included in the second setting information. In this method, when two custom scene modes are simultaneously activated and the user first disables the first scene mode that was activated first, the method supports the user to disable the second scene mode later, thereby meeting the user's need to exit the second scene mode of the electronic device, facilitating user operation, improving user setting efficiency, and enhancing user experience.
[0011] In one possible implementation, after receiving a request to activate 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 deactivate the second scene mode, restoring the parameter value of a third setting item in the system setting information to the parameter value before the second scene mode was activated; the third setting item is a setting item included in the second setting information. This method supports the case where two custom scene modes are activated simultaneously, and the user first deactivates one of the two and then activates the second scene mode. In this case, the parameter value of the third setting item in the system setting information is restored to the parameter value before the second scene mode was activated. In other words, the setting items included in the second setting information in the system setting information are restored to the parameter value before the second scene mode was activated. This satisfies the needs of users whose electronic devices are still in the first scene mode, facilitates user operation, improves user setting efficiency, and enhances user experience.
[0012] In one possible implementation, the method further includes: displaying a second interface, the second interface including a second control, the second control being used to trigger editing of the first setting information of the first scene mode; detecting a selection operation on the second control, displaying a third interface, the third interface being used to support the user in editing the first setting information of the first scene mode; the third interface including a third control; and upon receiving a selection operation on the third control, updating the first setting information of the first scene mode based on the setting information in the third interface. This method provides a method for a user to re-edit the first setting information of a custom scene mode, i.e., the first scene mode, thereby making the setting information of the custom scene mode more aligned with the user's potentially changing needs, facilitating user operation, improving user setting efficiency, and enhancing the user experience.
[0013] In one possible implementation, receiving a request to create a new scene mode and displaying a first interface may include: 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 to create a new scene mode sent by a second application and displays the first interface; the request to create a new scene mode is sent by the second application upon detecting a user operation requesting a new scene mode. This method supports users triggering a new scene mode in the first application, and may also support users triggering 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 first application may be a settings application in subsequent embodiments, and the second application may be a control center application in subsequent embodiments.
[0014] In one possible implementation, adjusting the system setting information of an electronic device based on first setting information for a first scenario mode includes: when a parameter value of a fourth setting item in the first setting information conflicts with a parameter value of a fifth setting item in the system setting information, adjusting the parameter values of the fourth setting item and / or the fifth setting item in the system setting information according to a preset conflict resolution rule. This method provides a solution to conflicts that may arise when adjusting the system setting information of the electronic device based on the first setting information for the first scenario mode, thereby preventing conflicts between user-defined scenario mode setting information and system setting information, and improving the user experience.
[0015] In one possible implementation, adjusting the parameter values of the fourth and / or fifth setting items in the system setting information according to a preset conflict handling rule includes: displaying a fifth interface that indicates a conflict between the first setting information and the system setting information and provides a method for adjusting the parameter values of the fourth and / or fifth setting items; determining the adjustment method according to the preset conflict handling rule; and receiving a selection operation for the adjustment method, adjusting the parameter values of the fourth and / or fifth setting items in the system setting information according to the adjustment method. In this method, the user selects the adjustment method, thereby making the system settings of the electronic device more aligned with the user's needs and improving the user experience.
[0016] In one possible implementation, the method further includes: upon detecting that a conflict exists between the parameter value of the sixth setting item and the parameter value of the seventh setting item in the setting information on the first interface, displaying a sixth interface, the sixth interface being 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 providing a method for adjusting the parameter value of the sixth setting item and / or the seventh setting item; and upon receiving a selection operation for the adjustment method, adjusting the parameter value of the sixth setting item and / or the seventh setting item in the first scene mode according to the adjustment method. This method provides a solution to possible conflicts that may occur in the first setting information of the first scene mode, thereby preventing conflicts between setting items in the setting information of the user-defined scene mode 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, which, when executed by the processor, enable the electronic device to execute 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 one 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, enables the computer to execute any one of the methods 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 following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0021] Figure 1 A schematic diagram of the control center interface provided in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a software structure of an electronic device provided in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of an interface implementation of the device control method provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of a second interface implementation of the device control method provided in an embodiment of the present application;
[0026] Figure 6A to Figure 6C A schematic diagram illustrating a third interface implementation of the device control method provided in an embodiment of the present application;
[0027] Figure 7 A schematic diagram illustrating a fourth interface implementation of the device control method provided in an embodiment of the present application;
[0028] Figure 8A-8B A schematic diagram illustrating a fifth interface implementation of the device control method provided in an embodiment of the present application;
[0029] Figure 9A-9B A schematic diagram illustrating a sixth interface implementation of the device control method provided in an embodiment of the present application;
[0030] Figure 10 A first flow chart of the device control method provided in an embodiment of the present application;
[0031] Figure 11 A second flow chart of the device control method provided in an embodiment of the present application;
[0032] Figure 12A A third flow chart of the device control method provided in an embodiment of the present application;
[0033] Figure 12B A fourth flow chart of the device control method provided in an embodiment of the present application;
[0034] Figure 13 A fifth flow chart of the device control method provided in an embodiment of the present application;
[0035] Figure 14 This is a sixth flow chart of the device control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] 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.
[0037] In electronic devices, electronic device settings can be achieved by setting settings items. Settings items can be considered menus or items used to adjust the behavior, settings, and options of electronic devices. For example, electronic device settings items may include: settings for hardware such as the electronic device's power management policy, brightness adjustment, or touch screen sensitivity; settings for software such as applications in the electronic device; settings for the network; settings for display (such as screen resolution, color depth, and refresh rate); and settings for sound (such as volume, equalizer, and audio input and output devices). By setting different settings items in an electronic device, device capabilities can be adjusted and optimized, helping users customize the behavior of the electronic device according to their personal needs and preferences. In related art, settings items of an electronic device may also be referred to as system settings items of the electronic device, parameters of the electronic device, or system parameters. Specific setting information of a setting item may also be referred to as the setting content, parameter value, or status value of the setting item. The setting items of an electronic device and their parameter values may also be collectively referred to as system settings of the electronic device, system setting information of the electronic device, or setting information of the electronic device. In the embodiments of the present application, the configuration of an electronic device can be considered as the configuration of the aforementioned system configuration information. Specifically, each configuration of the electronic device can be considered as the configuration of parameter values for several configuration items in the system configuration information, and can also be referred to as the system configuration of the electronic device. In some embodiments, since the configuration items in the system configuration information generally have parameter values (default parameter values or user-set parameter values), the configuration of the configuration item parameter values can also be referred to as the adjustment of the configuration item parameter values.
[0038] In some embodiments, to accommodate users' varying preferences for setting items in different scenarios, electronic devices provide users with several scene modes to choose from. Users can select a scene mode, and the electronic device can adjust the corresponding setting items in the system setting information based on the setting information for the user-selected scene mode (including one or more setting items and their parameter values), enabling one-touch setting of multiple setting items in the electronic device.
[0039] 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.
[0040] 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 settings of the setting items, and can only independently set different setting items through tedious operations, which affects the user experience.
[0041] The following are examples of possible pain point scenarios.
[0042] Pain point scenario 1: Users may need to lower the brightness of their phones and mute their phones in places such as cinemas, concert halls, and theaters. In this case, users need to set their phones to dark mode and set the phone to silent mode. 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 phone 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 further operate to lower the brightness of the lock screen wallpaper.
[0043] Pain point scenario 2: When users switch between work and personal life, they may need to change their phone settings accordingly. For example, they might turn down the volume and change the lock screen to a more mature wallpaper while at work; after get off work, they might turn up the volume, enable NFC, Wi-Fi, Bluetooth, and do not disturb work app messages. However, users can only manually adjust different settings to achieve this.
[0044] 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 settings, which is cumbersome and inconvenient to use, affecting the user experience of electronic devices.
[0045] 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 enhance the user's usage experience.
[0046] The device control method of the embodiment of the present application can be applied to electronic devices such as mobile phones, personal computers (PCs), tablet computers (PADs), wearable devices, smart screens, etc.
[0047] Figure 2 A schematic structural diagram of the electronic device 100 is shown.
[0048] The electronic device 100 may include a processor 110 , an internal memory 121 , and a display screen 194 .
[0049] In some embodiments, the electronic device 100 may further 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.
[0050] It should be understood that the structure illustrated in the embodiments 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0051] 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 processing unit (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). The different processing units may be independent devices or integrated into one or more processors.
[0052] 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.
[0053] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0054] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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.
[0055] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0056] 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 provides power to the processor 110, the internal memory 121, the display 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 count, and battery health status (leakage, impedance). 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.
[0057] 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.
[0058] 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0059] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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.
[0060] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted 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 being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the 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.
[0061] 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0062] 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 a 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).
[0063] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0064] Display screen 194 is used to display images, videos, and the like. 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 (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0065] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0066] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization for image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0067] 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 light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion 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.
[0068] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0069] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0070] The NPU is a neural-network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0071] 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 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0072] 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.
[0073] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0074] 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 provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0075] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0076] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0077] Microphone 170C, also known as "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 the microphone 170C to input the sound signal into the 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 source of sound, realize directional recording function, etc.
[0078] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0079] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0080] 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.
[0081] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0082] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it 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.
[0083] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this 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.
[0084] Figure 3 The following is a block diagram of the software structure of an electronic device provided in an embodiment of the present application. A layered architecture divides software into several layers, each with distinct roles and divisions of labor. Layers communicate with each other via software interfaces. Taking the Android system as an example, in some embodiments, the Android system is divided into five layers: the application layer, the application framework layer, the system library and Android runtime layer, the hardware abstraction layer (HAL), and the kernel layer.
[0085] 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.
[0086] In the embodiments of the present application, the primary function of the Settings application is to support user personalization, system management, security and privacy settings, and developer options for electronic devices, thereby helping users customize and optimize their electronic device experience. The Settings application is used to manage and store system settings information for electronic devices (including various settings and their parameter values), and can provide users with an interface for viewing and configuring settings.
[0087] In an embodiment of the present application, a control center application is used to provide a control center interface for the user. The control center interface is an interface for the user to quickly access and control the setting items of the electronic device. When any interface is displayed on the screen, the user can quickly access the control center interface through preset operations, such as swiping up from the bottom edge of the screen, or swiping from the upper right corner of the screen to the lower left, etc., 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 user's adjustment (i.e., setting) of the parameter values of the setting items 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.
[0088] 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.
[0089] 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.
[0090] The system library and Android runtime layer include the system library and the Android runtime. The system library can include multiple functional modules, such as a surface manager, a 2D graphics engine, a 3D graphics processing library (e.g., OpenGL ES), a media library, and a font library. The browser kernel is responsible for interpreting web page syntax (e.g., HTML and JavaScript in Standard Generalized Markup Language) and rendering (displaying) the web page. The 2D graphics engine is used to implement 2D graphics drawing, image rendering, compositing, and layer processing. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing. The media library is used to implement the input of various streaming media. The font library is used to implement the input of various fonts. The Android runtime is responsible for scheduling and management of the Android system and specifically includes the core library and the virtual machine. The core library consists of two parts: one for the functions required to be called by the Java language and the other for the Android core library. The virtual machine is used to run Android applications developed in Java.
[0091] The HAL layer is the interface between the operating system kernel and the hardware circuitry. The HAL layer includes, but is not limited to, the Audio Hardware Abstraction Layer (Audio HAL) and the Camera Hardware Abstraction Layer (Camera HAL). The Audio HAL processes audio streams, for example, by performing noise reduction and directional enhancement, while the Camera HAL processes image streams.
[0092] The kernel layer is the layer between hardware and software. The kernel layer may include: display driver, camera driver, audio driver, sensor driver, etc.
[0093] Hereinafter, the embodiments of the present application will be described in detail in conjunction with the structure of the above-mentioned electronic device.
[0094] 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 settings application.
[0095] 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.
[0096] For the sake of convenience, in the embodiments of the present application, the user-defined scene mode is referred to as the 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.
[0097] In some embodiments, the settings application can provide users with scene mode customization functions and provide users with a related interface for customizing scene modes, allowing users to view, set, create, edit, and other processes for customizing scene modes. Figures 4 to 8B shown.
[0098] It should be noted that, in the following embodiments, the following Figures 4 to 8B In other embodiments, other applications may also provide users with the interface shown. Figures 4 to 8B Alternatively, other apps and settings apps provide Figures 4 to 8B In other words, the device control method of the embodiment of the present application does not limit the specific application of the following interface, as long as the user can set the system setting information based on the following interface.
[0099] like Figure 4 As shown, the settings application can provide users with a display interface for customized scene modes, such as shown in interface 410. The customized scene mode is called "My Scene Mode" in the display interface, and the customized scene mode can be displayed in the display interface. For example, the customized scene modes displayed in interface 410 include: theater mode, off-duty mode, sports mode and work mode.
[0100] like Figure 4 As shown, the display interface of the custom scene mode may also include: a new scene mode control, such as the control 411 in the interface 410, which is used by the user to trigger the creation of a new custom scene mode. The user selects the new scene mode control such as the control 411 by clicking, etc., and accordingly, the settings application detects the user's selection operation for the new scene mode control. In other words, the settings application receives the request to create a new scene mode and displays the new interface of the custom scene mode, such as Figure 4 The interface 420 in the custom scene mode creation interface is used to allow the user to set the custom scene mode name and custom scene mode setting information. The custom scene mode name is used to display the custom scene mode to the user, such as the aforementioned theater mode and off-duty mode. The custom scene mode setting information 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.
[0101] 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, which is used to support the user to enter the name of the custom scene mode. The name of the custom scene mode can also be referred to as the scene name. In some embodiments, the name input control shown in the text box 421 may display a prompt message, such as the "scene name" in 4, to prompt the user to enter the information in the control. For example Figure 6A In the example, the scene name entered by the user in the text box 421 is: sleep mode.
[0102] 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.
[0103] Area 1 is used to display the settings selected by the user for the newly created custom scene mode, which can also be called selected settings. Area 2 is used to display the settings that the user can select for the newly created custom scene mode, which can also be called optional settings. The optional settings may include some or all of the settings provided by the electronic device for the user and can be set by the user, for example, some or all of the settings of the electronic device managed by the settings application.
[0104] In some embodiments, because there are many setting items in an 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. Examples of setting items in the electronic device are shown in Table 1 below, which shows the first-level setting items and second-level setting items of the electronic device, and does not show third-level setting items and lower-level setting items.
[0105]
[0106] Table 1
[0107] For the hierarchically managed settings described above, some higher-level settings may not have specific parameter values but instead include multiple lower-level settings. In this case, the parameter values of the higher-level settings can be considered to be the parameter values of the lower-level settings and their respective values. For example, the first-level setting item "Status" may include second-level settings such as Bluetooth, Wi-Fi, mobile network, and Personal Hotspot, as well as the parameter values of each second-level setting item.
[0108] To facilitate user understanding and settings, the present application embodiment can categorize the setting items in the electronic device. This categorization can be either a single-level categorization or a multi-level categorization, which is not limited in the present application embodiment. For example, as shown in Table 2 below, the setting items in Table 1 are categorized into four categories: status, display, sound and vibration, notification, and application permissions.
[0109]
[0110] Table 2
[0111] 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 according to category, such as Figure 4 As shown in middle interface 420, area 1 is configured with subareas corresponding to the four categories in Table 1. Each subarea displays selected settings within the corresponding category. It will be appreciated that upon initial entry into the new interface of custom scene mode, the subareas for each category may be empty, meaning they do not contain any selected settings, as the user has not performed any operation. As the user continues to operate, selected settings may gradually be added to the subareas for each category.
[0112] In some embodiments, in order to facilitate user understanding and viewing, the optional 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 each of the four categories in Table 1 are displayed.
[0113] In order to facilitate user viewing, area 2 can 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 application, and this embodiment of the application does not limit it. Still taking Table 2 as an example, see Figure 4 In interface 420, since the status category only includes one first-level setting item, for the status category, area 2 directly displays the second-level 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 first-level setting items under each category respectively, and for the sound and vibration category, area 2 displays the first-level setting items under the category and the second-level setting item "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.
[0114] 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 values 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 to view and select.
[0115] For example Figure 4 As shown in , for each setting item displayed in area 2, a corresponding detail query control is set, for example Figure 4 The middle control 422 is a detail query control corresponding to the optional setting item "Bluetooth", and the control 423 is a detail query control corresponding to the "Notification Method".
[0116] If the user selects the detail query control of the setting item in area 2 by clicking or other operations, 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. The interface 430 displays a control 431 of the "Bluetooth" setting item, which is used to indicate that the optional parameter values of the "Bluetooth" setting item include: start, stop. 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-on prompt, lock screen notification content, and banner notification content. It also displays the detail query control of each secondary setting item, such as the detail query control 441 of the notification screen-on prompt, which is used for users to trigger a new interface through the control to view the specific content of the secondary setting item. The specific display method can be referred to interface 430 and interface 440, for example, and will not be repeated here.
[0117] Through the above display mode, the user can view the specific content of the optional setting items step by step. 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 at different levels can be used as optional setting items for the user to choose.
[0118] like Figure 4 and Figure 5As shown, for the optional setting items displayed in area 2 of the new interface for the custom scene mode, corresponding selection controls can be set for each of them. 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 setting item, if it includes optional setting items, a corresponding selection control can also be set for each optional 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.
[0119] 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 will not be listed one by one here.
[0120] 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. Figure 6A As shown, the user can click the selection control of the "Bluetooth" setting item, that is, the control 424, and then the "Bluetooth" setting item can be displayed in the sub-area corresponding to the status category.
[0121] Optionally, each alternative setting item displayed in area 2 may be initially in an optional state. When the user clicks the 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. Figure 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.
[0122] like Figure 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 settings 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 a selectable state. Figure 6B Taking the case where the user clicks the remove control 426 corresponding to the “Bluetooth” setting item as an example, 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.
[0123] It should be noted that Figure 6A and Figure 6B In the example above, the user selects the optional setting items in the new interface of the custom scene mode. In other embodiments, the user can also select the low-level optional setting items in the details display interface of a certain optional setting item. In other words, the user can select the optional setting items of any level. When the user selects a higher-level optional setting item, the lower-level optional 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 optional setting items it includes, such as the next-level "Notification screen light prompt", "Lock screen notification content", "Amplitude notification content" and other optional settings are all selected.
[0124] Similar to area 2, in order to facilitate user viewing, the sub-areas of each category in area 1 can only display the higher-level selected setting items, and the lower-level selected setting items included in the higher-level selected setting items can be viewed and set by the user through the control triggering a new interface. 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 for the "Bluetooth" setting item is provided. When a user clicks setting control 427, the settings application can detect the selection operation for the "Bluetooth" setting item and display a setting interface for the selected setting item, such as shown in interface 450. In the setting interface for the selected setting item, the user can set the parameter value of the setting item.
[0125] In some embodiments, the selected setting items displayed in area 1 may have default parameter values. The user can click the corresponding setting control to trigger the setting interface of the selected setting items and adjust the parameter values of the selected setting items or the parameter values of the subordinate setting items of the selected setting items.
[0126] It should be noted that when the user sets the selected setting item, if a parameter value conflict event 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 prompt information of the conflict event to the user, the setting application can further prompt the cause of the conflict, and / or provide the user with several adjustment methods for the conflicting setting items based on the conflicting setting items and preset conflict handling rules. The above adjustment methods may, for example, include prompts for the settable parameter value range 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 items. If the adjustment method provided by the settings application to the user includes clear parameter values for the setting items, the settings application may also provide the user with controls 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 may automatically adjust the parameter values of the conflicting setting items according to the adjustment method.
[0127] 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 be 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 be "on", the settings application can prompt the user of the setting conflict by displaying an interface or a dialog box. The specific prompt information can be, for example,: 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.
[0128] The following is an example of possible combinations of setting items in different custom scene modes:
[0129] 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;
[0130] Work mode: Enable silent mode, enable work lock screen theme, and enable some app locks.
[0131] Off-duty mode: turn on the ringer, turn on WLAN, turn on NFC, turn on the casual lock screen theme, and turn on Do Not Disturb for some apps;
[0132] Sports mode: turn on Bluetooth + turn on positioning + adjust volume + turn off some app notification permissions;
[0133] Outdoor travel mode: turn up the volume + turn on positioning + turn on automatic brightness adjustment;
[0134] Loan mode: Turn off lock screen notifications and banner notifications.
[0135] After the user thinks that the settings of the newly created custom scene mode are completed, the user can click the completion control set in the new interface, such as 4~ Figure 6C As shown in the control 428 in , accordingly, 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 of interface 410.
[0136] Combination of the above Figures 4 to 6C This illustrates how users can create custom scene modes. Users can customize settings through a graphical editing interface to create scene modes that meet their needs. It's understood that the "Theater Mode," "Off-Duty Mode," "Sports Mode," and "Commute Mode" shown in interface 410 can all be created by users using similar methods.
[0137] 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, for the user to 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.
[0138] exist Figure 7In the embodiment shown, the selection control can 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.
[0139] In some embodiments, the present application embodiment can support the user to select a custom scene mode at a time, and multiple custom scene modes cannot be selected at the same time. Figure 7 As shown, if the theater mode is selected, other custom scene modes cannot be selected. You need to adjust the theater mode to the unselected state before selecting other custom scene modes.
[0140] 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 freely switch between controlling the electronic device in states such as not being in a custom scene mode, being in one custom scene mode, or being in multiple custom scene modes.
[0141] 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 theater mode and off-duty mode at the same time. Afterwards, the user can switch the theater mode from selected to unselected, so that the electronic device is switched to off-duty mode, and then can switch the off-duty mode from selected to unselected again, so that the electronic device is switched to not being in any custom scene mode. Alternatively, when the electronic device is in theater mode and 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 theater mode, off-duty mode and sleep mode at the same time, and so on. Other possible operations and switching methods are not listed here one by one.
[0142] It should be noted that when a custom scene mode is switched from unselected to selected, the settings application can adjust the system settings of the electronic device based on the setting information of the custom scene mode. In this case, a parameter value conflict may occur between the adjusted system settings and the unadjusted system settings. In this case, the settings application can prompt the user of the conflict event. The settings application can prompt the user in a pop-up interface or dialog box, for example, and display a prompt information of the conflict event in the interface or dialog box. In some embodiments, in addition to displaying a prompt information of the conflict event to the user, the settings application can further prompt the cause of the conflict and / or provide the user with several adjustment methods for the conflicting settings based on the conflicting settings and preset conflict handling rules. The above adjustment methods may include, for example, prompts for the range of configurable parameter values of the conflicting settings, or setting combinations between the conflicting settings, to facilitate user operation. If the adjustment method provided by the settings application to the user includes a clear parameter value for the setting item, the settings application can also provide the user with a control corresponding to the adjustment method in the pop-up interface or dialog box. When the user selects the control, the settings application can adjust the parameter value of the setting item according to the adjustment method corresponding to the control.
[0143] 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 "Do Not Disturb". At this time, the settings application can prompt the user of the setting conflict by displaying an interface or a dialog box. The specific prompt information can be, for example,: Do Not Disturb and Notification Screen Light Up Prompt cannot be turned on at the same time, it is recommended to turn off Do Not Disturb, turn on Mute and Notification Screen Light Up Prompt. 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 Prompt" 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 Prompt", and can turn off "Do Not Disturb" in the system setting information and turn on "Mute" and "Notification Screen Light Up Prompt" according to the adjustment method.
[0144] Embodiments of the present application may also provide users with a detailed view function for custom scene modes. For example, a corresponding detailed view control may be provided for each custom scene mode in the display interface for custom scene modes. When a user clicks the detailed view control corresponding to a custom scene mode, the settings application may detect the selection of the detailed view control, i.e., receive a request to view the details of the custom scene mode, and may display the detailed display interface for the custom scene mode.
[0145] For example Figure 8A Control 414 is the details view control for Theater mode. The details view controls for Off-duty mode, Sports mode, and Work mode are not listed here. When the user clicks control 414, the Settings app can display the details display interface for Theater mode, such as interface 460.
[0146] 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 theater mode.
[0147] 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.
[0148] In some embodiments, in order to enable users to re-edit the setting information of the established custom scene mode, an "Edit" control may be provided in the custom scene mode details display interface to support users 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.
[0149] The user can click on the "Edit" control shown as control 461, and accordingly, the settings application can detect the editing request for the custom scene mode, such as theater mode, and display the editing interface of 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.
[0150] In some embodiments, as 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. 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.
[0151] For the method and interface implementation for users to edit the setting information of the custom scene mode in the custom scene mode editing interface, please refer to the relevant instructions in the new interface of the custom scene mode, which will not be repeated here.
[0152] The custom scene mode editing interface may include a "Done" 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, they can click the "Done" control, such as shown in control 471. The settings application detects the selection operation for the "Done" control, that is, receives the request to complete the editing 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 update method is not further described.
[0153] In other embodiments, the control center interface provided by the electronic device to the user may also display the user's customized scene mode, for example Figure 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 established by the user are displayed, such as an icon for theater mode, an icon for off-duty mode, and an icon for sports mode.
[0154] 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.
[0155] In some embodiments, due to the limited area of the display area 481, if the display area 481 cannot display the icons of all custom scene modes established by the user, the user can view the icons of the custom scene modes not displayed in the display area 481 by sliding left and right.
[0156] In some embodiments, the custom scene mode icon can include two states: selected and unselected, corresponding to the selected and unselected states of the custom scene mode, respectively. The user can switch the state of the custom scene mode icon by clicking on the custom scene mode icon, thereby switching the state of the custom scene mode. If the custom scene mode icon is in the selected state, the electronic device is in the custom scene mode; if the custom scene mode icon is in the unselected state, the electronic device is not in the custom scene mode.
[0157] When the user clicks on the icon of a custom scene mode that is not selected, 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 settings application to adjust the system settings information based on the setting information of the custom scene mode. Figure 9AAs shown, the user can click on the unselected Theater Mode icon. Accordingly, the Control Center application can detect the selection operation for Theater Mode, switch the Theater Mode icon to the selected state, and instruct the Settings application to adjust the system settings based on the Theater Mode settings. When the settings 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 settings items included therein can also be switched to the selected state. For example Figure 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 the selected state, the corresponding icons of the do not disturb mode, dark mode, silent mode, etc. are switched to the selected state.
[0158] When the user clicks on the icon of a selected custom scene mode, the control center application can detect the selection operation on the custom scene mode icon, switch the icon of the custom scene mode to an unselected state, and instruct the settings application to adjust the system settings information to the system settings information before the custom scene mode was unselected. Figure 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 the unselected state, and instruct the settings application to adjust the system setting information of the electronic device to the system setting information before the theater mode was 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 was selected. For example Figure 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 the 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 selected before the theater mode is selected, then when the theater mode icon is switched to the unselected state, the dark mode icon can remain unchanged; if the do not disturb mode is unselected before the theater mode is selected, then when the theater mode is switched to the unselected state, the state of the setting item can be switched to the unselected state.
[0159] 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.
[0160] In some embodiments, the control center application can trigger the settings application to display a detailed display interface for a custom scene mode to the user. For example, if a user long-presses the theater mode icon, the control center application can detect a request to view details for theater mode. The control center application can trigger the settings application to display a detailed display interface for theater mode, such as that shown in interface 460, by sending a request or other means.
[0161] In other embodiments, the control center application can obtain the setting information of the custom scene mode from the setting application, and display the custom scene mode details display interface based on the obtained setting information. The custom scene mode details display interface displayed by the control center application can be the same as or different from the details display interface displayed by the setting application. Figure 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, such as that shown in interface 460.
[0162] 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 Figure 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.
[0163] Figure 10 This is a flow chart of a device control method provided by an embodiment of the present application, which is used to create a custom scene mode. Figure 10 As shown, the method may include:
[0164] 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.
[0165] 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 .
[0166] 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 .
[0167] Step 1002: A selection operation for a new creation control is detected, and a new creation interface for a custom scene mode is displayed. The new creation interface includes a completion control for supporting the user to trigger a completion operation for creating a new custom scene mode.
[0168] Among them, the implementation of the new interface of the custom scene mode can refer to the corresponding description in the above embodiment, which will not be repeated here.
[0169] In some embodiments, interface A is an interface provided by a settings application, and this step can be performed by the settings application.
[0170] In some embodiments, interface A is an interface provided by the 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.
[0171] The new interface for customizing the scene mode is shown as interface 420 , and the completion control is shown as control 428 .
[0172] 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.
[0173] 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.
[0174] 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 settings application.
[0175] In some embodiments, the new interface for customizing the scene mode is displayed by a settings application, and this step may be performed by the settings application.
[0176] Figure 10The method shown implements the creation of a custom scene mode, making it easy for users to establish corresponding custom scene modes based on their own usage needs in different scenarios, allowing users to quickly switch custom scene modes in different scenarios, and meet the user's system setting requirements for electronic devices (such as mobile phones) in different scenarios.
[0177] Figure 11 This is a flow chart of the device control method provided in the embodiment of the present application. Figure 11 As shown, the method may include:
[0178] 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.
[0179] The interface B and the interface A may be the same interface or different interfaces.
[0180] 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 .
[0181] 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.
[0182] 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.
[0183] The target custom scene mode here can be any custom scene mode displayed in interface B.
[0184] 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, receive 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.
[0185] 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. 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.
[0186] The details display interface of the target custom scene mode may include an editing control for the user to trigger editing of the setting information of the target custom scene mode.
[0187] Step 1103: Detecting a selection operation on the editing control, and displaying an editing interface for the target custom scene mode.
[0188] 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.
[0189] Among them, the details display interface of the target custom scene mode is displayed by the setting application, then step 1103 can be executed by the setting application, and the details display interface of the target custom scene mode is displayed by the control center application, then step 1103 can be executed by the control center application.
[0190] 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.
[0191] The editing interface may include a completion control, such as control 471 , for the user to trigger the completion of editing the target custom scene mode setting information.
[0192] Step 1104: Detecting a selection operation for the completion control, and updating the setting information of the target custom scene mode according to the setting information in the editing interface.
[0193] The detection of the selection operation for the completion control may also be considered as the receipt of an edit completion request for the target custom scene mode setting information.
[0194] 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.
[0195] Figure 11 The method shown enables user re-editing of the setting information of the custom scene mode, thereby facilitating users 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 user needs change, thereby being more in line with user needs and meeting the user's system setting requirements for electronic devices (such as mobile phones) in different scenarios.
[0196] Figure 12A This is a flow chart of the device control method provided in the embodiment of the present application. Figure 12AAs shown, the method may include:
[0197] Step 1201: Receive a start request for custom scene mode 1.
[0198] In some embodiments, this step may include: displaying interface C, where interface C displays a list of custom scene modes and a selection control for each custom scene mode, and detecting a selection operation on the selection control for custom scene mode 1. Custom scene mode 1 in this step may be any custom scene mode in the list of custom scene modes.
[0199] Among them, interface B and interface C can be the same interface or different interfaces.
[0200] In some embodiments, interface C may be, for example, a display interface for a custom scene mode provided by a settings application, such as interface 410, with selection controls such as control 412 corresponding to theater mode and control 413 corresponding to off-duty mode. The user may switch the selection control for custom scene mode 1 from unselected to selected by clicking or other operations. Accordingly, the settings application may detect the state switching operation of the selection control for custom scene mode 1, i.e., receive a start request for custom scene mode 1, and adjust the system setting information according to the setting information 1 of custom scene mode 1.
[0201] 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, wherein the selection controls may be represented by icons of various custom scene modes. A user may select the icon for custom scene mode 1 (in an unselected state) by clicking or other operations. Accordingly, the control center application may detect the selection operation of the icon for custom scene mode 1 and, based on the state of the icon, may determine that a start request for custom scene mode 1 has been received. The control center application may then send the start request for custom scene mode 1 to the settings application, which may then receive the start request for custom scene mode 1.
[0202] Step 1202: Adjust system setting information according to setting information 1 of custom scene mode 1.
[0203] In some embodiments, this step may be performed by a settings application.
[0204] In some embodiments, before the settings application adjusts the system settings information according to the settings information 1 of the custom scene mode 1 in this step, the system settings information before the adjustment may be stored for use in restoring the system settings information in step 1204. To reduce the amount of data stored, the settings application may store the parameter values of the corresponding setting items in the system settings information before the adjustment based on the setting items included in the settings information 1, so that in step 1204, only the parameter values of the setting items included in the settings information 1 can be restored, thereby reducing the amount of data processing by the settings application.
[0205] 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.
[0206] The method for adjusting the system setting information according to the setting information of the custom scene mode 1 is as follows: Figure 12B As shown, this may include:
[0207] Step S1: Acquire setting information 1 of custom scene mode 1.
[0208] 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.
[0209] In some embodiments, the parameter value matching mentioned above may mean that the parameter values are the same.
[0210] 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.
[0211] 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.
[0212] Step S4: Determine whether the parameter value of the setting item in the setting information 1 conflicts with the parameter values of other setting items in the system setting information. If not, execute step S5; otherwise, execute step S6.
[0213] 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 (setting items other than "Bluetooth").
[0214] 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 this application. It can be implemented using the relevant parameter value conflict detection method.
[0215] 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.
[0216] Step S6: Adjusting the system setting information according to the preset conflict handling rules.
[0217] 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.
[0218] 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.
[0219] In yet other embodiments, one or more adjustment methods may be determined according to preset conflict handling rules, and the adjustment methods may be presented to the user via an interface, allowing the user to select an adjustment method and adjust the system settings according to the selected adjustment method. It should be noted that the aforementioned interface may also prompt the user with a conflict event, information about the conflicting settings, and the cause of the conflict, etc., which is not limited in the present embodiment.
[0220] Step 1203: A closing request for custom scene mode 1 is detected.
[0221] 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, receive 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.
[0222] 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.
[0223] 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 activated.
[0224] For the sake of convenience, the setting items included in the custom scene mode 1 are referred to herein as first target setting items.
[0225] 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 pre-stored information. The specific implementation will not be repeated here.
[0226] 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.
[0227] Figure 12A The method shown enables the user to start and stop the custom scene mode 1, supports the user to start or stop 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.
[0228] Figure 13 This is a flow chart of the device control method provided in the embodiment of the present application. Figure 13 As shown, the method may include:
[0229] Steps 1301 to 1302 may refer to steps 1201 to 1202 and are not described in detail here.
[0230] 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 .
[0231] 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.
[0232] 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.
[0233] The setting information 2 in this step refers to the setting information of the custom scene mode 1, and is referred to as setting information 2 to distinguish it from the setting information 1 of the custom scene mode 1.
[0234] 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.
[0235] The second target setting items are setting items included in the custom scene mode 2 .
[0236] 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.
[0237] 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.
[0238] Step 1305 : Detecting a shutdown request for the custom scene mode 1 , restoring the parameter value of the first target setting item in the system setting information to the parameter value before the custom scene mode 1 is activated.
[0239] The implementation of this step can refer to step 1203 and will not be repeated here.
[0240] 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.
[0241] Figure 13 The method shown enables the user to continuously activate and deactivate custom scene mode 1 and custom scene mode 2, supports the user to activate or deactivate 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.
[0242] Figure 14 This is a flow chart of the device control method provided in the embodiment of the present application. Figure 14 As shown, the method may include:
[0243] Steps 1401 to 1403 may refer to steps 1301 to 1303 and are not described in detail here.
[0244] Step 1404 : Detecting a shutdown request for the custom scene mode 1 , restoring the parameter value of the third target setting item in the system setting information to the parameter value before the custom scene mode 1 is activated.
[0245] 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 excluding the intersection with the second target setting item.
[0246] 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 start of custom scene mode 1, so as not to affect the setting of the system setting information by the start of custom scene mode 2, and ensure that the second target setting item in the system setting information is still set according to the setting information 2 of custom scene mode 2.
[0247] 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.
[0248] 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. This ensures 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.
[0249] In other embodiments, in this step, the parameter value of the second target setting item in the system setting information may be restored to the parameter value before the customized scene mode 2 is activated.
[0250] 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 user setting efficiency, and enhancing user experience.
[0251] For example, assume that the settings for the Off-duty mode and the Sports mode are as follows:
[0252] Off-duty mode: ringing sound + WLAN + NFC + casual lock screen theme + do not disturb for some apps;
[0253] Sports mode: turn on Bluetooth + turn on data traffic + turn on positioning + adjust volume + do not disturb some apps.
[0254] for Figure 12A The method shown is to first activate the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen themes in the system setting information are activated respectively, and the notification permissions of the specified application are adjusted; when the off-duty mode is turned off, the ringing + WLAN + NFC + leisure lock screen themes in the system setting information are restored to the state before the off-duty mode is activated, and the notification permissions of the specified application are adjusted to the state before the off-duty mode is activated;
[0255] If you restart sports mode, the Bluetooth, data traffic, positioning, and volume adjustment in the system settings will be activated respectively, and the notification permissions of the specified applications will be adjusted; if you turn off sports mode, the Bluetooth, data traffic, positioning, and volume adjustment in the system settings will be restored to the state before sports mode was activated, and the notification permissions of the specified applications will be adjusted to the state before sports mode was activated.
[0256] for Figure 13 The method shown is to first activate the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen theme in the system setting information are activated respectively, and the notification permissions of the specified application are adjusted; then activate the sports mode, then Bluetooth + data traffic + positioning + volume adjustment in the system setting information are activated respectively, and the notification permissions of some applications in the sports mode that do not overlap with the off-duty mode are adjusted;
[0257] If you turn off Sports Mode again, the Bluetooth + data traffic + positioning + volume adjustment in the system settings information will be restored to the state before 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 Sports Mode was activated; if you turn off Off-Duty Mode again, the ringtone + WLAN + NFC + casual lock screen theme in the system settings information will be restored to the state before Off-Duty Mode was activated, and the notification permissions of the specified applications in Off-Duty Mode will be adjusted to the state before Off-Duty Mode was activated.
[0258] for Figure 14 The method shown is to first activate the off-duty mode, then the ringing + WLAN + NFC + leisure lock screen theme in the system setting information are activated respectively, and the notification permissions of the specified application are adjusted; then activate the sports mode, then Bluetooth + data traffic + positioning + volume adjustment in the system setting information are activated respectively, and the notification permissions of some applications in the sports mode that do not overlap with the off-duty mode are adjusted;
[0259] If you turn off the off-duty mode again, the ringtone + WLAN + NFC + casual lock screen theme in the system settings 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 settings 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.
[0260] 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.
[0261] 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 operational efficiency.
[0262] It is understood 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 scenarios. The following examples continue to illustrate the scenarios to which the device control method of the embodiment of the present application may be applicable.
[0263] Scenario 1: The user needs to quickly switch scenes.
[0264] For example, Xiao Wang sometimes shares his phone with others to see messages, but is worried that chats with friends or app notifications might pop up and leak his privacy. Hiding the banner notification before showing the phone would waste time, but hiding it during normal use would be inconvenient. If a "loan mode" could be preset in the phone as a custom scene mode, hiding the lock screen notification content and the banner notification content, and providing an icon with "loan mode" in the control center interface for turning the "loan mode" on and off with one click, it would be possible to switch to it with one click, preventing others from seeing pop-up message notifications when viewing the phone interface.
[0265] Scenario 2: The user has several commonly used scene modes, which need to be changed frequently.
[0266] 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.
[0267] 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 apps, so as to avoid being disturbed by too many non-emergency messages during work.
[0268] In order to receive timely messages from family members after get off work, I will turn 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.
[0269] I have to adjust various settings in the control center every day, 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.
[0270] At this time, you can set custom scene modes such as "work mode" and "off-get off work mode" on your mobile phone to achieve one-click switching of mobile phone settings when going to and from get off work.
[0271] Scenario 3: Xiaohong likes to go to the theater after get off work. Every time she goes, she sets her phone to silent mode, do not disturb, and dark mode. She also sets the lock screen to a dark color and disables notifications to avoid the glare of the screen suddenly lighting up when a message comes in or when the phone is unlocked. After the performance, she returns these settings to their default settings.
[0272] At this time, you can set "theater mode" on your mobile phone, start "theater mode" after going to the theater, and turn off "theater mode" after leaving the theater.
[0273] 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.
[0274] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment of the present application.
[0275] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product is run on a computer, it enables the computer to execute the method provided by the embodiment of the present application.
[0276] In the embodiments of the present application, "at least one" refers to one or more, and "more" 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 represent: 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.
[0277] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using 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. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0278] Those skilled in the art will 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.
[0279] In the several embodiments provided in this 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 this application, or the part that contributes to the existing technology, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (hereinafter referred to as: ROM), random access memory (hereinafter referred to as: RAM), disk or optical disk, and other media that can store program code.
[0280] The above description is merely a specific embodiment of the present application. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. The scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A device control method, characterized in that: Applied to electronic equipment, the method includes: Upon receiving a request to create a new scene mode, a first interface is displayed, wherein 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, and generating a first scene mode based on 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 system setting information of the electronic device according to first setting information of the first scene mode; receiving a request to start a second scene mode, adjusting the system setting information according to second setting information of the second scene mode, where the second scene mode is a user-defined scene mode; 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.
2. The method according to claim 1, characterized in that After receiving the request to start the first scenario mode and adjusting the system setting information of the electronic device according to the first setting information of the first scenario 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 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 turn off 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.
4. The method according to claim 1, wherein 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.
5. The method according to any one of claims 1 to 4, characterized in that Also includes: Displaying a second interface, where the second interface includes a second control, and 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 being used to support a user in editing first setting information of the first scene mode; the third interface including 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.
6. The method according to any one of claims 1 to 4, 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 on 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.
7. The method according to any one of claims 1 to 4, 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.
8. The method according to claim 7, characterized in that The adjusting the parameter values 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, the fifth interface being used to prompt a 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 being 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.
9. The method according to any one of claims 1 to 4, characterized in that Also includes: When it is detected that a parameter value of a sixth setting item conflicts with a parameter value of a seventh setting item in the setting information in the first interface, a sixth interface is displayed, wherein the sixth interface is used to prompt an event of a conflict 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.
10. 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 9.
11. 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 9.
12. A computer program product, characterized in that The computer program product comprises a computer program, which, when run on a computer, causes the computer to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Scene mode generation method and device, equipment and storage medium
CN114968036A