CN111867203A - Working mode switching method, device, equipment and medium of desk lamp - Google Patents
Working mode switching method, device, equipment and medium of desk lamp Download PDFInfo
- Publication number
- CN111867203A CN111867203A CN202010714455.5A CN202010714455A CN111867203A CN 111867203 A CN111867203 A CN 111867203A CN 202010714455 A CN202010714455 A CN 202010714455A CN 111867203 A CN111867203 A CN 111867203A
- Authority
- CN
- China
- Prior art keywords
- mode
- desk lamp
- current
- working mode
- brightness value
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000035945 sensitivity Effects 0.000 claims description 45
- 230000006870 function Effects 0.000 claims description 34
- 230000001960 triggered effect Effects 0.000 claims description 15
- 230000005059 dormancy Effects 0.000 claims description 8
- 230000004617 sleep duration Effects 0.000 claims description 7
- 230000000873 masking effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000004622 sleep time Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000007958 sleep Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/115—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
- H05B47/12—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the disclosure discloses a method, a device, equipment and a medium for switching working modes of a desk lamp, wherein the method comprises the following steps: acquiring current system time; and updating the current working mode according to the current system time and the current working mode of the desk lamp so that the desk lamp performs function display based on the updated current working mode. According to the technical scheme of the embodiment, after the acquired current system time and the acquired current working mode are comprehensively processed, the current working mode of the desk lamp can be automatically updated, the desk lamp displays the functional parameters corresponding to the current mode, the matching degree between the display function of the desk lamp and a user is improved, and the technical effect of user experience is further improved.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method, a device, equipment and a medium for switching working modes of a desk lamp.
Background
At present, the desk lamp becomes a necessity in learning and working. The table lamp adopted in the market is mostly characterized in that the brightness of the table lamp is divided into a plurality of grades, and the brightness intensity corresponding to each grade is different. The user can adjust the brightness level of the desk lamp according to actual requirements, but the user needs to manually adjust the brightness level in the mode, certain inconvenience exists, and functional interaction between the user and the desk lamp cannot be achieved.
In order to solve the above problems, a scheme for adjusting the brightness of the desk lamp by a photosensitive manner is introduced in the market. Generally, the brightness of the lamp light increases in proportion to or in inverse proportion to the light intensity of the environment, but in this way, the brightness of the lamp light of the desk lamp is not matched with the brightness required by the user, and therefore the technical problem of poor user experience is caused.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, equipment and a medium for switching working modes of a desk lamp, so as to dynamically update the current working mode of the desk lamp, thereby improving the matching degree between the display function of the desk lamp and a user and the technical effect of user experience.
In a first aspect, an embodiment of the present disclosure provides a method for switching operating modes of a desk lamp, where the method includes:
acquiring current system time;
and updating the current working mode according to the current system time and the current working mode of the desk lamp so that the desk lamp performs function display based on the updated current working mode.
In a second aspect, an embodiment of the present disclosure further provides a device for switching operating modes of a desk lamp, where the device includes:
the system time determining module is used for acquiring the current system time;
and the working mode updating module is used for updating the current working mode according to the current system time and the current working mode of the desk lamp so as to enable the desk lamp to perform function display based on the updated current working mode.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for switching the working mode of the table lamp according to any one of the embodiments of the disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for switching the operating mode of the table lamp according to any one of the embodiments of the present disclosure.
According to the technical scheme of the embodiment, after the acquired current system time and the acquired current working mode are comprehensively processed, the current working mode of the desk lamp can be automatically updated, the desk lamp displays the functional parameters corresponding to the current working mode, the matching degree between the display function of the desk lamp and a user is improved, and the technical effect of user experience is further improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart illustrating a method for switching a working mode of a desk lamp according to a first embodiment of the disclosure;
fig. 2 is a schematic view of an interface for setting a working mode of a desk lamp according to a second embodiment of the disclosure;
FIG. 3 is a schematic diagram of function settings corresponding to triggering the respective operating modes of FIG. 2;
fig. 4 is a schematic flow chart illustrating a method for switching a working mode of a desk lamp according to a second embodiment of the disclosure;
fig. 5 is a schematic structural diagram of a device for switching operating modes of a desk lamp according to a third embodiment of the disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
Example one
Fig. 1 is a schematic flow chart of a method for switching a working mode of a desk lamp according to a first embodiment of the present disclosure, and the present disclosure is applicable to updating the current working mode of the desk lamp according to the current system time in the desk lamp and the current working mode of the desk lamp, so as to improve a matching degree between the desk lamp and a user. The method can be executed by a device for switching the working mode of the desk lamp, the device can be realized in a software and/or hardware mode, and optionally, the device can be realized by the desk lamp through embedded software or hardware equipment.
Before the technical scheme of the embodiment of the present disclosure is introduced, the table lamp provided by the embodiment of the present disclosure is briefly introduced. The desk lamp disclosed by the embodiment not only has the function of illumination, but also can realize interaction with a user, for example, contents learned by the user or contents which the user wants to know can be displayed on a screen of the desk lamp. The user may interact with the content displayed on the screen. Certainly, the screen of the desk lamp can also display the message content pushed by the system or software and carry out voice reminding on the user, and can also play animation set in the system. In the present embodiment, the desk lamp includes at least three operation modes, such as a night mode, a normal mode, and a learning mode. The night mode is a mode used at night as the name implies, in order to avoid disturbing a user, the brightness value of the screen of the desk lamp can be set to be a lower brightness value, the brightness value of the light can also be set to be a lower brightness value, a notification message can be received and displayed on the screen of the desk lamp, but voice reminding is not performed on the user. The common mode is a normal use mode, and a user can set information such as screen brightness values and light brightness values according to actual requirements. If the current working mode of the desk lamp is a learning mode, in order to avoid disturbing the learning of the user, the notification message is not received, and the screen of the desk lamp is always in a bright screen state, so that the user can learn based on the learning content displayed on the screen.
As shown in fig. 1, the method of the present embodiment includes:
and S110, acquiring the current system time.
It should be noted that a corresponding application program is arranged inside the desk lamp, and the application program includes a timing module, and the timing module can record time information of the system, time information of entering each mode, and the like. The current system time is time information recorded by a timing module in an application program, and the obtained time information can be the same as the standard time or has a certain deviation from the standard time. Whether the current system time is the same as the standard time or not can be set by a user according to actual requirements, for example, the user can set the time recorded by the timing module to be the same as the standard time, or set the time recorded by the timing module to be ten minutes faster than the standard time.
In this embodiment, in order to ensure convenience and accuracy of switching the working modes of the desk lamp, the time recorded by the timing module of the desk lamp can be adjusted to be consistent with the standard time.
Specifically, the application program built in the desk lamp can acquire the current system time in real time or at intervals, so that the current system time is used as a reference basis for adjusting the working mode of the desk lamp.
In this embodiment, before obtaining the current system time, the method further includes: and when detecting that the control is started on the trigger table, entering a common working mode and acquiring the current system time.
It can be understood that the desk lamp is in the non-operating state when the user does not trigger the system start control on the desk lamp. When a user triggers a system starting control on the desk, an application program on the desk lamp is started, and at the moment, the desk lamp can enter a working mode which is a common mode. Under the common working mode, the screen of the desk lamp can be lighted, the brightness of the light can be realized, various notification messages pushed by the system can be received, and the notification messages can be displayed on the screen of the desk lamp. In order to further realize the reminding of the user, when the notification information is received, the user can be reminded by voice or reminded by a prompt tone with certain playing volume. In order to improve the interaction degree between the user and the desk lamp, the application program embedded in the desk lamp also has a wake-up function, namely after the user sends out corresponding wake-up words, the user can send related commands to the application program in the desk lamp so as to enable a system of the desk lamp to execute contents corresponding to the commands, optionally, the wake-up word of the desk lamp is 'hello', and when receiving the voice of 'hello, please adjust the brightness of the lamp light', the application program in the desk lamp can execute the operation of adjusting the brightness of the lamp light
And S120, updating the current working mode according to the current system time and the current working mode of the desk lamp, so that the desk lamp performs function display based on the updated current working mode.
The current working mode of the desk lamp can be any one of a night mode, a learning mode or a common mode. The display functions of the table lamp corresponding to different working modes are different. For example, if the working mode of the desk lamp is the normal mode, the display function of the desk lamp may be: the animation displayed on the screen of the desk lamp is high in speed, the brightness value of the screen can be seventy percent of the total brightness value, and notification messages and awakening sensitivity pushed by a normal receiving system can be set to be certain values according to actual requirements; for example, the wake-up sensitivity is 100% at the highest, and the wake-up sensitivity in the normal mode may be set to seventy percent of the highest value of the wake-up sensitivity. Of course, the user can also dynamically adjust the screen brightness value of the desk lamp according to actual requirements, and the light brightness value and the audio volume (namely, the received prompt tone of each notification message) can be set to any value according to actual conditions. If any control on the desk lamp is not triggered for a long time, the screen of the desk lamp can enter a black screen state, so that the effect of saving resources is achieved. . If the working mode of the desk lamp is the learning mode, the display function of the desk lamp can be as follows: the screen of the desk lamp is not in a dormant state, namely is always in a bright screen state, so that a user can learn according to the content displayed on the screen of the desk lamp; the functions of the desk lamp other than the above two functions may be the same as those in the normal mode without receiving each notification message and without reminding the user. If the working mode of the desk lamp is the night mode, the display function of the desk lamp can be as follows: the screen brightness value and the light brightness value of the desk lamp are adjusted to twenty percent of the highest brightness value, the awakening sensitivity value is adjusted to twenty percent of the highest awakening sensitivity value, notification messages pushed by a system can be received and displayed on the screen of the desk lamp, but voice reminding is not performed on a user.
It should be noted that there is a certain priority between the operation modes, the learning mode has a higher priority than the night mode, and the night mode has a higher priority than the normal mode.
Specifically, whether the current working mode of the desk lamp is updated or not can be determined according to the current system time and the current working mode of the desk lamp, and if yes, the updated working mode is used as the current working mode; and if not, taking the current working mode as the current working mode.
That is to say, the current working mode of the desk lamp can be dynamically updated according to the priority corresponding to each mode and the current system time, so that the adjusted current working mode has a higher matching degree with the user, and the technical effect of improving the user experience is further achieved.
Optionally, the updating the current working mode according to the current system time and the current working mode of the desk lamp includes: if the current system time is within a preset time period range and the current working mode of the desk lamp is a common mode, updating the current working mode from the common mode to a night mode; the night mode comprises the steps of receiving each notification message and not prompting a user by voice; the night mode comprises that the lamp light brightness value of the desk lamp is a first lamp light brightness value, the screen brightness value is a first screen brightness value, the volume value is a first volume value, and the awakening sensitivity value is a first sensitivity value; the lamp light brightness value of the common mode desk lamp is a second lamp light brightness value, the screen brightness value is a second screen brightness value, the volume value is a second volume value, and the awakening sensitivity value is a second sensitivity value; the first light brightness value is lower than the second light brightness value, the first screen brightness value is lower than the second screen brightness value, the first volume value is lower than the second volume value, and the first sensitivity value is lower than the second sensitivity value.
The preset time period is the time period when the working mode of the desk lamp is the night mode, and is optional and is 20:00-06: 00. The common mode is the normal working mode of the desk lamp.
Specifically, the timing module may obtain the current system time in real time or at intervals, and when it is detected that the current system time is within a preset time period range, it indicates that the night mode is to be entered. In order to avoid the problem that the working mode is directly converted by the user and is not matched with the user, the current working mode of the desk lamp can be obtained, so that whether the current working mode is updated or not is comprehensively considered by combining the current working mode of the desk lamp. Optionally, if the current working mode is the normal mode, the current working mode of the desk lamp may be updated from the normal mode to the night mode because the priority level of the normal mode is lower than the priority level corresponding to the night mode. The advantage of setting up like this is that can combine current system time and the current mode of desk lamp to synthesize whether to consider the mode of operation of renewal desk lamp to improve the technological effect of the degree of matching between desk lamp and the user.
It should be noted that, because the learning mode has the highest priority level, the learning mode can be used as the current operating mode regardless of whether the current system time is within the preset time period. In this embodiment, the screen brightness value, the light brightness value, the volume value, and the wake-up sensitivity value may be used as the table lamp parameters related to the table lamp, or the functional parameters of the table lamp. The corresponding functional parameters in different modes can be different or the same, and the user can set the corresponding functional parameters in different modes according to actual requirements, so that after the corresponding modes are updated, the functional parameters corresponding to the modes can be obtained, and functions of the functional parameters can be displayed based on the functional parameters.
In this embodiment, the setting of the functional parameters corresponding to the various modes may be: when the user triggers the mode setting control on the desk lamp, the setting pages corresponding to the night mode, the learning mode, and the normal mode may be entered, as shown in (a) of fig. 2. Fig. 2 is a setting page, in which the brightness value, the volume value, and the screen brightness value of the desk lamp can be set, and at this time, the content set in the setting page mainly corresponds to the functional parameters corresponding to the common mode; if it is detected that the user has triggered the mode control on the set page, a page corresponding to (b) in fig. 2 may be popped up. As shown in (b) of fig. 2, the night mode and the learning mode are included on the setting page. The user can determine the current working mode of the desk lamp by manually triggering the switch controls corresponding to the learning mode and the night mode. Of course, in order to match each functional parameter of the desk lamp with the user, the setting control corresponding to each mode may be triggered to determine the desk lamp parameter corresponding to the mode. For example, assuming that the user triggers the auto-on time control corresponding to the night mode in fig. 2(b), fig. 3 (a) and (b) may pop up, (a) a start time for setting the night mode, optionally, the start time of the night mode is 20:00, (b) an end time of the night mode may be set on the page, for example, 06:00, that is, the time of the night mode is 20:00-06:00, that is, the preset time period may be 20:00-06: 00; if the user triggers the brightness and volume setting control corresponding to the night mode in fig. 2, the page (c) in fig. 3 can be popped up, and the user can set the brightness value of the desk lamp in the night mode to be 46, the volume value to be 46 and the screen brightness value to be 46; if the user triggers the brightness and volume setting control corresponding to the learning mode in fig. 2, fig. 3 (d) can be popped out, and the user can set the volume value, the screen brightness value and the desk lamp brightness value corresponding to the learning mode in the page d.
In order to improve user experience, in the process of manually adjusting the functional parameters of the desk lamp by a user, the desk lamp can display the lamplight brightness, the screen brightness and the like corresponding to the adjustment functional parameters.
Optionally, the updating the current working mode according to the current system time and the current working mode of the desk lamp includes: when the current working mode is detected to be a learning mode, determining an updated current working mode based on the learning mode; the learning mode comprises shielding notification messages, and the volume value is lower than a preset volume value threshold; the light brightness value of the desk lamp in the learning mode is a second light brightness value, the screen brightness value is a second screen brightness value, and the awakening sensitivity value is a second sensitivity value.
It is understood that if the current operation mode is the learning mode, in order to avoid disturbing the learning of the user, a screen notification type message is required, the volume of playing the message irrelevant to the learning is as low as possible, the volume value may be set to a minimum value, optionally, five percent of the maximum value of the volume, and of course, the volume of playing the learning content may be a set normal volume value, for example, seventy percent of the maximum value of the volume. Other functional parameters of the desk lamp are consistent with those in the common mode. If the light brightness value is the second light brightness value, the screen brightness value is the second screen brightness value, and the awakening sensitivity value is the second sensitivity value.
In this embodiment, if the current working mode is the night mode and the control triggering the learning mode is detected, the night mode is exited to enter the normal mode, and the learning mode is entered from the normal mode.
It can be understood that, when the working mode of the desk lamp is switched, if the current working mode is not the normal mode, the current working mode needs to be exited first to enter the normal mode, and then the desk lamp is switched to the corresponding working mode from the normal mode. Illustratively, if the current mode is the night mode, if it is detected that the user triggers the control corresponding to the learning mode, the night mode needs to be exited first to enter the normal mode, and then the normal mode is switched to the learning mode; if the current mode is the learning mode, if the fact that the user triggers the control corresponding to the night mode is detected, the user needs to exit the learning mode to enter the common mode, and then the common mode is converted into the night mode.
The advantage of this embodiment of mode conversion in this way is that transition can be performed during the adjustment process to achieve better matching with the user.
In this embodiment, the method further includes: if the control corresponding to the learning mode is triggered to be started and the learning time duration corresponding to the learning mode is set, determining the accumulated time duration for entering the learning mode based on a timing module; and if the accumulated time reaches the learning time, exiting the learning mode and acquiring the current system time so as to update the current working mode based on the current system time.
It can be understood that, in an actual application process, before triggering the control entering the learning mode, a user may set a learning duration corresponding to the learning mode, for example, the learning duration is set to 3 hours, and after the learning duration is set, the control entering the learning mode may be triggered. It should be noted that, if the current working mode is the night mode, after the user triggers the control corresponding to the learning mode, the night mode needs to be switched to the normal mode, and then the normal mode needs to be switched to the learning mode; if the current working mode is the common mode, the learning mode can be directly entered. After entering the learning mode, a timing module in the system can accumulate the time length for entering the learning mode, and when the accumulated time length reaches the preset learning time length, the system can exit the learning mode to enter the common mode and obtain the current system time so as to update the current working mode according to the current system time. Optionally, the current system time is 14:00, and the common mode is used as the current working mode of the desk lamp; and if the current system time is 01:00, updating the current working mode of the desk lamp from the common mode to the night mode.
On the basis of the technical scheme, in order to ensure that parameters of each function of the desk lamp, such as screen brightness of the desk lamp, lamp brightness of the desk lamp, voice reminding volume of notification type information, awakening sensitivity value and the like, have higher matching degree with the user, the user can preset desk lamp parameters corresponding to different modes. Of course, in order to further ensure that each desk lamp parameter of the desk lamp is matched with the user in different modes, in the process of adjusting the desk lamp parameter by the user, the brightness corresponding to the current desk lamp parameter may be displayed, for example, the screen brightness of the desk lamp is adjusted, the adjustment range of the brightness is within the range of 1 to 100, when the user sets different brightness parameters, the screen of the desk lamp displays the brightness corresponding to the different brightness parameters, so that the user can confirm whether the currently set brightness parameter is matched with the currently set brightness parameter, and further, the technical effect of user experience is improved.
In order to achieve the effect of saving resources, a sleep time threshold in the parameters of the desk lamp can be determined, that is, in a state that the current working mode of the desk lamp is in a common mode or a night mode, if any control on the desk lamp is not triggered within a preset time range, the desk lamp can enter the sleep state. The screen of the desk lamp in the dormant state can be blacked. Optionally, the desk lamp parameters further include a sleep duration threshold, and the method further includes: acquiring a current working mode of the desk lamp; if the current working mode is a learning mode, the current working mode does not enter a dormant state; and if the current working mode is not the learning mode, accumulating the idle time without triggering each control on the basis of a timing module, and adjusting the screen brightness value of the desk lamp on the basis of the idle time and the dormancy time threshold.
The time length in which the desk lamp control is not triggered within the preset time length can be used as the idle time length. The sleep duration threshold is a preset idle duration threshold.
It should be noted that, in the learning mode, the user needs to interact according to the content displayed on the screen of the desk lamp, so that the screen of the desk lamp should be always in a bright screen state, that is, even if the idle duration reaches the sleep duration threshold, the screen brightness value of the desk lamp does not need to be adjusted. If the current working mode is not the learning mode, namely the interaction with the content displayed on the screen of the desk lamp is not needed, when the idle time reaches the preset dormancy duration threshold value, the screen brightness value of the desk lamp can be adjusted, and optionally, the screen brightness value is adjusted to be in a black screen state, so that the technical effect of saving resources is realized.
Optionally, the adjusting the screen brightness value of the desk lamp based on the idle time and the sleep time threshold includes: and when the idle time is greater than or equal to the dormancy time threshold, adjusting the screen brightness value of the desk lamp to a preset screen brightness threshold.
The preset screen brightness threshold may be a state where the screen brightness value is zero, that is, a black screen.
Specifically, if the idle time is greater than or equal to the sleep time threshold, the screen brightness of the desk lamp can be set to be in a black screen state.
According to the technical scheme of the embodiment, after the acquired current system time and the acquired current working mode are comprehensively processed, the current working mode of the desk lamp can be automatically updated, the desk lamp displays the functional parameters corresponding to the current working mode, the matching degree between the functions displayed by the desk lamp and a user is improved, and the technical effect of user experience is further improved.
Example two
As an optional embodiment of the foregoing embodiment, fig. 4 is a schematic flow chart of a method for switching a working mode of a desk lamp according to an embodiment of the present disclosure.
As shown in fig. 4, the method includes:
and S401, starting.
That is, a control for triggering the desk lamp on the desk lamp to start working, for example, a power button on the desk is triggered, and the desk lamp is started.
S402, in a common mode, and acquiring the current system time.
It should be noted that when the desk lamp is started, the desk lamp enters the normal mode first. And meanwhile, acquiring the current system time, such as acquiring current time information.
S403, judging whether the current system time is within a preset time period range, if so, executing S404; if not, go to S405.
The preset time period mainly refers to a time period in which the working mode of the desk lamp is mainly a night mode, and for example, 23:00 to 06:00 of the next day can be used as the preset time period.
Specifically, when the system embedded in the desk lamp is started, the current system time of the desk lamp can be obtained first, and whether the current system time is within the preset time period range is determined, so that whether the current working mode of the desk lamp is updated or not is preliminarily determined according to the current system time. Optionally, if the current system time is within the preset time period range, the current working mode of the desk lamp may be further determined, so as to further determine whether to update the current working mode according to the current working mode of the desk lamp, that is, execute S404; and if the current system time is not within the preset time period range, the current working mode of the desk lamp can not be updated.
S404, judging whether the current working mode is a learning mode, if so, executing S406; if not, go to S407.
It can be understood that, when the current system time is within the preset time period range, the current working mode of the desk lamp which needs to be updated can be preliminarily determined. To further determine whether to update the current operating mode of the desk lamp, it may be determined whether the current operating mode of the desk lamp is a learning mode. Because the priority level corresponding to the learning mode is highest, if the current working mode is the learning mode, even if the current system time is within the preset time period range, the current working mode is still kept as the learning mode. If the current working mode is not the learning mode, optionally, if the current working mode is the normal mode, the current working mode can be updated from the normal mode to the night mode.
And S405, not updating the current working mode.
It can be understood that the current system time is not within the preset time period range, and the current working mode of the desk lamp does not need to be updated. For example, the current system time is 08:30, and is not within the preset time period range, and if the current operating mode is the normal mode, the current operating mode may not be updated, that is, the normal mode is still used as the current operating mode.
And S406, taking the learning mode as the current working mode.
It can be understood that, if the current operating mode is the learning mode, the learning mode is still used as the current operating mode regardless of whether the current system time is within the preset time period.
For example, if the current system time is 05:00 and the current working mode is obtained as the learning mode, the learning mode may be used as the current working mode.
And S407, entering a night mode.
It can be understood that the current system time is within the preset time period range, and the current working mode of the desk lamp is not the learning mode, and optionally, the current working mode of the desk lamp can be updated from the normal mode to the night mode.
For example, if the current system time is 05:00, the time is within a preset time period range, and the working mode of the desk lamp is the normal mode at this time, the current working mode of the desk lamp may be set from the normal mode to the night mode.
S408, judging whether the time length of entering the learning mode reaches a preset learning time length threshold value, if so, executing S409, and if not, executing S406.
Specifically, before the user triggers the control corresponding to the learning mode, the duration of entering the learning mode may be set, for example, the duration of the learning mode is set to three hours, and after the control corresponding to the learning mode is triggered, the learning mode may be entered, and the accumulated duration of entering the learning mode may be accumulated. When the accumulated time reaches a preset learning time threshold, the desk lamp can exit the learning mode, and the current system time is obtained to judge whether to update the current working mode of the desk lamp. The advantage of setting up like this lies in, can combine present system time and the current mode of desk lamp to synthesize and consider whether to update the current mode of desk lamp, has improved the matching degree between desk lamp mode and the user to improve user experience's technological effect.
And S409, exiting the learning mode, acquiring the current system time, and entering a corresponding working mode according to the current system time.
It can be understood that, when the duration of entering the learning mode reaches the preset learning duration, the learning mode may be exited, and the current system time is obtained. If the current system time is within the preset time period range, the current working mode of the desk lamp can be converted into a night mode. And if the current system time is not within the preset time period range, the current working mode of the desk lamp is a common mode.
It should be further noted that, if the user triggers the control for turning off the desk lamp, the mode of the desk lamp may not be updated, and the technical solution provided by the embodiment of the present disclosure is only executed when the control for triggering the desk lamp to start working is detected.
According to the technical scheme of the embodiment, after the acquired current system time and the acquired current working mode are comprehensively processed, the current working mode of the desk lamp can be automatically updated, the desk lamp displays the functional parameters corresponding to the current working mode, the matching degree between the display function of the desk lamp and a user is improved, and the technical effect of user experience is further improved.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an interactive information processing apparatus according to a third embodiment of the disclosure, as shown in fig. 5, the apparatus includes: a system time determination module 510 and an operating mode update module 520.
The system time determining module 510 is configured to obtain a current system time; and a working mode updating module 520, configured to update the current working mode according to the current system time and the current working mode of the desk lamp, so that the desk lamp performs function display based on the updated current working mode.
On the basis of the above technical solution, before the system time determining module is configured to obtain the current system time, the system time determining module is further configured to: and when detecting that the desk lamp is triggered to start the control, entering a common working mode and acquiring the current system time.
On the basis of the above technical solution, the working mode updating module is further configured to: if the current system time is within a preset time period range and the current working mode of the desk lamp is a common mode, updating the current working mode from the common mode to a night mode; the night mode comprises the steps of receiving each notification message and not prompting a user by voice; the night mode comprises that the lamp light brightness value of the desk lamp is a first lamp light brightness value, the screen brightness value is a first screen brightness value, the volume value is a first volume value, and the awakening sensitivity value is a first sensitivity value; the lamp light brightness value of the common mode desk lamp is a second lamp light brightness value, the screen brightness value is a second screen brightness value, the volume value is a second volume value, and the awakening sensitivity value is a second sensitivity value; the first light brightness value is lower than the second light brightness value, the first screen brightness value is lower than the second screen brightness value, the first volume value is lower than the second volume value, and the first sensitivity value is lower than the second sensitivity value.
On the basis of the above technical solution, the working mode updating module is further configured to:
when the current working mode is detected to be a learning mode, determining an updated current working mode based on the learning mode; the learning mode comprises masking notification-like messages; the light brightness value of the desk lamp in the learning mode is a second light brightness value, the screen brightness value is a second screen brightness value, and the awakening sensitivity value is a second sensitivity value.
On the basis of the above technical solution, the working mode updating module is further configured to exit the night mode to enter a common mode and enter the learning mode from the common mode if the current working mode is the night mode and a control for triggering the learning mode is detected; or if the current working mode is a learning mode and the control for starting the night mode is triggered, exiting the learning mode to enter a common mode and entering the night mode from the common mode.
On the basis of the technical scheme, the working mode updating module is further configured to determine an accumulated time length for entering the learning mode based on the timing module if a control for triggering the starting of the learning mode is detected and the learning time length corresponding to the learning mode is preset; and if the accumulated time reaches the learning time, exiting the learning mode and acquiring the current system time so as to update the current working mode based on the current system time.
On the basis of the technical scheme, the working mode updating module is also used for setting the table lamp parameters corresponding to different working modes so as to call the table lamp parameters corresponding to the working modes when entering the corresponding working modes; the desk lamp parameters comprise a screen brightness value, a light brightness value, a wake-up sensitivity value and a volume value of the desk lamp.
On the basis of the above technical solution, the desk lamp parameters further include a sleep duration threshold, and the device further includes a sleep state determination module configured to:
acquiring a current working mode of the desk lamp; if the current working mode is a learning mode, the current working mode does not enter a dormant state; and if the current working mode is not the learning mode, accumulating the idle time without triggering at least one control on the basis of a timing module, and adjusting the screen brightness value of the desk lamp on the basis of the idle time and the dormancy time threshold.
On the basis of the technical scheme, the sleep state determining module is used for adjusting the screen brightness value of the desk lamp to be a preset screen brightness threshold value when the idle time length is greater than or equal to the sleep time length threshold value.
According to the technical scheme of the embodiment, after the acquired current system time and the acquired current working mode are comprehensively processed, the current working mode of the desk lamp can be automatically updated, the desk lamp displays the functional parameters corresponding to the current working mode, the matching degree between the display function of the desk lamp and a user is improved, and the technical effect of user experience is further improved.
The working mode switching device of the desk lamp provided by the embodiment of the disclosure can execute the working mode switching method of the desk lamp provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the embodiments of the present disclosure.
Example four
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., the terminal device or the server in fig. 6) 600 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from storage 606 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 606 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 606, or installed from the ROM 702. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic device provided by the embodiment of the disclosure and the method for switching the working mode of the desk lamp provided by the embodiment belong to the same inventive concept, and technical details which are not described in detail in the embodiment can be referred to the embodiment, and the embodiment have the same beneficial effects.
EXAMPLE five
The embodiment of the disclosure provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for switching the working mode of the desk lamp provided by the embodiment is realized. It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
acquiring current system time;
and updating the current working mode according to the current system time and the current working mode of the desk lamp so that the desk lamp performs function display based on the updated current working mode.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit/module does not in some cases constitute a limitation of the unit itself, for example, the system time determination module may also be described as a "time determination module".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, [ example one ] there is provided an operation mode switching method of a desk lamp, the method including:
acquiring current system time;
and updating the current working mode according to the current system time and the current working mode of the desk lamp so that the desk lamp performs function display based on the updated current working mode.
According to one or more embodiments of the present disclosure, [ example two ] there is provided an operation mode switching method of a desk lamp further comprising:
optionally, before the obtaining of the current system time, the method further includes:
and when detecting that the desk lamp is triggered to start the control, entering a common working mode and acquiring the current system time.
According to one or more embodiments of the present disclosure, [ example three ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, the updating the current working mode according to the current system time and the current working mode of the desk lamp includes:
if the current system time is within a preset time period range and the current working mode of the desk lamp is a common mode, updating the current working mode from the common mode to a night mode;
the night mode comprises the steps of receiving all notification messages and displaying the notification messages on a screen of the desk lamp without voice reminding; the night mode comprises that the lamp light brightness value of the desk lamp is a first lamp light brightness value, the screen brightness value is a first screen brightness value, the volume value is a first volume value, and the awakening sensitivity value is a first sensitivity value; the lamp light brightness value of the common mode desk lamp is a second lamp light brightness value, the screen brightness value is a second screen brightness value, the volume value is a second volume value, and the awakening sensitivity value is a second sensitivity value; the first light brightness value is lower than the second light brightness value, the first screen brightness value is lower than the second screen brightness value, the first volume value is lower than the second volume value, and the first sensitivity value is lower than the second sensitivity value.
According to one or more embodiments of the present disclosure, [ example four ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, the updating the current working mode according to the current system time and the current working mode of the desk lamp includes:
when the current working mode is detected to be a learning mode, determining an updated current working mode based on the learning mode; the learning mode comprises masking notification-like messages; the light brightness value of the desk lamp in the learning mode is a second light brightness value, the screen brightness value is a second screen brightness value, and the awakening sensitivity value is a second sensitivity value.
According to one or more embodiments of the present disclosure, [ example five ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, if the current working mode is a night mode and a control for triggering to start a learning mode is detected, exiting the night mode to enter a common mode, and entering the learning mode from the common mode; or the like, or, alternatively,
and if the current working mode is a learning mode and the control for starting the night mode is triggered, exiting the learning mode to enter a common mode and entering the night mode from the common mode.
According to one or more embodiments of the present disclosure, [ example six ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, if a control triggering a learning mode to be started is detected and a learning time duration corresponding to the learning mode is preset, determining an accumulated time duration for entering the learning mode based on a timing module; and if the accumulated time reaches the learning time, exiting the learning mode and acquiring the current system time so as to update the current working mode based on the current system time.
According to one or more embodiments of the present disclosure, [ example seven ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, setting table lamp parameters corresponding to different working modes, so as to call the table lamp parameters corresponding to the working modes when entering the corresponding working modes;
the desk lamp parameters comprise a screen brightness value, a light brightness value, a wake-up sensitivity value and a volume value of the desk lamp.
According to one or more embodiments of the present disclosure, [ example eight ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, the desk lamp parameters further include a sleep duration threshold, and the method further includes: acquiring a current working mode of the desk lamp; if the current working mode is a learning mode, the current working mode does not enter a dormant state; and if the current working mode is not the learning mode, accumulating the idle time without triggering at least one control on the basis of a timing module, and adjusting the screen brightness value of the desk lamp on the basis of the idle time and the dormancy time threshold.
According to one or more embodiments of the present disclosure, [ example nine ] there is provided an operation mode switching method of a desk lamp, further comprising:
optionally, the adjusting the screen brightness value of the desk lamp based on the idle time and the sleep time threshold includes: and when the idle time is greater than or equal to the dormancy time threshold, adjusting the screen brightness value of the desk lamp to a preset screen brightness threshold.
According to one or more embodiments of the present disclosure, [ example ten ] there is provided an operation mode switching apparatus of a desk lamp, the apparatus including:
the system time determining module is used for acquiring the current system time;
and the working mode updating module is used for updating the current working mode according to the current system time and the current working mode of the desk lamp so as to enable the desk lamp to perform function display based on the updated current working mode.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (12)
1. A working mode switching method of a desk lamp is characterized by comprising the following steps:
acquiring current system time;
and updating the current working mode according to the current system time and the current working mode of the desk lamp so that the desk lamp performs function display based on the updated current working mode.
2. The method of claim 1, prior to said obtaining a current system time, further comprising:
and when detecting that the desk lamp is triggered to start the control, entering a common working mode and acquiring the current system time.
3. The method of claim 1, wherein updating the current operating mode based on the current system time and a current operating mode of a desk lamp comprises:
if the current system time is within a preset time period range and the current working mode of the desk lamp is a common mode, updating the current working mode from the common mode to a night mode;
the night mode comprises the steps of receiving all notification messages and displaying the notification messages on a screen of the desk lamp without voice reminding; the night mode comprises that the lamp light brightness value of the desk lamp is a first lamp light brightness value, the screen brightness value is a first screen brightness value, the volume value is a first volume value, and the awakening sensitivity value is a first sensitivity value; the lamp light brightness value of the common mode desk lamp is a second lamp light brightness value, the screen brightness value is a second screen brightness value, the volume value is a second volume value, and the awakening sensitivity value is a second sensitivity value; the first light brightness value is lower than the second light brightness value, the first screen brightness value is lower than the second screen brightness value, the first volume value is lower than the second volume value, and the first sensitivity value is lower than the second sensitivity value.
4. The method of claim 1, wherein updating the current operating mode based on the current system time and a current operating mode of a desk lamp comprises:
when the current working mode is detected to be a learning mode, determining an updated current working mode based on the learning mode;
the learning mode comprises masking notification-like messages; the light brightness value of the desk lamp in the learning mode is a second light brightness value, the screen brightness value is a second screen brightness value, and the awakening sensitivity value is a second sensitivity value.
5. The method of claim 1, further comprising:
if the current working mode is a night mode and a control for triggering and starting a learning mode is detected, exiting the night mode to enter a common mode and entering the learning mode from the common mode; or the like, or, alternatively,
and if the current working mode is a learning mode and the control for starting the night mode is triggered, exiting the learning mode to enter a common mode and entering the night mode from the common mode.
6. The method of claim 1, further comprising:
if a control triggering and starting a learning mode is detected, and learning time duration corresponding to the learning mode is preset, determining accumulated time duration for entering the learning mode based on a timing module;
and if the accumulated time reaches the learning time, exiting the learning mode and acquiring the current system time so as to update the current working mode based on the current system time.
7. The method of claim 1, further comprising:
setting table lamp parameters corresponding to different working modes, and calling the table lamp parameters corresponding to the working modes when entering the corresponding working modes;
the desk lamp parameters comprise a screen brightness value, a light brightness value, a wake-up sensitivity value and a volume value of the desk lamp.
8. The method of claim 7, wherein the table lamp parameters further comprise a sleep duration threshold, the method further comprising:
acquiring a current working mode of the desk lamp;
if the current working mode is a learning mode, the current working mode does not enter a dormant state;
and if the current working mode is not the learning mode, accumulating the idle time without triggering at least one control on the basis of a timing module, and adjusting the screen brightness value of the desk lamp on the basis of the idle time and the dormancy time threshold.
9. The method of claim 8, wherein adjusting a screen brightness value of a desk lamp based on the idle duration and the sleep duration threshold comprises:
and when the idle time is greater than or equal to the dormancy time threshold, adjusting the screen brightness value of the desk lamp to a preset screen brightness threshold.
10. An operating mode switching device of a desk lamp, comprising:
the system time determining module is used for acquiring the current system time;
and the working mode updating module is used for updating the current working mode according to the current system time and the current working mode of the desk lamp so as to enable the desk lamp to perform function display based on the updated current working mode.
11. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of switching operating modes of a desk lamp as claimed in any one of claims 1-9.
12. A storage medium containing computer executable instructions for performing the method of switching the operating mode of a desk lamp as claimed in any one of claims 1-9 when executed by a computer processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010714455.5A CN111867203B (en) | 2020-07-21 | 2020-07-21 | Working mode switching method, device, equipment and medium of desk lamp |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010714455.5A CN111867203B (en) | 2020-07-21 | 2020-07-21 | Working mode switching method, device, equipment and medium of desk lamp |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111867203A true CN111867203A (en) | 2020-10-30 |
| CN111867203B CN111867203B (en) | 2021-08-06 |
Family
ID=72949713
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010714455.5A Active CN111867203B (en) | 2020-07-21 | 2020-07-21 | Working mode switching method, device, equipment and medium of desk lamp |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111867203B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113766705A (en) * | 2021-04-30 | 2021-12-07 | 北京字节跳动网络技术有限公司 | Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103763828A (en) * | 2014-01-16 | 2014-04-30 | 步步高教育电子有限公司 | Eye-protecting table lamp with alarm clock and control method thereof |
| CN105343980A (en) * | 2015-11-30 | 2016-02-24 | 南京金同润医疗科技有限公司 | Brain wave induction device and desk lamp |
| US20160097522A1 (en) * | 2011-06-16 | 2016-04-07 | Tseng-Lu Chien | Quickly Charger has USB Charging-Ports for Lighting Device |
| CN205411888U (en) * | 2015-11-30 | 2016-08-03 | 南京金同润医疗科技有限公司 | Brain wave induction device and desk lamp |
| CN107645811A (en) * | 2017-09-19 | 2018-01-30 | 南京工程学院 | Intelligent lamp with the function of reducing the visual impact of pupil light and its adjustment method |
| CN110113851A (en) * | 2019-05-16 | 2019-08-09 | 北京小米移动软件有限公司 | Control method, control device, terminal and the lighting device of lighting device |
-
2020
- 2020-07-21 CN CN202010714455.5A patent/CN111867203B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160097522A1 (en) * | 2011-06-16 | 2016-04-07 | Tseng-Lu Chien | Quickly Charger has USB Charging-Ports for Lighting Device |
| CN103763828A (en) * | 2014-01-16 | 2014-04-30 | 步步高教育电子有限公司 | Eye-protecting table lamp with alarm clock and control method thereof |
| CN105343980A (en) * | 2015-11-30 | 2016-02-24 | 南京金同润医疗科技有限公司 | Brain wave induction device and desk lamp |
| CN205411888U (en) * | 2015-11-30 | 2016-08-03 | 南京金同润医疗科技有限公司 | Brain wave induction device and desk lamp |
| CN107645811A (en) * | 2017-09-19 | 2018-01-30 | 南京工程学院 | Intelligent lamp with the function of reducing the visual impact of pupil light and its adjustment method |
| CN110113851A (en) * | 2019-05-16 | 2019-08-09 | 北京小米移动软件有限公司 | Control method, control device, terminal and the lighting device of lighting device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113766705A (en) * | 2021-04-30 | 2021-12-07 | 北京字节跳动网络技术有限公司 | Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111867203B (en) | 2021-08-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12379766B2 (en) | Switching method between running modes of application program, apparatus, electronic device and storage medium | |
| CN110636459B (en) | Message reminding method and device, electronic equipment and storage medium | |
| CN110516159B (en) | Information recommendation method and device, electronic equipment and storage medium | |
| CN112256231B (en) | Volume control method, device, terminal and storage medium | |
| CN109983458B (en) | Recommendation method and terminal | |
| CN106708240B (en) | Power saving method, server and power saving system | |
| US20250310597A1 (en) | Method and apparatus for dynamically downloading a video, electronic device and storage medium | |
| CN112863545B (en) | Performance test method, device, electronic equipment and computer readable storage medium | |
| CN112068688A (en) | Power saving method and device, electronic equipment and computer readable medium | |
| CN112578897B (en) | Control method, device, terminal and storage medium of electronic device | |
| EP4456510A1 (en) | Message sending method and apparatus, electronic device, storage medium and program product | |
| CN112235587B (en) | Live broadcast method and equipment | |
| CN111867203B (en) | Working mode switching method, device, equipment and medium of desk lamp | |
| US20250165263A1 (en) | Application start method, apparatus, electronic device, storage medium and program product | |
| US20240289084A1 (en) | Method, apparatus, and electronic device for controlling display | |
| CN119988707A (en) | Summary display method, device, medium, equipment and program product for data dashboard | |
| CN112867119B (en) | Terminal control method, device, terminal and storage medium | |
| CN110618747B (en) | Method and device for low-power operation of terminal, terminal and storage medium | |
| CN113038580A (en) | Power saving mode control method, device, equipment and storage medium | |
| CN112261426A (en) | Animation material playing method and device, electronic equipment and computer readable medium | |
| CN112991100A (en) | Weather prompting method and device and electronic equipment | |
| CN111240718A (en) | Theme updating method and device, electronic equipment and medium | |
| US20260019732A1 (en) | Method, apparatus, and electronic device for processing audio data | |
| CN113473584A (en) | Operation control method, device, equipment and medium for modem | |
| CN112235333B (en) | Function package management method, device, equipment and storage medium |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |