Light color setting methods and electronic devices
By displaying images or videos on electronic devices and responding to user actions to control the color of lighting equipment, the problem of inconvenient user operation is solved, enabling fast and personalized lighting color settings and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2026-04-03
AI Technical Summary
Users find it inconvenient to switch the color of lights on lighting equipment. They need to open a specific page in the app and repeatedly switch colors to determine the desired color, which makes the operation inconvenient.
By displaying images or videos on electronic devices and responding to user actions to control lighting devices to emit lights that are related to the colors of the images or videos, the process of setting light colors is simplified.
It enables quick changes to the color of lighting equipment, meeting users' personalized needs. The operation is convenient and fast, enhancing the user experience.
Smart Images

Figure CN116248928B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lighting technology, and more particularly to a method for setting lighting color and an electronic device. Background Technology
[0002] With the increasing intelligence of the home, lighting equipment is designed to meet the diverse needs of users in different environments, such as the color and color temperature of light, and supports various personalized settings. Currently, users can configure the lighting of lighting equipment through applications (APPs) on their electronic devices.
[0003] However, in the relevant technologies, users need to open a specific page of the APP, click on the color area on the specific page, and then set the light color of the lighting device. Furthermore, users need to repeatedly switch the light color to finally determine the desired light color, which makes the operation inconvenient for users. Summary of the Invention
[0004] This application provides a method for setting light colors and an electronic device to solve the problem of inconvenience for users when switching the light colors of lighting devices, and to meet the user's demand for quickly changing the light colors of lighting devices.
[0005] In a first aspect, this application provides a method for setting light color, which is applied to a first electronic device.
[0006] The method includes: displaying a first image;
[0007] When the first image is displayed, in response to the first action, the lighting device is controlled to emit light that is related to the color of the first image, wherein the first action is used to indicate the setting of the light color.
[0008] Using the light color setting method provided in the first aspect, after displaying the first image, the first electronic device, in response to the first action, can control the light color of the lighting device to change to the color of the first image. Thus, the light color of the lighting device can be quickly adjusted using both images and actions, enabling the lighting device to promptly display the colors desired by the user, such as home décor styles, the user's daily clothing, or outdoor scenery, satisfying the user's personalized needs while being convenient and fast.
[0009] In one possible design, in response to the first action, controlling the lighting equipment to emit light related to the color of the first image includes:
[0010] In response to the first action, obtain the color of the first image;
[0011] Send the color value of the first image to the lighting device so that the lighting device emits light related to the color of the first image; or, send the color value of the first image to a second electronic device so that the second electronic device sends the color value of the first image to the lighting device, the color value of the first image being used by the lighting device to emit light related to the color of the first image.
[0012] Therefore, after receiving the first action, the first electronic device can obtain the color of the first image and then transmit the color value of the first image, so that the lighting device can emit light related to the color of the first image.
[0013] In one possible design, obtaining the colors of the first image includes:
[0014] When the colors of the first image are pre-stored in the first electronic device, the colors of the first image are retrieved from the first electronic device. Thus, the first electronic device can quickly retrieve the colors of the first image by storing them.
[0015] Alternatively, color recognition can be performed on the first image to obtain the colors contained within it. If there is only one color, that color is determined as the color of the first image. If there are multiple colors, the color of the first image is determined based on the color value of each color and the area of each color displayed in the first image. Thus, the first electronic device can determine the color of the first image in real time using the recognition algorithm.
[0016] Based on the above description, multiple possible implementation methods are provided for obtaining the color of the first image, improving the flexibility and possibilities of obtaining the color of the first image.
[0017] In one possible design, the colors of the first image are determined based on the color value of each color and the area of each color displayed in the first image, including:
[0018] The color with the same color value and the largest display area is selected as the color of the first image.
[0019] Therefore, the first electronic device can determine the color of the first image as the color of the theme / central concept / main color of the first image, providing a possible way to determine the color of the first image.
[0020] In one possible design, after obtaining the color of the first image, the method further includes: displaying first information in the first image, the first information being used to indicate the color of the first image.
[0021] Therefore, the first electronic device can promptly prompt the user with the color of the first image, enabling the user to determine whether the color of the first image is the color the user wants.
[0022] In one possible design, the first information is also used to indicate at least one of the colors contained in the first image other than the color of the first image, the warm color of the color of the first image, and the cool color of the color of the first image;
[0023] The method also includes:
[0024] After receiving the sixth operation performed by the user on the first information, change the color of the first image and display the first image;
[0025] When the first image is displayed, in response to the first action, the lighting equipment is controlled to emit light that is related to the color of the replaced first image.
[0026] Therefore, the first electronic device can provide the user with a possible way to change the color of the first image, so that the user can select the color they want from the colors contained in the first image and change the light color of the lighting device to the color they want.
[0027] In one possible design, the method also includes:
[0028] Within the recognition range of the first electronic device, a device that is communicatively connected to the first electronic device and whose light color can be set is detected;
[0029] When there is only one device, the device is designated as a lighting device;
[0030] When there are multiple devices, the lighting devices are determined based on the angle and / or distance between each device and the first electronic device.
[0031] Therefore, the first electronic device can determine the lighting device based on parameters such as recognition range, angle, and distance.
[0032] In one possible design, the lighting equipment is determined based on the angle and / or distance between each device and the first electronic device, including:
[0033] The device with the shortest distance and / or smallest angle to the first electronic device is identified as the lighting device.
[0034] Thus, the first electronic device can determine the lighting device as the device with the shortest distance and / or smallest angle with the first electronic device, providing a possible implementation for determining the lighting device.
[0035] In one possible design, after determining the lighting equipment, the method further includes:
[0036] The second information is displayed and is used for indicator light devices.
[0037] Therefore, the first electronic device can promptly alert the user to the lighting device, enabling the user to determine whether the lighting device is the one that the user wants to set the light color to.
[0038] In one possible design, the second information is also used to represent the angle and distance between each electronic device and the first electronic device;
[0039] The method also includes:
[0040] After receiving the user's seventh action on the second information, replace the lighting equipment;
[0041] When the first image is displayed, in response to the first action, the replaced lighting equipment is controlled to emit light that is related to the color of the first image.
[0042] Therefore, the first electronic device can provide the user with a possible way to replace the lighting equipment, allowing the user to replace the lighting equipment with the lighting equipment whose color the user wants to set.
[0043] In one possible design, after controlling the lighting device to emit light related to the color of the first image, the method further includes:
[0044] Within the first duration, a second action is detected. The second action is used to indicate that when the setting of the light color is cancelled, the light device is controlled to emit light that is related to the previous light color of the first image.
[0045] or,
[0046] If no second action is detected after the first duration, the second action is used to indicate that the setting of the light color has been cancelled, and the control of the lighting device continues to emit light related to the color of the first image.
[0047] Therefore, after receiving the second action within the first time period, the first electronic device can control the lighting device to stop emitting light related to the color of the first image, and control the lighting device to emit light related to the previous light color of the first image. If no second action is received after the first time period, the lighting device can be controlled to continue emitting light related to the color of the first image. Thus, the setting of the light color can be canceled in a timely manner by means of action, allowing the lighting device to quickly restore the light of the previous light color, providing a possible way for users to cancel the setting of the light color.
[0048] In one possible design, the method also includes:
[0049] Based on sensor data from the first electronic device, monitor the attitude changes of the first electronic device;
[0050] Based on the posture change of the first electronic device, determine whether the action performed by the user on the first electronic device is the first action.
[0051] Therefore, the first electronic device acquires the data collected by the sensor based on the interface between the first electronic device and the sensor, detects the attitude change of the first electronic device, and determines the specific type of action performed by the user on the first electronic device, so that the first electronic device can quickly determine the first action / second action.
[0052] In one possible design, the method specifically includes:
[0053] When the posture change of the first electronic device is used to indicate that the angle of rotation of the first electronic device is greater than or equal to a preset angle, the action performed by the user on the first electronic device is determined to be the first action;
[0054] When the posture change of the first electronic device is used to indicate that the first electronic device rotates to a preset direction, the action performed by the user on the first electronic device is determined to be the second action, which is used to indicate the cancellation of the setting of the light color.
[0055] This provides one possible implementation method for the first action and the second action, respectively.
[0056] In one possible design, the first image is displayed, including:
[0057] The first image is displayed in the focus window of the first electronic device.
[0058] Therefore, the first electronic device can determine the image / screen displayed in the focus window of the first electronic device as the first image.
[0059] In one possible design, when a photo album application is included in the first electronic device, a first image is displayed in the focus window of the first electronic device, including:
[0060] After launching the photo album application, the first control is displayed in the photo album application's picture list. The picture list is used to browse the pictures stored in the photo album application, and the first control is used to view the first picture.
[0061] After receiving the first operation performed by the user on the first control, the first picture is displayed in a user interface of the photo album application, which is the focus window of the first electronic device.
[0062] In one possible design, when a camera application is included in the first electronic device, displaying a first image in the focus window of the first electronic device includes:
[0063] After the camera app is launched and the first picture is taken, a second control is displayed in the camera app's shooting interface. The camera app's shooting interface is used to take pictures, and the second control is used to view the first picture.
[0064] After receiving the second operation performed by the user on the second control, the first image is displayed in a user interface of the camera application, which is the focus window of the first electronic device.
[0065] In one possible design, the first image is displayed in the focus window of the first electronic device, including:
[0066] Display the screen image of the first electronic device;
[0067] After receiving the third operation performed by the user on the screen, capture the entire area of the screen and display the captured area, which is related to the first image;
[0068] After receiving the fourth operation performed by the user on the captured area, the first image is displayed in the focus window of the first electronic device.
[0069] In one possible design, the first image is displayed in the focus window of the first electronic device, including:
[0070] Display the screen image of the first electronic device;
[0071] After receiving the fifth operation performed by the user on the screen, a portion of the screen is captured and displayed as the first image in the focus window of the first electronic device.
[0072] In one possible design, the first image is displayed in the focus window of the first electronic device, including:
[0073] Send a transmission command to the second electronic device, the transmission command being used to instruct the second electronic device to send the first image to the first electronic device;
[0074] Receive a first image from a second electronic device, wherein the first image is sent by the second electronic device in response to a transmission command;
[0075] The first image is displayed in the focus window of the first electronic device.
[0076] Based on the above description, the first electronic device can display the first image in a user interface of an application. The user interface of this application can be considered as the focus window of the first electronic device, and the application can be any type of application installed on the first electronic device.
[0077] In one possible design, the method also includes:
[0078] After receiving the seventh operation performed by the user on the first image, the first image is replaced and the second image is displayed;
[0079] When the second image is displayed, in response to the first action, the lighting device is controlled to emit light that is related to the color of the second image.
[0080] Therefore, the first electronic device can provide the user with a possible way to replace the first image, allowing the user to replace the first image with the second image and change the color of the light from the lighting device to the color of the second image.
[0081] Secondly, this application provides a method for setting light color, which is applied to a first electronic device.
[0082] The method includes: obtaining the playback mode of the first video when playing the first video;
[0083] When the playback mode of the first video is determined to indicate the setting of the light color, the lighting device is controlled to emit light related to the color of the first video.
[0084] Using the light color setting method provided in the second aspect, after the first electronic device plays the first video, in response to the first video adopting a playback mode for setting light colors, it can control the light color of the lighting device to change to the color of the first video. Therefore, the light color of the lighting device can be quickly adjusted using the video, ensuring that the lighting device maintains a consistent color with the video, improving the video playback effect, and the process is convenient and fast.
[0085] In one possible design, the playback method for obtaining the first video includes:
[0086] Receive a trigger instruction from a first electronic device or a third electronic device. The trigger instruction is used to trigger the first electronic device to detect the playback mode of the first video.
[0087] In response to the trigger command, obtain the playback mode of the first video.
[0088] Therefore, upon receiving a trigger command from either the first electronic device or the third electronic device, the first electronic device can begin to acquire the playback mode of the first video.
[0089] In one possible design, controlling the lighting equipment to emit light related to the color of the first video includes:
[0090] Determine the color of the first video;
[0091] Send the color value of the first video to the lighting equipment so that the lighting equipment emits light related to the color of the first video based on the color value of the first video;
[0092] Alternatively, the color value of the first video can be sent to the second electronic device, so that the second electronic device can send the color value of the first video to the lighting device, the color value of the first video being used by the lighting device to emit light related to the color of the first video.
[0093] Therefore, after determining that the playback mode of the first video is used to set the color of the light, the first electronic device can obtain the color of the first video and then transmit the color value of the first video, so that the light device can emit light related to the color of the first video.
[0094] In one possible design, determining the color of the first video includes:
[0095] Get the first frame in the first video. The first frame is a frame that is currently playing in the first video, or any frame that is playing in the first video after the current moment, or any frame that is playing in the first video before the current moment.
[0096] Perform color recognition on the first image to obtain the colors contained in the first image;
[0097] When there is only one color, that color is determined as the color of the first video.
[0098] When there are multiple colors, the color of the first video is determined based on the color value of each color and the display area of each color in the first frame.
[0099] Therefore, the first electronic device can determine the color of the first video in real time through a recognition algorithm.
[0100] In one possible design, the color of the first video is determined based on the color value of each color and the display area of each color in the first frame, including:
[0101] The color with the same color value and the largest display area is determined as the color of the first video.
[0102] Therefore, the first electronic device can determine the color of the first video as the color of the theme / central concept / primary color of the first frame, providing a possible way to determine the color of the first video.
[0103] In one possible design, the method also includes:
[0104] Within the recognition range of the first electronic device, a device that is communicatively connected to the first electronic device and whose light color can be set is detected;
[0105] When there is only one device, the device is designated as a lighting device;
[0106] When there are multiple devices, the lighting devices are determined based on the angle and / or distance between each device and the first electronic device.
[0107] In one possible design, the lighting equipment is determined based on the angle and / or distance between each device and the first electronic device, including:
[0108] The device with the shortest distance and / or smallest angle to the first electronic device is identified as the lighting device.
[0109] Therefore, the first electronic device can control the color of light from one or more lighting devices, taking into account parameters such as recognition range, angle, and distance.
[0110] In one possible design, after controlling the lighting equipment to emit light related to the color of the first video, the method further includes:
[0111] Every second time interval, a second frame is acquired from the first video. The second frame is a frame played at the current moment of the first video, or any frame played after the current moment of the first video, or any frame played within the time interval before the current moment of the first video.
[0112] After determining that the color of the first video has changed based on the second image, the lighting equipment is controlled to emit light that is related to the changed color of the first video.
[0113] Therefore, the first electronic device can adjust the light color of the lighting device by observing whether the color of the video changes, enabling the first electronic device to quickly update the light color of the lighting device and providing a possible way to update the setting of the light color.
[0114] In one possible design, after controlling the lighting equipment to emit light related to the color of the first video, the method further includes:
[0115] When the playback mode of the first video is determined to indicate the setting to turn off the light color, the lighting device is controlled to turn off or continue to emit light related to the color of the first video.
[0116] Therefore, the first electronic device can determine whether the video playback method changes, thus enabling the lighting device to turn off the light or maintain the current light color, providing a possible way to set the light color to be turned off.
[0117] In one possible design, the method specifically includes:
[0118] When the first video is played in full-screen mode, the playback mode of the first video is determined to indicate the setting of the light color;
[0119] When the first video exits full-screen playback mode, the playback mode of the first video is determined to indicate the setting to turn off the light color.
[0120] This provides a possible way to set or turn off the light color.
[0121] In one possible design, the method also includes:
[0122] After receiving the user's eighth operation on the first video, the first video is replaced and the second video is played;
[0123] When playing the second video, obtain the playback method of the second video;
[0124] When the playback mode of the second video is determined to indicate the setting of the light color, the lighting device is controlled to emit light that is related to the color of the second video.
[0125] Therefore, the first electronic device can provide the user with a possible way to replace the first video, allowing the user to replace the first video with the second video and change the color of the light from the lighting device to the color of the second video.
[0126] Thirdly, this application provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory to cause the electronic device to execute the light color setting method in the first aspect and any possible design of the first aspect; and / or, the processor is used to call the program instructions in the memory to cause the electronic device to execute the light color setting method in the second aspect and any possible design of the second aspect.
[0127] Fourthly, this application provides a chip system applied to an electronic device including a memory, a display screen, and a sensor; the chip system includes: a processor; when the processor executes computer instructions stored in the memory, the electronic device executes the light color setting method in the first aspect and any possible design of the first aspect; and / or, the electronic device executes the light color setting method in the second aspect and any possible design of the second aspect.
[0128] Fifthly, this application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is processed by a processor to cause an electronic device to implement the light color setting method in the first aspect and any possible design of the first aspect when executed; and / or, the computer program is processed by a processor to cause an electronic device to implement the light color setting method in the second aspect and any possible design of the second aspect when executed.
[0129] Sixthly, this application provides a computer program product, comprising: execution instructions stored in a readable storage medium, at least one processor of an electronic device being able to read the execution instructions from the readable storage medium, the at least one processor executing the execution instructions causing the electronic device to implement the light color setting method in the first aspect and any possible design of the first aspect; and / or, at least one processor executing the execution instructions causing the electronic device to implement the light color setting method in the second aspect and any possible design of the second aspect. Attached Figure Description
[0130] Figure 1 A plan view illustrating the identification range of an electronic device according to an embodiment of this application;
[0131] Figures 2A-2C This is a schematic diagram illustrating a user performing action 1 on an electronic device 1 according to an embodiment of this application;
[0132] Figures 2D-2E This is a schematic diagram illustrating a user performing action 2 on an electronic device 1, according to an embodiment of this application.
[0133] Figure 3A This application provides an illustration of an application scenario for an electronic device and a lighting device according to an embodiment of the present application.
[0134] Figure 3B A planar schematic diagram illustrating the angle and distance between an electronic device and a lighting device, provided as an embodiment of this application;
[0135] Figures 4A-4J This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0136] Figures 5A-5E This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0137] Figures 6A-6D This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0138] Figures 7A-7D This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0139] Figures 8A-8G This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0140] Figures 9A-9D This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0141] Figures 10A-10B This is a schematic diagram of a human-computer interaction interface provided in an embodiment of this application;
[0142] Figure 11A schematic flowchart illustrating a method for setting light color according to an embodiment of this application;
[0143] Figure 12 A schematic flowchart illustrating a method for setting light color according to an embodiment of this application;
[0144] Figure 13 This is a flowchart illustrating a method for setting light color according to an embodiment of this application. Detailed Implementation
[0145] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or 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, or c alone can mean: a alone, b alone, c alone, a combination of a and b, a combination of a and c, a combination of b and c, or a, b, and c, where a, b, and c can be single or multiple. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The terms “center,” “longitudinal,” “lateral,” “up,” “down,” “left,” “right,” “front,” and “rear,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0146] This application provides a method and electronic device for setting light colors. After the electronic device displays an image viewed by the user, the user can perform an action on the electronic device to set the light color of the image. Thus, the desired colors, such as home decor styles, the user's everyday clothing, or outdoor scenery, can be quickly and easily presented using light colors. This process is convenient and fast, requiring no specific page to be opened in the application or the user to select the light color, and also helps to meet the user's personalized needs.
[0147] This application also provides a method for setting light colors and an electronic device. After the electronic device plays a video viewed by a user, by detecting that the video is played in full-screen mode, the light color of the lighting device can be set to the color of the video. This ensures that the light color and the video color are consistent, creating an atmosphere where the light color changes with the video color, thus improving the video playback effect of the electronic device and the user's viewing experience.
[0148] The electronic devices can communicate directly or indirectly with the lighting equipment. Communication connections can include wired and / or wireless connections. Wireless communication connections may include, but are not limited to, wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies.
[0149] Among them, electronic devices can be mobile phones (such as foldable screen phones, large screen phones, etc.), tablet computers (or tablets), laptops, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart TVs, smart screens, high-definition TVs, 4K TVs, smart speakers, smart projectors, etc. This application does not impose any restrictions on the specific type of electronic device.
[0150] The lighting equipment has the function of setting the light color. It can be a smart light such as a light strip, chandelier, or wall light, or a smart home device with a light source such as a TV, refrigerator, fan, speaker, mobile phone, projector, tablet, or mobile phone. The light source can include, but is not limited to, incandescent lamps, light-emitting diode (LED) lamps, fluorescent lamps, eye-protection lamps, etc. This application does not limit the specific type of lighting equipment and light source.
[0151] Below, we will explain in detail the process of setting the light color of a lighting device using electronic devices, using both scenario one and scenario two as examples.
[0152] Scene 1
[0153] In scenario one, electronic device 1 sets the light color of lighting device 1 by viewing image 1 and obtaining action 1. The specific implementation process may include the following steps:
[0154] Step 11: Electronic device 1 determines lighting device 1.
[0155] Here, lighting device 1 refers to one or more lighting devices whose light colors need to be set. Electronic device 1 needs to be in communication connection with lighting device 1. The communication connection mentioned here can be found in the previous description and will not be repeated here.
[0156] When the number of lighting devices connected to electronic device 1 is one, electronic device 1 can identify that lighting device as lighting device 1.
[0157] When there are multiple lighting devices that are connected to electronic device 1, electronic device 1 can select a preset number of lighting devices from the multiple lighting devices and identify the preset number of lighting devices as lighting device 1.
[0158] This application does not specify the exact value of the preset quantity. For example, the preset quantity is equal to 1.
[0159] In this application, the electronic device 1 can use a variety of positioning methods to select the lighting device 1. The aforementioned positioning methods may include, but are not limited to: Wi-Fi positioning, ZigBee positioning, Bluetooth positioning, ultra-wideband (UWB) positioning, radio frequency identification (RFID) positioning, satellite positioning, low frequency triggering positioning, base station positioning, sound wave positioning, optical positioning, geomagnetic positioning, etc.
[0160] In some embodiments, both the electronic device 1 and the lighting device 1 may be equipped with ultra-wideband (UWB) chips. This application does not limit the type, number, or installation location of the UWB chips.
[0161] Thus, through the mutual communication between the UWB chip installed in the electronic device 1 and the UWB chip installed in the lighting device, the electronic device 1 can identify the lighting device with a UWB chip installed within the recognition range of the electronic device 1.
[0162] The recognition range can be characterized by parameters such as angle (also known as orientation) and distance, and the specific settings can be determined based on the positioning accuracy of the UWB chip and the actual situation. Generally, the recognition range of electronic device 1 is often less than or equal to the effective range located directly in front of the top of electronic device 1 as determined by the UWB chip.
[0163] Below, in conjunction with Figure 1 The recognition range of electronic device 1 is described in detail.
[0164] Please see Figure 1 , Figure 1 A plan view of the identification range of an electronic device according to an embodiment of this application is shown.
[0165] For ease of explanation, Figure 1 In the diagram, the X-axis represents the horizontal direction of electronic device 1, the Y-axis represents the vertical direction of electronic device 1 and is away from the top of electronic device 1, the Z-axis represents the axial direction of electronic device 1, the sum of α1 and α2 is equal to 90°, and both α1 and α2 are less than or equal to 90°. Electronic device 1 is illustrated using a mobile phone as an example.
[0166] like Figure 1 As shown, the recognition range of electronic device 1 can be considered as the range contained within a central sphere. Figure 1 The gray circular sector in the diagram shows the plane formed by the central sphere projected onto the X and Y axes. The vertex of the circular sector is the center point A of the top of electronic device 1, the apex angle of the circular sector is twice α1, and the radius of the circular sector is L.
[0167] It can be seen that the recognition range of electronic device 1 can be described as the range formed by the angle between electronic device 1 and the direction along the X-axis being greater than or equal to α2 and less than or equal to 90°, and the distance between electronic device 1 and the distance between them being greater than 0 and less than or equal to L.
[0168] In other words, the recognition range of electronic device 1 is the effective range directly in front of the top of electronic device 1, not the entire range directly in front of the top of electronic device 1. The entire range directly in front of the top of electronic device 1 can be regarded as the range contained in a hemisphere, the vertex of which is the center point A of the top of electronic device 1, and the radius of the hemisphere is L.
[0169] In this application, the angle between the electronic device 1 and the lighting device refers to the angle between the center point A of the top of the electronic device 1 and the center point of the lighting device, and the angle between the center point A of the top of the electronic device 1 and the center point of the top of the electronic device 1. Figure 1 The angle formed by the direction of the X-axis (as shown).
[0170] In this application, the distance between electronic device 1 and lighting device refers to the distance between the center point A of the top of the lighting device and electronic device 1.
[0171] Based on the above description, when the number of lighting devices equipped with UWB chips within the recognition range of electronic device 1 is less than or equal to a preset number, electronic device 1 can determine that the aforementioned lighting device is lighting device 1.
[0172] When the number of lighting devices equipped with UWB chips within the recognition range of electronic device 1 exceeds a preset number, electronic device 1 can adopt a control strategy to select a preset number of lighting devices from multiple lighting devices and identify the aforementioned lighting device as lighting device 1.
[0173] This application does not limit the specific implementation method of the control strategy.
[0174] For example, when electronic device 1 employs a control strategy that prioritizes angle, electronic device 1 can select lighting device 1 from lighting devices within a target angle. The target angle can be greater than or equal to... Figure 1 α2 is less than or equal to 90°.
[0175] If the preset quantity is equal to 1, then electronic device 1 can select the light device with the smallest angle from electronic device 1 as light device 1. If there are still multiple light devices with the smallest angle from electronic device 1, then electronic device 1 can further select light device 1 based on distance. For details of the aforementioned implementation process, please refer to the description of the control strategy that prioritizes distance, which will not be elaborated here.
[0176] For example, when electronic device 1 employs a distance-prioritizing control strategy, it can select lighting device 1 from lighting devices within a target distance. The target distance can be greater than 0 and less than or equal to... Figure 1 L in the middle.
[0177] If the preset quantity is equal to 1, then electronic device 1 can select the light device that is closest to electronic device 1 as light device 1. If there are still multiple light devices that are closest to electronic device 1, then electronic device 1 can further select light device 1 by considering the angle. For details of the above implementation process, please refer to the description of the control strategy that prioritizes angle, which will not be elaborated here.
[0178] For example, when electronic device 1 employs a control strategy that comprehensively considers angle and distance, electronic device 1 can select lighting device 1 from lighting devices that are within the target angle and within the target distance. The target angle can be greater than or equal to... Figure 1 α2 is less than or equal to 90°, and the target distance can be greater than 0 and less than or equal to 0. Figure 1 L in the middle.
[0179] If the preset quantity is 1, then electronic device 1 can select the light device with the smallest angle and closest distance to electronic device 1 as light device 1. If there are still multiple light devices with the smallest angle and closest distance to electronic device 1, then electronic device 1 can select light device 1 based on the user's selection.
[0180] The target angle and target distance can be set by the system through electronic device 1 or manually by the user. This application does not limit the specific values of the target angle and target distance.
[0181] In other embodiments, electronic device 1 may identify a lighting device that is communicatively connected to electronic device 1 and may display relevant information about the lighting device, enabling a user to manually select lighting device 1.
[0182] The aforementioned lighting equipment may include all or part of the lighting equipment that is communicatively connected to electronic device 1. Information related to the aforementioned lighting equipment may include, but is not limited to, the lighting equipment's name, icon, angle to electronic device 1, and distance to electronic device 1.
[0183] Therefore, upon receiving an operation from one or more lighting devices selected by the user, electronic device 1 can identify the one or more lighting devices selected by the user as lighting device 1. The operation may include, but is not limited to, clicking, double-clicking, and long-pressing.
[0184] In summary, electronic device 1 can determine lighting device 1.
[0185] It should be noted that step 11 is optional, that is, electronic device 1 can identify all the lighting devices that are connected to electronic device 1 as lighting device 1, without needing to consider the number of lighting devices connected to electronic device 1.
[0186] Step 12: Electronic device 1 displays image 1.
[0187] Electronic device 1 can display one picture / screen, or multiple pictures or screens simultaneously. Therefore, electronic device 1 can designate the picture / screen displayed in its focus window as picture 1.
[0188] The focus window of the aforementioned electronic device 1 can be understood as the current operation window of the electronic device 1, that is, the window that the user can currently operate, and the focus window of the electronic device 1 is unique.
[0189] In addition, the electronic device 1 may display the image 1 in a manner such as full screen, split screen or floating mode. This application does not limit the manner in which the electronic device 1 displays the image 1.
[0190] The aforementioned "full screen" refers to the entire screen of electronic device 1 displaying only image 1, such as image 1 filling the entire screen or image 1 being concentrated in the center area of the screen.
[0191] The aforementioned split-screen refers to a portion of the screen of electronic device 1 displaying image 1, such as the left screen displaying image 1 after electronic device 1 splits into left and right screens, or the bottom screen displaying image 1 after electronic device 1 splits into top and bottom screens.
[0192] The aforementioned "floating" refers to the electronic device 1 displaying image 1 floating on a screen that is displayed in full-screen or split-screen mode.
[0193] In this application, Image 1 may include multiple sources.
[0194] In some embodiments, image 1 may be all or part of an image stored in electronic device 1. Image 1 may be stored using methods such as downloading, taking a photo, screenshotting, or capturing a screenshot.
[0195] Therefore, electronic device 1 can display image 1 in a variety of ways.
[0196] When a photo album application is installed on electronic device 1, the photo album application, as a system application of electronic device 1, can be used to browse the pictures stored on electronic device 1. Therefore, electronic device 1 can display picture 1 within a user interface of the photo album application. At this time, the focus window of electronic device 1 can be considered as a user interface of the photo album application.
[0197] When application 1 is installed on electronic device 1, there is an interface between application 1 and the photo album application. Application 1 can be any type of application on electronic device 1 other than the photo album application, which enriches the channels for displaying image 1. Therefore, after launching application 1, electronic device 1 can access image 1 stored in the photo album application through the aforementioned interface and display image 1 in a user interface of application 1. At this time, the focus window of electronic device 1 can be considered as a user interface of application 1.
[0198] When a camera application is installed on electronic device 1, the camera application, as a system application of electronic device 1, can be used to capture images in real time. Electronic device 1 can capture image 1 in real time by launching the camera application and store image 1 on electronic device 1. Thus, electronic device 1 can display image 1 in a user interface of the camera application. At this time, the focus window of electronic device 1 can be regarded as a user interface of the camera application.
[0199] When electronic device 1 has a screenshot function, it can capture all or part of the screen as image 1 and store image 1 in electronic device 1. Therefore, electronic device 1 can display image 1 in its focus window.
[0200] In this application, the screen display refers to the displayable screen of electronic device 1, such as the home screen of electronic device 1, the negative one screen of electronic device 1, web pages, pages displayed by applications, and a frame of a video being played.
[0201] The -1 screen, also known as the negative one screen, refers to the user interface (UI) on the leftmost split screen when you swipe right from the main screen of the electronic device 1. For example, the negative one screen can be used to display quick service functions and notifications, such as global search, shortcuts to specific pages of applications (payment codes, WeChat, etc.), instant information and reminders (express delivery information, expense information, traffic conditions, ride-hailing information, schedule information, etc.), and monitored events (football stands, basketball stands, stock information, etc.).
[0202] In other embodiments, picture 1 may be a picture received by electronic device 1 from other electronic devices.
[0203] Electronic device 1 can send instruction 1 to other devices. Other electronic devices respond to instruction 1, can acquire image 1, and can send image 1 to electronic device 1 using methods such as Bluetooth connection, account sharing, NFC tap, or scanning QR code.
[0204] Therefore, after receiving image 1, electronic device 1 can display image 1 in the focus window of electronic device 1.
[0205] In other embodiments, Figure 1 may be provided by application 2 to electronic device 1.
[0206] Application 2 can be any type of application in electronic device 1 other than system applications, which helps to enrich the channels for displaying image 1. Furthermore, there is an interface between electronic device 1 and application 2, allowing electronic device 1 to obtain image 1 from application 2 through the aforementioned interface.
[0207] When application 2 is installed on electronic device 1, after launching application 2, image 1 can be displayed in a user interface of application 2. At this time, the focus window of electronic device 1 can be regarded as a user interface of application 2.
[0208] In some other embodiments, Figure 1 may be a screenshot / capture of the screen displayed by application 3 taken by electronic device 1.
[0209] Application 3 can be any type of application in electronic device 1 other than system applications, which helps to enrich the channels for displaying image 1. Furthermore, there is no interface between electronic device 1 and application 3, allowing electronic device 1 to obtain image 1 by taking a screenshot / capturing the screen displayed by application 3.
[0210] When application 3 is installed on electronic device 1, after launching application 3, image 1 can be displayed in a user interface of application 3. At this time, the focused window of electronic device 1 can be considered a user interface of application 3. In summary, electronic device 1 can display image 1.
[0211] Step 13: When displaying image 1, electronic device 1 detects the actions performed by the user on electronic device 1.
[0212] The above-mentioned electronic device 1 displaying the image can be understood as either when electronic device 1 starts displaying image 1, or when electronic device 1 is continuously displaying image 1. This application does not limit this to either.
[0213] Electronic device 1 may be equipped with sensors such as gyroscopes. Therefore, electronic device 1 can monitor changes in its attitude based on data collected by the sensors.
[0214] The attitude change of electronic device 1 is used to determine whether the user has performed an action on electronic device 1 and what kind of action the user has performed on electronic device 1. The attitude change of electronic device 1 can be characterized by parameters such as rotation angle, tilt angle, rotation orientation, rotation angular velocity, and rotation acceleration, and this application does not limit this.
[0215] Therefore, electronic device 1 can detect the user's actions on it based on changes in its posture. Furthermore, electronic device 1 can determine whether the user's action on it is action 1.
[0216] Action 1 is used to indicate the setting of the light color. Action 1 can be set by the system through electronic device 1 or manually by the user. This application does not limit the specific implementation of Action 1.
[0217] In other words, if electronic device 1 determines that the user has performed action 1 on electronic device 1, then electronic device 1 can determine that the user needs to set the light color.
[0218] When the posture change of electronic device 1 matches the change corresponding to action 1, electronic device 1 can determine that the user has performed action 1 on electronic device 1, that is, electronic device 1 can determine that the action performed by the user on electronic device 1 is action 1.
[0219] In some embodiments, action 1 can be set to the electronic device 1 rotating at an angle greater than or equal to a preset angle. This application does not limit the specific value of the preset angle.
[0220] Therefore, when the posture change of electronic device 1 is used to indicate that the angle of rotation of electronic device 1 is greater than or equal to a preset angle, electronic device 1 can determine that the user has performed action 1 on electronic device 1.
[0221] Below, in conjunction with Figures 2A-2C The action 1 will be explained in detail.
[0222] Please see Figures 2A-2C , Figures 2A-2C This illustration shows a schematic diagram of a user performing action 1 on an electronic device 1 according to an embodiment of this application.
[0223] For ease of explanation, Figures 2A-2C In the diagram, the X-axis represents the horizontal direction of electronic device 1, the Y-axis represents the vertical direction of electronic device 1 and is away from the top of electronic device 1, and the Z-axis represents the axial direction of electronic device 1. Electronic device 1 is illustrated using a mobile phone as an example.
[0224] For example, the user with Figure 2A The electronic device 1 is being held at the angle shown. (As indicated) Figure 2B As shown, the user rotates electronic device 1 by β around the X-axis. After electronic device 1 has been rotated by β, the user... Figure 2C The electronic device 1 is held at the angle shown.
[0225] When β is determined to be greater than or equal to a preset angle, electronic device 1 can determine that the user has performed action 1 on electronic device 1.
[0226] In addition to the above implementation method, action 1 can also be set to other actions such as the electronic device 1 rotating around the Y-axis by an angle greater than or equal to a preset angle.
[0227] Step 14: When electronic device 1 determines that the user's action on electronic device 1 is action 1, it acquires color 1 of image 1.
[0228] After determining that the user has performed action 1 on the electronic device 1, the electronic device 1 can obtain the color 1 of the image 1 in various ways. Here, color 1 refers to the color of the light emitted by the lighting device 1 controlled by the electronic device 1.
[0229] In some embodiments, when image 1 is pre-stored in electronic device 1, electronic device 1 may pre-store color 1 as an attribute parameter of image 1. In addition to color 1, the attribute parameters of image 1 may also include, but are not limited to, size, dimensions, shooting time, and storage time.
[0230] Therefore, based on image 1, electronic device 1 can retrieve color 1 of image 1 from electronic device 1.
[0231] In other embodiments, the electronic device 1 may employ at least one algorithm, such as the median segmentation algorithm, the octree algorithm, or the minimum difference algorithm, to perform color recognition on the image 1 and obtain the colors contained in the image 1.
[0232] If the number of colors contained in image 1 is one, then electronic device 1 can identify that color as color 1.
[0233] If the image 1 contains multiple colors, then the electronic device 1 can determine color 1 based on the color value and display area of each color. In some embodiments, the electronic device 1 determines the color with the same color value and the largest display area in the image 1 (or the theme color of the image 1) as color 1.
[0234] The theme color of Image 1 refers to the color that can represent the theme / central concept / main color of Image 1.
[0235] Color value refers to the color value of a color in different color modes. Color values can be represented using formats such as color code, RGB color mode color value, HSV color mode color value, and CMYK color mode color value. For example, the color value of red in RGB color mode is 255,0,0. The color value of green in RGB color mode is 0,255,0. The color value of blue in RGB color mode is 0,0,255.
[0236] The display area can be characterized by parameters such as the number of pixels and the area ratio. The number of pixels of a color refers to the number of pixels in Image 1 with that color value. The area ratio of a color refers to the ratio between the number of pixels of that color and the total number of pixels in Image 1.
[0237] When there is only one color with the same color value and the largest display area, electronic device 1 may designate that color as color 1. When there are multiple colors with the same color value and the largest display area, electronic device 1 may randomly select one color as color 1. Alternatively, electronic device 1 may designate a color selected by the user as color 1.
[0238] Furthermore, during the color recognition process of image 1, electronic device 1 can also filter out colors such as black, pure white, and pure red from image 1, which helps to ensure the comfort of the lighting color. This application does not limit the specific implementation method of the filtered colors. In some embodiments, the filtered colors can be selected from those that have adverse visual effects on the user's mood, eyes, skin, etc.
[0239] For example, if the colors in image 1 include black and yellow, electronic device 1 can filter out black and determine that color 1 is yellow. If the colors in image 1 include only black, electronic device 1 can assume that color 1 cannot be determined, and may either notify the user that image 1 needs to be replaced without changing the light color.
[0240] In addition, electronic device 1 can also display relevant information about picture 1 in picture 1.
[0241] The aforementioned information about Image 1 refers to information about one or more colors contained in Image 1, such as the theme color, the color with the same color value and the largest display area, all colors, etc. Specifically, it may include, but is not limited to, the color name, the color display of the color, the corresponding area of the color in Image 1, the warm color tone, the cool color tone, etc.
[0242] Therefore, upon receiving a user's selection of a color other than color 1, electronic device 1 can update color 1 to the other color. This other color can be any color in image 1 other than color 1, or a warmer shade of color 1; this application does not limit this. Thus, electronic device 1 can continue executing steps 12-15, enabling lighting device 1 to emit light related to other colors.
[0243] It should be noted that steps 12-14 can be executed sequentially, or steps 12-14 can be executed according to the following process: display image 1; when displaying image 1, first determine the color 1 of image 1, and then determine whether the detected action is action 1. This application does not limit the above two implementation methods.
[0244] Furthermore, there is no temporal order between steps 11 and steps 12-14. Step 11 can be inserted before or after any of steps 12-14, or it can be executed simultaneously with any of steps 12-14. This application does not limit this. In some embodiments, step 11 can be executed before step 12. Alternatively, step 11 can be executed simultaneously with determining color 1 in step 14.
[0245] In addition to displaying the relevant information of Image 1 in Image 1, electronic device 1 can also display the relevant information of the lighting device in Image 1. The specific implementation method can be found in the description of the relevant information of the lighting device in step 11, which will not be repeated here.
[0246] Therefore, upon receiving the user's request to select another lighting device, electronic device 1 can replace lighting device 1 with another lighting device. The other lighting devices are described in the preceding text. Thus, electronic device 1 can continue executing steps 12-15, enabling the other lighting device 1 to emit light related to color 1.
[0247] It should be noted that, based on the user's wishes, the user may change the color of the image and the lighting equipment at the same time, or may change either the color of the image or the lighting equipment; this application does not impose any restrictions on this.
[0248] Step 15: Electronic device 1 controls lighting device 1 to emit light of color 1.
[0249] Electronic device 1 can control the light device 1 to emit light of color 1 in a variety of ways.
[0250] When electronic device 1 and lighting device 1 are in direct communication connection, electronic device 1 can send the color value of color 1 to lighting device 1. Thus, lighting device 1 can emit light of color 1 based on the color value of color 1.
[0251] When electronic device 1 is directly connected to other electronic devices, and these other electronic devices are also directly connected to lighting device 1, electronic device 1 can send the color value of color 1 to the other electronic devices, and the other electronic devices can send the color value of color 1 to lighting device 1. Thus, lighting device 1 can emit light of color 1 based on the color value of color 1.
[0252] In summary, the user can see that the light color of lighting device 1 is color 1.
[0253] It should be noted that, in addition to the color value of color 1, this application can also use a method of transmitting instructions to indicate the color value of color 1, so that the lighting device 1 emits light of color 1. The aforementioned instructions can be represented using identifiers such as letters or binary numbers.
[0254] After determining in step 14 that the user has performed action 1 on the electronic device 1 displaying image 1, the electronic device 1 can determine whether the user's action on the electronic device 1 has been detected within time duration 1.
[0255] This application does not specify the exact value of duration 1.
[0256] After detecting an action performed by the user on the electronic device 1 within a duration of 1, the electronic device 1 can continue to determine whether the action is used to indicate the cancellation of the setting of the light color.
[0257] When the action is determined to indicate the cancellation of the light color setting, the electronic device 1 can determine that the user needs to cancel the setting of the light color to color 1, that is, the electronic device can execute step 161.
[0258] If no action performed by the user on the electronic device 1 is detected after a period of 1, or if the action is detected after a period of 1 and is not used to indicate the cancellation of the light color setting, the electronic device 1 may execute step 162.
[0259] Step 161: Within a time period 1, the electronic device 1 detects that the user has performed an action 2 on the electronic device 1. Action 2 is used to indicate that when the setting of the light color is canceled, the light device 1 is controlled to emit the light of the previous light color of color 1.
[0260] Based on the description of the embodiment in step 13, when displaying image 1, electronic device 1 can continue to monitor the attitude change of electronic device 1 according to the data collected by the sensor. The attitude change of electronic device 1 can be found in the description of step 13, and will not be repeated here.
[0261] Therefore, electronic device 1 can detect the user's actions on it based on changes in its posture. Furthermore, electronic device 1 can determine whether the user's action is action 2.
[0262] Action 2 is used to indicate the cancellation of the light color setting. Action 2 may be the same as or different from Action 1. Action 2 can be set by the system through electronic device 1 or manually by the user. This application does not limit the specific implementation method of Action 2.
[0263] In other words, if electronic device 1 determines that the user has performed action 2 on electronic device 1 within time period 1, then electronic device 1 can determine that the user needs to cancel the setting of the light color to color 1.
[0264] Therefore, when the posture change of electronic device 1 matches the change corresponding to action 2, electronic device 1 can determine that the user has performed action 2 on electronic device 1, that is, electronic device 1 can determine that the action performed by the user on electronic device 1 is action 2.
[0265] In some embodiments, action 2 may be configured to rotate the electronic device 1 until its screen faces a preset direction. The specific value of the preset direction is not limited in this application.
[0266] For example, action 2 could be the electronic device rotating so that its screen faces the ground. Thus, when the posture change of electronic device 1 indicates that electronic device 1 has rotated so that its screen faces a preset direction, electronic device 1 can determine that the user has performed action 2 on electronic device 1.
[0267] Below, in conjunction with Figure 2A , Figures 2D-2E The second action will be explained in detail.
[0268] Please see Figure 2A , Figures 2D-2E , Figures 2D-2E This illustration shows a schematic diagram of a user performing an action 2 on an electronic device 1 according to an embodiment of this application.
[0269] For ease of explanation, Figure 2A , Figures 2D-2E In the diagram, the X-axis represents the horizontal direction of electronic device 1, the Y-axis represents the vertical direction of electronic device 1 and is away from the top of electronic device 1, and the Z-axis represents the axial direction of electronic device 1. Electronic device 1 is illustrated using a mobile phone as an example.
[0270] For example, the user with Figure 2A The electronic device 1 is being held at the angle shown. (As indicated) Figure 2D As shown, the user rotates electronic device 1 around the X-axis until the screen faces the ground. After electronic device 1 is rotated so that the screen faces the ground, the user... Figure 2E The electronic device 1 is held at the angle shown.
[0271] When the screen is facing the ground in a preset direction, electronic device 1 can determine that the user has performed action 2 on electronic device 1.
[0272] It should be noted that, in addition to the above implementation, action 2 can also be other actions such as the electronic device 1 rotating around the Y-axis by an angle greater than or equal to a preset angle. Alternatively, action 2 can also be set to the electronic device 1 continuously swaying in two opposite directions by a preset angle. This application does not limit the two opposite directions or the preset angle.
[0273] For example, action 2 could be the user shaking electronic device 1 left and right or up and down. Thus, after the change in the posture of electronic device 1 indicates that the user has shaken electronic device 1 left and right, electronic device 1 can determine that the user has performed action 2 on electronic device 1.
[0274] In addition to Action 1 and Action 2, this application may also set other actions, such as indicating the activation / deactivation of light color settings.
[0275] Therefore, after determining that the user has performed action 2 on the electronic device 1, the electronic device can use various methods to control the lighting device 1 to emit light of the previous light color of color 1.
[0276] Here, the preceding light color of color 1 refers to the light color emitted by light device 1 before emitting color 1.
[0277] When electronic device 1 and lighting device 1 are directly connected, if lighting device 1 stores the color value of the previous light color of color 1, then electronic device 1 can send a cancellation command to lighting device 1. Upon receiving the cancellation command, lighting device 1 can then emit light of the previous light color based on the color value of the previous light color of color 1. If lighting device 1 does not store the color value of the previous light color of color 1, then electronic device 1 can send the color value of the previous light color of color 1 to lighting device 1. Thus, lighting device 1 can then emit light of the previous light color of color 1 based on the color value of the previous light color of color 1.
[0278] When electronic device 1 is directly connected to other electronic devices, and these other electronic devices are also directly connected to lighting device 1, if lighting device 1 stores the color value of the previous light color of color 1, then electronic device 1 can send a cancellation command to the other electronic devices, and the other electronic devices can send a cancellation command to lighting device 1. Therefore, upon receiving the cancellation command, lighting device 1 can emit light of the previous light color of color 1 based on the color value of the previous light color of color 1. If lighting device 1 does not store the color value of the previous light color of color 1, then electronic device 1 can send the color value of the previous light color of color 1 to the other electronic devices. The other electronic devices can send the color value of the previous light color of color 1 to lighting device 1. Therefore, lighting device 1 can emit light of the previous light color of color 1 based on the color value of the previous light color of color 1.
[0279] The aforementioned cancellation command is used to cancel the setting of the indicator light device 1 to color 1. The cancellation command can be represented by identifiers such as letters or binary numbers.
[0280] In summary, the user can see that the light color of lighting device 1 can be restored to the previous light color of color 1.
[0281] It should be noted that, in addition to the above implementation, electronic device 1 can also display a control in Figure 1, which is used to indicate the cancellation of the light color setting. Thus, upon receiving an operation performed by the user on this control, electronic device 1 can control the lighting device 1 to emit light of the previous light color (color 1).
[0282] Step 162: After a period of 1, the electronic device 1 does not detect any action performed by the user on the electronic device 1, or after a period of 1, it does not detect any action 2 performed by the user on the electronic device 1. Action 2 is used to indicate that when the setting of the light color is cancelled, the light device 1 is controlled to continue to emit light of color 1.
[0283] If electronic device 1 determines that no action performed by the user on electronic device 1 has been detected after time 1, or if no action performed by the user on electronic device 1 has been detected after time 1, then electronic device 1 can determine that the user does not need to cancel the setting of the light color to color 1, and can continue to control the light device 1 to continue to emit light of color 1.
[0284] Based on the description of the above embodiments, in scenario one, after displaying image 1, electronic device 1 can control lighting device 1 to set the light color to color 1 in response to action 1 performed by the user on electronic device 1. Furthermore, when the user wants to cancel color 1, electronic device 1 can control lighting device 1 to restore the light color to the previous light color in response to action 2.
[0285] Scene 2
[0286] In scenario two, electronic device 2 sets the light color of lighting device 2 by playing video 1 and detecting the playback mode of video 1. The specific implementation process may include the following steps:
[0287] Step 21: Electronic device 2 determines lighting device 2.
[0288] Here, lighting device 2 refers to one or more lighting devices whose light colors need to be set. Electronic device 2 needs to be in communication connection with lighting device 2. The communication connection mentioned here can be found in the previous description and will not be repeated here.
[0289] In some embodiments, the distance between the electronic device 2 and the lighting device 2 may be less than or equal to a preset distance, so that the light from the lighting device 2 can illuminate the electronic device 2. This application does not limit the specific value of the preset distance.
[0290] The specific implementation of electronic device 2 determining lighting device 2 can be found in the description of electronic device 1 determining lighting device 1 in step 11, and will not be repeated here.
[0291] It should be noted that step 21 is optional, that is, electronic device 2 can identify all the lighting devices that are connected to electronic device 2 as lighting device 2, without considering the number of lighting devices connected to electronic device 2.
[0292] Step 22: Electronic device 2 plays video 1.
[0293] The electronic device 2 can play video 1 in a way that is full-screen, split-screen, or floating. This application does not limit the way the electronic device 2 plays video 1.
[0294] The full-screen playback method mentioned above refers to the entire screen of electronic device 2 playing only video 1, such as the video 1 filling the entire screen or the video 1 being concentrated in the center area of the screen.
[0295] The aforementioned split-screen playback method refers to playing video 1 on a portion of the screen of electronic device 2. For example, after electronic device 2 splits into left and right screens, the left screen displays the playback of video 1, or after electronic device 2 splits into top and bottom screens, the top screen displays the playback of video 1.
[0296] The aforementioned floating playback method refers to the electronic device 2 displaying the video 1 playing in a floating manner on the full-screen / split-screen display screen.
[0297] Furthermore, this application does not impose any restrictions on parameters such as the source and content of Video 1.
[0298] Step 23: When playing video 1, electronic device 2 obtains the playback mode of video 1.
[0299] Electronic device 2 can be triggered to acquire the playback mode of video 1 by using periodic, timed, or user commands received from electronic device 2 or other electronic devices.
[0300] The playback mode of video 1 can be used to indicate what settings to make for the light color. This application does not limit the playback mode of video 1. In some embodiments, when video 1 is played in full-screen mode, the electronic device 2 can determine that the playback mode of video 1 is used to indicate the setting of the light color.
[0301] Step 24: When the electronic device 2 determines that the playback mode of video 1 is used to indicate the setting of the light color, the electronic device 2 determines the color 2 of video 1.
[0302] When the electronic device 2 determines that the playback mode of the video 1 is used to indicate the setting of the light color, it can perform color recognition on the screen 1 in the video 1 to obtain the colors contained in the screen 1.
[0303] In this context, "frame 1" in video 1 refers to a frame currently being played in video 1, or any frame being played after the current moment in video 1, or any frame being played before the current moment in video 1. This application does not impose any limitations on this.
[0304] Therefore, electronic device 2 can determine color 2 of video 1 from the colors contained in image 1. Here, color 2 refers to the color of the light emitted by lighting device 2 controlled by electronic device 2.
[0305] The specific implementation of electronic device 2 determining color 2 from the colors contained in image 1 can be found in the description of electronic device 1 determining color 1 from the colors contained in image 1 in step 14, and will not be repeated here.
[0306] It should be noted that steps 22-24 can be executed sequentially, while there is no temporal order between steps 21 and steps 22-24. Step 21 can be inserted before or after any of steps 22-24, or it can be executed simultaneously with any of steps 22-24. This application does not limit this. In some embodiments, step 21 can be executed before step 22. Alternatively, step 21 can be executed simultaneously with determining color 2 in step 24.
[0307] Step 25: Electronic device 2 controls lighting device 2 to emit light of color 2.
[0308] The specific implementation of electronic device 2 controlling lighting device 2 to emit light of color 2 can be found in the description of electronic device 1 controlling lighting device 1 to emit light of color 1 in step 15, and will not be repeated here.
[0309] Thus, the user can see that the light from lighting device 2 is color 2.
[0310] In step 24, the playback mode of video 1 is determined to indicate that after the light color is set, as video 1 continues to play, electronic device 2 can be triggered by periodic, timed, or user commands received from electronic device 2 or other electronic devices to continue determining the color of video 1 based on screen 2 in video 1 (for ease of distinction, the color of video 1 here is represented by color 3).
[0311] In this context, frame 2 in video 1 refers to a frame currently being played in video 1, or any frame being played in video 1 after the current moment, or any frame being played in video 1 during the time period from the time frame 1 being played to the time frame currently being played. This application does not impose any limitations on this.
[0312] In some embodiments, the electronic device 2 may define a frame of video 1 currently playing as frame 2 at intervals of duration 2, or define a frame of video 1 playing within duration 3 after the current moment as frame 2, or define a frame of video 1 playing within duration 4 after playing frame 1 and before the current moment as frame 2. The specific values of duration 2, duration 3, and duration 4 are not limited in this application.
[0313] In other embodiments, after receiving the acquisition instruction, the electronic device 2 may determine the frame currently playing in video 1 as frame 2, or determine the frame played within a duration of 5 after receiving the acquisition instruction as frame 2, or determine any frame played in video 1 within a duration of 6 from the time frame 1 is played until the time frame 1 is received as frame 2. The acquisition instruction is used to instruct the electronic device 2 to acquire frame 2, and the acquisition instruction may be represented using identifiers such as letters or binary numbers. This application does not limit the specific values of duration 5 and duration 6.
[0314] Based on the above description, electronic device 2 can recognize the colors contained in screen 2. Therefore, electronic device 2 can determine color 3 from the colors contained in screen 2.
[0315] The specific implementation of the above process can be found in the description of electronic device 1 determining color 1 related to image 1 in step 14, which will not be repeated here.
[0316] Therefore, electronic device 2 can determine whether color 3 is the same as color 2, and thus determine whether the color of video 1 has changed.
[0317] If color 3 is different from color 2, that is, based on image 2 it can be determined that the color of video 1 has changed, then electronic device 2 can execute step 26.
[0318] If color 3 is the same as color 2, that is, based on image 2 it can be determined that the color of video 1 has not changed, then electronic device 2 can continue to execute step 25.
[0319] Among them, electronic device 2 can use a variety of methods to determine whether color 3 is the same as color 2.
[0320] In some embodiments, when the color value of color 3 is equal to the color value of color 2, the electronic device 2 can determine that color 3 is the same as color 2. When the color value of color 3 is not equal to the color value of color 2, the electronic device 2 can determine that color 3 is different from color 2.
[0321] In other embodiments, when the color value of color 3 falls within a preset range, the electronic device 2 can determine that color 3 is the same as color 2. When the color value of color 3 does not fall within the preset range, the electronic device 2 can determine that color 3 is different from color 2.
[0322] The preset range refers to the range of color values corresponding to color 2. For example, if color 2 is pure yellow, then the preset range can be set to the range of color values corresponding to yellow. The color values of pure yellow, lemon yellow, ochre, medium yellow, light yellow, orange, and pale yellow all belong to this preset range.
[0323] Step 26: When the electronic device 2 determines that the color of video 1 has changed based on the image 2, it controls the lighting device 2 to emit light of color 3.
[0324] When color 3 differs from color 2, electronic device 2 can determine that the color of video 1 has changed. Therefore, electronic device 2 can update color 2 to color 3, enabling it to control lighting device 2 to emit light of color 3. In this way, the color of the light emitted by lighting device 2 can change according to the color change of video 1.
[0325] The specific implementation of the above process can be found in the description of electronic device 1 controlling lighting device 1 to emit light of color 1 in step 15, which will not be repeated here.
[0326] It should be noted that step 26 is optional. If it is determined that color 3 is the same as color 2, then electronic device 2 can determine that it is not necessary to change the light color of lighting device 2. Therefore, electronic device 2 does not need to control lighting device 2 to change the light emitting color 2, and lighting device 2 can continue to emit light of color 2.
[0327] Step 27: When the electronic device 2 determines that the playback mode of the video 1 is used to indicate the setting of turning off the light color, it controls the light device 2 to emit light of the preset color or controls the light device 2 to turn off.
[0328] After determining the playback mode of video 1 in step 24 to indicate the setting of the light color, electronic device 2 can continue to obtain the playback mode of video 1.
[0329] For example, based on the description of the embodiment of step 23, the playback mode of video 1 can be used to indicate what setting to make the light color. When video 1 exits full-screen playback mode, electronic device 2 can determine that the playback mode of video 1 is used to indicate the setting to turn off the light color.
[0330] The ways in which Video 1 exits full-screen playback may include, but are not limited to: Video 1 using split-screen playback, Video 1 using floating playback, or Video 1 exiting playback.
[0331] Therefore, when the playback mode of video 1 is determined to indicate the setting of turning off the light color, electronic device 2 can control the light device 2 to emit light of a preset color or control the light device 2 to turn off.
[0332] The electronic device 2 can send a shutdown command to the lighting device 2, or the electronic device 2 can send a shutdown command to the lighting device 2 through other electronic devices. The aforementioned shutdown command is used for the indicator light device 2 to emit light of a preset color or for the lighting device 2 to turn off. The shutdown command can be represented using identifiers such as letters or binary numbers. This application does not limit the specific implementation method of the preset color.
[0333] In some embodiments, the preset color may include color 2. This ensures that the light color of the lighting device 2 remains unchanged at color 2.
[0334] In other embodiments, the preset color may include a default color. This restores the light color of the lighting device 2 to the default color. This application does not limit the specific implementation of the default color.
[0335] Additionally, electronic device 2 can replace video 1, such as replacing video 1 with video 2. Therefore, when playing video 2, electronic device 2 obtains the playback mode of video 2. After the playback mode of video 2 is used to indicate the setting of the light color, it controls the lighting device 1 to emit light related to the color of video 2. The specific implementation process can be found in the description of steps 22-25. Here, video 2 and video 1 are two separate videos, and their content may be the same or different.
[0336] Based on the description of the above embodiments, in scenario two, when the electronic device 2 detects that video 1 is playing in full-screen mode, it can control the lighting device 2 to set the light color to color 2. Furthermore, as video 1 continues to play, if it is determined based on a frame in video 1 that the color of video 1 is different from color 2, the electronic device 2 can control the lighting device 2 to change the light color to the changed color of video 1. Additionally, when the electronic device 2 detects that video 1 has exited full-screen playback mode, it can also control the lighting device 2 to emit light of a preset color or control the lighting device 2 to turn off.
[0337] Based on the descriptions of Scenario 1 and Scenario 2 above, and in conjunction with the accompanying drawings and application scenarios, the light color setting method provided in this application will be described in detail.
[0338] Please see Figure 3A , Figure 3A This illustration shows an application scenario diagram of an electronic device and a lighting device provided in an embodiment of this application.
[0339] like Figure 3A As shown, when electronic device 1 is a mobile phone, the lighting devices that can communicate with the mobile phone may include: a table lamp in the living room, a tablet, an electric fan, a television, a TV wall light strip in the living room, and speakers. Therefore, the mobile phone needs to determine and select a preset number of lighting devices as lighting device 1 from among the multiple lighting devices. For ease of explanation, this application uses an example where the preset number of lighting device 1 is equal to 1.
[0340] Below, in conjunction with Figure 3B This diagram illustrates the angles and distances between the mobile phone and various lighting devices.
[0341] Please see Figure 3B , Figure 3B This is a planar schematic diagram showing the angle and distance between an electronic device and a lighting device according to an embodiment of this application.
[0342] For ease of explanation, Figure 3B In the diagram, the X-axis represents the horizontal direction of electronic device 1, the Y-axis represents the vertical direction of electronic device 1 and is away from the top of electronic device 1, the Z-axis represents the axial direction of electronic device 1, the sum of α1 and α2 is equal to 90°, and both α1 and α2 are less than or equal to 90°. Electronic device 1 is illustrated using a mobile phone as an example.
[0343] like Figure 3B As shown, the angles and distances between the mobile phone and the living room table lamp are 90° and 40cm, respectively. The angles and distances between the mobile phone and the tablet are 70° and 45cm, respectively. The angles and distances between the mobile phone and the electric fan are 65° and 120cm, respectively. The angles and distances between the mobile phone and the television are 40° and 88cm, respectively. The angles and distances between the mobile phone and the TV wall light strip in the living room are 35° and 100cm, respectively. The angles and distances between the mobile phone and the speaker are 5° and 76cm, respectively.
[0344] based on Figure 1 In the description of the embodiments, the recognition range of the mobile phone can be considered as the range contained within a central sphere. Figure 3B The gray circular sector in the diagram shows the plane formed by the central sphere projected onto the X and Y axes. The vertex of the circular sector is the center point A at the top of the phone, the vertex angle is twice α1, and the radius of the circular sector is L.
[0345] It can be seen that the recognition range of a mobile phone can be described as the range formed by the angle between the mobile phone and the direction along the X-axis being greater than or equal to α2 and less than or equal to 90°, and the distance between the mobile phone and the mobile phone being greater than 0 and less than or equal to L.
[0346] When α2 is set to 20° and L is set to 110cm, the distance between the electric fan and the phone is greater than 110cm, while the angle between the speaker and the phone is less than 20°. Therefore, both the electric fan and the speaker are outside the phone's recognition range. However, since the angles and distances between other lighting devices (excluding the electric fan and speaker) and the phone are within the phone's recognition range, the living room table lamp, tablet, TV, and TV wall light strip are all within the phone's recognition range.
[0347] Since the number of lighting devices within the mobile phone's recognition range is still multiple, the mobile phone can use the control strategy mentioned above or user selection to identify lighting device 1 from among the multiple lighting devices.
[0348] In summary, the mobile phone can identify lighting device 1.
[0349] In this application, when the user selects the living room table lamp with the smallest angle and closest distance to the mobile phone as the lighting device 1, the user can view the picture 1 on the mobile phone in various ways, so that the mobile phone can control the living room table lamp to emit light of color 1 related to the picture 1 based on the user's action 1 on the mobile phone.
[0350] Below, in conjunction with Figures 4A-4J , Figures 5A-5E , Figures 6A-6D , Figures 7A-7D , Figures 8A-8G and Figures 9A-9D This article details how to set the color of a living room table lamp using a mobile phone.
[0351] Please see Figures 4A-4J , Figures 4A-4J A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0352] The phone can display as follows Figure 4A The exemplary user interface 41 can be the home screen of a mobile phone, and may include, but is not limited to, a status bar, navigation bar, calendar indicator, weather indicator, time indicator, battery indicator, and multiple application icons. Application icons may also include an icon 401 for a photo album application, or icons for applications such as music, smart living, fitness and health, settings, maps, and frequently used contacts.
[0353] The phone detects a user-instructed action to access the photo album application (such as in...). Figure 4A After clicking the album application icon 401 in the user interface 41 shown, the following will be displayed: Figure 4B The exemplary user interface 42 is used to display a page (such as a main page or a subpage) of the photo album application.
[0354] Figure 4B The user interface 42 may include a control 402, which provides an entry point for browsing all photos stored on the phone in the photo album application.
[0355] The phone detects the user's instruction to browse all photos (such as in...). Figure 4B After clicking control 402 in the user interface 42 shown, the following can be displayed: Figure 4C The exemplary user interface 43 provides an entry point for displaying all photos, allowing users to easily browse all photos.
[0356] Figure 4CIn the user interface 43, a control 403 may be included, which provides an entry point for viewing photo a.
[0357] The phone detects the user's selection and the action of viewing photo a (such as in...). Figure 4C After clicking control 403 in the user interface 43 shown, the following can be displayed: Figure 4D The exemplary user interface 44 is used to display photo a, such as displaying photo a in full screen.
[0358] Figure 4D In the user interface 44, there may be a region 404, which is used to display photo a in full screen in a part of the phone screen, and can concentrate photo a in the center area of the phone screen.
[0359] On the phone display Figure 4D After viewing photo a in the user interface 44 shown, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 4D The user interface 44 shown is the focus window of the mobile phone, and it retrieves the stored photo a from the mobile phone. Based on photo a, it retrieves / identifies the colors contained in photo a from the mobile phone, including yellow, purple and green, among which yellow has the largest display area.
[0360] For ease of explanation, this application uses the color with the same color value and the largest display area as color 1. Therefore, in this case, image 1 is photograph a, and color 1 is yellow.
[0361] Furthermore, at this point, the mobile phone can identify the lighting device 1 as the living room table lamp. Therefore, the mobile phone can send a yellow color value to the living room table lamp. As a result, the living room table lamp can emit yellow light, allowing the user to perceive the light color as yellow.
[0362] Additionally, at the same time or after the phone sends a yellow color value to the living room lamp, the phone can also display... Figure 4D The user interface 44 shown becomes the display Figure 4E The user interface 44 is shown as an example.
[0363] Optionally, the user interface 44 is also used to display relevant information about photo a. The specific implementation of the relevant information about photo a can be found in the information about image 1 mentioned earlier. Additionally, the user interface 44 is also used to display relevant information about the lighting device connected to the mobile phone, the specific implementation of which can be found in the previous description.
[0364] Figure 4EIn addition to the display area 404, the user interface 44 may include control 405 and control 406.
[0365] Control 405 is used to display the name and color information of color 1. Additionally, control 405 provides an entry point for changing color 1 to a warm or cool color.
[0366] Control 406 is used to display the name and icon of the lighting device 1. Additionally, control 406 provides an entry point for changing the lighting device 1.
[0367] in addition, Figure 4E In addition, the user interface 44 may also include: area 4071, area 4072 and area 4073, for displaying information such as the names of the colors contained in photo a and the corresponding areas, and providing an entry point for selecting the corresponding color.
[0368] Specifically, area 4071 is used to display the name of the yellow color contained in photo a and indicate the corresponding area of the yellow color in photo a. Additionally, area 4071 also provides an entry point for selecting the yellow color.
[0369] Specifically, area 4072 is used to display the name of the purple contained in photo a and indicate the corresponding area of the purple in photo a. Additionally, area 4072 also provides an entry point for selecting the purple.
[0370] Specifically, area 4073 is used to display the names of the greens contained in photo a and indicate the corresponding areas of the greens in photo a. Additionally, area 4073 also provides an entry point for selecting greens.
[0371] The phone detects the user's instruction to select purple (such as in...). Figure 4E After clicking on area 4072 in the user interface 44 shown, you can access the display. Figure 4E The user interface 44 shown becomes the display Figure 4F The user interface 44 is shown as an example. At this point, the phone can determine that the user has selected purple.
[0372] On the phone display Figure 4F After viewing photo a in the user interface 44 shown, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 4F The user interface 44 shown is the focus window of the phone, and it retrieves the stored photo 'a' from the phone. Based on the user's selection, it changes color 1, specifically changing yellow to purple. Therefore, at this point, image 1 is still photo 'a', but color 1 has changed to purple.
[0373] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp. Therefore, the phone can send a purple color value to the living room table lamp. As a result, the living room table lamp can emit purple light, allowing the user to perceive the light color of the living room table lamp as purple.
[0374] It should be noted that, in addition to the methods mentioned above, the phone can also detect user-instructed selection of the warm yellow color lemon yellow (such as in...). Figure 4E After clicking control 405 in the user interface 44 shown, color 1 can be changed based on the user's selection, that is, yellow can be changed to lemon yellow. Thus, based on... Figures 4E-4F In this embodiment, a mobile phone can send a lemon yellow color value to a living room lamp. The living room lamp can then emit lemon yellow light, allowing the user to perceive the lamp's light color as lemon yellow.
[0375] in addition, Figure 4E In the user interface 44, a window 408 may also be included to prompt the user on the specific implementation of the action 2 to be performed on the mobile phone within a duration 1 (e.g., 20 seconds) (e.g., shaking the phone or rotating the phone so that the screen faces the ground) so as to cancel the setting of the light color, so that the mobile phone can control the living room table lamp to cancel the setting of the light color to color 1.
[0376] Window 408 is also used to provide users with an entry point that does not display Window 408, so that users can focus on setting the lighting equipment without being disturbed by Window 408.
[0377] Window 408 also serves to prompt the user that it will no longer be displayed after a certain duration (e.g., 5 seconds), allowing the user to focus on setting the lighting equipment without being disturbed by Window 408. Generally, the phone will display Window 408 after initially detecting that the user has set the color of the living room lamp. Furthermore, the phone can continue displaying Window 408 after confirming that the user has not chosen not to display it again and after detecting that the user has set the color of the living room lamp.
[0378] Furthermore, this application includes, but is not limited to, the above-described implementation of window 408. In some embodiments, the user interface 44 may further include: a control ( Figure 4E (Not illustrated in the image), this control is used to cancel the setting of the light color, so that the mobile phone can control the living room table lamp to cancel the setting of the light color to color 1.
[0379] Within a duration of 1, the user adopted the following... Figure 2DThe method shown rotates the phone around the X-axis until the screen faces the ground. Thus, after detecting that the user has performed action 2 on the phone within a time period 1 (such as determining that the phone screen is facing the ground in a preset direction), the phone can determine that the setting of the light color to color 1 needs to be canceled.
[0380] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp, and that green is the previous light color of the living room table lamp before it emitted yellow light. Therefore, the phone can send the green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to see the light color of the living room table lamp change from yellow to green.
[0381] The mobile phone detects the user's instruction to view the light device 1 (such as in...). Figure 4F After clicking control 406 in the user interface 44 shown, the following can be displayed: Figure 4G The exemplary user interface 45 is used to display the angle and distance of a lighting device connected to the mobile phone within the target range of the mobile phone. Additionally, the user interface 45 also provides functions such as moving, zooming in, zooming out, and editing.
[0382] The phone detects the user's instruction to change the lighting device 1 (such as in...). Figure 4G After clicking on the TV wall light strip in the living room in the user interface 45 shown, it can be confirmed that the user has selected the TV wall light strip in the living room, and the display will show... Figure 4G The exemplary user interface 45 becomes a display Figure 4H The user interface 44 is shown as an example.
[0383] On the phone display Figure 4H After viewing photo a in the user interface 44 shown, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 4H The user interface 44 shown is the focus window of the phone, and it retrieves the stored photo 'a' from the phone. Based on the user's selection, it changes color 1, specifically changing yellow to purple. Therefore, at this point, image 1 is still photo 'a', but color 1 has changed to purple.
[0384] Furthermore, at this point, the mobile phone can, based on the user's selection, change the lighting device 1, replacing the living room table lamp with the living room TV wall light strip. Then, the mobile phone can send a purple color value to the living room TV wall light strip. As a result, the living room TV wall light strip can emit purple light, allowing the user to perceive the light color as purple.
[0385] It should be noted that, in addition to the above Figures 4E-4F Examples and Figures 4F-4H In addition to the separate replacement of the image color and lighting device 1 in the embodiment, the mobile phone can also replace the image color and lighting device 1 simultaneously.
[0386] In some embodiments, the phone detects a user-instructed selection of purple (such as in...). Figure 4E After clicking on area 4072 in the user interface 44 shown, you can access the display. Figure 4E The user interface 44 shown becomes the display Figure 4F The user interface 44 is shown as an example. At this point, the phone can determine that the user has selected purple.
[0387] The mobile phone detects the user's instruction to view the light device 1 (such as in...). Figure 4E / Figure 4F After clicking control 406 in the user interface 44 shown, the following can be displayed: Figure 4G The user interface 45 is shown as an example.
[0388] The phone detects the user's instruction to change the lighting device 1 (such as in...). Figure 4G After clicking on the TV wall light strip in the living room in the user interface 45 shown, it can be confirmed that the user has selected the TV wall light strip in the living room, and the display will show... Figure 4G The exemplary user interface 45 becomes a display Figure 4H The user interface 44 is shown as an example.
[0389] On the phone display Figure 4H After viewing photo a in the user interface 44 shown, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 4H The user interface 44 shown is the focus window of the phone, and it retrieves the stored photo 'a' from the phone. Based on the user's selection, it changes color 1, specifically changing yellow to purple. Therefore, at this point, image 1 is still photo 'a', but color 1 has changed to purple.
[0390] Furthermore, at this point, the mobile phone can, based on the user's selection, change the lighting device 1, replacing the living room table lamp with the living room TV wall light strip. Then, the mobile phone can send a purple color value to the living room TV wall light strip. As a result, the living room TV wall light strip can emit purple light, allowing the user to perceive the light color as purple.
[0391] In addition, the phone detects the user's instruction to change the photo (such as in...). Figures 4D-4F After swiping left or right on any area 401 in any user interface 44, the following can be displayed: Figure 4I The exemplary user interface 46 is used to display photo b, such as displaying photo b in full screen.
[0392] On the phone display Figure 4I After viewing photo b in the user interface 46 shown, the user uses, as follows Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 4I The user interface 46 shown is the focus window of the mobile phone, and it retrieves the stored photo b from the mobile phone, and retrieves / identifies the colors contained in the photo b from the mobile phone based on the photo b, including: green.
[0393] As you can see, at this point, image 1 becomes photo b, and color 1 becomes green.
[0394] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp. Therefore, the phone can send a green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to perceive the light color as green.
[0395] Additionally, while or after the phone sends a green color value to the living room lamp, the phone can also display... Figure 4I The user interface 46 shown becomes a display Figure 4J The user interface 46 is shown as an example.
[0396] Optionally, the user interface 46 is also used to display relevant information about photo b. The specific implementation of the relevant information about photo b can be found in the information about image 1 mentioned earlier. Additionally, the user interface 46 is also used to display relevant information about the lighting device connected to the mobile phone, the specific implementation of which can be found in the previous description.
[0397] In some embodiments, Figure 4J For a detailed implementation of the user interface 46 shown, please refer to [link / reference]. Figure 4E The description of the user interface 44 shown is omitted here.
[0398] In summary, by displaying photo 'a' in the photo album application, the mobile phone can control the living room lamp to emit light of color '1' in response to the user's action '1' on the mobile phone.
[0399] In addition, the mobile phone can also respond to the user's action 2 performed on the mobile phone within a duration of 1, and control the living room table lamp to turn off the light emitting color 1.
[0400] Additionally, the phone can display information about photo a and lighting device 1, allowing the user to change at least one of color 1, the living room lamp, and photo a. Thus, the phone can again respond to the user's action 1, controlling the lighting device 1 to emit light related to the color of photo a.
[0401] Please see Figures 5A-5E , Figures 5A-5E A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0402] The phone can display as follows Figure 5A The user interface 51 shown is an example. User interface 51 can be the home screen of a mobile phone; see [link to example]. Figure 4A The description of the user interface 41 shown is omitted here.
[0403] Figure 5A In the user interface 51, the following may be included: an icon 501 for the camera application.
[0404] The phone detects user-instructed actions to access the camera app (such as in...). Figure 5A After clicking the camera application icon (501) in the user interface (51) shown, the following will be displayed: Figure 5B The exemplary user interface 52 is used to display a page (such as a main page or a subpage) of the camera application.
[0405] Figure 5B In the user interface 52, there may be: control 502, area 503 and control 504.
[0406] Control 502 provides an entry point for capturing photos in real time. Area 503 is used to preview the scene captured by the phone in real time. Control 504 provides an entry point for displaying the captured photos.
[0407] After the user points the phone at the scene they want to photograph, the phone detects the user's instruction to take a photo (such as in...). Figure 5B After clicking the control 502 in the user interface 52 shown, a photo c can be taken of the scene and stored in the phone. The photo c can also be viewed from the display. Figure 5B The user interface 52 shown becomes a display Figure 5C The user interface 52 shown is an example.
[0408] The phone detects the user's instruction to view photos (e.g., in...) Figure 5C Clicking control 504 in the user interface 52 shown will display... Figure 5DThe exemplary user interface 53 is used to display photo c, such as displaying photo c in full screen. Additionally, user interface 53 also provides access points for sharing, saving, editing, and deleting photo c.
[0409] On the phone display Figure 5D After the user interface 53 shown in photo c is displayed, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 5D The user interface 53 shown is the focus window of the mobile phone, and it retrieves the stored photo c from the mobile phone. Based on the photo c, it retrieves / identifies the colors contained in the photo c from the mobile phone, including yellow, purple and green, among which yellow has the largest display area.
[0410] For ease of explanation, this application uses the color with the same color value and the largest display area as color 1. Therefore, in this case, image 1 is photo c, and color 1 is yellow.
[0411] Furthermore, at this point, the mobile phone can identify the lighting device 1 as the living room table lamp. Therefore, the mobile phone can send a yellow color value to the living room table lamp. As a result, the living room table lamp can emit yellow light, allowing the user to perceive the light color as yellow.
[0412] Additionally, at the same time or after the phone sends a yellow color value to the living room lamp, the phone can also display... Figure 5D The user interface 53 shown becomes a display Figure 5E The user interface 54 is shown as an example.
[0413] Optionally, the user interface 54 is used to display photo c and related information about photo c. The specific implementation of the related information about photo c can be found in the information related to image 1 mentioned earlier. Additionally, the user interface 54 is also used to display related information about the lighting device connected to the mobile phone, the specific implementation of which can be found in the previous description.
[0414] Figure 5E In addition to displaying photo c, the user interface 54 may include control 505 and control 506.
[0415] Control 505 is used to display the name and color information of color 1. Additionally, control 505 provides an entry point for changing color 1 to a warm or cool color.
[0416] Control 506 is used to display the name and icon of the lighting device 1. Additionally, control 506 provides an entry point for changing the lighting device 1.
[0417] in addition, Figure 5E In the user interface 54, there may also be: area 5071, area 5072 and area 5073, which are used to display information such as the names of the colors contained in the photo c and the corresponding areas, and to provide an entry point for selecting the corresponding color.
[0418] Specifically, area 5071 is used to display the name of the yellow color contained in photo c and indicate the corresponding area of the yellow color in photo c. Additionally, area 5071 also provides an entry point for selecting the yellow color.
[0419] Specifically, area 5072 is used to display the name of the purple contained in photo c and indicate the corresponding area of the purple in photo c. Additionally, area 5072 also provides an entry point for selecting the purple.
[0420] Specifically, area 5073 is used to display the names of the greens contained in photo c and indicate the corresponding areas of the greens in photo c. Additionally, area 5073 also provides an entry point for selecting greens.
[0421] Additionally, within a duration of 1, the user adopts the following... Figure 2D The method shown rotates the phone around the X-axis until the screen faces the ground. Thus, after detecting that the user has performed action 2 on the phone within a time period 1 (such as determining that the phone screen is facing the ground in a preset direction), the phone can determine that the setting of the light color to color 1 needs to be canceled.
[0422] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp, and that green is the previous light color of the living room table lamp before it emitted yellow light. Therefore, the phone can send the green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to see the light color of the living room table lamp change from yellow to green.
[0423] based on Figures 4E-4J The content of the example can be viewed by the user. Figure 5E The user interface 54 shown performs at least one of the following operations: changing color 1, the living room lamp, and photo c, so that the mobile phone can respond again to the user's action 1 on the mobile phone and control the lighting device 1 to emit light related to the color of photo c.
[0424] In summary, by displaying the photo c taken by the camera application, the mobile phone can control the living room lamp to emit light of color 1 in response to the user's action 1 on the mobile phone.
[0425] In addition, the mobile phone can respond to the user's action 2 performed on the phone within a time period 1, and can control the living room table lamp to stop emitting light of color 1.
[0426] Additionally, the phone can display information about photo c and lighting device 1, allowing the user to change at least one of color 1, the living room lamp, and photo c. Thus, the phone can again respond to the user's action 1, controlling the lighting device 1 to emit light related to the color of photo c.
[0427] Please see Figures 6A-6D , Figures 6A-6D A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0428] The phone can display as follows Figure 6A The user interface 61 shown is an example. User interface 61 can be the home screen of a mobile phone; see [link to example]. Figure 4A The description of the user interface 41 shown is omitted here.
[0429] The phone detects a user-instructed action to capture the entire main screen area (e.g., in...). Figure 6A Double-tapping the phone screen in the user interface 61 shown allows you to capture the entire area of the phone's main interface as a photo d, store the photo d on the phone, and display it on the user interface 61. Figure 6B The example shown is area 601, which is used to preview photo d.
[0430] The phone detects the user-instructed action of displaying a photo (such as in...). Figure 6B Clicking on area 601 in the user interface 61 shown will display... Figure 6C The exemplary user interface 62 is used to display the photo d, such as displaying the photo d in full screen. Additionally, the user interface 62 also provides entry points for sharing, editing, saving, and deleting the photo d.
[0431] On the phone display Figure 6C After viewing photo d in the user interface 62 shown, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 6C The user interface 62 shown is the focus window of the mobile phone, and it retrieves the stored photo d from the mobile phone, and based on the photo d, it retrieves / identifies the colors contained in the photo d, including: yellow.
[0432] As can be seen, at this time, image 1 is photo d, and color 1 is yellow.
[0433] Furthermore, at this point, the mobile phone can identify the lighting device 1 as the living room table lamp. Therefore, the mobile phone can send a yellow color value to the living room table lamp. As a result, the living room table lamp can emit yellow light, allowing the user to perceive the light color as yellow.
[0434] Additionally, at the same time or after the phone sends a yellow color value to the living room lamp, the phone can also display... Figure 6C The user interface 62 shown becomes a display Figure 6D The user interface 63 shown is an example.
[0435] Optionally, the user interface 63 is used to display photo d and related information about photo d. The specific implementation of the related information about photo d can be found in the related information of image 1 mentioned earlier. Additionally, the user interface 63 is also used to display related information about the lighting device connected to the mobile phone, the specific implementation of which can be found in the previous description.
[0436] Figure 6D In addition to displaying photo d, the user interface 63 may include control 602 and control 603.
[0437] Control 602 is used to display the name and color information of color 1. Additionally, control 602 provides an entry point for changing color 1 to a warm or cool color.
[0438] Control 603 is used to display the name and icon of the lighting device 1. Additionally, control 603 provides an entry point for changing the lighting device 1.
[0439] in addition, Figure 6D The user interface 63 may also include a region 604, which displays the name of the yellow color contained in the photo d and indicates the corresponding area of the yellow color in the photo d. Additionally, region 604 also provides an entry point for selecting the yellow color.
[0440] Additionally, users can use the following methods within a duration of 1 hour: Figure 2D The method shown rotates the phone around the X-axis until the screen faces the ground. Thus, after detecting that the user has performed action 2 on the phone within a time period 1 (such as determining that the phone screen is facing the ground in a preset direction), the phone can determine that the setting of the light color to color 1 needs to be canceled.
[0441] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp, and that green is the previous light color of the living room table lamp before it emitted yellow light. Therefore, the phone can send the green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to see the light color of the living room table lamp change from yellow to green.
[0442] based on Figures 4E-4J The content of the example can be viewed by the user. Figure 6D The user interface 63 shown performs at least one of the following operations: changing color 1, the living room lamp, and photo d, so that the mobile phone can respond again to the user's action 1 on the mobile phone and control the lighting device 1 to emit light related to the color of photo d.
[0443] In summary, by displaying the entire area of the captured image, the mobile phone, in response to the user's action 1 on the phone, can control the living room lamp to emit light related to the color 1 of the photo d.
[0444] In addition, the mobile phone can also respond to the user's action 2 performed on the mobile phone within a duration of 1, and control the living room table lamp to turn off the light emitting color 1.
[0445] Additionally, the mobile phone can display information about the captured image and the lighting device 1, allowing the user to change at least one of color 1, the living room lamp, and the captured image. Thus, the mobile phone can again respond to the user's action 1, controlling the lighting device 1 to emit light related to the color of the captured image.
[0446] Please see Figures 7A-7D , Figures 7A-7D A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0447] The phone can display as follows Figure 7A The user interface 71 is shown as an example. User interface 71 can be the home screen of a mobile phone, as detailed in [reference needed]. Figure 4A The description of the user interface 41 shown is omitted here.
[0448] The phone detects user-instructed actions to capture a portion of the phone's main screen (such as in...). Figure 7A As shown in the user interface 71, double-tapping the phone screen with your knuckle and circling part of the phone's main interface will display [the relevant information] on the user interface 71. Figure 7B The exemplary region 701, and from Figure 7B The user interface 71 shown becomes a display Figure 7B The user interface 72 shown is an example.
[0449] Among them, area 701 is used to display photo e, which is a part of the main interface of the mobile phone circled by the user, and user interface 72 is used to provide entry points for sharing, editing, saving and modifying photo e.
[0450] It should be noted that the mobile phone is from Figure 7B The user interface 71 shown becomes a display Figure 7BThe user interface 72 shown in the example is used to store photo e. The phone displays... Figure 7C After viewing photo e in the user interface 72 shown, the user adopts the following... Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 7C The user interface 72 shown is the focus window of the mobile phone, and the photo e is determined based on the main interface of the mobile phone and the user's operation of circling a part of the main interface of the mobile phone, and the yellow color contained in the photo e is identified.
[0451] As can be seen, at this time, image 1 is photo e, and color 1 is yellow.
[0452] Furthermore, at this point, the mobile phone can identify the lighting device 1 as the living room table lamp. Therefore, the mobile phone can send a yellow color value to the living room table lamp. As a result, the living room table lamp can emit yellow light, allowing the user to perceive the light color as yellow.
[0453] Additionally, at the same time or after the phone sends a yellow color value to the living room lamp, the phone can also display... Figure 7C The user interface 72 shown becomes a display Figure 7D The user interface 73 is shown as an example.
[0454] The user interface 73 is used to display photo e and related information about photo e. For details on the implementation of the related information about photo e, please refer to the information in Figure 1 mentioned earlier. Additionally, the user interface 73 is also used to display information about the lighting device connected to the mobile phone; its implementation can be found in the previous description.
[0455] Figure 7D In addition to displaying photo e, the user interface 73 may include control 702 and control 703.
[0456] Control 702 is used to display the name and color information of color 1. Additionally, control 702 provides an entry point for changing color 1 to a warm or cool color.
[0457] Control 703 is used to display the name and icon of the lighting device 1. Additionally, control 703 provides an entry point for changing the lighting device 1.
[0458] Additionally, users can use the following methods within a duration of 1 hour: Figure 2DThe method shown rotates the phone around the X-axis until the screen faces the ground. Thus, after detecting that the user has performed action 2 on the phone within a time period 1 (such as determining that the phone screen is facing the ground in a preset direction), the phone can determine that the setting of the light color to color 1 needs to be canceled.
[0459] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp, and that green is the previous light color of the living room table lamp before it emitted yellow light. Therefore, the phone can send the green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to see the light color of the living room table lamp change from yellow to green.
[0460] based on Figures 4E-4J The content of the example can be viewed by the user. Figure 7D The user interface 73 shown performs at least one of the following operations: changing color 1, the living room lamp, and photo e, so that the mobile phone can respond again to the user's action 1 on the mobile phone and control the lighting device 1 to emit light related to the color of photo e.
[0461] In summary, by displaying a portion of the captured image, the mobile phone, in response to the user's action 1 on the phone, can control the living room lamp to emit light related to the color 1 of the photo e.
[0462] In addition, the mobile phone can also respond to the user's action 2 performed on the mobile phone within a duration of 1, and control the living room table lamp to turn off the light emitting color 1.
[0463] Additionally, the mobile phone can display information about the captured image and the lighting device 1, allowing the user to change at least one of color 1, the living room lamp, and the captured image. Thus, the mobile phone can again respond to the user's action 1, controlling the lighting device 1 to emit light related to the color of the captured image.
[0464] Please see Figures 8A-8G , Figures 8A-8G A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0465] The phone can display as follows Figure 8A The user interface 81 shown is an example. User interface 81 can be the home screen of a mobile phone; see details below. Figure 4A The description of the user interface 41 shown is omitted here.
[0466] Figure 8A In the user interface 81, there may be an icon 801 for a smart living application.
[0467] The phone detects the user's instruction to enter the Smart Life application (such as in...). Figure 8AAfter clicking the Smart Life application icon (801) in the user interface (81) shown, the following will be displayed: Figure 8B The exemplary user interface 82 is used to access a page (such as a main page or a subpage) of the smart living application.
[0468] Figure 8B In the user interface 82, there may be a control 802, which is a page used to control the table lamp in the living room, such as turning it on / off, brightness, color temperature, what kind of colored light it emits, importing pictures to control the light color, communication connection, etc.
[0469] The phone detects the user's instruction to view the living room lamp page (such as in...). Figure 8B Clicking control 802 in the user interface 82 shown will display... Figure 8C The exemplary user interface 83 is a page used to display functions such as controlling the living room table lamp, including turning it on / off, brightness, color temperature, type of light emitted, importing pictures to control the light color, and communication connection.
[0470] Figure 8C The user interface 83 may include a control 803, which provides an entry point for importing images from the photo album application. Additionally, the green text displayed on the user interface 83 indicates that the living room lamp is currently emitting a green light.
[0471] The phone detects the user's instruction to import image 1 from the photo album application (such as in...). Figure 8C Clicking control 803 in the user interface 83 shown will display... Figure 8D The exemplary user interface 84 is used to display all the photos stored on the phone in the photo album application.
[0472] Figure 8D In the user interface 84, there may be a control 804, which provides an entry point for viewing photo a.
[0473] The phone detects the user's selection and the action of viewing photo a (such as in...). Figure 8D Clicking control 804 in the user interface 84 shown will display... Figure 8E The exemplary user interface 85 is used to display photo a, such as displaying photo a in full screen.
[0474] On the phone display Figure 8E After viewing photo a in the user interface 85 shown, the user adopts the following... Figure 2BThe method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 8E The user interface 85 shown is the focus window of the mobile phone, and it retrieves the stored photo a from the mobile phone, and retrieves / identifies the colors yellow, purple and green contained in photo a based on photo a, with yellow having the largest display area.
[0475] For ease of explanation, this application uses the color with the same color value and the largest display area as color 1. Therefore, in this case, image 1 is photograph a, and color 1 is yellow.
[0476] Furthermore, at this point, the mobile phone can identify the lighting device 1 as the living room table lamp. Therefore, the mobile phone can send a yellow color value to the living room table lamp. As a result, the living room table lamp can emit yellow light, allowing the user to perceive the light color as yellow.
[0477] Additionally, at the same time or after the phone sends a yellow color value to the living room lamp, the phone can also display... Figure 8E The user interface shown 85 becomes the display Figure 8F The user interface 85 is shown as an example.
[0478] Optionally, the user interface 85 is also used to display relevant information about photo a. For details on how the relevant information about photo a is implemented, please refer to the relevant information about image 1 mentioned above.
[0479] Figure 8F In addition to displaying photo a, the user interface 85 may include control 805.
[0480] Control 805 is used to display the name and color information of color 1. Additionally, control 805 provides an entry point for changing color 1 to a warm or cool color.
[0481] in addition, Figure 8F In the user interface 85, there may also be areas 8061, 8062 and 8063, which are used to display information such as the names of the colors contained in the photo a and the corresponding areas, and to provide an entry point for selecting the corresponding color.
[0482] Area 8061 is used to display the name of the yellow color contained in photo a and indicate the corresponding area of the yellow color in photo a. Additionally, area 8061 also provides an entry point for selecting the yellow color.
[0483] Specifically, area 8062 is used to display the name of the purple contained in photo a and indicate the corresponding area of the purple in photo a. Additionally, area 8062 also provides an entry point for selecting the purple.
[0484] Area 8063 is used to display the names of the greens contained in photo a and indicate the corresponding areas of the greens in photo a. Additionally, area 8063 also provides an entry point for selecting greens.
[0485] Additionally, users can use the following methods within a duration of 1 hour: Figure 2D The method shown rotates the phone around the X-axis until the screen faces the ground. Thus, after detecting that the user has performed action 2 on the phone within a time period 1 (such as determining that the phone screen is facing the ground in a preset direction), the phone can determine that the setting of the light color to color 1 needs to be canceled.
[0486] Furthermore, at this time, the mobile phone can determine that the lighting device 1 is still the living room table lamp, and through the green text displayed on the user interface 83, it can be known that green is the previous light color of the living room table lamp before emitting yellow light. Therefore, the mobile phone can send the green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to see the light color of the living room table lamp change from yellow to green.
[0487] based on Figures 4E-4J The content of the example can be viewed by the user. Figure 8F The user interface 85 shown performs at least one of the operations such as changing color 1 and photo a, so that the mobile phone can respond again to the user's action 1 on the mobile phone and control the lighting device 1 to emit light related to the color of photo a.
[0488] Additionally, the phone exits... Figure 8E / Figure 8F The user interface shown in Figure 85 can also display... Figure 8G The exemplary user interface 83 is shown. User interface 83 also provides an entry point for displaying images imported from the photo album application.
[0489] Figure 8G The user interface 83 may include a region 806, which provides an entry point for displaying photo a. Additionally, the yellow text displayed on the user interface 83 indicates that the living room lamp is emitting a yellow light.
[0490] The phone detects the user's instruction to view photo A (such as in...). Figure 8G Clicking on area 806 in the user interface 83 shown will display... Figure 8F The user interface 85 is shown as an example.
[0491] This allows users to easily change color 1 or photo a.
[0492] In summary, by displaying a photo 'a' imported from the photo album app in the Smart Life app, the mobile phone can control the living room lamp to emit light of color '1' in response to the user's action '1' on the mobile phone.
[0493] In addition, the mobile phone can also respond to the user's action 2 performed on the mobile phone within a duration of 1, and control the living room table lamp to turn off the light emitting color 1.
[0494] Additionally, the phone can display information related to photo a, allowing the user to change at least one of color 1 and photo a. Thus, the phone can again respond to the user's action 1 by controlling the lighting device 1 to emit light related to the color of photo a.
[0495] Below, in conjunction with Figures 9A-9D This article details the specific implementation method for setting the color of lights on a mobile phone.
[0496] Please see Figures 9A-9D , Figures 9A-9D A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0497] The phone can display as follows Figure 9A The user interface 91 shown is an example. The user interface 91 can be the negative one screen of the mobile phone. For details, please refer to the description of the negative one screen in step 12, which will not be repeated here.
[0498] Figure 9A In the user interface 91, a TV card 901 may be included. The TV card 901 is used to access page 1 for controlling TV functions such as turning it on / off, using full-screen playback mode, transmitting the currently displayed screen to the mobile phone, and mute. It is also used to provide access to some of the aforementioned functions.
[0499] In some embodiments, the TV card 901 may include control 902 and control 903. Control 902 provides an entry point for controlling the TV to play content in full-screen mode. Control 903 provides an entry point for controlling the TV to capture the currently displayed screen and transmit that screen to a mobile phone.
[0500] The phone detects the user's instruction to view page 1 (such as in...). Figure 9A After clicking on the blank space of the TV card 901 in the user interface 91 shown, the following will be displayed: Figure 9B The exemplary user interface 92 is used to display page 1.
[0501] Figure 9B In the user interface 92, there may be controls 902 and 903.
[0502] The mobile phone detects user-instructed actions by the TV transmitting the currently displayed image to the mobile phone (such as in...). Figure 9B Click control 902 in the user interface 92 shown, or, in Figure 9A After clicking control 902 in the TV card 901 shown, the screen currently displayed by the electronic device can be received from the TV.
[0503] Optionally, the phone can display Figure 9A The user interface 91 shown becomes a display Figure 9C The exemplary user interface 93, or the mobile phone can display... Figure 9B The user interface 92 shown becomes a display Figure 9C The exemplary user interface 93 is shown. User interface 93 is used to display the currently displayed image on the television, such as displaying the image in full screen.
[0504] It should be noted that the mobile phone may store the image on the phone (such as in the photo album application), or it may not store it; this application does not impose any restrictions on this.
[0505] Figure 9C In the user interface 93, there may be a region 904, which is used to display the screen in a part of the phone screen, so as to realize the full-screen display of the screen.
[0506] On the phone display Figure 9C After the user interface 93 shown in the image, the user uses the following method: Figure 2B The method shown rotates the phone around the X-axis by β. Therefore, after detecting that the user has performed action 1 (such as determining that the phone's rotation β is greater than or equal to a preset angle), the phone can determine... Figure 9C The user interface 93 shown is the focus window of the mobile phone, and based on the screen, the colors contained in the screen are identified as: yellow, purple and green, among which yellow has the largest display area.
[0507] For ease of explanation, this application uses the color with the same color value and the largest display area as color 1. Therefore, in this case, Image 1 represents the scene, and color 1 is yellow.
[0508] Furthermore, at this point, the mobile phone can identify the lighting device 1 as the living room table lamp. Therefore, the mobile phone can send a yellow color value to the living room table lamp. As a result, the living room table lamp can emit yellow light, allowing the user to perceive the light color as yellow.
[0509] Additionally, at the same time or after the phone sends a yellow color value to the living room lamp, the phone can also display... Figure 9C The user interface 93 shown becomes a display Figure 9D The exemplary user interface 93 is shown.
[0510] The user interface 93 is also used to display relevant information about the screen. For details on how the relevant information about the screen is implemented, please refer to the relevant information in Figure 1 mentioned above.
[0511] Figure 9D In addition to displaying the screen, the user interface 93 may include control 905 and control 906.
[0512] Control 905 is used to display the name and color information of Color 1. Additionally, control 905 provides an entry point to change Color 1 to a warm or cool color.
[0513] Control 906 is used to display the name and icon of the lighting device 1. Additionally, control 906 provides an entry point for changing the lighting device 1.
[0514] in addition, Figure 9D In the user interface 93, there may also be: area 9071, area 4072 and area 9073, which are used to display information such as the name of the color contained in the screen and the corresponding area, and to provide an entry point for selecting the corresponding color.
[0515] Area 9071 is used to display the name of the yellow color contained in the screen and indicate the corresponding area of the yellow color in the screen. In addition, area 9071 is also used to provide an entry point for selecting the yellow color.
[0516] Area 9072 is used to display the name of the purple color contained in the screen and indicate the corresponding area of the purple color in the screen. In addition, area 9072 is also used to provide an entry point for selecting the purple color.
[0517] Area 9073 is used to display the name of the green color contained in the screen and indicate the corresponding area of the green color in the screen. In addition, area 9073 is also used to provide an entry point for selecting green.
[0518] Additionally, users can use the following methods within a duration of 1 hour: Figure 2D The method shown rotates the phone around the X-axis until the screen faces the ground. Thus, after detecting that the user has performed action 2 on the phone within a time period 1 (such as determining that the phone screen is facing the ground in a preset direction), the phone can determine that the setting of the light color to color 1 needs to be canceled.
[0519] Furthermore, at this point, the phone can determine that lighting device 1 is still the living room table lamp, and that green is the previous light color of the living room table lamp before it emitted yellow light. Therefore, the phone can send the green color value to the living room table lamp. As a result, the living room table lamp can emit green light, allowing the user to see the light color of the living room table lamp change from yellow to green.
[0520] based on Figures 4E-4J The content of the example can be viewed by the user. Figure 9D The user interface 93 shown performs at least one of the following operations: changing color 1, the living room lamp, and the screen. This allows the mobile phone to respond again to the user's action 1 on the mobile phone and control the lighting device 1 to emit light related to the color of the screen.
[0521] In summary, by displaying the image transmitted from the television, the mobile phone can control the living room lamp to emit light of color 1 in response to the user's action 1 on the mobile phone.
[0522] In addition, the mobile phone can respond to the user's action 2 performed on the phone within a time period 1, and can control the living room table lamp to stop emitting light of color 1.
[0523] Additionally, the mobile phone can display information related to the image and the lighting device 1, allowing the user to change at least one of the color 1, the lighting device 1, and the image. Thus, the mobile phone can again respond to the user's action 1, controlling the lighting device 1 to emit light related to the color of the image.
[0524] Based on the description of the above embodiments, in scenario one, after displaying image 1 and detecting action 1, electronic device 1 can control the light color of lighting device 1 to be color 1 related to image 1.
[0525] Continue to combine Figure 3A When electronic device 2 is a television, the lighting devices that can communicate with the television may include: a table lamp in the living room, a flat panel, an electric fan, a TV wall light strip in the living room, speakers, and a mobile phone. Therefore, the television needs to determine and select a preset number of lighting devices as lighting device 2 from among multiple lighting devices. For ease of explanation, this application uses an example where the preset number of lighting device 2 is equal to 1.
[0526] In summary, the television can identify lighting equipment 2.
[0527] In this application, when the TV selects the TV wall light strip in the living room as the lighting device 2, after the TV plays video 1, it can control the TV wall light strip in the living room to emit light of color 2 related to video 1 based on the playback mode of video 1.
[0528] Combination Figures 10A-10B This article details the specific implementation method for setting the lighting color in a television.
[0529] Please see Figures 10A-10B , Figures 10A-10B A schematic diagram of a human-computer interaction interface provided in an embodiment of this application is shown.
[0530] In some embodiments, when the television determines that video 1 is played in full-screen mode, the television may capture a frame from video 1 (e.g., when video 1 begins playing) at the start of playback. Figure 10A The image shown in the first second is designated as image 1, and the colors contained in image 1 can be identified as: yellow, purple, and green, with yellow having the largest display area. Therefore, the television can determine color 2 from the colors contained in image 1.
[0531] For example, a television can use the color with the same color value and the largest display area as color 2. Therefore, color 2 is yellow. Thus, the television can send a yellow color value to the TV wall light strip in the living room. Consequently, as... Figure 10A As shown, the TV wall light strip in the living room can emit yellow light, so that users can see that the TV wall light strip in the living room is yellow in color along with the TV light.
[0532] In other embodiments, the combination continues. Figure 9A The phone detects the user's instruction to play video 1 in full screen (such as in...). Figure 9A Click control 903 in the TV card 901 shown, or in... Figure 9B After clicking control 903 in the user interface 92 shown, instruction 1 can be sent to the TV. Instruction 1 is used to instruct the TV to play video 1 in full-screen mode.
[0533] After receiving instruction 1, the television can play video 1 in full screen. Simultaneously, the television can capture a specific frame from video 1 (e.g., when video 1 begins playing) at the start of playback. Figure 10A The image shown in the first second is designated as image 1, and the colors contained in image 1 can be identified as: yellow, purple, and green, with yellow having the largest display area. Therefore, the television can determine color 2 from the colors contained in image 1.
[0534] For example, a television can use the color with the same color value and the largest display area as color 2. Therefore, color 2 is yellow. Thus, the television can send a yellow color value to the TV wall light strip in the living room. Consequently, as... Figure 10A As shown, the TV wall light strip in the living room can emit yellow light, so that users can see that the TV wall light strip in the living room is yellow in color along with the TV light.
[0535] As video 1 plays, the electronic device can also capture a specific frame from video 1 every 2 seconds (e.g., 15 seconds). Figure 10B The image shown at 29 minutes and 1 second is designated as image 2, and the colors contained in image 2 can be identified as: blue, yellow and green, among which blue has the largest display area.
[0536] Therefore, the television can determine color 3 from the colors contained in image 2. Furthermore, the television can determine whether color 3 is the same as color 2 to determine whether the color of image 1 has changed.
[0537] For example, a television can use the color with the same color value and the largest display area as color 3. Therefore, color 3 is blue. The television can then determine that color 3 is different from color 2 and can replace color 2 with color 3. The television can send the blue color value to the TV wall light strip in the living room. Thus, as... Figure 10B As shown, the TV wall light strip in the living room can emit blue light, so that users can see that the TV wall light strip in the living room is blue along with the color of the TV light.
[0538] Alternatively, the television can also use yellow as color 3. Therefore, in this case, color 3 is yellow. Thus, the television can determine that color 3 is the same as color 2, and there is no need to change color 2. Therefore, as... Figure 10A As shown, the TV wall light strip in the living room can continue to emit yellow light, allowing the user to continue to see that the TV wall light strip in the living room is yellow along with the TV light. Based on the description of the above embodiment, in scenario two, after the electronic device 2 plays video 1 and detects the playback mode of video 1, it can control the light color of the lighting device 2 to be color 2 related to video 1.
[0539] In addition, as video 1 continues to play, after determining that the color of video 1 has changed, electronic device 2 can also control the light color of lighting device 2 to be color 3 related to the changed video 1.
[0540] Based on the aforementioned embodiments, the light color setting method provided in this application is described below.
[0541] For example, this application provides a method for setting the color of a light.
[0542] Please see Figure 11 , Figure 11 A schematic flowchart of a light color setting method according to an embodiment of this application is shown.
[0543] like Figure 11 As shown, the light color setting method of this application may include:
[0544] S101, Display the first image.
[0545] S102. When displaying the first image, in response to the first action, control the lighting device to emit light related to the color of the first image, wherein the first action is used to instruct the setting of the light color.
[0546] The light color setting method of this application can be executed by a first electronic device. For the specific implementation of the first electronic device, please refer to the description of electronic device 1 mentioned in Scenario 1. For the specific implementation of the light device, please refer to the description of light device 1 mentioned in Scenario 1. It will not be repeated here.
[0547] The specific implementation of the first image can be found in the description of image 1 mentioned in Scenario 1, and the specific implementation of S101 can be found in the description of the embodiment of step 12 mentioned in Scenario 1, which will not be repeated here.
[0548] The specific implementation of the first action can be found in the description of action 1 mentioned in scenario 1, and the specific implementation of S102 can be found in the description of the embodiments of steps 13, 14 and 15 mentioned in scenario 1, which will not be repeated here.
[0549] In S102, combined with Figure 12 The specific implementation process of one possible implementation of S102 is described in detail.
[0550] Please see Figure 12 , Figure 12 A schematic flowchart of a light color setting method according to an embodiment of this application is shown.
[0551] like Figure 12 As shown, the light color setting method of this application may include:
[0552] S201. In response to the first action, obtain the color of the first image.
[0553] The specific implementation of the color of the first image can be found in the description of the color 1 of image 1 mentioned in scenario 1, and the specific implementation of S201 can be found in the description of the embodiment of step 14 mentioned in scenario 1, which will not be repeated here.
[0554] In this application, the first electronic device may acquire the color of the first image in a variety of ways.
[0555] In some embodiments, when the colors of a first image are pre-stored in the first electronic device, the first electronic device can retrieve the colors of the first image from the first electronic device.
[0556] Therefore, the first electronic device can quickly retrieve the colors of the first image by storing the colors of the first image.
[0557] In other embodiments, the first electronic device can perform color recognition on the first image to obtain the colors contained in the first image. When there is only one color, the first electronic device can determine the color as the color of the first image; when there are multiple colors, the first electronic device can determine the color of the first image based on the color value of each color and the display area of each color in the first image.
[0558] For example, the first electronic device can determine the color of the first image as the color with the same color value and the largest display area. Thus, the first electronic device can determine the color of the first image as the color of its theme / central concept / dominant color, providing a possible implementation method for determining the color of the first image.
[0559] Therefore, the first electronic device can determine the color of the first image in real time through a recognition algorithm.
[0560] In summary, the above description provides multiple possible implementation methods for obtaining the color of the first image, improving the flexibility and possibilities of obtaining the color of the first image.
[0561] S202, send the color value of the first image to the lighting device so that the lighting device emits light related to the color of the first image according to the color value of the first image; or, send the color value of the first image to the second electronic device so that the second electronic device sends the color value of the first image to the lighting device, the color value of the first image being used by the lighting device to emit light related to the color of the first image.
[0562] The specific implementation of the color value of the first image can be found in the description of the color value of the image 1 mentioned in Scenario 1. The specific implementation of the second electronic device can be found in the description of other electronic devices mentioned in Scenario 1. The specific implementation of S202 can be found in the description of the embodiment of step 15 mentioned in Scenario 1, and will not be repeated here.
[0563] Therefore, after receiving the first action, the first electronic device can obtain the color of the first image and then transmit the color value of the first image, so that the lighting device can emit light related to the color of the first image.
[0564] S203. Display first information in the first picture, the first information being used to indicate the color of the first picture.
[0565] The specific implementation of the first information can be found in the description of the relevant information of image 1 mentioned in scenario 1. The specific implementation of S203 can be found in step 14 of scenario 1. The electronic device 1 mentioned in the embodiment can also display the description of the relevant information of image 1 in image 1, which will not be elaborated here.
[0566] Thus, the first electronic device can promptly prompt the user with the color of the first image, enabling the user to determine whether the color of the first image is the color the user wants.
[0567] It should be noted that S203 is optional. There is no temporal order between S202 and S203, and S202 and S203 can be executed simultaneously or sequentially.
[0568] In addition to indicating the color of the first image, the first information is also used to indicate at least one of the colors contained in the first image other than the color of the first image, the warm color of the first image, and the cool color of the first image.
[0569] Based on the above description, after receiving the sixth operation performed by the user on the first information, the first electronic device can change the color of the first image (or, in other words, select another color as the color of the first image) and display the first image. Therefore, when displaying the first image, the first electronic device, in response to the first action, controls the lighting device to emit light related to the changed color of the first image.
[0570] The specific implementation of the sixth operation can be found in the description of the user selecting a color other than color 1 mentioned in Scenario 1. The specific implementation of the color of the changed first image can be found in the description of the user selecting a color other than color 1 mentioned in Scenario 1. The specific implementation of the above process can be found in the description of the electronic device 1 controlling the lighting device 1 to emit lights related to other colors mentioned in Scenario 1. It will not be elaborated here.
[0571] Thus, the first electronic device can provide the user with a possible way to change the color of the first image, allowing the user to select the desired color from the colors contained in the first image and change the light color of the lighting device to the desired color.
[0572] In this application, the first electronic device may determine the lighting device in a variety of ways.
[0573] In some embodiments, within the recognition range of the first electronic device, the first electronic device can detect a device that is communicatively connected to the first electronic device and can set the light color.
[0574] When there is only one device, the first electronic device can identify the device as a lighting device. When there are multiple devices, the first electronic device can identify the lighting device based on the angle and / or distance between each device and the first electronic device.
[0575] For example, the first electronic device can identify the device with the shortest distance and / or smallest angle from itself as the lighting device. Thus, the first electronic device can determine the lighting device as the device with the shortest distance and / or smallest angle from itself, providing a possible implementation for identifying the lighting device.
[0576] The specific implementation of the above process can be found in the description of step 11 in Scenario 1, which will not be repeated here.
[0577] Therefore, the first electronic device can determine the lighting device based on parameters such as recognition range, angle, and distance.
[0578] In this application, after the first electronic device determines the lighting device, it can display second information, which is used for the indicator light device.
[0579] The specific implementation of the second information can be found in the description of the relevant information of the lighting equipment mentioned in Scenario 1. The specific implementation of the above process can be found in the description of the electronic device 1 that can display the relevant information of the lighting equipment mentioned in the embodiments of steps 11 and 14 of Scenario 1. It will not be elaborated here.
[0580] It should be noted that the second information may be displayed together with the first information in the first image, or it may not be displayed in the first image. This application does not limit this.
[0581] Thus, the first electronic device can promptly alert the user to the lighting device, enabling the user to determine whether the lighting device is the one for which the user wants to set the light color.
[0582] In addition to being used for indicator light devices, the second information is also used to indicate the angle and distance between each electronic device and the first electronic device.
[0583] Based on the above description, after receiving the seventh operation performed by the user on the second information, the first electronic device can replace the lighting device. Therefore, when displaying the first image, the first electronic device can respond to the first action and control the replaced lighting device to emit light related to the color of the first image.
[0584] The specific implementation of the seventh operation can be found in the description of the user selecting other lighting devices mentioned in Scenario 1. The specific implementation of the replaced lighting device can be found in the description of other lighting devices mentioned in Scenario 1. The specific implementation of the above process can be found in the description of electronic device 1 controlling other lighting devices to emit light related to color 1 mentioned in Scenario 1. It will not be elaborated here.
[0585] Thus, the first electronic device can provide the user with a possible way to replace the lighting equipment, allowing the user to replace the lighting equipment with the lighting equipment whose color the user wants to set.
[0586] It should be noted that, in addition to changing the color of the image and the lighting equipment separately, the first electronic device can simultaneously change the color of the image and the lighting equipment, so that the first electronic device can control the changed lighting equipment to emit light related to the color of the changed first image.
[0587] In this application, after the first electronic device controls the lighting device in S102 to emit light related to the color of the first image, it can determine whether a second action is detected within a first time period. The second action is used to indicate the cancellation of the setting of the light color.
[0588] The specific implementation of the first duration can be found in the description of duration 1 mentioned in scenario 1. The specific implementation of the second action can be found in the description of action 2 mentioned in scenario 1. The specific implementation of the above process can be found in the description of electronic device 1 determining whether the user's action on electronic device 1 was detected within duration 1 after determining in step 14 that the user has performed action 1 on electronic device 1 displaying image 1. This will not be elaborated here.
[0589] When the second action is detected within the first time period, the first electronic device can control the lighting device to emit light that is related to the color of the previous light in the first image. The specific implementation of the aforementioned process can be found in the description of step 161 in Scenario 1, and will not be repeated here.
[0590] If no second action is detected after the first time period, the first electronic device can control the lighting device to continue emitting light related to the color of the first image. The specific implementation of the aforementioned process can be found in the description of step 162 in Scenario 1, and will not be repeated here.
[0591] Therefore, after receiving the second action within the first time period, the first electronic device can control the lighting device to stop emitting light related to the color of the first image, and control the lighting device to emit light related to the previous light color of the first image. If no second action is received after the first time period, the lighting device can be controlled to continue emitting light related to the color of the first image. Thus, the setting of the light color can be canceled in a timely manner by means of an action, allowing the lighting device to quickly restore the light of the previous light color, providing a possible way for users to cancel the setting of the light color.
[0592] In this application, the first electronic device can monitor changes in its posture based on sensor data. Based on these changes in posture, the first electronic device can determine whether an action performed by the user on the first electronic device constitutes a first action.
[0593] The specific implementation of the sensor data of the first electronic device can be found in the description of the data collected by the gyroscope and other sensors installed in the electronic device 1 mentioned in Scenario 1. The specific implementation of the attitude change of the first electronic device can be found in the description of the attitude change of the electronic device 1 mentioned in Scenario 1. The specific implementation of the above process can be found in the description of the embodiment of step 13 mentioned in Scenario 1, and will not be repeated here.
[0594] Thus, the first electronic device acquires the data collected by the sensor based on the interface between the first electronic device and the sensor, detects the attitude change of the first electronic device, and determines the specific type of action performed by the user on the first electronic device, enabling the first electronic device to quickly determine the first action / second action.
[0595] For example, when the posture change of the first electronic device is used to indicate that the rotation angle of the first electronic device is greater than or equal to a preset angle, the first electronic device can determine that the action performed by the user on the first electronic device is the first action.
[0596] For the specific implementation of the first action in the above process, please refer to step 13 of the embodiment in scenario one. Figures 2A-2C The description of action 1 mentioned in the text will not be repeated here.
[0597] For example, when the posture change of the first electronic device is used to indicate that the first electronic device rotates to a preset direction so that the screen of the first electronic device faces the preset direction, the first electronic device can determine that the action performed by the user on the first electronic device is the second action.
[0598] The specific implementation of the second action in the above process can be found in step 161 of the embodiment of scenario one. Figure 2A , Figures 2D-2E The description of action 2 mentioned in the text will not be repeated here.
[0599] In S101, the first electronic device can display the first image in the focus window of the first electronic device.
[0600] The specific implementation of the focus window of the first electronic device can be found in the description of the focus window of electronic device 1 mentioned in step 12 of scenario one, and will not be repeated here.
[0601] Therefore, the image / screen displayed in the focus window of the first electronic device can be determined as the first image.
[0602] In some embodiments, when a photo album application is included in the first electronic device, after the first electronic device launches the photo album application, a first control can be displayed in the image list of the photo album application. The image list is used to browse the images stored in the photo album application, and the first control is used to view the first image.
[0603] After receiving the first operation performed by the user on the first control, the first electronic device can display the first picture in a user interface of the photo album application, and the user interface of the photo album application is the focus window of the first electronic device.
[0604] For details on the implementation of the first electronic device, please refer to Scenario 1. Figures 4A-4J For the description of the phone mentioned, and the specific implementation of the photo album application, please refer to Scenario 1. Figures 4A-4J The description of the photo album application mentioned above, and the specific implementation of the image list, can be found in Scenario 1. Figure 4C The description of user interface 43 mentioned above, and the specific implementation of the first control, can be found in Scenario 1. Figure 4C The description of control 403 mentioned in the image, and the specific implementation method of the first image, can be found in Scenario 1. Figures 4A-4J The description of photo 'a' mentioned in the text, and the specific implementation of the first operation, can be found in Scenario 1. Figure 4C The description of clicking control 403 in user interface 43 mentioned above; for a specific implementation of a user interface in the photo album application, please refer to Scenario 1. Figure 4D The description of user interface 44 mentioned above, and the specific implementation of the focus window of the first electronic device, can be found in Scenario 1. Figures 4A-4J The description of the phone's focus window mentioned earlier will not be repeated here.
[0605] In addition, the specific implementation method of the first electronic device can be found in Scenario 1. Figures 8A-8G For the description of the phone mentioned above, and the specific implementation of the photo album application, please refer to Scenario 1. Figures 8A-8G The description of the photo album application mentioned above, and the specific implementation of the image list, can be found in Scenario 1. Figure 8D The description of the user interface 84 mentioned above, and the specific implementation of the first control, can be found in Scenario 1. Figure 8D The description of control 804 mentioned in the image, and the specific implementation method of the first image, can be found in Scenario 1. Figures 8A-8G The description of photo 'a' mentioned in the text, and the specific implementation of the first operation, can be found in Scenario 1. Figure 8D The description of clicking control 804 in user interface 84 mentioned above; for a specific implementation of a user interface in the photo album application, please refer to Scenario 1. Figure 8EThe description of the user interface 85 mentioned above, and the specific implementation of the focus window of the first electronic device, can be found in Scenario 1. Figures 8A-8G The description of the phone's focus window mentioned earlier will not be repeated here.
[0606] In some embodiments, when a camera application is included in the first electronic device, after the first electronic device launches the camera application to take a first picture, a second control can be displayed in the shooting interface of the camera application. The shooting interface of the camera application is used to take pictures, and the second control is used to view the first picture.
[0607] For details on the implementation of the first electronic device, please refer to Scenario 1. Figures 5A-5E For the description of the mobile phone mentioned above, and the specific implementation of the camera application, please refer to Scenario 1. Figures 5A-5E The description of the camera application mentioned above, and the specific implementation method of the first image, can be found in Scenario 1. Figures 5A-5E The description of photo c mentioned in the text, and the specific implementation of the shooting interface, can be found in Scene 1. Figure 5B The description of user interface 52 mentioned above, and the specific implementation of the second control, can be found in Scenario 1. Figure 5C The description of the 504 error control mentioned earlier will not be repeated here.
[0608] After receiving the second operation performed by the user on the second control, the first electronic device can display the first image in a user interface of the camera application, where the user interface of the camera application is the focus window of the first electronic device.
[0609] For details on the implementation of the second operation, please refer to Scenario 1. Figure 5C The description of clicking control 504 in user interface 52 mentioned in the text, and the specific implementation of a user interface for the camera application, can be found in Scenario 1. Figure 5D The description of user interface 53 mentioned above, and the specific implementation of the focus window of the first electronic device, can be found in Scenario 1. Figures 5A-5E The description of the phone's focus window mentioned earlier will not be repeated here.
[0610] In some embodiments, the first electronic device may display the screen image of the first electronic device.
[0611] For details on the implementation of the first electronic device, please refer to Scenario 1. Figures 6A-6D For the description of the mobile phone mentioned above, and the specific implementation of the screen display, please refer to Scenario 1. Figures 6A-6D The descriptions of the phone's main interface and user interface 61 mentioned in the text will not be repeated here.
[0612] After receiving a third operation performed by the user on the screen, the first electronic device can capture the entire area of the screen and display the captured area, which is related to the first image.
[0613] For details on the implementation of the third operation, please refer to Scenario 1. Figure 6A The description of the double-tap operation on the phone screen mentioned in section 61, and the specific implementation of the full area of the screen, can be found in Scenario 1. Figures 6A-6D The description of the entire main screen area of the phone mentioned above; for details on how to extract the area, please refer to Scenario 1. Figure 6B The description of region 601 mentioned in the image, and the specific implementation method of the first image, can be found in Scenario 1. Figures 6A-6D The description of photo d mentioned in the text will not be repeated here.
[0614] After receiving the fourth operation performed by the user on the captured area, the first electronic device may display the first image in the focus window of the first electronic device.
[0615] For details on the implementation of the fourth operation, please refer to Scenario 1. Figure 6B The description of the operation of clicking area 601 in user interface 61 mentioned above, and the specific implementation of the focus window of the first electronic device, can be found in Scenario 1. Figure 6C The descriptions of the user interface 62 and the mobile phone's focus window mentioned in the text will not be repeated here.
[0616] In some embodiments, the first electronic device may display the screen image of the first electronic device.
[0617] For details on the implementation of the first electronic device, please refer to Scenario 1. Figures 7A-7D For the description of the mobile phone mentioned above, and the specific implementation of the screen display, please refer to Scenario 1. Figures 7A-7D The descriptions of the phone's main interface and user interface 71 mentioned in the text will not be repeated here.
[0618] After receiving the fifth operation performed by the user on the screen, the first electronic device can capture a portion of the screen and display the first image in the focus window of the first electronic device.
[0619] For details on the implementation of the fifth operation, please refer to Scenario 1. Figure 7A The description of the operation mentioned in section 71, which involves double-tapping the phone screen with a knuckle to circle a portion of the phone's main interface, can be found in Scenario 1 for the specific implementation of the partial screen area. Figure 7B The description of area 701 mentioned above, and the specific implementation of the focus window of the first electronic device, can be found in Scenario 1. Figure 7BThe description of the user interface 72 and the mobile phone's focus window mentioned in the first image can be found in Scenario 1 for the specific implementation method. Figures 7A-7D The description of photo e mentioned in the text will not be repeated here.
[0620] In some embodiments, the first electronic device may send a transmission instruction to the second electronic device, the transmission instruction instructing the second electronic device to send a first image to the first electronic device. The first electronic device may receive the first image from the second electronic device, the first image being sent by the second electronic device in response to the transmission instruction. Thus, the first electronic device may display the first image in its focus window.
[0621] For details on the implementation of the first electronic device, please refer to Scenario 1. Figures 9A-9D The description of the mobile phone mentioned in the text, and the specific implementation method of the second electronic device, can be found in Scenario 1. Figures 9A-9D For the description of the television mentioned above, and the specific implementation of the transmission commands, please refer to Scenario 1. Figure 9B The text mentions clicking control 902 in user interface 92, or... Figure 9A The description of the instruction corresponding to clicking control 902 in the TV card 901 shown is illustrated in the first image. For a detailed implementation of this instruction, please refer to Scene 1. Figure 9C The user interface 93 mentioned above displays a description of the current screen on the television. For the specific implementation of the focus window of the first electronic device, please refer to Scenario 1. Figure 9C The descriptions of the user interface 93 and the mobile phone's focus window mentioned in the text will not be repeated here.
[0622] Based on the above description, the first electronic device can display the first image in a user interface of an application. The user interface of this application can be considered as the focus window of the first electronic device, and the application can be any type of application installed on the first electronic device.
[0623] In some embodiments, after receiving a seventh operation performed by the user on the first image, the first electronic device may replace the first image and display a second image. Thus, when displaying the second image, the first electronic device may, in response to the first action, control a lighting device to emit light related to the color of the second image.
[0624] For details on the implementation of the seventh operation, please refer to Scenario 1. Figures 4D-4F The description of the left / right swiping operation in area 401 of user interface 44 mentioned in the first image can be found in Scenario 1 for the specific implementation method. Figures 4D-4I The description of photo 'a' mentioned in the text, and the specific implementation method of the second image, can be found in Scenario 1. Figures 4D-4FThe description of photo b mentioned above, and the specific implementation method of the above process, can be found in Scenario 1. Figure 4I The description of the green light emitted by the living room lamp controlled by the mobile phone after the photo b displayed in the user interface 46 is mentioned in the text and will not be repeated here.
[0625] Thus, the first electronic device can provide the user with a possible way to replace the first image, allowing the user to replace the first image with the second image and change the color of the light from the lighting device to the color of the second image.
[0626] For example, this application provides a method for setting the color of a light.
[0627] Please see Figure 13 , Figure 13 A schematic flowchart of a light color setting method according to an embodiment of this application is shown.
[0628] like Figure 13 As shown, the light color setting method of this application may include:
[0629] S301. When playing the first video, obtain the playback method of the first video.
[0630] S302. When the playback mode of the first video is determined to be used to indicate the setting of the light color, the lighting device is controlled to emit light related to the color of the first video.
[0631] The light color setting method of this application can be executed by a first electronic device. For the specific implementation of the first electronic device, please refer to the description of electronic device 2 mentioned in Scenario 2. For the specific implementation of the light device, please refer to the description of light device 1 mentioned in Scenario 2. It will not be repeated here.
[0632] The specific implementation of the first video can be found in the description of video 1 mentioned in scenario 2. The specific implementation of the playback method of the first video can be found in the description of the playback method of video 1 mentioned in scenario 2. The specific implementation of the color of the first video can be found in the description of the playback method of color 2 of video 1 mentioned in scenario 2. The specific implementation of S301 can be found in the description of the embodiment of step 22 mentioned in scenario 2, and will not be repeated here.
[0633] The specific implementation of S302 can be found in the description of steps 23, 24 and 25 in Scenario 2, which will not be repeated here.
[0634] In S301, the first electronic device can receive a trigger command from either the first electronic device or the third electronic device. The trigger command is used to trigger the first electronic device to detect the playback mode of the first video. Therefore, the first electronic device can respond to the trigger command and obtain the playback mode of the first video.
[0635] The specific implementation of the third electronic device can be found in the description of the user instructions of the other electronic devices mentioned in Scenario 2. The specific implementation of the triggering instruction can be found in the description of the user instructions of the electronic device 2 or other electronic devices mentioned in Scenario 2. The specific implementation of the triggering instruction can be found in the description of the embodiment of step 23 mentioned in Scenario 2. It will not be repeated here.
[0636] Therefore, upon receiving a trigger command from the first electronic device or the third electronic device, the first electronic device can begin to acquire the playback mode of the first video.
[0637] In some embodiments, a first electronic device may determine the color of a first video. The first electronic device may send the color value of the first video to a lighting device, causing the lighting device to emit light related to the color of the first video based on the color value of the first video; alternatively, the first electronic device may send the color value of the first video to a second electronic device, causing the second electronic device to send the color value of the first video to the lighting device, the color value of the first video being used by the lighting device to emit light related to the color of the first video.
[0638] The specific implementation of the above process can be found in the description of steps 24 and 25 in Scenario 2, which will not be repeated here.
[0639] Therefore, after determining that the playback mode of the first video is used to set the light color, the first electronic device can obtain the color of the first video and then transmit the color value of the first video, so that the lighting device can emit light related to the color of the first video.
[0640] In some embodiments, the first electronic device may acquire a first frame from the first video, wherein the first frame is a frame played at the current moment of the first video, or any frame played after the current moment of the first video, or any frame played before the current moment of the first video.
[0641] The specific implementation of the first screen can be found in the description of screen 1 mentioned in step 24 of scenario 2, which will not be repeated here.
[0642] The first electronic device can perform color recognition on the first screen to obtain the colors contained in the first screen. When there is only one color, the first electronic device can determine the color of the first video. When there are multiple colors, the first electronic device can determine the color of the first video based on the color value of each color and the display area of each color in the first screen.
[0643] For example, the first electronic device can determine the color of the first video as the color with the same color value and the largest display area. Thus, the first electronic device can determine the color of the first video as the color of the theme / central concept / dominant color of the first frame, providing a possible implementation method for determining the color of the first video.
[0644] The specific implementation of the above process can be found in the description of step 24 in Scenario 2, which will not be repeated here.
[0645] Thus, the first electronic device can determine the color of the first video in real time through a recognition algorithm.
[0646] In some embodiments, the first electronic device may detect a device that is communicatively connected to the first electronic device and whose light color can be set within the recognition range of the first electronic device.
[0647] When there is only one device, the first electronic device can identify the device as a lighting device. When there are multiple devices, the first electronic device can identify the lighting device based on the angle and / or distance between each device and the first electronic device.
[0648] For example, the first electronic device can identify the device with the shortest distance and / or smallest angle from itself as the lighting device. Thus, the first electronic device can determine the lighting device as the device with the shortest distance and / or smallest angle from itself, providing a possible implementation for identifying the lighting device.
[0649] The specific implementation of the above process can be found in the description of step 21 in Scenario 2, which will not be repeated here.
[0650] Therefore, the first electronic device can control the color of light from one or more lighting devices, taking into account parameters such as recognition range, angle, and distance.
[0651] In this application, after the first electronic device controls the lighting device to emit light related to the color of the first video in S302, it can acquire a second frame in the first video every second time interval. The second frame is a frame played at the current moment of the first video, or any frame played after the current moment of the first video, or any frame played within the time interval before the current moment of the first video.
[0652] The specific implementation of the second duration can be found in the description of duration 2 mentioned in scenario 2. The specific implementation of the second screen can be found in the description of screen 2 mentioned in scenario 2. The specific implementation of the above process can be found in the description of the playback method of video 1 in step 24 mentioned in scenario 2, which indicates that after the light color is set, the electronic device 2 can determine whether color 3 (the color of video 1 determined based on screen 2) is the same as color 2, so as to determine whether the color of video 1 has changed. It will not be elaborated here.
[0653] After determining that the color of the first video has changed based on the second image, the first electronic device can control the lighting device to emit light related to the changed color of the first video.
[0654] The specific implementation of the above process can be found in the description of step 26 in Scenario 2, which will not be repeated here.
[0655] Therefore, the first electronic device can adjust the light color of the lighting device by observing whether the color of the video changes, enabling the first electronic device to quickly update the light color of the lighting device and providing a possible way to update the setting of the light color.
[0656] In this application, after the first electronic device controls the lighting device to emit light related to the color of the first video in S302, it can control the lighting device to turn off or continue emitting light related to the color of the first video when it determines that the playback mode of the first video is used to indicate the setting of turning off the light color.
[0657] The specific implementation of the above process can be found in the description of step 27 in Scenario 2, which will not be repeated here.
[0658] For example, when the first video is played in full-screen mode, the playback mode is determined to indicate the setting of the light color. When the first video exits full-screen mode, the playback mode is determined to indicate the setting of the light color to be turned off.
[0659] Thus, the first electronic device can determine whether the video playback method changes, causing the lighting device to turn off the light or maintain the current light color, providing a possible way to set the light color to be turned off.
[0660] In this application, after receiving the eighth operation performed by the user on the first video, the first electronic device can replace the first video and play the second video. Therefore, when playing the second video, the first electronic device can obtain the playback mode of the second video. When it is determined that the playback mode of the second video is used to indicate the setting of a light color, the first electronic device can control the lighting device to emit light related to the color of the second video.
[0661] The specific implementation of the eighth operation can be found in the description of the operation of electronic device 2 switching from playing video 1 to playing video 2 mentioned in scenario 2. The specific implementation of the second video can be found in the description of video 2 mentioned in scenario 2. The specific implementation of the color of the second video can be found in the description of the color of video 2 mentioned in scenario 2. The specific implementation of the above process can be found in the description of electronic device 2 obtaining the playback mode of video 2 when playing video 2, and controlling the lighting device 1 to emit light related to the color of video 2 after the playback mode of video 2 is used to indicate the setting of the light color. It will not be elaborated here.
[0662] Thus, the first electronic device can provide the user with a possible way to replace the first video, allowing the user to replace the first video with the second video and change the color of the light from the lighting device to the color of the second video.
[0663] For example, this application provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory to cause the electronic device to execute the light color setting method in the preceding embodiments.
[0664] For example, this application provides a chip system applied to an electronic device including a memory, a display screen, and a sensor; the chip system includes a processor; when the processor executes computer instructions stored in the memory, the electronic device executes the light color setting method in the preceding embodiments.
[0665] For example, this application provides a computer-readable storage medium having a computer program stored thereon, the computer program being processed by a processor to cause an electronic device to implement the light color setting method in the preceding embodiments.
[0666] For example, this application provides a computer program product, including: execution instructions, the execution instructions being stored in a readable storage medium, at least one processor of an electronic device being able to read the execution instructions from the readable storage medium, and the at least one processor executing the execution instructions causing the electronic device to implement the light color setting method in the preceding embodiments.
[0667] In the above embodiments, all or part of the functionality can be implemented by software, hardware, or a combination of software and hardware. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0668] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for setting the color of a light, characterized in that, Applied to a first electronic device; the method includes: Display the first image; When displaying the first image, in response to a first action, controlling a lighting device to emit light related to the color of the first image includes: in response to the first action, acquiring the color of the first image and filtering out colors that have adverse visual effects on the user's mood, eyes, or skin; sending the color value of the first image's color to the lighting device so that the lighting device emits light related to the color of the first image based on the color value of the first image's color, wherein the first action is used to instruct the setting of the light color; Obtaining the color of the first image includes: If the color of the first image is pre-stored in the first electronic device, the color of the first image is retrieved from the first electronic device; or, Perform color recognition on the first image to obtain the colors contained in the first image; When the number of colors is one, that color is determined as the color of the first image; When there are multiple colors, the color of the first image is determined based on the color value of each color and the display area of each color in the first image.
2. The method according to claim 1, characterized in that, The colors of the first image are determined based on the color value of each color and the display area of each color in the first image, including: The color with the same color value and the largest display area is determined as the color of the first image.
3. The method according to claim 1 or 2, characterized in that, After obtaining the color of the first image, the method further includes: The first information is displayed in the first image, and the first information is used to indicate the color of the first image.
4. The method according to claim 3, characterized in that, The first information is also used to indicate at least one of the colors contained in the first image other than the color of the first image, the warm color of the color of the first image, and the cool color of the color of the first image; The method further includes: After receiving the sixth operation performed by the user on the first information, change the color of the first image and display the first image; When the first image is displayed, in response to the first action, the lighting device is controlled to emit light related to the color of the replaced first image.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: Within the recognition range of the first electronic device, a device that is communicatively connected to the first electronic device and whose light color can be set is detected; When the number of devices is one, the device is defined as the lighting device; When there are multiple devices, the lighting device is determined based on the angle and / or distance between each device and the first electronic device.
6. The method according to claim 5, characterized in that, The lighting equipment is determined based on the angle and / or distance between each device and the first electronic device, including: The device with the shortest distance and / or smallest angle to the first electronic device is identified as the lighting device.
7. The method according to claim 5 or 6, characterized in that, After determining the lighting device, the method further includes: Display a second message, which is used to indicate the lighting device.
8. The method according to claim 7, characterized in that, The second information is also used to indicate the angle and distance between each electronic device and the first electronic device; The method further includes: After receiving the seventh operation performed by the user on the second information, the lighting device is replaced; When the first image is displayed, in response to the first action, the replaced lighting device is controlled to emit light that is related to the color of the first image.
9. The method according to any one of claims 1-8, characterized in that, After controlling the lighting equipment to emit light related to the color of the first image, the method further includes: If a second action is detected within the first time period, the second action is used to indicate that when the setting of the light color is cancelled, the light device is controlled to emit light that is related to the previous light color of the first image. or, If no second action is detected after the first duration, the second action is used to indicate that the setting of the light color is cancelled, and the light device is controlled to continue to emit light related to the color of the first image.
10. The method according to any one of claims 1-9, characterized in that, The method further includes: Based on sensor data from the first electronic device, monitor the attitude changes of the first electronic device; Based on the posture change of the first electronic device, determine whether the action performed by the user on the first electronic device is the first action.
11. The method according to claim 10, characterized in that, The method specifically includes: When the posture change of the first electronic device is used to indicate that the angle of rotation of the first electronic device is greater than or equal to a preset angle, the action performed by the user on the first electronic device is determined to be the first action; When the posture change of the first electronic device indicates that the first electronic device has rotated to a preset direction, the action performed by the user on the first electronic device is determined to be a second action, which is used to indicate the cancellation of the setting of the light color.
12. The method according to any one of claims 1-11, characterized in that, The display of the first image includes: The first image is displayed in the focus window of the first electronic device.
13. The method according to claim 12, characterized in that, When the first electronic device includes a photo album application, displaying the first image in the focus window of the first electronic device includes: After launching the photo album application, a first control is displayed in the image list of the photo album application. The image list is used to browse the images stored in the photo album application, and the first control is used to view the first image. After receiving the first operation performed by the user on the first control, the first image is displayed in a user interface of the album application, and the user interface of the album application is the focus window of the first electronic device.
14. The method according to claim 12, characterized in that, When the first electronic device includes a camera application, displaying the first image in the focus window of the first electronic device includes: After the camera application is launched and the first image is captured, a second control is displayed in the shooting interface of the camera application. The shooting interface of the camera application is used to capture images, and the second control is used to view the first image. Upon receiving a second operation performed by the user on the second control, the first image is displayed in a user interface of the camera application, wherein the user interface of the camera application is the focus window of the first electronic device.
15. The method according to claim 12, characterized in that, Displaying the first image in the focus window of the first electronic device includes: Display the screen image of the first electronic device; After receiving a third operation performed by the user on the screen, the entire area of the screen is captured and the captured area is displayed. The captured area is related to the first image. Upon receiving the fourth operation performed by the user on the captured area, the first image is displayed in the focus window of the first electronic device.
16. The method according to claim 12, characterized in that, Displaying the first image in the focus window of the first electronic device includes: Display the screen image of the first electronic device; After receiving the fifth operation performed by the user on the screen, a portion of the screen is captured and the first image is displayed in the focus window of the first electronic device.
17. The method according to claim 12, characterized in that, Displaying the first image in the focus window of the first electronic device includes: Send a transmission instruction to a second electronic device, the transmission instruction being used to instruct the second electronic device to send the first image to the first electronic device; The first image is received from the second electronic device, wherein the first image is sent by the second electronic device in response to the transmission command; The first image is displayed in the focus window of the first electronic device.
18. The method according to any one of claims 1-17, characterized in that, The method further includes: Upon receiving the seventh operation performed by the user on the first image, the first image is replaced, and the second image is displayed; When displaying the second image, in response to the first action, the lighting device is controlled to emit light that is related to the color of the second image.
19. A method for setting the color of a light, characterized in that, Applied to a first electronic device; the method includes: When playing the first video, the playback mode of the first video is obtained; the playback mode includes full-screen, split-screen, or floating playback modes; When the playback mode of the first video is determined to indicate the setting of the light color, the lighting device is controlled to emit light related to the color of the first video.
20. The method according to claim 19, characterized in that, Obtaining the playback mode of the first video includes: Receive a trigger instruction from the first electronic device or the third electronic device, the trigger instruction being used to trigger the first electronic device to detect the playback mode of the first video; In response to the trigger command, the playback mode of the first video is obtained.
21. The method according to claim 19 or 20, characterized in that, Controlling the lighting equipment to emit light that is related to the color of the first video includes: Determine the color of the first video; Send the color value of the first video to the lighting device so that the lighting device emits light related to the color of the first video based on the color value of the first video; Alternatively, the color value of the first video can be sent to a second electronic device, so that the second electronic device sends the color value of the first video to the lighting device, the color value of the first video being used by the lighting device to emit light related to the color of the first video.
22. The method according to claim 21, characterized in that, Determining the color of the first video includes: The first frame in the first video is obtained, which is a frame played at the current moment of the first video, or any frame played after the current moment of the first video, or any frame played before the current moment of the first video. Perform color recognition on the first image to obtain the colors contained in the first image; When the number of colors is one, that color is determined as the color of the first video; When there are multiple colors, the color of the first video is determined based on the color value of each color and the display area of each color in the first frame.
23. The method according to claim 22, characterized in that, The colors of the first video are determined based on the color value of each color and the display area of each color in the first frame, including: The color with the same color value and the largest display area is determined as the color of the first video.
24. The method according to any one of claims 19-23, characterized in that, The method further includes: Within the recognition range of the first electronic device, a device that is communicatively connected to the first electronic device and whose light color can be set is detected; When the number of devices is one, the device is defined as the lighting device; When there are multiple devices, the lighting device is determined based on the angle and / or distance between each device and the first electronic device.
25. The method according to claim 24, characterized in that, The lighting equipment is determined based on the angle and / or distance between each device and the first electronic device, including: The device with the shortest distance and / or smallest angle to the first electronic device is identified as the lighting device.
26. The method according to any one of claims 19-25, characterized in that, After controlling the lighting equipment to emit light related to the color of the first video, the method further includes: Every second time interval, a second frame is acquired from the first video. The second frame is a frame that is currently playing in the first video, or any frame that is playing in the first video after the current time, or any frame that is playing in the first video within the time interval before the current time. After determining that the color of the first video has changed based on the second image, the lighting device is controlled to emit light related to the changed color of the first video.
27. The method according to any one of claims 19-26, characterized in that, After controlling the lighting equipment to emit light related to the color of the first video, the method further includes: When the playback mode of the first video is determined to indicate that the light color setting is turned off, the lighting device is controlled to either turn off or continue to emit light related to the color of the first video.
28. The method according to claim 27, characterized in that, The method specifically includes: When the first video is played in full-screen mode, the playback mode of the first video is determined to indicate the setting of the light color; When the first video exits full-screen playback mode, it is determined that the playback mode of the first video is used to indicate the setting to turn off the light color.
29. The method according to any one of claims 19-28, characterized in that, The method further includes: After receiving the user's eighth operation on the first video, the first video is replaced and the second video is played; When playing the second video, obtain the playback mode of the second video; When the playback mode of the second video is determined to indicate the setting of the light color, the lighting device is controlled to emit light related to the color of the second video.
30. An electronic device, characterized in that, include: Memory and processor; The memory is used to store program instructions; The processor is configured to invoke program instructions in the memory to cause the electronic device to execute the light color setting method according to any one of claims 1-18, and / or to cause the electronic device to execute the light color setting method according to any one of claims 19-29.
31. A computer-readable storage medium, characterized in that, The method includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the light color setting method as described in any one of claims 1-18, and / or cause the electronic device to perform the light color setting method as described in any one of claims 19-29.
32. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the light color setting method as described in any one of claims 1-18, and / or causes the computer to perform the light color setting method as described in any one of claims 19-29.
Citation Information
Patent Citations
Light control method and device, and storage medium
CN109121267A
Lighting system, lighting apparatus, and lighting control method
US20130271004A1