CN114126168A - Lamp effect control method and device, intelligent equipment and storage medium - Google Patents

Lamp effect control method and device, intelligent equipment and storage medium Download PDF

Info

Publication number
CN114126168A
CN114126168A CN202111288766.0A CN202111288766A CN114126168A CN 114126168 A CN114126168 A CN 114126168A CN 202111288766 A CN202111288766 A CN 202111288766A CN 114126168 A CN114126168 A CN 114126168A
Authority
CN
China
Prior art keywords
lamp
working state
state information
priority
display state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111288766.0A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111288766.0A priority Critical patent/CN114126168A/en
Publication of CN114126168A publication Critical patent/CN114126168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The embodiment of the application discloses a light effect control method, a light effect control device, intelligent equipment and a storage medium, wherein when the intelligent equipment is detected to be in various working states at present, the priority and the light display state information corresponding to each working state are acquired; determining lamp display state information corresponding to the working state with the highest priority; and displaying a light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect. The technical problem that the current working state of the household appliance can not be displayed timely when the household appliance is in various working states in the prior art is solved, and the display effect of the household appliance on the current working state is improved.

Description

Lamp effect control method and device, intelligent equipment and storage medium
Technical Field
The application relates to the technical field of intelligent equipment, in particular to a light effect control method, a light effect control device, intelligent equipment and a storage medium.
Background
With The rise of The Internet of things (IoT), smart devices such as home appliances have been rapidly developed, for example, smart devices can be connected to other smart devices through a network or interact with users through voice. However, the fast-developed home appliances do not have corresponding status displays for the network status, voice interaction, and other working statuses of the home appliances, so that the user cannot know the current working status of the home appliances in time, and particularly cannot know the current working status of the home appliances even when the home appliances are in multiple working statuses.
Disclosure of Invention
The embodiment of the application provides a lamp effect control method and device, an intelligent device and a storage medium, solves the technical problem that the current working state cannot be displayed timely when household appliances are in various working states in the prior art, and improves the display effect of the household appliances on the current working state.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
the embodiment of the application provides a lamp effect control method, which comprises the following steps: when detecting that the intelligent equipment is in various working states at present, acquiring the priority and lamp display state information corresponding to each working state;
determining lamp display state information corresponding to the working state with the highest priority;
and displaying a light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
In one embodiment, the displaying the light effect corresponding to the light display status information includes:
generating a control instruction of the lamp display state information;
and controlling the intelligent equipment according to the control instruction, and displaying the lamp effect corresponding to the lamp display state information.
In an embodiment, the controlling the smart device according to the control instruction to display the light effect corresponding to the light display status information includes:
verifying the control instruction according to a preset algorithm;
and when the control instruction passes the verification, controlling the intelligent equipment according to the control instruction, and displaying the lamp effect corresponding to the lamp display state information.
In one embodiment, after displaying the lamp effect corresponding to the lamp display status information, the method includes:
acquiring the priority of the working state corresponding to the non-displayed lamp display state information;
and sequentially displaying the lamp effects corresponding to the lamp display state information according to the priority of the working state from high to low.
In an embodiment, the sequentially displaying the light effects corresponding to the light display state information according to the priority corresponding to the operating state from high to low includes:
according to the priority corresponding to each working state, sequentially generating control instructions of the lamp display state information from high to low;
and controlling the intelligent equipment according to the control instruction, and sequentially displaying the light effects corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effects.
In an embodiment, the obtaining the priority corresponding to each operating state includes:
obtaining the type of each working state, wherein the types of the working states comprise a burst working state and a conventional working state;
and determining the priority corresponding to each working state according to the type of each working state.
In one embodiment, the acquiring the priority and the light display status information corresponding to each operating status includes:
acquiring the priority corresponding to each working state;
and determining at least one of the lamp flashing frequency parameter and the lamp color parameter according to the priority of the working state.
In one embodiment, the acquiring the lamp display state information corresponding to each operating state includes:
acquiring the duration of the working state;
and determining the display time length of the lamp according to the duration of the working state.
The embodiment of the present application further provides a lamp effect control device, including: the acquisition module is used for acquiring the priority and the lamp display state information corresponding to each working state when the intelligent equipment is detected to be in various working states;
the determining module is used for determining the lamp display state information corresponding to the working state with the highest priority;
and the display module is used for displaying the light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
The embodiment of the application also provides intelligent equipment, the intelligent equipment comprises a processor and a memory, a computer program is stored in the memory, and the processor executes any one of the lamp effect control methods provided by the embodiment of the application when calling the computer program in the memory.
According to an aspect of the present application, there is also provided a storage medium for storing a computer program, which is loaded by a processor to execute any one of the lamp effect control methods provided by the embodiments of the present application.
When the intelligent equipment detects that the intelligent equipment is currently in various working states, acquiring the priority and the lamp display state information corresponding to each working state; determining lamp display state information corresponding to the working state with the highest priority; and displaying a light effect corresponding to the light display state information so as to indicate the current working state of the intelligent equipment through the light effect. Therefore, when the intelligent equipment is in multiple working states, the working states which are needed to be known by a user most urgently at present, namely the light effects corresponding to the working states with the highest priority can be displayed in time, and the display effect of the intelligent equipment on the current working states is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a lamp efficiency control method according to an embodiment of the present disclosure;
fig. 2 is another schematic flow chart of a lamp efficiency control method according to an embodiment of the present disclosure;
fig. 3 is another schematic flow chart of a lamp efficiency control method according to an embodiment of the present application;
fig. 4 is another schematic flow chart of a lamp efficiency control method according to an embodiment of the present application;
fig. 5 is another schematic flow chart of a lamp efficiency control method according to an embodiment of the present application;
fig. 6 is another schematic flow chart of a lamp efficiency control method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a lamp effect control device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an intelligent device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a light effect control method and device, intelligent equipment and a storage medium (namely a computer readable storage medium). The light effect control method may be applied to a light effect control device, the light effect control device may be specifically integrated in an intelligent device such as an intelligent household appliance, the intelligent household appliance may be in communication connection with a server, and the like, the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform, but is not limited thereto. The server and the intelligent household appliance can be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
In this embodiment, a description will be given from the perspective of an intelligent device, please refer to fig. 1, where fig. 1 is a schematic flow chart of a lamp effect control method according to an embodiment of the present application. The lamp effect control method may include:
and S10, when detecting that the intelligent device is in various working states, acquiring the priority and the lamp display state information corresponding to each working state.
The execution main body of the method for controlling the light effect can be intelligent equipment, the intelligent equipment can be intelligent household electrical appliance equipment such as a television, a sound, an air conditioner, a washing machine and the like, and the working state can comprise a voice interaction state, a mute state, an off-network state and the like, wherein the voice interaction state can comprise voice awakening, voice listening, audio and video playing and the like. The lamp display state information may include at least one of a lamp flicker frequency parameter, a lamp color parameter, and a lamp display duration, and the lamp display state information may be displayed through a display screen on the smart device or a display device such as an RGB lamp panel. In order to timely acquire the current working state of the intelligent equipment, the working state and the lamp display state information are correspondingly stored in the intelligent equipment in a related mode, so that when the intelligent equipment is in a specific working state, the intelligent equipment displays the lamp effect of the lamp display state information corresponding to the specific working state.
The priority corresponding to each working state of the intelligent equipment can be preset and stored in the intelligent equipment locally or on a server, and when the intelligent equipment is detected to be in various working states currently, in order to determine the working state which needs to be known by a user most in time, the intelligent equipment can acquire the priority corresponding to each working state and the lamp display state information, so that the working state which the user needs to know urgently can be indicated according to the priority and the lamp display state information.
And S20, determining the lamp display state information corresponding to the working state with the highest priority.
After the priority corresponding to each working state is obtained, the priority of each working state can be compared and sequenced in sequence according to the priority, the working state with the highest priority is determined, and the lamp display state information corresponding to the working state with the highest priority is obtained. For example, the current working state of the intelligent device includes a voice awakening state, a video playing state and a network disconnection state, and the priority of the obtained voice awakening state is 1 level, the priority of the video playing state is 4 level, and the priority of the network disconnection state is 5 level, then the lamp display state information corresponding to the voice awakening state with the highest priority is determined.
Optionally, in an embodiment, step S20 is preceded by: and caching the priority and lamp display state information corresponding to each working state. Step S20 includes: and determining the lamp display state information corresponding to the working state with the highest priority in the cached priority corresponding to each working state and the lamp display state word information.
And S30, displaying the light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
After the intelligent equipment determines the lamp display state information corresponding to the working state with the highest priority, the intelligent equipment controls the display device to display the lamp effect corresponding to the lamp display state information, so that the working state of the intelligent equipment is indicated through the lamp effect.
Optionally, in an embodiment, an application scenario of the light effect control method in the smart device is as follows: when detecting that the intelligent equipment has a new working state, detecting all current working states of the intelligent equipment, judging whether the lamp display state information which is currently displayed exists or not, and if the lamp display state information which is currently displayed exists, determining the lamp display state information which corresponds to the working state with the highest priority level in the working states which correspond to the new working state and the lamp display state information which is currently displayed; and displaying the light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect. For example, when the intelligent device detects a new voice wake-up state, and currently displays lamp display state information corresponding to a mute state, a working state with the highest priority, i.e., a voice wake-up state, needs to be determined in the voice wake-up state and the mute state; at this time, the lamp display state information corresponding to the original mute state needs to be interrupted, and the lamp display state information corresponding to the voice wake-up state needs to be displayed.
If the lamp display state information which is being displayed does not exist, judging whether the lamp display state information corresponding to the working state which is being cached exists or not; if there is no lamp display state information being displayed and there is no lamp display state information corresponding to the working state in the cache, for example, the lamp effect control of the smart device is in the initialization state, the lamp display state information corresponding to the detected working state is displayed.
If no lamp display state information is displayed, but lamp display state information corresponding to the working state in the cache exists, determining lamp display state information corresponding to the working state with the highest priority in the detected new working state and the working state in the cache; and displaying the light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
In the technical scheme provided by the embodiment, when the intelligent device is detected to be in various working states at present, the priority and the lamp display state information corresponding to each working state are acquired; determining lamp display state information corresponding to the working state with the highest priority; and displaying the light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect. Therefore, when the intelligent equipment is in multiple working states, the working states which are needed to be known by a user most urgently at present, namely the light effects corresponding to the working states with the highest priority can be displayed in time, and the display effect of the intelligent equipment on the current working states is improved.
The method described in the above embodiments is further illustrated in detail by way of example.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a lamp efficiency control method according to an embodiment of the present application. Based on the above embodiment, step S30 may include:
and S31, generating a control command of the lamp display state information.
And S32, controlling the intelligent equipment according to the control instruction, and displaying the light effect corresponding to the light display state information.
After the intelligent equipment determines the lamp display state information corresponding to the working state with the highest priority, a control instruction is generated according to the lamp display state information; and controlling the intelligent equipment according to the control instruction, and displaying the light effect corresponding to the light display state information.
Alternatively, step S32 may include:
verifying the control instruction according to a preset algorithm;
and when the control instruction passes the verification, controlling the intelligent equipment according to the control instruction, and displaying the lamp effect corresponding to the lamp display state information.
The preset algorithm may be the CRC16 algorithm. In order to avoid lamp effect control errors caused by hardware signal interference, when the intelligent equipment detects a control instruction, the intelligent equipment verifies the control instruction according to a preset algorithm to determine that the control instruction is correct. And when the control instruction passes the verification, judging that the control instruction is correct, and controlling the intelligent equipment to display the light effect corresponding to the light display state information according to the control instruction.
In the technical scheme provided by this embodiment, after determining the lamp display state information corresponding to the working state with the highest priority, the intelligent device generates a control instruction according to the lamp display state information; and controlling the intelligent equipment according to the control instruction, and displaying the lamp effect corresponding to the lamp display state information. Therefore, the intelligent equipment can verify the control instruction when detecting the control instruction, so that the control instruction is prevented from being interfered, the accuracy of the control instruction is improved, and the accuracy of the lamp effect control of the intelligent equipment is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a lamp efficiency control method according to an embodiment of the present application. Based on the above embodiment, after step S30, the method includes:
and step S40, acquiring the priority of the working state corresponding to the non-displayed lamp display state information.
Optionally, the priority corresponding to each operating state is different. After the display of the lamp display state information corresponding to the working state with the highest priority is completed, in order to avoid the user missing other working states, it is necessary to acquire the priority of the working state corresponding to the lamp display state information that is not displayed and display the lamp display state information that is not displayed when the display of the lamp display state information corresponding to the working state with the highest priority is completed.
And step S50, sequentially displaying the lamp effects corresponding to the lamp display state information according to the priority corresponding to the working state from high to low.
Optionally, in an embodiment, the working states corresponding to the information on the lamp display states not displayed by the intelligent device include a mute state, an off-network state, and a video playing state, where the priority of the mute state is 6, the priority of the off-network state is 5, and the priority of the video playing state is 4, and then the lamp effect corresponding to the video playing state, the lamp effect corresponding to the off-network state, and the lamp effect corresponding to the mute state are sequentially displayed from high to low according to the priority order.
Optionally, in an embodiment, step S40 is preceded by: caching the working state with the non-highest priority; step S40 includes: and acquiring the priority and the lamp display state information corresponding to each working state of the cache. When the intelligent device is detected to be in various working states at present, the lamp display state information corresponding to the working state with the highest priority is preferentially displayed, other non-highest working states with the highest priority are cached, and the priority and the lamp display state information corresponding to each working state which is cached are obtained again until the lamp display state information corresponding to the working state with the highest priority is displayed. For example, when the intelligent device is currently in a mute state, a network disconnection state, a video playing state and a voice wakeup state, after the lamp display state information corresponding to the voice wakeup state with the highest priority is determined and the lamp effect corresponding to the lamp display state information corresponding to the voice wakeup state is displayed, the mute state, the network disconnection state and the video playing state are cached until the lamp display state information corresponding to the voice wakeup state with the highest priority is displayed, and then the mute state, the network disconnection state and the lamp effect corresponding to the video playing state in the cache are acquired.
And sequentially displaying the lamp effects corresponding to the lamp display state information according to the priority corresponding to each working state of the cache from high to low. For example, the priority of the mute state in the cache is 6, the lamp blinking frequency in the lamp display state information corresponding to the mute state is 0, that is, the lamp is normally on, and the lamp color is yellow; the priority of the disconnected network state is 5, the lamp flicker frequency in the lamp display state information corresponding to the disconnected network state is 0, namely the lamp is normally on, and the lamp color is red; the priority of the video playing state is 4 levels, the lamp flashing frequency in the lamp display state information corresponding to the video playing state is 1 time per second, and the lamp color is green.
In the technical scheme provided by this embodiment, after the intelligent device displays the lamp display state information corresponding to the working state with the highest priority, the non-highest working state with the highest priority is cached; acquiring the priority and the lamp display state information corresponding to each cached working state; and sequentially displaying the lamp effects corresponding to the lamp display state information according to the priority corresponding to the working state from high to low. Therefore, when the intelligent equipment is in multiple working states, the working states which are urgently needed to be known by a user can be displayed in time, and after the current working state is displayed, other working states in the cache are displayed in sequence, so that the user is prevented from missing other working states of the intelligent equipment, the comprehensiveness of displaying the working states of the intelligent equipment is improved, and the effect of controlling the light effect is further improved.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating a lamp efficiency control method according to an embodiment of the present application. Based on the above embodiment, step S50 may include:
step S51 is to generate control commands for the lamp display status information in order from high to low according to the priority corresponding to each operating status.
After the intelligent device obtains the priority of the working state corresponding to the non-displayed lamp display state information, the intelligent device sequentially generates the control instructions of the lamp display state information according to the priority corresponding to each working state from high to low.
And S52, controlling the intelligent equipment according to the control instruction, and sequentially displaying the light effects corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effects.
Alternatively, step S52 may include: verifying the control instruction according to a preset algorithm;
and when the control instruction passes the verification, the intelligent equipment is controlled according to the control instruction, and the light effects corresponding to the light display state information are sequentially displayed so as to indicate the working state of the intelligent equipment through the light effects.
In the technical scheme provided by this embodiment, after acquiring the priority of the working state corresponding to the non-displayed lamp display state information, the intelligent device sequentially generates the control instructions of the lamp display state information according to the priority corresponding to each working state from high to low; and verifying the control instruction, controlling the intelligent equipment according to the control instruction when the verification is passed, and sequentially displaying the lamp effect corresponding to the lamp display state information. Therefore, the intelligent equipment can verify the control instruction when detecting the control instruction, so that the control instruction is prevented from being interfered, the accuracy of the control instruction is improved, and the accuracy of the lamp effect control of the intelligent equipment is improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a lamp efficiency control method according to an embodiment of the present application. Based on the above embodiment, step S10 may include:
and step S11, acquiring the type of each working state, wherein the type of each working state comprises a burst working state and a normal working state.
And step S12, determining the corresponding priority of each working state according to the type of each working state.
Optionally, in an embodiment, the real-time performance of the working state is determined according to the type of the working state, and the priority of the working state is determined according to the real-time performance of the working state;
it can be understood that the working state can be classified into a burst working state, where the burst working state is a state requiring the intelligent device to timely make feedback to the user input instruction, such as a voice wake-up state and a voice listening state; the normal working state is a working state in which the intelligent device has a long running time and/or occurs frequently, such as a playing state, a network disconnection state, a mute state, and the like.
Optionally, when the working state is a burst working state, determining that the priority of the working state is in a first priority interval; and when the working state is the normal working state, determining that the priority of the working state is in a second priority interval, wherein the priority of the first priority interval is higher than that of the second priority interval. After determining the priority interval of the working state according to the type of the working state; and determining the priority corresponding to the working state in the priority interval according to the real-time performance of the working state.
Optionally, in an embodiment, if the working state is a burst working state, determining the priority of the working state according to the real-time performance of each working state; and when the working state is the conventional working state, determining the priority of each working state according to the running starting time stamp of each working state and the time sequence from morning to evening, wherein the earlier the running starting time stamp of the working state is, the higher the priority corresponding to the working state is.
Optionally, in an embodiment, the priority of each operating state is preset and stored in association with the operating state, and when the intelligent device is detected to be in multiple operating states, the priority corresponding to each operating state is directly obtained.
In the technical scheme provided by this embodiment, the type of each working state is obtained, and the type of the working state includes a burst working state and a normal working state; and determining the priority corresponding to each working state according to the type of each working state. Therefore, when the working state is a sudden working state, namely a user instruction needs to be fed back in time, the working state is preferentially displayed, so that the working state of the intelligent equipment is displayed in time, and the display effect of the intelligent equipment on the current working state is improved.
Referring to fig. 6, fig. 6 is a schematic flow chart of a lamp efficiency control method according to an embodiment of the present application. Based on the above embodiment, the lamp display status information includes the lamp blinking frequency parameter and the lamp color parameter, and step S10 includes:
step S13, acquiring the corresponding priority of each working state;
and step S14, determining at least one of the lamp flicker frequency parameter and the lamp color parameter according to the priority of the working state.
Optionally, in an embodiment, the higher the priority of the working state is, the higher the lamp flicker frequency in the lamp display state corresponding to the working state is, and the higher the RGB parameter in the lamp color is; for example, when the working state is the voice awakening state, the lamp flashing frequency is three times per second, and the lamp color parameter is that red and blue alternately appear; if the display device in the intelligent equipment comprises a plurality of RGB lamps, the RGB lamps are controlled to alternately flash in red and blue colors and display in the same flashing period and different flashing time delays so as to achieve the effect of visual dynamic rotation. When the working state is a voice listening state, the lamp flashing frequency is twice per second, and the lamp color parameter is that red and yellow colors alternately appear; and controlling the RGB lamps to flash alternately in red and yellow colors, and displaying in the same flashing period and different flashing time delays to achieve the effect of visual dynamic rotation, wherein the lamp flashing frequency corresponding to the voice listening state is lower than the lamp flashing frequency corresponding to the voice awakening state.
Optionally, the lamp display state information includes a lamp display duration, and acquiring the lamp display state information corresponding to each operating state may include:
acquiring the duration of the working state;
and determining the display time length of the lamp according to the duration time length of the working state.
The lamp display duration is the same as the duration of the working state, for example, when the intelligent device receives a voice wake-up instruction of a user, the intelligent device is in the voice wake-up state for two seconds, and the intelligent device displays two seconds according to the lamp display state information corresponding to the voice wake-up state; when the intelligent equipment is in a video playing state, displaying the lamp display state information corresponding to the video playing state until the video playing is finished or detecting that the intelligent equipment is in a working state with priority higher than the video playing state, and after the lamp display state information corresponding to the video playing state is displayed, displaying the lamp display state information corresponding to the working state in the cache. Optionally, if the display device has a plurality of lights, when the intelligent device is in the video playing state and the mute state, the light display state information corresponding to the video playing state and the light display state information corresponding to the mute state information are displayed at the same time.
In the technical scheme provided by this embodiment, the lamp display state information includes a lamp flashing frequency parameter and a lamp color parameter, and a priority corresponding to each working state is obtained; and determining at least one of a lamp flashing frequency parameter and a lamp color parameter according to the priority of the working state. Therefore, the lamp display state information of the intelligent equipment can regularly change along with the change of the priority of the working state, so that a user can more accurately know the working state of the intelligent equipment through the change of the lamp effect, and the visual effect of the lamp effect control is improved.
In order to better implement the lamp efficiency control method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the lamp efficiency control method. The meaning of the terms is the same as that in the above-mentioned lamp effect control method, and the specific implementation details can refer to the description in the method embodiment.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a lamp efficiency control device according to an embodiment of the present application, wherein the lamp efficiency control device 300 may include an obtaining module 301, a determining module 302, a display module 303, and the like.
The acquiring module 301 is configured to, when it is detected that the intelligent device is currently in multiple working states, acquire priority and light display state information corresponding to each working state;
a determining module 302, configured to determine lamp display status information corresponding to a working status with a highest priority;
and the display module 303 is configured to display a light effect corresponding to the light display state information, so as to indicate the working state of the intelligent device through the light effect.
Optionally, the lamp effect control device may further include the following modules not shown in the drawings:
the first generation module is used for generating a control instruction of the lamp display state information;
and the first display module is used for controlling the intelligent equipment according to the control instruction and displaying the lamp effect corresponding to the lamp display state information.
The verification module is used for verifying the control instruction according to a preset algorithm;
and the second display module is used for controlling the intelligent equipment according to the control instruction and displaying the lamp effect corresponding to the lamp display state information when the control instruction passes the verification.
The first acquisition module is used for acquiring the priority of the working state corresponding to the non-displayed lamp display state information;
and the third display module is used for sequentially displaying the lamp effects corresponding to the lamp display state information according to the priority of the working state from high to low.
The second generation module is used for sequentially generating control instructions of the lamp display state information according to the priority corresponding to each working state from high to low;
and the fourth display module is used for controlling the intelligent equipment according to the control instruction, sequentially displaying the light effect corresponding to the light display state information, and indicating the working state of the intelligent equipment through the light effect.
The second acquisition module is used for acquiring the type of each working state, wherein the type of each working state comprises a burst working state and a conventional working state;
and the first determining module is used for determining the corresponding priority of each working state according to the type of each working state.
The third acquisition module is used for acquiring the priority corresponding to each working state;
and the second determining module is used for determining at least one of the lamp flashing frequency parameter and the lamp color parameter according to the priority of the working state.
The fourth acquisition module is used for acquiring the duration of the working state;
and the third determining module is used for determining the lamp display time length according to the duration of the working state.
An embodiment of the present application further provides an intelligent device, where the intelligent device may be an intelligent household appliance, a mobile terminal, and the like, and as shown in fig. 8, it shows a schematic structural diagram of the intelligent device related to the embodiment of the present application, specifically:
the smart device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the smart device architecture shown in FIG. 8 does not constitute a limitation of smart devices and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 401 is a control center of the smart device, connects various parts of the entire smart device using various interfaces and lines, and performs various functions of the smart device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the smart device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the smart device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The smart device further includes a power supply 403 for supplying power to the various components, and preferably, the power supply 403 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The smart device may also include an input unit 404, the input unit 404 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The intelligent device may further include a display unit 405, and the display unit 405 may be configured to display the light effect corresponding to each operating state, which is not described herein again. Specifically, in this embodiment, the processor 401 in the intelligent device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the control instruction, and the processor 401 runs the application program stored in the memory 402, so as to implement the following functions:
when detecting that the intelligent equipment is in various working states at present, acquiring the priority and lamp display state information corresponding to each working state;
determining lamp display state information corresponding to the working state with the highest priority;
and displaying a light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and a part which is not described in detail in a certain embodiment may refer to the above detailed description of the lamp effect control method, and is not described herein again.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the smart device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the smart device performs the method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by computer instructions or by computer instructions controlling associated hardware, and the computer instructions may be stored in a storage medium and loaded and executed by a processor, and the storage medium is a computer-readable storage medium. To this end, the present application provides a storage medium, in which a computer program is stored, where the computer program may include computer instructions, and the computer program can be loaded by a processor to execute any one of the lamp effect control methods provided in the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
As the computer instructions stored in the storage medium can execute any lamp effect control method provided in the embodiments of the present application, beneficial effects that can be achieved by any lamp effect control method provided in the embodiments of the present application can be achieved.
The method, the device, the intelligent device and the storage medium for controlling the lamp effect provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A lamp effect control method is characterized by comprising the following steps:
when detecting that the intelligent equipment is in various working states at present, acquiring the priority and lamp display state information corresponding to each working state;
determining lamp display state information corresponding to the working state with the highest priority;
and displaying a light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
2. The lamp effect control method according to claim 1, wherein the displaying the lamp effect corresponding to the lamp display state information includes:
generating a control instruction of the lamp display state information;
and controlling the intelligent equipment according to the control instruction, and displaying the lamp effect corresponding to the lamp display state information.
3. The light effect control method according to claim 2, wherein the controlling the smart device according to the control instruction to display the light effect corresponding to the light display state information includes:
verifying the control instruction according to a preset algorithm;
and when the control instruction passes the verification, controlling the intelligent equipment according to the control instruction, and displaying the lamp effect corresponding to the lamp display state information.
4. The lamp effect control method according to claim 1, wherein after displaying the lamp effect corresponding to the lamp display state information, the method comprises:
acquiring the priority of the working state corresponding to the non-displayed lamp display state information;
and sequentially displaying the lamp effects corresponding to the lamp display state information according to the priority of the working state from high to low.
5. The lamp effect control method according to claim 4, wherein the sequentially displaying the lamp effects corresponding to the lamp display state information in order from high to low according to the priority of the operating state comprises:
according to the priority corresponding to each working state, sequentially generating control instructions of the lamp display state information from high to low;
and controlling the intelligent equipment according to the control instruction, and sequentially displaying the light effects corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effects.
6. The lamp effect control method according to claim 1, wherein the obtaining the priority corresponding to each operating state comprises:
obtaining the type of each working state, wherein the types of the working states comprise a burst working state and a conventional working state;
and determining the priority corresponding to each working state according to the type of each working state.
7. The lamp effect control method according to claim 1, wherein the lamp display status information includes a lamp flicker frequency parameter and a lamp color parameter, and the obtaining the priority and the lamp display status information corresponding to each operating status includes:
acquiring the priority corresponding to each working state;
and determining at least one of the lamp flashing frequency parameter and the lamp color parameter according to the priority of the working state.
8. The lamp effect control method according to claim 1, wherein the lamp display state information includes a lamp display duration, and acquiring the lamp display state information corresponding to each operating state includes:
acquiring the duration of the working state;
and determining the display time length of the lamp according to the duration of the working state.
9. A lamp effect control device, comprising:
the acquisition module is used for acquiring the priority and the lamp display state information corresponding to each working state when the intelligent equipment is detected to be in various working states;
the determining module is used for determining the lamp display state information corresponding to the working state with the highest priority;
and the display module is used for displaying the light effect corresponding to the light display state information so as to indicate the working state of the intelligent equipment through the light effect.
10. An intelligent device, characterized in that the intelligent device comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the light effect control method according to any one of claims 1 to 8 when calling the computer program in the memory.
11. A storage medium for storing a computer program to be loaded by a processor for performing the lamp effect control method according to any one of claims 1 to 8.
CN202111288766.0A 2021-11-02 2021-11-02 Lamp effect control method and device, intelligent equipment and storage medium Pending CN114126168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111288766.0A CN114126168A (en) 2021-11-02 2021-11-02 Lamp effect control method and device, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111288766.0A CN114126168A (en) 2021-11-02 2021-11-02 Lamp effect control method and device, intelligent equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114126168A true CN114126168A (en) 2022-03-01

