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.
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.