CN114363866B - Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device - Google Patents

Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device Download PDF

Info

Publication number
CN114363866B
CN114363866B CN202111664419.3A CN202111664419A CN114363866B CN 114363866 B CN114363866 B CN 114363866B CN 202111664419 A CN202111664419 A CN 202111664419A CN 114363866 B CN114363866 B CN 114363866B
Authority
CN
China
Prior art keywords
scene mode
bluetooth mesh
target
scene
mesh network
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.)
Active
Application number
CN202111664419.3A
Other languages
Chinese (zh)
Other versions
CN114363866A (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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202111664419.3A priority Critical patent/CN114363866B/en
Publication of CN114363866A publication Critical patent/CN114363866A/en
Application granted granted Critical
Publication of CN114363866B publication Critical patent/CN114363866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, a device and an electronic device for configuring a scene mode of Bluetooth mesh network equipment. The method comprises the following steps: responding to network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing a target network; receiving configuration information from a terminal through a target network, wherein the configuration information is used for configuring scene mode parameters of Bluetooth mesh network equipment, and the scene mode parameters are used for controlling the Bluetooth mesh network equipment to select a scene mode to be used from a plurality of scene modes; and performing a configuration operation based on the configuration information. The invention solves the technical problem that the control mode of switching the Bluetooth mesh intelligent lamp in a plurality of preset scene modes provided in the related technology lacks personalized configuration.

Description

Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and an electronic device for configuring a scene mode of a bluetooth mesh network device.
Background
Currently, the bluetooth mesh network (mesh) intelligent lamp set scene setting provided in the related art generally adopts a plurality of groups of fixed scene mode parameters preset by factory, and a user switches among a plurality of preset scene modes through a scene switching knob on the bluetooth mesh intelligent lamp or an application program (APP) of an intelligent terminal (for example, a smart phone).
Fig. 1 is a schematic diagram of a bluetooth mesh smart lamp according to the related art switching among a plurality of preset scene modes, as shown in fig. 1, including: scene mode a, scene mode B, and scene mode C. The user can control the Bluetooth mesh intelligent lamp to switch among the scene mode A, the scene mode B and the scene mode C through the scene switching knob on the Bluetooth mesh intelligent lamp, and can also control the Bluetooth mesh intelligent lamp to switch among the scene mode A, the scene mode B and the scene mode C through the intelligent mobile phone APP.
However, the control manner of switching the bluetooth mesh intelligent lamp provided in the related art in a plurality of preset scene modes has the following technical drawbacks:
(1) The user can only switch among preset scene modes, and cannot modify the scene modes after leaving the factory.
(2) Because the user cannot add the custom scene mode, personalized scene configuration cannot be realized.
(3) Because the user can only control the Bluetooth mesh intelligent lamp to switch among a plurality of preset scene modes through the scene switching knob on the Bluetooth mesh intelligent lamp or the mobile phone APP, the customization of the trigger source cannot be realized.
(4) If a plurality of Bluetooth mesh intelligent lamps need to execute different scene modes, a user needs to set each Bluetooth mesh intelligent lamp one by one through a scene switching knob on the Bluetooth mesh intelligent lamps or a mobile phone APP so as to control each Bluetooth mesh intelligent lamp to switch among a plurality of preset scene modes one by one, and the whole operation process is very complicated and lacks convenience and flexibility.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The invention provides a method, a device and an electronic device for configuring a scene mode of Bluetooth mesh network equipment, which at least solve the technical problem that a control mode for switching a Bluetooth mesh intelligent lamp in a plurality of preset scene modes provided in the related art lacks personalized configuration.
According to one embodiment of the present invention, there is provided a method for configuring a scene mode of a bluetooth mesh device, including:
responding to network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing a target network; receiving configuration information from a terminal through a target network, wherein the configuration information is used for configuring scene mode parameters of Bluetooth mesh network equipment, and the scene mode parameters are used for controlling the Bluetooth mesh network equipment to select a scene mode to be used from a plurality of scene modes; and performing a configuration operation based on the configuration information.
Optionally, the method further comprises: receiving a control command from a terminal through a target network, wherein the control command is used for controlling the Bluetooth mesh network device to switch between different scene modes, and the information carried in the control command comprises: scene identification of the first target scene mode; the bluetooth mesh device is switched from the current scene mode to the first target scene mode based on the control command.
Optionally, the method further comprises: and responding to a first control operation executed by a control key of the Bluetooth mesh network device, and switching the Bluetooth mesh network device from the current scene mode to a second target scene mode corresponding to the first control operation.
Optionally, the method further comprises: and responding to a second control operation executed by the wireless switching device, and switching the Bluetooth mesh network device from the current scene mode to a third target scene mode corresponding to the second control operation, wherein a pre-established binding relationship exists between the wireless switching device and the third target scene mode.
Optionally, the method further comprises: responding to a third control operation executed by the wireless switch device, and acquiring the current position of the Bluetooth mesh network device and a fourth target scene mode corresponding to the third control operation; determining whether the current position is adapted to a fourth target scene mode; switching the bluetooth mesh device from the current scene mode to a fourth target scene mode in response to the current location adapting to the fourth target scene mode; and controlling the bluetooth mesh device to maintain the current scene mode in response to the current location not being adapted to the fourth target scene mode.
Optionally, the plurality of scene modes includes: a plurality of factory preset scene modes and a plurality of custom scene modes.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for configuring a scene mode of a bluetooth mesh device, including:
the access module is used for responding to the network access operation executed by the terminal on the Bluetooth mesh network equipment and accessing the target network; the receiving module is used for receiving configuration information from the terminal through the target network, wherein the configuration information is used for configuring scene mode parameters of the Bluetooth mesh network equipment, and the scene mode parameters are used for controlling the Bluetooth mesh network equipment to select a scene mode to be used from a plurality of scene modes; and the configuration module is used for executing configuration operation based on the configuration information.
Optionally, the apparatus further includes: the processing module is configured to receive a control command from the terminal via the target network, where the control command is used to control the bluetooth mesh network device to switch between different scene modes, and information carried in the control command includes: scene identification of the first target scene mode; the bluetooth mesh device is switched from the current scene mode to the first target scene mode based on the control command.
Optionally, the processing module is further configured to switch the bluetooth mesh device from the current scene mode to a second target scene mode corresponding to the first control operation in response to the first control operation performed by the control key of the bluetooth mesh device.
Optionally, the processing module is further configured to switch the bluetooth mesh device from the current scene mode to a third target scene mode corresponding to the second control operation in response to the second control operation performed by the wireless switching device, where a pre-established binding relationship exists between the wireless switching device and the third target scene mode.
Optionally, the processing module is further configured to respond to a third control operation performed by the wireless switching device, and acquire a current position of the bluetooth mesh network device and a fourth target scene mode corresponding to the third control operation; determining whether the current position is adapted to a fourth target scene mode; switching the bluetooth mesh device from the current scene mode to a fourth target scene mode in response to the current location adapting to the fourth target scene mode; and controlling the bluetooth mesh device to maintain the current scene mode in response to the current location not being adapted to the fourth target scene mode.
Optionally, the plurality of scene modes includes: a plurality of factory preset scene modes and a plurality of custom scene modes.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method of configuring a bluetooth mesh device scene mode in any of the above-mentioned aspects when run.
According to another aspect of an embodiment of the present invention, there is also provided a processor for running a program, where the program is configured to execute the method of configuring a bluetooth mesh device scene mode in any of the above-mentioned aspects when running.
According to another aspect of an embodiment of the present invention, there is also provided an electronic apparatus including a memory having a computer program stored therein, and a processor configured to run the computer program to perform the method of configuring a bluetooth mesh device scene mode in any of the above.
In at least some embodiments of the present invention, a mode of responding to network access operation performed by a terminal on a bluetooth mesh network device and accessing a target network is adopted, configuration information from the terminal is received through the target network, the configuration information is used for configuring scene mode parameters of the bluetooth mesh network device, the scene mode parameters are used for controlling the bluetooth mesh network device to select a scene mode to be used from a plurality of scene modes, and configuration operation is performed based on the configuration information, so that a user can newly add a custom scene mode based on a factory preset scene mode, thereby achieving the technical effects of improving flexibility and availability of setting a bluetooth mesh intelligent lamp set scene, reducing difficulty in setting the bluetooth mesh intelligent lamp set scene, and further solving the technical problem that a control mode of switching the bluetooth mesh intelligent lamp provided in the related art in the plurality of preset scene modes lacks personalized configuration.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic diagram of a bluetooth mesh smart lamp switching among a plurality of preset scene modes according to the related art;
fig. 2 is a flow chart of a method of configuring a bluetooth mesh device scene mode according to one embodiment of the invention;
FIG. 3 is a schematic diagram of configuring and switching a Bluetooth mesh device scene mode according to an alternative embodiment of the present invention;
fig. 4 is a block diagram of an apparatus for configuring a scene mode of a bluetooth mesh device according to one embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for configuring a scene mode of a bluetooth mesh device according to an alternative embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of configuring a bluetooth mesh device scene mode, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiment may be performed in a system that configures a bluetooth mesh device scene mode. Systems for configuring bluetooth mesh device scene modes may include, but are not limited to: at least one mobile terminal and a plurality of bluetooth mesh devices. The mobile terminal may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, abbreviated as MID), a PAD, a game machine, etc. A mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be appreciated by those of ordinary skill in the art that the foregoing structural descriptions are merely illustrative and are not intended to limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than the above structural description, or have a different configuration than the above structural description.
The memory may be used to store a computer program, for example, a software program of application software and a module, for example, a computer program corresponding to a method for configuring a scene mode of a bluetooth mesh device in an embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the method for configuring a scene mode of a bluetooth mesh device. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly. In one example, the transmitting device may be a bluetooth module for communicating directly with a bluetooth mesh device wirelessly.
The input in the input output device may come from a plurality of human interface devices (Human Interface Device, abbreviated as HIDs). For example: keyboard and mouse, gamepad, other special game controllers (e.g., steering wheel, fishing pole, dance mat, remote control, etc.). Part of the ergonomic interface device may provide output functions in addition to input functions, such as: force feedback and vibration of the gamepad, audio output of the controller, etc.
Display devices may be, for example, head-up displays (HUDs), touch screen type Liquid Crystal Displays (LCDs), and touch displays (also referred to as "touch screens" or "touch display screens"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI), and the user may interact with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, where the man-machine interaction functions optionally include the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
The Bluetooth mesh network equipment can be Bluetooth mesh network intelligent lamps, bluetooth mesh network intelligent curtains, bluetooth mesh network intelligent refrigerators, bluetooth mesh network intelligent air conditioners, bluetooth mesh network intelligent televisions and other Bluetooth mesh network equipment. The bluetooth mesh device may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the bluetooth mesh device may further include a transmission device for a communication function and an input-output device. It will be appreciated by those of ordinary skill in the art that the above description of the structure is merely illustrative and is not intended to limit the structure of the bluetooth mesh device. For example, a bluetooth mesh device may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store a computer program, for example, a software program of application software and a module, for example, a computer program corresponding to a method for configuring a scene mode of a bluetooth mesh device in an embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the method for configuring a scene mode of a bluetooth mesh device. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the bluetooth mesh device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of bluetooth mesh devices. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly. In one example, the transmission device may be a bluetooth module for direct communication with the mobile terminal in a wireless manner.
The input in the input output device may come from a plurality of human interface devices (Human Interface Device, abbreviated as HIDs). For example: a scene change knob.
In this embodiment, a method for configuring a bluetooth mesh device scene mode of the bluetooth mesh device is provided, and fig. 2 is a flowchart of a method for configuring a bluetooth mesh device scene mode according to one embodiment of the present invention, as shown in fig. 2, and the method includes the following steps:
step S20, responding to network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing a target network;
step S21, receiving configuration information from a terminal through a target network, wherein the configuration information is used for configuring scene mode parameters of Bluetooth mesh network equipment, and the scene mode parameters are used for controlling the Bluetooth mesh network equipment to select a scene mode to be used from a plurality of scene modes;
optionally, the plurality of scene modes may include, but are not limited to: a plurality of factory preset scene modes and a plurality of custom scene modes. For example: the plurality of factory preset scene modes respectively comprise: scene mode a, scene mode B, and scene mode C, the plurality of custom scene modes respectively comprising: scene mode E, scene mode F, and scene mode G.
Fig. 3 is a schematic diagram of configuring and switching a scene mode of a bluetooth mesh device according to an alternative embodiment of the present invention, as shown in fig. 3, on the basis of configuring a plurality of factory preset scene modes for the bluetooth mesh device, a user may perform a network access operation on the bluetooth mesh device through a mobile terminal APP, so that the bluetooth mesh device accesses a target network (for example, a mesh network). Then, the user may also send configuration information to the bluetooth mesh device via the target network through the mobile terminal APP, so as to configure a scene mode parameter of the bluetooth mesh device by using the configuration information, where the scene mode parameter is used to control the bluetooth mesh device to select a scene mode to be used from a plurality of scene modes. Thus, a plurality of custom scene modes can be configured to the Bluetooth mesh device through the configuration information. In the actual use process, a user can control the Bluetooth mesh intelligent lamp to switch among the scene mode A, the scene mode B and the scene mode C through a scene switching knob on the Bluetooth mesh intelligent lamp, and can also control the Bluetooth mesh intelligent lamp to switch among the scene mode A, the scene mode B and the scene mode C through a smart phone APP. In addition, a user can control the Bluetooth mesh intelligent lamp to switch among a scene mode E, a scene mode F and a scene mode G through a scene switching knob on the Bluetooth mesh intelligent lamp, and can also control the Bluetooth mesh intelligent lamp to switch among the scene mode E, the scene mode F and the scene mode G through a smart phone APP.
Step S22, a configuration operation is performed based on the configuration information.
Through the steps, the network access operation of the response terminal on the Bluetooth mesh network equipment can be adopted, the mode of accessing the target network is adopted, configuration information from the terminal is received through the target network, the configuration information is used for configuring scene mode parameters of the Bluetooth mesh network equipment, the scene mode parameters are used for controlling the Bluetooth mesh network equipment to select a scene mode to be used from a plurality of scene modes, and the configuration operation is carried out based on the configuration information, so that the aim that a user can add a custom scene mode on the basis of the factory preset scene mode is achieved, the technical effects of improving the flexibility and the usability of the scene setting of the Bluetooth mesh intelligent lamp set and reducing the scene setting difficulty of the Bluetooth mesh intelligent lamp set are achieved, and the technical problem that the control mode of switching the Bluetooth mesh intelligent lamp provided in the related technology lacks personalized configuration in the plurality of preset scene modes is solved.
Optionally, the method may further include the following steps:
step S23, receiving a control command from the terminal via the target network, where the control command is used to control the bluetooth mesh device to switch between different scene modes, and the information carried in the control command includes: scene identification of the first target scene mode;
step S24, switching the bluetooth mesh device from the current scene mode to the first target scene mode based on the control command.
The user can send control commands to the bluetooth mesh device via the target network through the mobile terminal APP. The control command is used for controlling the Bluetooth mesh network device to switch between different scene modes, and the information carried in the control command comprises: scene identification of the first target scene mode. And then switching from the current scene mode to the first target scene mode by the Bluetooth mesh device based on the control command. For example: the user can send control commands to the bluetooth mesh device via the target network through the mobile terminal APP. The information carried in the control command includes: scene identification of scene mode E. The current scene mode of the bluetooth mesh device is scene mode a. Thus, the bluetooth mesh device switches from scene mode a to scene mode E based on the control command.
Optionally, the method may further include the following steps:
step S25, responding to a first control operation executed on a control key of the Bluetooth mesh network device, and switching the Bluetooth mesh network device from a current scene mode to a second target scene mode corresponding to the first control operation.
The user may switch the bluetooth mesh device from the current scene mode to a second target scene mode corresponding to the first control operation by performing a first control operation (e.g., a rotation control operation) on a control key (e.g., a scene switch knob) of the bluetooth mesh device. For example: the user may perform a rotation control operation on a scene change knob of the bluetooth mesh device. The current scene mode of the bluetooth mesh device is scene mode B, and the second target scene mode corresponding to the rotation control operation is scene mode F. Thus, the bluetooth mesh device switches from scene mode B to scene mode F based on the rotation control operation.
Optionally, the method may further include the following steps:
in step S26, in response to the second control operation performed on the wireless switching device, the bluetooth mesh device is switched from the current scene mode to a third target scene mode corresponding to the second control operation, where a pre-established binding relationship exists between the wireless switching device and the third target scene mode.
The user can execute network access operation on the newly added wireless switching device through the mobile terminal APP so that the wireless switching device accesses a target network (for example, a mesh network), and a binding relationship is established between the wireless switching device and a third target scene mode. The user may switch the bluetooth mesh device from the current scene mode to a third target scene mode corresponding to the second control operation by performing the second control operation (e.g., a click control operation) on the wireless switching device. For example: the user may perform a click control operation on a scene change knob of the wireless switching device. The current scene mode of the bluetooth mesh device is scene mode C, and the third target scene mode corresponding to the click control operation is scene mode G. Thus, the bluetooth mesh device switches from scene mode C to scene mode G based on the click control operation.
Optionally, the method may further include the following steps:
step S27, responding to a third control operation executed on the wireless switch device, and acquiring the current position of the Bluetooth mesh network device and a fourth target scene mode corresponding to the third control operation;
step S28, determining whether the current position is matched with a fourth target scene mode;
step S29, switching the Bluetooth mesh network device from the current scene mode to the fourth target scene mode in response to the adaptation of the current position to the fourth target scene mode; and controlling the bluetooth mesh device to maintain the current scene mode in response to the current location not being adapted to the fourth target scene mode.
The user may perform a third control operation (e.g., a click control operation) on the wireless switching device, and the bluetooth mesh device may obtain the current location and a fourth target scene mode corresponding to the third control operation. The bluetooth mesh device may then determine whether the current location matches the fourth target scene mode. And if the current position is matched with the fourth target scene mode, switching the Bluetooth mesh network device from the current scene mode to the fourth target scene mode. And if the current position is not matched with the fourth target scene mode, controlling the Bluetooth mesh network device to keep the current scene mode.
Taking a bluetooth mesh network device as a bluetooth mesh intelligent lamp as an example, when a user performs click control operation on a wireless switch device, the bluetooth mesh network device obtains that the current position is a study room, the current scene mode of the bluetooth mesh network device is a power-saving low-brightness mode, and a fourth target scene mode corresponding to the click control operation is a night high-brightness mode. The bluetooth mesh device may then determine whether the current location matches the fourth target scene mode. Since the user is usually in a working state in the study room at night, the current position is determined to be matched with the fourth target scene mode, and the Bluetooth mesh network device is switched from the power-saving low-brightness mode to the night high-brightness mode.
In addition, through setting up above-mentioned wireless switch device, can also trigger the coordinated control to a plurality of bluetooth mesh network devices simultaneously. For example: the night lamp scene mode is triggered simultaneously by setting the wireless switching device, namely, the Bluetooth mesh intelligent lamp arranged in a bedroom, a living room and a bathroom can be started simultaneously.
By the optimized scene setting method, the Bluetooth mesh network equipment can be conveniently updated in a self-defined scene mode on the basis of a plurality of factory preset scene modes, and linked scenes of the plurality of Bluetooth mesh network equipment, and a trigger source for scene switching can be flexibly configured, so that the scene setting flexibility and usability of the Bluetooth mesh network equipment are greatly improved, and meanwhile, the operation complexity and the use difficulty of a user configuration process can be effectively reduced.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiment also provides a device for configuring a scene mode of a bluetooth mesh network device, which is used for implementing the foregoing embodiments and preferred implementations, and the description is omitted herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram illustrating a configuration of an apparatus for configuring a scene mode of a bluetooth mesh device according to one embodiment of the present invention, as shown in fig. 4, the apparatus comprising: an access module 10, configured to access a target network in response to a network access operation performed by a terminal on a bluetooth mesh network device; a receiving module 20, configured to receive configuration information from a terminal via a target network, where the configuration information is used to configure a scene mode parameter of a bluetooth mesh device, and the scene mode parameter is used to control the bluetooth mesh device to select a scene mode to be used from a plurality of scene modes; a configuration module 30 for performing a configuration operation based on the configuration information.
Optionally, fig. 5 is a block diagram of an apparatus for configuring a scene mode of a bluetooth mesh device according to an alternative embodiment of the present invention, and as shown in fig. 5, the apparatus includes, in addition to all the modules shown in fig. 4: the processing module 40 is configured to receive a control command from the terminal via the target network, where the control command is used to control the bluetooth mesh device to switch between different scene modes, and information carried in the control command includes: scene identification of the first target scene mode; the bluetooth mesh device is switched from the current scene mode to the first target scene mode based on the control command.
Optionally, the processing module 40 is further configured to switch the bluetooth mesh device from the current scene mode to a second target scene mode corresponding to the first control operation in response to the first control operation performed by the control key of the bluetooth mesh device.
Optionally, the processing module 40 is further configured to switch the bluetooth mesh device from the current scene mode to a third target scene mode corresponding to the second control operation performed by the wireless switching device in response to the second control operation, where a pre-established binding relationship exists between the wireless switching device and the third target scene mode.
Optionally, the processing module 40 is further configured to respond to a third control operation performed by the wireless switching device, and acquire a current location of the bluetooth mesh device and a fourth target scene mode corresponding to the third control operation; determining whether the current position is adapted to a fourth target scene mode; switching the bluetooth mesh device from the current scene mode to a fourth target scene mode in response to the current location adapting to the fourth target scene mode; and controlling the bluetooth mesh device to maintain the current scene mode in response to the current location not being adapted to the fourth target scene mode.
Optionally, the plurality of scene modes includes: a plurality of factory preset scene modes and a plurality of custom scene modes.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present invention also provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described nonvolatile storage medium may be configured to store a computer program for performing the steps of:
s1, responding to network access operation executed by a terminal on Bluetooth mesh network equipment, and accessing a target network;
s2, receiving configuration information from a terminal through a target network, wherein the configuration information is used for configuring scene mode parameters of the Bluetooth mesh network device, and the scene mode parameters are used for controlling the Bluetooth mesh network device to select a scene mode to be used from a plurality of scene modes;
s3, performing configuration operation based on the configuration information.
Alternatively, in the present embodiment, the above-described nonvolatile storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, responding to network access operation executed by a terminal on Bluetooth mesh network equipment, and accessing a target network;
s2, receiving configuration information from a terminal through a target network, wherein the configuration information is used for configuring scene mode parameters of the Bluetooth mesh network device, and the scene mode parameters are used for controlling the Bluetooth mesh network device to select a scene mode to be used from a plurality of scene modes;
s3, performing configuration operation based on the configuration information.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (9)

1. A method for configuring a bluetooth mesh device scene mode, comprising:
responding to network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing a target network;
receiving configuration information from the terminal through the target network, wherein the configuration information is used for configuring scene mode parameters of the Bluetooth mesh network device, and the scene mode parameters are used for controlling the Bluetooth mesh network device to select a scene mode to be used from a plurality of scene modes;
performing a configuration operation based on the configuration information;
wherein the method further comprises: responding to a third control operation executed by the wireless switch device, and acquiring the current position of the Bluetooth mesh network device and a fourth target scene mode corresponding to the third control operation; determining whether the current position is adapted to the fourth target scene mode; switching the bluetooth mesh device from a current scene mode to the fourth target scene mode in response to the current location adapting to the fourth target scene mode; and controlling the bluetooth mesh device to maintain the current scene mode in response to the current location not being adapted to the fourth target scene mode.
2. The method according to claim 1, wherein the method further comprises:
receiving a control command from the terminal via the target network, wherein the control command is used for controlling the Bluetooth mesh network device to switch between different scene modes, and the information carried in the control command comprises: scene identification of the first target scene mode;
switching the bluetooth mesh device from a current scene mode to the first target scene mode based on the control command.
3. The method according to claim 1, wherein the method further comprises:
and responding to a first control operation executed on the control key of the Bluetooth mesh network equipment, and switching the Bluetooth mesh network equipment from a current scene mode to a second target scene mode corresponding to the first control operation.
4. The method according to claim 1, wherein the method further comprises:
and responding to a second control operation executed by the wireless switching device, and switching the Bluetooth mesh network device from a current scene mode to a third target scene mode corresponding to the second control operation, wherein a pre-established binding relationship exists between the wireless switching device and the third target scene mode.
5. The method of claim 1, wherein the plurality of scene modes comprises: a plurality of factory preset scene modes and a plurality of custom scene modes.
6. An apparatus for configuring a bluetooth mesh device scene mode, comprising:
the access module is used for responding to the network access operation executed by the terminal on the Bluetooth mesh network equipment and accessing the target network;
the receiving module is used for receiving configuration information from the terminal through the target network, wherein the configuration information is used for configuring scene mode parameters of the Bluetooth mesh network equipment, and the scene mode parameters are used for controlling the Bluetooth mesh network equipment to select a scene mode to be used from a plurality of scene modes;
the configuration module is used for executing configuration operation based on the configuration information;
wherein the apparatus further comprises: the acquisition module is used for responding to a third control operation executed by the wireless switch device and acquiring the current position of the Bluetooth mesh network device and a fourth target scene mode corresponding to the third control operation; a determining module, configured to determine whether the current location is adapted to the fourth target scene mode; a control module, configured to switch the bluetooth mesh device from a current scene mode to the fourth target scene mode in response to the current location adapting to the fourth target scene mode; and controlling the bluetooth mesh device to maintain the current scene mode in response to the current location not being adapted to the fourth target scene mode.
7. A non-volatile storage medium having stored therein a computer program, wherein the computer program is arranged to perform the method of configuring a bluetooth mesh device scene mode as claimed in any of claims 1 to 5 at run-time.
8. A processor, characterized in that the processor is configured to run a program, wherein the program is arranged to execute the method of configuring a bluetooth mesh device scene mode as claimed in any of the claims 1 to 5 at run time.
9. An electronic apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of configuring a bluetooth mesh device scene mode as claimed in any of claims 1 to 5.
CN202111664419.3A 2021-12-30 2021-12-30 Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device Active CN114363866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111664419.3A CN114363866B (en) 2021-12-30 2021-12-30 Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111664419.3A CN114363866B (en) 2021-12-30 2021-12-30 Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device

Publications (2)

Publication Number Publication Date
CN114363866A CN114363866A (en) 2022-04-15
CN114363866B true CN114363866B (en) 2024-01-23

Family

ID=81104654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111664419.3A Active CN114363866B (en) 2021-12-30 2021-12-30 Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device

Country Status (1)

Country Link
CN (1) CN114363866B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037607B (en) * 2022-07-11 2024-03-22 上海庆科信息技术有限公司 Configuration method, device, storage medium and system of Bluetooth mesh network equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852957A (en) * 2015-04-03 2015-08-19 江苏物联网研究发展中心 Internet of Things-oriented smart home service system
CN105721715A (en) * 2016-04-27 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Scenario model switching method, switching device and terminal
CN105812545A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Contextual mode automatic setting method for mobile terminal and device
CN105979672A (en) * 2016-05-20 2016-09-28 微鲸科技有限公司 Intelligent bulb control system and control method
CN106970600A (en) * 2017-03-31 2017-07-21 广东帝达聚智能科技有限责任公司 Situation location sense answers contextual model control device
US9839089B1 (en) * 2016-08-24 2017-12-05 DXY Technology Co., Limited Control method for smart light
CN109194552A (en) * 2018-08-31 2019-01-11 上海与德科技有限公司 Intelligent home furnishing control method, interconnecting device and main control device
CN110392349A (en) * 2018-04-23 2019-10-29 九阳股份有限公司 A kind of smart machine group technology and mobile terminal
CN111031170A (en) * 2019-11-12 2020-04-17 宇龙计算机通信科技(深圳)有限公司 Method, apparatus, electronic device and medium for selecting communication mode
CN111812993A (en) * 2020-06-30 2020-10-23 广东科徕尼智能科技有限公司 Scene linkage control method, device and storage medium
CN112039737A (en) * 2020-08-26 2020-12-04 珠海格力电器股份有限公司 Equipment network distribution method, equipment control method, terminal equipment and equipment control system
CN112737901A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Operation configuration method and device in scene, storage medium and electronic device
CN113811059A (en) * 2020-06-15 2021-12-17 乐清市创意影视器材有限公司 Intelligent scene movie lamp

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451217A (en) * 2014-09-24 2016-03-30 中兴通讯股份有限公司 Terminal device control method, terminal device and terminal device control system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812545A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Contextual mode automatic setting method for mobile terminal and device
CN104852957A (en) * 2015-04-03 2015-08-19 江苏物联网研究发展中心 Internet of Things-oriented smart home service system
CN105721715A (en) * 2016-04-27 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Scenario model switching method, switching device and terminal
CN105979672A (en) * 2016-05-20 2016-09-28 微鲸科技有限公司 Intelligent bulb control system and control method
US9839089B1 (en) * 2016-08-24 2017-12-05 DXY Technology Co., Limited Control method for smart light
CN106970600A (en) * 2017-03-31 2017-07-21 广东帝达聚智能科技有限责任公司 Situation location sense answers contextual model control device
CN110392349A (en) * 2018-04-23 2019-10-29 九阳股份有限公司 A kind of smart machine group technology and mobile terminal
CN109194552A (en) * 2018-08-31 2019-01-11 上海与德科技有限公司 Intelligent home furnishing control method, interconnecting device and main control device
CN111031170A (en) * 2019-11-12 2020-04-17 宇龙计算机通信科技(深圳)有限公司 Method, apparatus, electronic device and medium for selecting communication mode
CN113811059A (en) * 2020-06-15 2021-12-17 乐清市创意影视器材有限公司 Intelligent scene movie lamp
CN111812993A (en) * 2020-06-30 2020-10-23 广东科徕尼智能科技有限公司 Scene linkage control method, device and storage medium
CN112039737A (en) * 2020-08-26 2020-12-04 珠海格力电器股份有限公司 Equipment network distribution method, equipment control method, terminal equipment and equipment control system
CN112737901A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Operation configuration method and device in scene, storage medium and electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Prateek K. Singh ; et al.High performance mass configuration protocols for MANETs using efficient broadcasting.《2016 IEEE 35th International Performance Computing and Communications Conference (IPCCC)》.2016,全文. *
基于物联网的智能家居服务系统设计与实现;龚鹏;《中国优秀硕士学位论文辑》;全文 *

