Movatterモバイル変換


[0]ホーム

URL:


CN114363866A - 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
CN114363866A
CN114363866ACN202111664419.3ACN202111664419ACN114363866ACN 114363866 ACN114363866 ACN 114363866ACN 202111664419 ACN202111664419 ACN 202111664419ACN 114363866 ACN114363866 ACN 114363866A
Authority
CN
China
Prior art keywords
scene mode
bluetooth mesh
scene
target
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.)
Granted
Application number
CN202111664419.3A
Other languages
Chinese (zh)
Other versions
CN114363866B (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 LtdfiledCriticalShanghai Mxchip Information Technology Co Ltd
Priority to CN202111664419.3ApriorityCriticalpatent/CN114363866B/en
Publication of CN114363866ApublicationCriticalpatent/CN114363866A/en
Application grantedgrantedCritical
Publication of CN114363866BpublicationCriticalpatent/CN114363866B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a method and a device for configuring a scene mode of Bluetooth mesh equipment and an electronic device. The method comprises the following steps: accessing a target network in response to a network access operation executed by a terminal on the Bluetooth mesh network equipment; 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; a configuration operation is performed based on the configuration information. The invention solves the technical problem that the control mode for switching the Bluetooth mesh intelligent lamp in a plurality of preset scene modes in the related technology is lack of personalized configuration.

Description

Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device
Technical Field
The invention relates to the field of communication, in particular to a method and a device for configuring a scene mode of Bluetooth mesh equipment and an electronic device.
Background
Currently, a bluetooth mesh network (mesh) smart lamp set scene setting provided in the related art usually adopts factory preset multiple fixed scene mode parameters, and a user switches between multiple preset scene modes through a scene switching knob on the bluetooth mesh smart lamp or an application program (APP) of a smart terminal (e.g., a smart phone).
Fig. 1 is a schematic diagram of switching of a bluetooth mesh smart lamp according to the related art among a plurality of preset scene modes, as shown in fig. 1, the plurality of preset scene modes respectively 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 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 the intelligent mobile phone APP.
However, the control method for switching the bluetooth mesh smart lamp in multiple preset scene modes provided in the related art has the following technical drawbacks:
(1) the user can only execute the switching in several preset scene modes of the factory, and the user can not modify the scene modes after the factory leaves.
(2) Since the user cannot add a custom scene mode, personalized scene configuration cannot be realized.
(3) Because the user can only switch in a plurality of preset scene modes through the scene switching knob on the bluetooth mesh intelligent lamp or the mobile phone APP control bluetooth mesh intelligent lamp, the self-definition of a trigger source cannot be realized.
(4) If there are a plurality of bluetooth mesh smart lamps and need carry out different scene mode, then the user need switch knob or cell-phone APP through the scene on the bluetooth mesh smart lamp and set up one by one to control every bluetooth mesh smart lamp to switch in a plurality of preset scene modes one by one, whole operation process is very loaded down with trivial details, lacks convenience and flexibility.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least part of embodiments of the invention provide a method, a device and an electronic device for configuring a scene mode of a Bluetooth mesh network device, so as to 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 is lack of personalized configuration.
According to an embodiment of the present invention, there is provided a method for configuring a bluetooth mesh device scene mode, including:
accessing a target network in response to a network access operation executed by a terminal on the Bluetooth mesh network equipment; 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; a configuration operation is performed based on the configuration information.
Optionally, the method further includes: receiving a control command from a terminal via a target network, wherein the control command is used for controlling a bluetooth mesh network device to switch between different scene modes, and information carried in the control command includes: a scene identification of a first target scene mode; switching the bluetooth mesh device from the current scene mode to the first target scene mode based on the control command.
Optionally, the method further includes: and responding to a first control operation executed on a control key of the Bluetooth mesh network equipment, and switching the Bluetooth mesh network equipment from the current scene mode to a second target scene mode corresponding to the first control operation.
Optionally, the method further includes: and responding to a second control operation executed on the wireless switch 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 switch device and the third target scene mode.
Optionally, the method further includes: responding to a third control operation executed on the wireless switch equipment, and acquiring the current position of the Bluetooth mesh network equipment 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 network device from the current scene mode to a fourth target scene mode in response to the current position being adapted to the fourth target scene mode; and in response to the current location not matching the fourth target scene mode, controlling the bluetooth mesh device to maintain the current scene mode.
Optionally, the plurality of scene modes includes: a plurality of factory preset scene modes and a plurality of user-defined scene modes.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for configuring a bluetooth mesh device scene mode, 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 a target network; the device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving configuration information from a terminal through a target network, the configuration information is used for configuring scene mode parameters of Bluetooth mesh equipment, and the scene mode parameters are used for controlling the Bluetooth mesh 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 comprises: a processing module, configured to receive a control command from a terminal via a target network, where the control command is used to control a bluetooth mesh device to switch between different scene modes, and information carried in the control command includes: a scene identification of a first target scene mode; switching the bluetooth mesh device 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, in response to a first control operation performed on a control key of the bluetooth mesh device, the bluetooth mesh device from the current scene mode to a second target scene mode corresponding to the first control operation.
Optionally, the processing module is further configured to switch, in response to a second control operation performed on the wireless switching device, the bluetooth mesh device 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.
Optionally, the processing module is further configured to respond to a third control operation performed on 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 the fourth target scene mode; switching the Bluetooth mesh network device from the current scene mode to a fourth target scene mode in response to the current position being adapted to the fourth target scene mode; and in response to the current location not matching the fourth target scene mode, controlling the bluetooth mesh device to maintain the current scene mode.
Optionally, the plurality of scene modes includes: a plurality of factory preset scene modes and a plurality of user-defined scene modes.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to execute the method for configuring a bluetooth mesh device scene mode in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, wherein the program is configured to perform the method for configuring a bluetooth mesh device scene mode in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory and a processor, the memory storing a computer program therein, the processor being configured to execute the computer program to perform any one of the above methods for configuring a bluetooth mesh device scene mode.
In at least some embodiments of the invention, the configuration information from the bluetooth mesh device is received by the target network in a manner that the target network is accessed in response to a network access operation performed by the terminal on the bluetooth mesh device, 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 executing configuration operation based on the configuration information, thereby achieving the purpose that the user can add a custom scene mode on the basis of the preset scene mode from the factory, thereby realizing the technical effects of improving the flexibility and the usability of the setting of the Bluetooth mesh intelligent lamp group scene and reducing the difficulty of the setting of the Bluetooth mesh intelligent lamp group scene, and the technical problem that the control mode of switching the Bluetooth mesh intelligent lamp in a plurality of preset scene modes in the related technology is lack of personalized configuration is solved.
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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of switching of a bluetooth mesh smart lamp in a plurality of preset scene modes according to the related art;
fig. 2 is a flow diagram of a method of configuring a bluetooth mesh device scene mode in accordance with one embodiment of the present invention;
FIG. 3 is a schematic diagram of configuring and switching Bluetooth mesh device scene modes in accordance with an alternative embodiment of the present invention;
fig. 4 is a block diagram of an apparatus for configuring a bluetooth mesh device scene mode according to an embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for configuring a bluetooth mesh device scene mode according to an alternative embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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 scenario mode, it is 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 that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
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 can be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, a game machine, etc. The mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (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 understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal 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 computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method for configuring a bluetooth mesh device scene mode in the 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, implementing the method for configuring a bluetooth mesh device scene mode described above. 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 located remotely from the processor, and these remote memories may be connected 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 to receive or transmit 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 (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner. In one example, the transmission device may be a bluetooth module configured to wirelessly communicate directly with a bluetooth mesh device.
The inputs in the input-output devices may come from a plurality of Human Interface devices (HID for short). For example: keyboard and mouse, game pad, other special game controller (such as steering wheel, fishing rod, dance mat, remote controller, etc.). Some human interface devices may provide output functions in addition to input functions, such as: force feedback and vibration of the gamepad, audio output of the controller, etc.
The display device may be, for example, a head-up display (HUD), a touch screen type Liquid Crystal Display (LCD), and a touch display (also referred to as a "touch screen" or "touch display screen"). 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) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
The Bluetooth mesh network equipment can be Bluetooth mesh network equipment such as a Bluetooth mesh network intelligent lamp, a Bluetooth mesh network intelligent curtain, a Bluetooth mesh network intelligent refrigerator, a Bluetooth mesh network intelligent air conditioner and a Bluetooth mesh network intelligent television. A bluetooth mesh device may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (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 understood by those skilled in the art that the above structural description is only illustrative and not limiting to 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 computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method for configuring a bluetooth mesh device scene mode in the 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, implementing the method for configuring a bluetooth mesh device scene mode described above. 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 from the processor, and these remote memories may be connected 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 to receive or transmit data via a network. Specific examples of such networks may include wireless networks provided by communication providers of bluetooth mesh devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner. In one example, the transmission device may be a bluetooth module, which is configured to perform direct communication with the mobile terminal in a wireless manner.
The inputs in the input-output devices may come from a plurality of Human Interface devices (HID for short). For example: and a scene switching knob.
In this embodiment, a method for configuring a scene mode of a bluetooth mesh device, which is run in the bluetooth mesh device, is provided, and fig. 2 is a flowchart of a method for configuring a scene mode of a bluetooth mesh device according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S20, responding the network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing the 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 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;
optionally, the plurality of scene modes may include, but are not limited to: a plurality of factory preset scene modes and a plurality of user-defined scene modes. For example: the factory preset scene modes respectively comprise: scene mode A, scene mode B and scene mode C, a plurality of self-defined scene modes include respectively: scene mode E, scene mode F, and scene mode G.
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, and as shown in fig. 3, on the basis of configuring a plurality of factory preset scene modes for a bluetooth mesh device, a user may perform a network entry operation on the bluetooth mesh device through a mobile terminal APP, so that the bluetooth mesh device accesses a target network (e.g., a mesh network). Then, the user may also send configuration information to the bluetooth mesh device through the mobile terminal APP via the target network, so as to configure, through the configuration information, a scene mode parameter of the bluetooth mesh device, where the scene mode parameter is used to control the bluetooth mesh device to select a scene mode to be used from multiple 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 an intelligent mobile phone APP. In addition, the user can control the Bluetooth mesh intelligent lamp to switch among the scene mode E, the scene mode F and the 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 the smart phone APP.
In step S22, a configuration operation is performed based on the configuration information.
Through the steps, the configuration information from the terminal can be received through the target network in a mode that the response terminal performs the network access operation on the Bluetooth mesh network equipment and accesses 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 executing configuration operation based on the configuration information, thereby achieving the purpose that the user can add a custom scene mode on the basis of the preset scene mode from the factory, thereby realizing the technical effects of improving the flexibility and the usability of the setting of the Bluetooth mesh intelligent lamp group scene and reducing the difficulty of the setting of the Bluetooth mesh intelligent lamp group scene, and the technical problem that the control mode of switching the Bluetooth mesh intelligent lamp in a plurality of preset scene modes in the related technology is lack of personalized configuration 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 information carried in the control command includes: a scene identification of a first target scene mode;
in step S24, the bluetooth mesh device is switched 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 equipment to switch between different scene modes, and the information carried in the control command comprises: a 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 network equipment 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 the scene mode a to the scene mode E based on the control command.
Optionally, the method may further include the following steps:
step S25, in response to a first control operation performed on a control key of the bluetooth mesh device, switches the bluetooth mesh device from the 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 can perform a rotation control operation on a scene switching 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. Thereby, the bluetooth mesh device switches from the scene mode B to the scene mode F based on the rotation control operation.
Optionally, the method may further include the following steps:
step S26, in response to the second control operation performed on the wireless switch device, switching the bluetooth mesh device 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 switch device and the third target scene mode.
The user can execute network access operation on the newly added wireless switch device through the mobile terminal APP, so that the wireless switch device accesses a target network (for example, a mesh network), and a binding relationship is established between the wireless switch 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 a second control operation (e.g., a click control operation) on the wireless switching device. For example: the user can perform a click control operation on a scene change knob of the wireless switching device. The current scene mode of the bluetooth mesh network 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 the scene mode C to the scene mode G based on the click control operation.
Optionally, the method may further include the following steps:
step S27, responding to the 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 matches the fourth target scene mode;
step S29, responding to the current position matching with the fourth target scene mode, switching the Bluetooth mesh network device from the current scene mode to the fourth target scene mode; and in response to the current location not matching the fourth target scene mode, controlling the bluetooth mesh device to maintain the current scene mode.
By performing a third control operation (e.g., a click control operation) on the wireless switch device, the bluetooth mesh device may acquire a fourth target scene mode corresponding to the current location and 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 equipment 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 equipment to keep the current scene mode.
Taking the bluetooth mesh device as the bluetooth mesh intelligent lamp as an example, when the user executes the click control operation on the wireless switch device, the bluetooth mesh device acquires that the current position is a study room, the current scene mode of the bluetooth mesh device is the power-saving low-brightness mode, and the fourth target scene mode corresponding to the click control operation is the night high-brightness mode. The bluetooth mesh device may then determine whether the current location matches the fourth target scene mode. And if the current position is determined to be matched with the fourth target scene mode, switching the Bluetooth mesh network device from the power-saving low-brightness mode to the night high-brightness mode.
In addition, the wireless switch equipment can also trigger the linkage control of a plurality of Bluetooth mesh network equipment at the same time. For example: through setting up above-mentioned wireless switchgear come to trigger night-light scene mode simultaneously, set up the bluetooth mesh intelligence lamp in bedroom, sitting room, bathroom promptly and open simultaneously.
By the optimized scene setting method, the user-defined scene mode can be continuously updated on the basis of a plurality of factory preset scene modes by the Bluetooth mesh network equipment, linkage scenes of the plurality of Bluetooth mesh network equipment can be conveniently realized, a trigger source for scene switching can be flexibly configured, the scene setting flexibility and usability of the Bluetooth mesh network equipment are greatly improved, and the operation complexity and the use difficulty of a user configuration process can be effectively reduced.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for configuring a bluetooth mesh device scene mode is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of an apparatus for configuring a bluetooth mesh device scene mode according to an embodiment of the present invention, as shown in fig. 4, the apparatus comprising: the access module 10 is used for responding to the network access operation executed by the terminal on the Bluetooth mesh network equipment and accessing a target network; 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 multiple scene modes; a configuration module 30 for performing configuration operations based on the configuration information.
Optionally, fig. 5 is a block diagram of an apparatus for configuring a bluetooth mesh device scene mode according to an alternative embodiment of the present invention, and as shown in fig. 5, the apparatus includes, in addition to all modules shown in fig. 4: a processing module 40, configured to receive a control command from a terminal via a target network, where the control command is used to control a bluetooth mesh device to switch between different scene modes, and information carried in the control command includes: a scene identification of a first target scene mode; switching the bluetooth mesh device 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 a first control operation performed on a control key of the bluetooth mesh device.
Optionally, the processing module 40 is further configured to switch, in response to a second control operation performed on the wireless switching device, the bluetooth mesh device 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.
Optionally, the processing module 40 is further configured to respond to a third control operation performed on the wireless switching device, and acquire the current position 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 the fourth target scene mode; switching the Bluetooth mesh network device from the current scene mode to a fourth target scene mode in response to the current position being adapted to the fourth target scene mode; and in response to the current location not matching the fourth target scene mode, controlling the bluetooth mesh device to maintain the current scene mode.
Optionally, the plurality of scene modes includes: a plurality of factory preset scene modes and a plurality of user-defined scene modes.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively 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 configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, responding the network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing the 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 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 S3, executing configuration operation based on the configuration information.
Optionally, in this embodiment, the nonvolatile storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, responding the network access operation executed by the terminal to the Bluetooth mesh network equipment, and accessing the 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 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 S3, executing configuration operation based on the configuration information.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

CN202111664419.3A2021-12-302021-12-30Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic deviceActiveCN114363866B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111664419.3ACN114363866B (en)2021-12-302021-12-30Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111664419.3ACN114363866B (en)2021-12-302021-12-30Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device

Publications (2)

Publication NumberPublication Date
CN114363866Atrue CN114363866A (en)2022-04-15
CN114363866B CN114363866B (en)2024-01-23

Family

ID=81104654

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111664419.3AActiveCN114363866B (en)2021-12-302021-12-30Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device

Country Status (1)

CountryLink
CN (1)CN114363866B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115037607A (en)*2022-07-112022-09-09上海庆科信息技术有限公司Method, device, storage medium and system for configuring Bluetooth mesh network equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104852957A (en)*2015-04-032015-08-19江苏物联网研究发展中心Internet of Things-oriented smart home service system
CN105721715A (en)*2016-04-272016-06-29宇龙计算机通信科技(深圳)有限公司Scenario model switching method, switching device and terminal
CN105812545A (en)*2014-12-302016-07-27中兴通讯股份有限公司 Method and device for automatically setting scene mode of mobile terminal
CN105979672A (en)*2016-05-202016-09-28微鲸科技有限公司Intelligent bulb control system and control method
CN106970600A (en)*2017-03-312017-07-21广东帝达聚智能科技有限责任公司 Situational positioning sensing situational mode control device
US20170310818A1 (en)*2014-09-242017-10-26Zte CorporationTerminal equipment control method, terminal equipment and system, computer storage media
US9839089B1 (en)*2016-08-242017-12-05DXY Technology Co., LimitedControl method for smart light
CN109194552A (en)*2018-08-312019-01-11上海与德科技有限公司Intelligent home furnishing control method, interconnecting device and main control device
CN110392349A (en)*2018-04-232019-10-29九阳股份有限公司A kind of smart machine group technology and mobile terminal
CN111031170A (en)*2019-11-122020-04-17宇龙计算机通信科技(深圳)有限公司Method, apparatus, electronic device and medium for selecting communication mode
CN111812993A (en)*2020-06-302020-10-23广东科徕尼智能科技有限公司 A scene linkage control method, device and storage medium
CN112039737A (en)*2020-08-262020-12-04珠海格力电器股份有限公司Equipment network distribution method, equipment control method, terminal equipment and equipment control system
CN112737901A (en)*2020-12-292021-04-30青岛海尔科技有限公司Operation configuration method and device in scene, storage medium and electronic device
CN113811059A (en)*2020-06-152021-12-17乐清市创意影视器材有限公司Intelligent scene movie lamp

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20170310818A1 (en)*2014-09-242017-10-26Zte CorporationTerminal equipment control method, terminal equipment and system, computer storage media
CN105812545A (en)*2014-12-302016-07-27中兴通讯股份有限公司 Method and device for automatically setting scene mode of mobile terminal
CN104852957A (en)*2015-04-032015-08-19江苏物联网研究发展中心Internet of Things-oriented smart home service system
CN105721715A (en)*2016-04-272016-06-29宇龙计算机通信科技(深圳)有限公司Scenario model switching method, switching device and terminal
CN105979672A (en)*2016-05-202016-09-28微鲸科技有限公司Intelligent bulb control system and control method
US9839089B1 (en)*2016-08-242017-12-05DXY Technology Co., LimitedControl method for smart light
CN106970600A (en)*2017-03-312017-07-21广东帝达聚智能科技有限责任公司 Situational positioning sensing situational mode control device
CN110392349A (en)*2018-04-232019-10-29九阳股份有限公司A kind of smart machine group technology and mobile terminal
CN109194552A (en)*2018-08-312019-01-11上海与德科技有限公司Intelligent home furnishing control method, interconnecting device and main control device
CN111031170A (en)*2019-11-122020-04-17宇龙计算机通信科技(深圳)有限公司Method, apparatus, electronic device and medium for selecting communication mode
CN113811059A (en)*2020-06-152021-12-17乐清市创意影视器材有限公司Intelligent scene movie lamp
CN111812993A (en)*2020-06-302020-10-23广东科徕尼智能科技有限公司 A scene linkage control method, device and storage medium
CN112039737A (en)*2020-08-262020-12-04珠海格力电器股份有限公司Equipment network distribution method, equipment control method, terminal equipment and equipment control system
CN112737901A (en)*2020-12-292021-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)》*
龚鹏: "基于物联网的智能家居服务系统设计与实现", 《中国优秀硕士学位论文辑》*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115037607A (en)*2022-07-112022-09-09上海庆科信息技术有限公司Method, device, storage medium and system for configuring Bluetooth mesh network equipment
CN115037607B (en)*2022-07-112024-03-22上海庆科信息技术有限公司Configuration method, device, storage medium and system of Bluetooth mesh network equipment

Also Published As

Publication numberPublication date
CN114363866B (en)2024-01-23

Similar Documents

PublicationPublication DateTitle
JP6985339B2 (en) Scene-based vibration feedback method and mobile device
US20150301730A1 (en)Object Suspension Realizing Method and Device
CN114007235A (en) Scene rule writing method, device, storage medium, processor and electronic device
CN102999358A (en)Intelligent program starting method
CN102984209A (en)Distributing method of application program and terminals thereof
CN110768877B (en)Voice control instruction processing method and device, electronic equipment and readable storage medium
CN110851036A (en)Parameter adjusting method and device for electrical equipment and storage medium
CN106528163B (en) A page switching method and device
CN105116996A (en) Smart watch control method and smart watch
CN113262471A (en)Control attribute adjusting method and device, processor and electronic device
CN112274910A (en)Virtual key configuration method, virtual key method and related device
CN116954384A (en) Implementation method, device, electronic device and storage medium of customized soft keyboard
CN114363866B (en)Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device
CN112346739A (en)Remapping method and device of interrupt vector table, microprocessor and electronic device
CN113318430A (en)Virtual character posture adjusting method and device, processor and electronic device
CN113126756A (en)Application interaction method and device
CN111464404A (en)Information processing method, device, storage medium, processor and system
CN114205799A (en)Control method and device for Bluetooth mesh network equipment, storage medium and electronic device
CN105721919A (en)Application switching processing method, application switching processing device and smart set-top box equipment
CN108304113B (en)Interface interaction configuration method and terminal
CN115524983A (en)Networking method for intelligent switch, upper computer, intelligent switch and storage medium
CN107247598A (en)Application message acquisition methods and device, computer installation, readable storage medium storing program for executing
CN114339621B (en)Method and device for controlling Bluetooth mesh network equipment and electronic device
CN111580776B (en)Audio function recovery method, device, terminal and storage medium
CN106648053A (en)Terminal control method and device and terminal equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp