CN111966002A - Manipulation mode setting method and device, electronic equipment and readable storage medium - Google Patents

Manipulation mode setting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111966002A
CN111966002A CN202010893002.3A CN202010893002A CN111966002A CN 111966002 A CN111966002 A CN 111966002A CN 202010893002 A CN202010893002 A CN 202010893002A CN 111966002 A CN111966002 A CN 111966002A
Authority
CN
China
Prior art keywords
target
mode
control
real
time
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
Application number
CN202010893002.3A
Other languages
Chinese (zh)
Other versions
CN111966002B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010893002.3A priority Critical patent/CN111966002B/en
Publication of CN111966002A publication Critical patent/CN111966002A/en
Application granted granted Critical
Publication of CN111966002B publication Critical patent/CN111966002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The application provides a control mode setting method, a control mode setting device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: acquiring the real-time state of a reference setting item of the control mode; determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of target equipment; and setting the control mode of the target equipment as a target control mode. By adopting the method, the equipment control efficiency can be improved.

Description

Manipulation mode setting method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for setting a manipulation mode, an electronic device, and a computer-readable storage medium.
Background
At night, it is often difficult for a user to see objects. And although the electronic equipment is nearby, the user still has difficulty in controlling the electronic equipment. For example, the user may wake up the electronic device in a voice-controlled manner, but this may be a nuisance. In general, a user clicks a button of the electronic device to implement a corresponding function. However, this method has the problem of inconvenient operation.
Disclosure of Invention
The embodiment of the application provides a method and a device for setting a control mode, electronic equipment and a computer-readable storage medium, and can improve the control efficiency of the equipment.
A manipulation mode setting method comprising:
acquiring the real-time state of a reference setting item of the control mode;
determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of target equipment;
and setting the control mode of the target equipment as a target control mode. A manipulation mode setting apparatus, characterized in that the apparatus comprises: the state acquisition module is used for acquiring the real-time state of the reference setting item of the control mode;
the mode determining module is used for determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of the target equipment;
and the mode setting module is used for setting the control mode of the target equipment to be a target control mode. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring the real-time state of a reference setting item of the control mode;
determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of target equipment;
and setting the control mode of the target equipment as a target control mode. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring the real-time state of a reference setting item of the control mode;
determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of target equipment;
and setting the control mode of the target equipment as a target control mode.
According to the method and the device for setting the operation mode, the electronic equipment and the readable storage medium, the real-time state of the reference setting item of the operation mode is obtained, the real-time target operation mode is determined based on the operation mode setting mechanism and the real-time state, the operation mode of the target equipment is set to be the target operation mode, namely when the real-time state meets a certain condition, the operation mode is automatically switched, namely the same equipment supports different operation modes in different states, and the control efficiency of the equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a method for setting a manipulation mode in one embodiment;
FIG. 2 is a flow diagram of a method for setting a steering mode in one embodiment;
FIG. 3 is a flowchart illustrating a method for setting a manipulation mode according to another embodiment;
FIG. 4 is a schematic view of a control panel in one embodiment;
FIG. 5 is a block diagram showing the structure of a manipulation mode setting device according to an embodiment;
fig. 6 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a schematic diagram of an application environment of a device control method in one embodiment. As shown in fig. 1, the application environment includes a control panel 110 and a target device 120. The control panel 110 includes at least one of a physical control and a virtual control. For example, the control panel containing the physical control may be a control panel of a desk lamp, a control panel of an air conditioner remote controller, and the like, but is not limited thereto. The control panel containing the virtual control may be a control panel of a touch screen of the electronic device, and the like, without being limited thereto. The target device 120 may be, but is not limited to, an electronic device such as a bedside lamp, a small night light, an air conditioner, a television, and the like. The control panel 110 may be located in the target device 120. Or the device to which the control panel 110 corresponds is not the same device as the target device 120. For example, the device corresponding to the control panel 110 may be a remote controller and the target device 120 may be a lamp. The control panel 110 and the target device 120 may be connected in a wired or wireless manner. For example, the control panel 110 may be connected to the target device 120 through a wire, or the control panel 110 is a control panel corresponding to the target device 120, and the like are not limited thereto.
Fig. 2 is a flowchart illustrating a method for setting a manipulation mode according to an embodiment. The operation mode setting method in this embodiment is described by taking the operation on the control panel 110 as an example, and includes the following steps:
step 202, acquiring the real-time state of the reference setting item of the control mode.
The control mode is a mode for controlling functions that can be realized by function keys in the control panel. The manipulation mode may be a default manipulation mode or a target manipulation mode, etc. The reference setting item refers to an option for setting. The reference setting item of the manipulation mode refers to a setting item for detecting the manipulation mode. The reference setting item may be, for example, an action execution time setting item, a brightness range setting item of a light sensor, or the like.
Specifically, the control panel acquires the real-time status of the reference setting item of the manipulation mode. For example, the control panel obtains a real-time value. Or the control panel acquires the brightness threshold value of the light sensor.
And 204, determining a real-time target control mode based on the control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first association relation between the state of the reference setting item and the control mode of the target equipment.
Wherein the manipulation mode setting mechanism includes a first association relationship between the state of the reference setting item and the manipulation mode of the target device. That is, one state of the reference setting item is associated with one manipulation mode. For example, state a is associated with maneuver mode 1; state B is associated with steering mode 2. The target device may be, but is not limited to, a lighting device, an air conditioning device, a television.
Specifically, the control panel determines a target control mode corresponding to the target device based on a first association relationship between the state of the reference setting item and the control mode of the target device and the real-time state. For example, the real-time value of the reference setting item is 22:30 minutes, and the corresponding operation mode is a multi-key single-function mode.
And step 206, setting the control mode of the target equipment to be the target control mode.
Specifically, the control panel sets the manipulation mode of the target device to the target manipulation mode.
In the operation mode setting method in this embodiment, the real-time target operation mode is determined based on the operation mode setting mechanism and the real-time state by obtaining the real-time state of the reference setting item of the operation mode, and the operation mode of the target device is set to the target operation mode, that is, when the real-time state meets a certain condition, the operation mode is automatically switched, that is, the same device supports different operation modes in different states, so that the control efficiency of the device is improved.
In one embodiment, the reference setting item of the manipulation mode includes an action execution time setting item; the control mode setting mechanism comprises first association relations between different preset time ranges and different control modes; acquiring the real-time state of a reference setting item of a setting reference object of a control mode, wherein the real-time state comprises the following steps: acquiring a real-time value; the step of determining a real-time target manipulation mode based on the manipulation mode setting mechanism and the real-time state comprises: determining a target preset time range in which the real-time value is located; and determining a target control mode corresponding to the target preset time range according to the first incidence relation.
Wherein the real-time value may comprise a time minute second, such as, for example, 22 hours 00 minutes 00 seconds, but is not limited thereto.
Specifically, the user may set a first association relationship between the preset time range and the manipulation mode on the control panel. For example, in the following 21: associating the operation mode 1 within the time range of 00-07: 00; and associating the operation mode 2 within the time range of 07: 01-20: 59. The target device receives and stores the preset time range set on the control panel. The target device automatically switches the operated mode to the target manipulation mode when a preset start time in the preset time range is reached. For example, the real-time value is 21:00, and 21:00 is within the time range of 21: 00-07: 00, the control mode of the target device is set to be the control mode 1.
In the device control method in this embodiment, the real-time value is acquired, the target preset time range in which the real-time value is located is determined, and the target operation mode corresponding to the target preset time range is determined according to the first association relationship, so that the operation mode can be automatically set without the control of a function key, and the operation mode setting efficiency is improved.
In one embodiment, the control mode setting method is applied to the lighting equipment, and the control mode is a lighting control mode; the control mode setting mechanism comprises a first incidence relation between a preset illumination time range and an illumination control mode; the step of determining the target preset time range in which the real-time value is located comprises the following steps of; determining a target preset illumination time range in which the real-time value is located; the step of determining a target control mode corresponding to the target preset time range according to the first incidence relation comprises the following steps: and determining a target illumination control mode corresponding to the target preset illumination time range according to the first incidence relation.
The lighting device is an electronic device having a lighting function, and may be a lamp, for example. The preset illumination time range is associated with the illumination manipulation mode. The lighting manipulation mode refers to a mode in the lighting apparatus that controls functions that can be realized by function keys in the control panel.
Specifically, the user may set a first association relationship between the preset illumination time range and the illumination control mode on the illumination control panel corresponding to the illumination device. For example, in the following 21: the method comprises the following steps of associating an illumination control mode 1 within an illumination time range of 00-07: 00; and associating the operation mode 2 within the time range of 07: 01-20: 59. The lighting device receives and stores the preset lighting time range set on the control panel. The lighting device automatically switches the operated mode to the target manipulation mode when a preset start time in the preset lighting time range is reached, and then maintains the target manipulation mode until a preset end time. For example, the real-time value is 21:00, and 21:00 is within a time range of 21: 00-07: 00, then the lighting manipulation mode of the lighting device is set to lighting manipulation mode 1. And the lighting equipment keeps the lighting control mode as the control mode 1 within the time range of 21: 00-07: 00.
The device control method in this embodiment obtains the real-time value, determines the target preset illumination time range where the real-time value is located, and determines the target illumination control mode corresponding to the target preset illumination time range according to the first association relationship, so that the lighting control mode can be automatically set on the lighting device without controlling the control panel again, and the control mode setting efficiency is improved.
In one embodiment, the step of obtaining the real-time value comprises: a real-time value is acquired upon detection of a triggering operation of the illumination control function key.
The lighting control function key is a function key used for controlling the lighting equipment on the control panel. The illumination control function key may have at least one of an illumination device switching function, an illumination device brightness adjusting function, and an illumination device light color adjusting function, but is not limited thereto. The trigger operation may be, for example, a touch operation, a press operation, or the like.
Specifically, the user may touch the control panel with a single finger or multiple fingers. And acquiring a real-time value when the triggering operation of the user on any at least one lighting control function key is detected.
In the control mode setting method in this embodiment, when the trigger operation on the lighting control function key is detected, the real-time value is obtained, and when a user triggers the lighting control function key, the real-time value is obtained and the control mode is modified, so that resources of the target device are saved.
In one embodiment, the lighting manipulation mode includes a second association of the lighting control function keys with the lighting control commands. After the step of setting the manipulation mode of the target device to the target manipulation mode, comprising: detecting a trigger operation on the lighting control function key; confirming a target lighting control instruction associated with a lighting control function key corresponding to the trigger operation according to a second association relation corresponding to the target control mode; and responding to the target illumination control instruction, and performing illumination control.
And each illumination control function key is provided with a corresponding illumination control instruction so as to realize a corresponding illumination control function. The illumination control instruction may be used to control a switch of the illumination apparatus, control the brightness of the illumination apparatus, control the light color of the illumination apparatus, and the like, without being limited thereto.
Specifically, after the control mode of the target device is set to the target control mode, when the target device detects the trigger operation of the user on the lighting control function key, the target lighting control instruction associated with the lighting control function key corresponding to the trigger operation is confirmed according to the second association relationship between the lighting control function key and the lighting control instruction in the target control mode. And the target equipment responds to the target illumination control instruction in the target operation mode to perform illumination control. For example, after the manipulation mode is set to the full-key-in-one mode, the triggering operation of any lighting control function key on the control panel of the target device is detected, according to a second association relationship between the lighting control function key corresponding to the full-key-in-one mode and the lighting control instruction, that is, all function keys are used for triggering the same preset instruction, the instruction associated with the lighting control function key corresponding to the triggering operation is determined to be the preset instruction, and lighting control is performed in response to the preset instruction.
According to the control mode setting method in the embodiment of the application, the triggering operation of the lighting control function key is detected, the target lighting control instruction of the function key corresponding to the triggering operation is confirmed according to the second incidence relation corresponding to the target control mode, the lighting control is carried out in response to the target lighting control instruction, under different control modes, the same key may have different control instructions, the functions of the target equipment can be expanded under the condition that the number of the function keys is limited, and the usability of the electronic equipment is improved.
In one embodiment, the reference setting item includes a brightness range setting item of the light sensor; the control mode setting mechanism comprises a first association relation between a preset brightness range and a control mode. Acquiring the real-time state of a reference setting item of the control mode, wherein the real-time state comprises the following steps: acquiring a real-time environment brightness value; determining a real-time target manipulation mode based on a manipulation mode setting mechanism and a real-time state, comprising: determining a target preset brightness range in which the real-time environment brightness value is located; and determining a target control mode corresponding to the target preset brightness range according to the first incidence relation.
The preset brightness range may be set on the control panel by the user, or may be preset by the target device itself. The ambient brightness value may be present in a numerical value or a level, and is not limited herein.
Specifically, a light sensor is included in the target device. The target device determines the real-time environment brightness value through the light sensor. The target device determines a target preset brightness range where the real-time environment brightness value is located, and determines a target control mode corresponding to the target preset brightness range according to the first association relation. For example, the operation mode 1 is associated within a preset brightness range with a brightness value of 0-5. When the real-time environment brightness value is 2, determining that the corresponding target preset brightness range is in a range of 0-5, and then the corresponding control mode is a control mode 1.
According to the control mode setting method in the embodiment of the application, the real-time environment brightness value is obtained, the target preset brightness range where the real-time environment brightness value is located is determined, the target control mode corresponding to the target preset brightness range is determined according to the first association relation, the control panel does not need to be controlled again, the control mode can be automatically set, and the control mode setting efficiency is improved.
In one embodiment, the target operation mode includes a multi-key function-in-one mode, and the preset functions of the function keys are all set to trigger the same preset command in the multi-key function-in-one mode. The step of setting the manipulation mode of the target device to the target manipulation mode includes: and setting the control mode of the target equipment into a multi-key function integration mode, wherein a plurality of preset function keys of the target equipment are used for triggering the same preset instruction.
Specifically, the multi-key function-in-one mode refers to a mode in which at least two function keys have the same function. The functions of at least two preset function keys are set as the same preset instruction. For example, the same preset command is a switch command.
According to the control mode setting method in the embodiment of the application, the control mode of the target device is set to be the multi-key function integration mode, the plurality of preset function keys of the target device are used for triggering the same preset instruction, under the condition that a user difficultly looks at an object at night, the same function can be achieved by triggering at least one function key of the plurality of function keys, the operation is simplified, the time for searching the function key corresponding to the preset instruction is shortened, and the control efficiency of the target device is improved.
In one embodiment, the operation mode comprises a full-key single-function mode, and in the full-key single-function mode, the functions of all the function keys are set to trigger the same preset instruction; the step of setting the manipulation mode of the target device to the target manipulation mode includes: and setting the control mode of the target equipment into a full-key single-function mode, wherein all function keys of the target equipment are used for triggering the same preset instruction.
Specifically, the full-key function single mode refers to a mode in which all function keys on the target device or on the control panel have the same function. The functions of all the function keys are set to be the same preset instruction. For example, the same preset command is a switch command.
According to the control mode setting method in the embodiment of the application, the control mode of the target device is set to be the full-key single-function mode, all function keys of the target device are used for triggering the same preset instruction, the same function can be achieved by triggering any one function key, the operation is simplified, the time for searching the function key corresponding to the preset instruction is shortened, and the control efficiency of the target device is improved.
In one embodiment, the manipulation modes include a default manipulation mode in which the function keys of each function key are used to implement a respective preset default function.
Specifically, the manipulation modes include a default manipulation mode, and in the default manipulation mode, each function key corresponding to the target device is used for realizing a respective preset default function. For example, a switch function key is used to implement a switch function, and a brightness adjustment function key is used to implement a brightness adjustment function.
According to the control mode setting method in the embodiment of the application, the control modes comprise the default control mode, and in the default control mode, the function keys of the function keys are used for achieving respective preset default functions, so that the functions of the function keys can be recovered, and the normal use of the target equipment is not influenced.
In one embodiment, the control mode setting method is applied to the lighting equipment, and the control mode comprises a second association relation between the lighting control function key and the lighting control instruction. The step of setting the manipulation mode of the target device to the target manipulation mode includes: acquiring a target illumination control instruction corresponding to each illumination control function key in the target control mode based on the second incidence relation of the target control mode; and setting the function of each lighting control function key as triggering a corresponding target lighting control instruction.
The target device comprises a micro control unit. The micro control Unit is an MCU (micro controller Unit), which is also called a single-chip microcomputer or a single-chip microcomputer. The micro control Unit is a computer with a chip level formed by properly reducing the frequency and specification of a Central Processing Unit (CPU) and integrating peripheral interfaces such as a memory (memory) and even an LCD driving circuit on a single chip, and is used for different combination control in different application occasions.
Specifically, a second association relationship between the lighting control function key and the lighting control instruction is preset in the target device. And the target equipment acquires a target illumination control instruction corresponding to each illumination control function key in the target control mode through the micro control unit based on the second incidence relation of the target control mode, and sets the function of each illumination control function key as triggering the corresponding target illumination control instruction through the micro control unit. For example, the function of the a lighting control function key is to trigger a brightness control command, and the function of the B lighting control function key is to trigger a switch control command.
In the control mode setting method in the embodiment of the application, the target lighting control instruction corresponding to each lighting control function key in the target control mode is obtained based on the second incidence relation of the target control mode; the function of each lighting control function key is set to trigger a corresponding target lighting control instruction, and the function of each function key can be set in a personalized mode.
In one embodiment, the method is applied to a lighting device, and the reference setting items include action execution time setting items. The manipulation mode setting mechanism includes a first association relationship between a preset small night light time range and a small night light manipulation mode. Fig. 3 is a schematic flow chart of a manipulation mode setting method according to another embodiment. The step of acquiring the real-time state of the reference setting item comprises the steps of;
step 302, obtain a real-time value.
The step of determining a real-time target manipulation mode based on the manipulation mode setting mechanism and the real-time state comprises:
step 304, determining whether the real-time value is within a preset small night light time range.
Here, the small night lamp is a lamp having a brightness lower than a normal brightness in a normal state. The small night light time range is typically in the nighttime time range. The first brightness of the corresponding lamp in the small night lamp time range is lower than the second brightness of the lamp in the default mode. The night light mode is typically used by the user at night.
Specifically, the target device acquires a real-time value and determines whether the real-time value is within a preset small night lamp time range.
The step of setting the manipulation mode of the target device to the target manipulation mode includes:
and step 306, when the real-time value is within the preset time range of the small night lamp, setting all the lighting control function keys as function keys for triggering a night lamp switching instruction.
Specifically, when the real-time value is within the preset time range of the small night light, all the lighting control function keys on the target device are set as function keys for triggering the night light switch instruction. For example, as shown in FIG. 4, a schematic diagram of a control panel of a target device in one embodiment is shown. A control panel 400 is included, and a first function key 402, a second function key 404 and a third function key 406 are included on the control panel 400. The first function key 402 may be a switch function key, the second function key 404 may be a brightness adjustment function key, and the third function key 406 may be a mode adjustment function key.
The control mode setting method in the embodiment of the application, whether confirm the real-time value in predetermineeing little night-light time range, when the real-time value is in little night-light time range, generally belong to night time, set up all lighting control function keys in the target device as being used for triggering night-light opening instruction so, at least one's function key in the night-light closing instruction, can realize the switch of night-light through triggering arbitrary lighting control function key, user operation has been simplified, reduce the time of looking for the switch controlling part, improve equipment control efficiency.
In one embodiment, when the design interaction is complex, the conventional luminaire is easy to exit the night light mode when touching the brightness adjustment control or other interaction controls, resulting in sudden brightness change. The scheme in the embodiment of the application is proposed. In one embodiment, taking the target device as an illumination device and the control panel as a control panel located in the illumination device as an example for explanation, a method for setting a manipulation mode is applied to the illumination device, and includes:
and a step (a1) of acquiring a real-time value when the trigger operation of the illumination control function key is detected.
And (a2) determining whether the real-time value is within a preset small night lamp time range.
And (a3) when the real-time value is within the preset time range of the small night lamp, setting all the lighting control function keys as function keys for triggering a night lamp switch instruction.
And a step (a4) of performing on-off control of the lighting apparatus in response to a trigger operation of the lighting control function key.
According to the control mode setting method in the embodiment of the application, when the real-time value is within the preset time range of the small night lamp, all the lighting control function keys are set to be the function keys used for triggering the night lamp switch instruction, the switch function can be achieved through any one function key on the touch lighting equipment, the operation is simplified, the time for a user to search for the switch control piece is reduced at night, and the control efficiency is improved.
It should be understood that, although the steps in the flowcharts of fig. 2 or 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 or 3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 5 is a block diagram of a manipulation mode setting device according to an embodiment. A manipulation mode setting apparatus includes a state acquisition module 502, a mode determination module 504, and a mode setting module 506, wherein:
a state obtaining module 502, configured to obtain a real-time state of a reference setting item of the manipulation mode;
a mode determining module 504, configured to determine a real-time target manipulation mode based on a manipulation mode setting mechanism and a real-time state, where the manipulation mode setting mechanism includes a first association relationship between a state of a reference setting item and a manipulation mode of a target device;
a mode setting module 506, configured to set the manipulation mode of the target device to the target manipulation mode.
In the control mode setting device in this embodiment, the real-time target control mode is determined based on the control mode setting mechanism and the real-time state by obtaining the real-time state of the reference setting item of the control mode, and the control mode of the target device is set to the target control mode, that is, when the real-time state meets a certain condition, the control mode is automatically switched, that is, the same device supports different control modes in different states, so that the control efficiency of the device is improved.
In one embodiment, the reference setting item of the manipulation mode includes an action execution time setting item; the manipulation mode setting mechanism includes first associations of different preset time ranges and different manipulation modes. The status obtaining module 502 is configured to obtain a real-time value. The mode determining module 504 is configured to determine a target preset time range in which the real-time value is located; and determining a target control mode corresponding to the target preset time range according to the first incidence relation.
The device control apparatus in this embodiment obtains the real-time value, determines a target preset time range in which the real-time value is located, and determines a target control mode corresponding to the target preset time range according to the first association relationship, so that the control mode can be automatically set without control by a function key, and the control mode setting efficiency is improved.
In one embodiment, the control mode setting device is applied to the lighting equipment, and the control mode is a lighting control mode; the manipulation mode setting mechanism includes a first association relationship between a preset illumination setting time range and an illumination manipulation mode. The mode determining module 504 is configured to determine a target preset illumination time range in which the real-time value is located, and determine a target illumination control mode corresponding to the target preset illumination time range according to the first association relationship.
The device control apparatus in this embodiment obtains the real-time value, determines the target preset illumination time range in which the real-time value is located, and determines the target illumination control mode corresponding to the target preset illumination time range according to the first association relationship, so that the lighting control mode can be automatically set on the lighting device without controlling the control panel again, and the control mode setting efficiency is improved.
In one embodiment, the status acquisition module 502 is configured to acquire the real-time value upon detecting a triggering operation of the illumination control function key.
In the control mode setting device in this embodiment, when the trigger operation on the lighting control function key is detected, the real-time value is obtained, and then when a user triggers the lighting control function key, the real-time value is obtained and the control mode is modified, so that resources of the target device are saved.
In one embodiment, the lighting manipulation mode includes a second association of the lighting control function keys with the lighting control commands. The control mode setting device also comprises a control module, and the control module is used for detecting the triggering operation of the illumination control function key; confirming a target lighting control instruction associated with a lighting control function key corresponding to the trigger operation according to a second association relation corresponding to the target control mode; and responding to the target illumination control instruction, and performing illumination control.
The control mode setting device in the embodiment of the application detects the triggering operation on the lighting control function key, confirms the target lighting control instruction of the function key corresponding to the triggering operation according to the second incidence relation corresponding to the target control mode, responds to the target lighting control instruction to perform lighting control, and under different control modes, the same key may have different control instructions, so that the functions of the target equipment can be expanded under the condition that the number of the function keys is limited, and the usability of the electronic equipment is improved.
In one embodiment, the reference setting item includes a brightness range setting item of the light sensor; the control mode setting mechanism comprises a first association relation between a preset brightness range and a control mode. The state obtaining module 502 is configured to obtain a real-time environment brightness value. The mode determining module 504 is configured to determine a target preset brightness range in which the real-time environment brightness value is located; and determining a target control mode corresponding to the target preset brightness range according to the first incidence relation.
The control mode setting device in the embodiment of the application acquires the real-time environment brightness value, determines the target preset brightness range where the real-time environment brightness value is located, determines the target control mode corresponding to the target preset brightness range according to the first association relation, does not need to control the control panel again, can automatically set the control mode, and improves the control mode setting efficiency.
In one embodiment, the target operation mode includes a multi-key function-in-one mode, and the preset functions of the function keys are all set to trigger the same preset command in the multi-key function-in-one mode. The mode setting module 506 is configured to set the operation mode of the target device to a multi-key function-in-one mode, where a plurality of preset function keys of the target device are used to trigger a same preset instruction.
The control mode setting device in the embodiment of the application sets the control mode of the target device into a multi-key function unification mode, wherein a plurality of preset function keys of the target device are used for triggering the same preset instruction, and under the condition that a user is difficult to see objects at night, the same function can be realized by triggering at least one function key in the plurality of function keys, so that the operation is simplified, the time for searching the function key corresponding to the preset instruction is reduced, and the control efficiency of the target device is improved.
In one embodiment, the operation mode includes a full-key single-function mode, and in the full-key single-function mode, the functions of all the function keys are set to trigger the same preset instruction. The mode setting module 506 is configured to set the operation mode of the target device to a full-key single-function mode, where all function keys of the target device are used to trigger a same preset instruction.
The control mode setting device in the embodiment of the application sets the control mode of the target device to be a full-key single-function mode, wherein all function keys of the target device are used for triggering the same preset instruction, the same function can be realized by triggering any one function key, the operation is simplified, the time for searching the function key corresponding to the preset instruction is reduced, and the control efficiency of the target device is improved.
In one embodiment, the manipulation modes include a default manipulation mode in which the function keys of each function key are used to implement a respective preset default function.
According to the control mode setting device in the embodiment of the application, the control modes comprise the default control mode, under the default control mode, the function keys of the function keys are used for achieving respective preset default functions, the functions of the function keys can be recovered, and the normal use of the target equipment is not affected.
In one embodiment, the manipulation mode setting device is applied to the lighting equipment, and the manipulation mode comprises a second association relationship between the lighting control function key and the lighting control instruction. The mode setting module 506 is configured to obtain a target lighting control instruction corresponding to each lighting control function key in the target operation mode based on the second association relationship of the target operation mode; and setting the function of each lighting control function key as triggering a corresponding target lighting control instruction.
The control mode setting device in the embodiment of the application acquires a target lighting control instruction corresponding to each lighting control function key in the target control mode based on the second incidence relation of the target control mode; the function of each lighting control function key is set to trigger a corresponding target lighting control instruction, and the function of each function key can be set in a personalized mode.
In one embodiment, the apparatus is applied to a lighting device, and the reference setting item includes an action execution time setting item. The manipulation mode setting mechanism includes a first association relationship between a preset small night light time range and a small night light manipulation mode. The status obtaining module 502 is configured to obtain a real-time value. The mode determination module 504 is configured to determine whether the real-time value is within a preset nightlight time range. The mode setting module 506 is configured to set all lighting control function keys as function keys for triggering a night light switch command when the real-time value is within a preset night light time range.
Control mode setting device in the embodiment of the application, confirm whether real-time value is in predetermineeing little night-light time range, when real-time value is in little night-light time range, generally belong to night time, set up all lighting control function keys in the target device so as to be used for triggering the night-light and open the instruction, at least one function key in the night-light closes the instruction, can realize the switch of night-light through triggering arbitrary lighting control function key, user operation has been simplified, reduce the time of looking for the switch controlling part, improve equipment control efficiency.
The division of each module in the control device of the electronic device is merely used for illustration, and in other embodiments, the control device of the electronic device may be divided into different modules as needed to complete all or part of the functions of the control device of the electronic device.
For specific limitations of the control device of the electronic device, reference may be made to the above limitations of the device control method, which are not described herein again. The respective modules in the control device of the electronic apparatus described above may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 6 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 6, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores a computer program. The computer program can be executed by a processor to implement a device control method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium.
The implementation of each module in the control apparatus of the electronic device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules constituted by such computer programs may be stored on the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the steering mode setting method.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform a method of setting a steering mode.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A manipulation mode setting method, characterized in that the method comprises:
acquiring the real-time state of a reference setting item of the control mode;
determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of target equipment;
and setting the control mode of the target equipment as a target control mode.
2. The method of claim 1, wherein the reference setting item of the manipulation mode comprises an action execution time setting item; the control mode setting mechanism comprises first association relations between different preset time ranges and different control modes; the real-time state of the reference setting item of the control mode is obtained;
acquiring a real-time value;
the step of determining a real-time target manipulation mode based on the manipulation mode setting mechanism and the real-time status comprises:
determining a target preset time range in which the real-time value is located;
and determining a target control mode corresponding to the target preset time range according to the first incidence relation.
3. The method of claim 2, applied to a lighting device, wherein the manipulation mode is a lighting manipulation mode; the control mode setting mechanism comprises a first incidence relation between a preset illumination setting time range and an illumination control mode; the step of determining the target preset time range in which the real-time value is located comprises the following steps of;
determining a target preset illumination time range in which the real-time value is located;
the step of determining the target operation mode corresponding to the target preset time range according to the first association relationship comprises:
and determining a target illumination control mode corresponding to the target preset illumination time range according to the first incidence relation.
4. The method of claim 3, wherein the step of obtaining a real-time value comprises:
and acquiring a real-time value when the triggering operation of the illumination control function key is detected.
5. The method of claim 3, wherein the target lighting manipulation mode comprises a second association of lighting control function keys with target lighting control instructions;
after the step of setting the manipulation mode of the target device to the target manipulation mode, the method comprises the following steps:
detecting a trigger operation on the illumination control function key;
confirming a target lighting control instruction associated with a lighting control function key corresponding to the trigger operation according to a second association relation corresponding to the target control mode;
and responding to the target illumination control instruction, and performing illumination control.
6. The method of claim 1, wherein the reference setting item includes a brightness range setting item of a light sensor; the control mode setting mechanism comprises a first incidence relation between a preset brightness range and a control mode;
the acquiring of the real-time state of the reference setting item of the manipulation mode includes:
acquiring a real-time environment brightness value;
the determining a real-time target manipulation mode based on the manipulation mode setting mechanism and the real-time status comprises:
determining a target preset brightness range in which the real-time environment brightness value is located;
and determining a target control mode corresponding to the target preset brightness range according to the first incidence relation.
7. The method according to any one of claims 1 to 6, wherein the target manipulation mode comprises a multi-key-function-in-one mode, in which functions of a plurality of preset function keys are set to trigger a same preset command; the step of setting the manipulation mode of the target device to a target manipulation mode includes:
and setting the control mode of the target equipment into a multi-key function integration mode, wherein a plurality of preset function keys of the target equipment are used for triggering the same preset instruction.
8. The method according to any one of claims 1 to 6, wherein the manipulation modes include a full-key single-function mode in which all function keys are set to trigger the same preset command; the step of setting the manipulation mode of the target device to a target manipulation mode includes:
and setting the control mode of the target equipment to be a full-key single-function mode, wherein all function keys of the target equipment are used for triggering the same preset instruction.
9. The method of any one of claims 1 to 6, wherein the manipulation modes include a default manipulation mode in which each function key is used to implement a respective preset default function.
10. The method according to any one of claims 1 to 6, applied to a lighting device, wherein the manipulation pattern comprises a second association of lighting control function keys with lighting control commands;
the step of setting the manipulation mode of the target device to a target manipulation mode includes:
acquiring a target illumination control instruction corresponding to each illumination control function key in the target control mode based on the second incidence relation of the target control mode;
and setting the function of each lighting control function key as triggering a corresponding target lighting control instruction.
11. The method of claim 1, wherein the method is applied to a lighting apparatus, and the reference setting item includes an action execution time setting item; the control mode setting mechanism comprises a first incidence relation between a preset small night lamp time range and a small night lamp control mode; the step of acquiring the real-time status of the reference setting item includes:
acquiring a real-time value;
the step of determining a real-time target manipulation mode based on the manipulation mode setting mechanism and the real-time status comprises:
determining whether the real-time value is within the preset small night lamp time range;
the step of setting the manipulation mode of the target device to a target manipulation mode includes:
when the real-time value is in preset little night-light time range, set up all lighting control function keys as the function key that is used for triggering night-light switch instruction.
12. A manipulation mode setting apparatus, characterized in that the apparatus comprises:
the state acquisition module is used for acquiring the real-time state of the reference setting item of the control mode;
the mode determining module is used for determining a real-time target control mode based on a control mode setting mechanism and the real-time state, wherein the control mode setting mechanism comprises a first incidence relation between the state of a reference setting item and the control mode of the target equipment;
and the mode setting module is used for setting the control mode of the target equipment to be a target control mode.
13. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the computer program, when executed by the processor, causes the processor to perform the steps of the method according to any of claims 1 to 11.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
CN202010893002.3A 2020-08-31 2020-08-31 Manipulation mode setting method and device, electronic equipment and readable storage medium Active CN111966002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010893002.3A CN111966002B (en) 2020-08-31 2020-08-31 Manipulation mode setting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010893002.3A CN111966002B (en) 2020-08-31 2020-08-31 Manipulation mode setting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111966002A true CN111966002A (en) 2020-11-20
CN111966002B CN111966002B (en) 2022-04-12

Family

ID=73399935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010893002.3A Active CN111966002B (en) 2020-08-31 2020-08-31 Manipulation mode setting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111966002B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2692954Y (en) * 2003-10-07 2005-04-13 林锦松 Infrared ray remote-controlled lamplight controller convenient to use
CN103298212A (en) * 2013-05-28 2013-09-11 深圳市泓亚光电子有限公司 Control method and control device for illuminating lamps
CN103634995A (en) * 2013-12-19 2014-03-12 中山市中大半导体照明技术研究有限公司 Button configuration method of multifunctional lighting controller based on DALI (Digitally Addressable Lighting Interface) protocol
CN104955218A (en) * 2014-03-24 2015-09-30 古金龙 Outdoor lighting device and lighting control method thereof
CN105517279A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Light-emitting control method and device
CN105517280A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Method and device for lighting
CN105573139A (en) * 2016-02-18 2016-05-11 夏竹兵 Switch panel and home control system
CN107580103A (en) * 2016-07-05 2018-01-12 中兴通讯股份有限公司 The control method and device of lighting device
CN108307569A (en) * 2017-12-29 2018-07-20 深圳市创荣发电子有限公司 Control the remote controler of the PWM of double-colored output
CN109118744A (en) * 2018-11-02 2019-01-01 成都世纪光合作用科技有限公司 A kind of Digiplex
CN109661078A (en) * 2018-10-29 2019-04-19 深圳市赛亿科技开发有限公司 Intelligent bed lamp and its control method, computer readable storage medium
CN110719676A (en) * 2019-09-05 2020-01-21 深圳市豪恩智能物联股份有限公司 Illumination control method and illumination control equipment
CN111198621A (en) * 2019-12-23 2020-05-26 深圳绿米联创科技有限公司 Key configuration method, device and system, electronic equipment and storage medium
CN112333877A (en) * 2020-07-23 2021-02-05 深圳市海洋王照明工程有限公司 Illumination control method, system, computer device and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2692954Y (en) * 2003-10-07 2005-04-13 林锦松 Infrared ray remote-controlled lamplight controller convenient to use
CN103298212A (en) * 2013-05-28 2013-09-11 深圳市泓亚光电子有限公司 Control method and control device for illuminating lamps
CN103634995A (en) * 2013-12-19 2014-03-12 中山市中大半导体照明技术研究有限公司 Button configuration method of multifunctional lighting controller based on DALI (Digitally Addressable Lighting Interface) protocol
CN104955218A (en) * 2014-03-24 2015-09-30 古金龙 Outdoor lighting device and lighting control method thereof
CN105517279A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Light-emitting control method and device
CN105517280A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Method and device for lighting
CN105573139A (en) * 2016-02-18 2016-05-11 夏竹兵 Switch panel and home control system
CN107580103A (en) * 2016-07-05 2018-01-12 中兴通讯股份有限公司 The control method and device of lighting device
CN108307569A (en) * 2017-12-29 2018-07-20 深圳市创荣发电子有限公司 Control the remote controler of the PWM of double-colored output
CN109661078A (en) * 2018-10-29 2019-04-19 深圳市赛亿科技开发有限公司 Intelligent bed lamp and its control method, computer readable storage medium
CN109118744A (en) * 2018-11-02 2019-01-01 成都世纪光合作用科技有限公司 A kind of Digiplex
CN110719676A (en) * 2019-09-05 2020-01-21 深圳市豪恩智能物联股份有限公司 Illumination control method and illumination control equipment
CN111198621A (en) * 2019-12-23 2020-05-26 深圳绿米联创科技有限公司 Key configuration method, device and system, electronic equipment and storage medium
CN112333877A (en) * 2020-07-23 2021-02-05 深圳市海洋王照明工程有限公司 Illumination control method, system, computer device and storage medium

Also Published As

Publication number Publication date
CN111966002B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN107676938B (en) Air conditioner control method and device, electronic equipment and computer readable storage medium
CN107883539B (en) Air conditioner controller, air conditioner, control method thereof and storage medium
CN111295022B (en) Light control method and system
CN111059711A (en) Constant-temperature dehumidification method, device and equipment for air conditioner and readable storage medium
KR102591902B1 (en) Configuration Method of Action for external device and electronic device supporting the same
WO2022105447A1 (en) Iot device control method, apparatus, terminal, and storage medium
CN107726539B (en) Terminal operation parameter adjusting method and device and computer readable storage medium
CN110753154A (en) Control method and device of mobile terminal, electronic equipment and storage medium
CN105788565B (en) A kind of brightness adjusting method and device
CN113009843A (en) Household appliance control method and device, household appliance and storage medium
CN111966002B (en) Manipulation mode setting method and device, electronic equipment and readable storage medium
JP2022048146A5 (en)
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
CN105824562A (en) Touch control method and touch control system
CN110579076B (en) Intelligent refrigerator reminding method and device, medium, control equipment and refrigerator
CN112577157B (en) Air conditioner and power-saving control method, terminal and storage medium thereof
CN113065113A (en) Device control method, mobile terminal, and computer-readable storage medium
CN108024017B (en) Screen display control method and system of intelligent terminal
CN110706953A (en) Panel switch awakening method, awakening device, storage medium and panel switch
US20230247743A1 (en) Determining a location for a presence sensor or light switch based on a control history
CN108601178A (en) A kind of control method of light, system and lamps and lanterns
KR102610740B1 (en) Apparatus and method for controlling object detection
CN112484389A (en) Electronic equipment parameter adjusting method, system, equipment and storage medium
CN113900745A (en) Display method and device of wearable device, wearable device and storage medium
CN111816128B (en) Remote controller, control method and device thereof, 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