Also Published As

Publication number Publication date
CN114363866A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
JP6985339B2 (en) Scene-based vibration feedback method and mobile device
JP6312877B2 (en) Method, apparatus and system for intelligently controlling a device and plug and play device
EP2908231A1 (en) Object suspension realizing method and device
CN113412457A (en) Scene pushing method, device and system, electronic equipment and storage medium
CN114007235A (en) Scene rule writing method and device, storage medium, processor and electronic equipment
JP2009061277A (en) Input terminal emulator for gaming device
CN110768877B (en) Voice control instruction processing method and device, electronic equipment and readable storage medium
CN107346115B (en) Control method and control terminal of intelligent device and intelligent device
CN106528163B (en) A kind of page switching method and device
CN114363866B (en) Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device
CN103337151A (en) System for controlling household appliance by utilizing mobile phone
CN113908550A (en) Virtual character control method, nonvolatile storage medium, and electronic apparatus
CN112367203A (en) Network distribution method and device, smart television and computer readable storage medium
CN109783144B (en) Method and device for processing variable in interactive realization of virtual environment and storage medium
CN112274910A (en) Virtual key configuration method, virtual key method and related device
CN111464404A (en) Information processing method, device, storage medium, processor and system
CN108304113B (en) Interface interaction configuration method and terminal
KR20240026256A (en) Methods for displaying prompt information, devices and storage media, and electronic devices
CN114339621B (en) Method and device for controlling Bluetooth mesh network equipment and electronic device
CN109151589A (en) Quickly play the method, apparatus and storage medium of TV programme
CN113126756A (en) Application interaction method and device
CN110968535A (en) Control instruction processing method and device, processor and electronic device
CN114339625B (en) Equipment linkage control method and device, storage medium, processor and electronic device
EP3380908B1 (en) Wearable devices, methods for controlling a wearable device, and computer-readable media
CN110327627A (en) Information processing method, device, storage medium and electronic device

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