Family

ID=80380112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111288766.0A Pending CN114126168A (en) 2021-11-02 2021-11-02 Lamp effect control method and device, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114126168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115316900A (en) * 2022-07-15 2022-11-11 深圳市正浩创新科技股份有限公司 Lamp effect control method, self-moving equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703344A (en) * 2015-02-06 2015-06-10 北京智谷睿拓技术服务有限公司 Interactive method and user device
CN105282275A (en) * 2015-04-13 2016-01-27 深圳万利达移动通信有限公司 Mobile phone with breathing lamp reminding function
CN105722269A (en) * 2016-02-02 2016-06-29 长沙一待电子科技有限公司 Integrated ceiling wireless background music light indicating method and system
CN108924988A (en) * 2018-05-23 2018-11-30 威马智慧出行科技(上海)有限公司 atmosphere lamp control method and intelligent automobile
CN108989547A (en) * 2018-06-20 2018-12-11 Oppo广东移动通信有限公司 Light-emitting control method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703344A (en) * 2015-02-06 2015-06-10 北京智谷睿拓技术服务有限公司 Interactive method and user device
CN105282275A (en) * 2015-04-13 2016-01-27 深圳万利达移动通信有限公司 Mobile phone with breathing lamp reminding function
CN105722269A (en) * 2016-02-02 2016-06-29 长沙一待电子科技有限公司 Integrated ceiling wireless background music light indicating method and system
CN108924988A (en) * 2018-05-23 2018-11-30 威马智慧出行科技(上海)有限公司 atmosphere lamp control method and intelligent automobile
CN108989547A (en) * 2018-06-20 2018-12-11 Oppo广东移动通信有限公司 Light-emitting control method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115316900A (en) * 2022-07-15 2022-11-11 深圳市正浩创新科技股份有限公司 Lamp effect control method, self-moving equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111399941A (en) Batch configuration method, device and equipment for BMC (baseboard management controller) functions
CN110580188A (en) multithreading network distribution method and storage medium
CN114126168A (en) Lamp effect control method and device, intelligent equipment and storage medium
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN114286156A (en) Live broadcast interaction method and device, storage medium and computer equipment
CN112169310A (en) Game resource loading method and device, computer equipment and storage medium
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
WO2020151447A1 (en) Offline configuration method and apparatus for smart device
CN109936762B (en) Method for synchronously playing similar audio or video files and electronic equipment
CN116546242A (en) Live broadcast control method and device, computer equipment and storage medium
CN114116090A (en) Information display method and device, electronic equipment and computer readable storage medium
CN110502084A (en) A kind of parameter adjusting method, electronic equipment and computer storage medium
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN114326427A (en) Control method and device of intelligent equipment, intelligent equipment and storage medium
CN113867781A (en) Voice function configuration management method and device, electronic equipment and readable storage medium
CN114449554B (en) Equipment upgrading method, device, equipment and storage medium
CN114338250B (en) Data transmission method, device and equipment and power utilization system
CN113014945B (en) Data processing method and device, storage medium and computer equipment
CN114244889A (en) Log obtaining method, device, terminal, intelligent device and storage medium
CN114003367B (en) Risk monitoring method, device, equipment and storage medium
CN107018436A (en) A kind of starting-up method, device and without screen TV
CN113794929A (en) Audio and video sharing method and device, storage medium and electronic equipment
US10051635B2 (en) Systems and methods for taking actions based on whether secondary power is being received
CN108206755B (en) Network topology generation method and device for smart home
CN113848735A (en) Household appliance control method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination