Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application 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.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Furthermore, in the description and in the claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As described in the background art, in order to solve the problem that the remote control of the smart home device that does not support wireless communication in the prior art must rely on the physical gateway to be implemented, in an exemplary embodiment of the present application, a method, an apparatus, a computer readable storage medium, a processor, and a system for managing a virtual gateway are provided.
According to an embodiment of the application, a virtual gateway management method is provided.
Fig. 1 is a flowchart of a method of managing virtual gateways according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, a server at least acquires equipment information, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information represents information of a wireless communication type supported by the intelligent home equipment, and the intelligent home equipment at least supports BLE communication;
step S102, the server receives a control instruction sent by a client, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction;
Step S103, when the communication type information of the smart home device to be controlled indicates that only BLE communication is supported, the control instruction is sent to a relay smart home device, so that the relay smart home device forwards the control instruction to the smart home device to be controlled, where the relay smart home device is the smart home device supporting WiFi communication and BLE communication.
In the virtual gateway management method, firstly, a server at least acquires equipment information, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information represents information of a wireless communication type supported by the intelligent home equipment, and the intelligent home equipment at least supports BLE communication; then, the server receives a control instruction sent by a client, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction; finally, under the condition that the communication type information of the intelligent home equipment to be controlled only supports BLE communication, the control instruction is sent to the transfer intelligent home equipment, so that the transfer intelligent home equipment forwards the control instruction to the intelligent home equipment to be controlled, wherein the transfer intelligent home equipment is the intelligent home equipment supporting WiFi communication and BLE communication. According to the method, the communication type of the intelligent home equipment to be controlled is determined through the identification information carried by the control instruction sent by the client side, and the control instruction is forwarded to the equipment to be controlled through the transfer intelligent home equipment supporting WiFi communication and BLE communication under the condition that the intelligent home equipment only supports BLE communication, so that the control of the intelligent home equipment only supporting BLE communication can be completed without an entity gateway, and the problem that remote control of the intelligent home equipment not supporting wireless communication in the prior art can be realized only by relying on the entity gateway is solved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
Specifically, the identification information includes information of a device type, a device address, and the like.
In one embodiment of the present application, a server obtains at least device information, including: the server receives account information sent by the client and corresponding equipment information, wherein the account information is information of an account logged in the client, and the equipment information is information of intelligent household equipment which is controllable by adopting the account information to log in the client; binding one piece of account information and the corresponding piece of equipment information. After the server receives the account information and the corresponding device information and binds the account information, any other server can acquire all the corresponding device information under the account information, so that the subsequent remote control is more convenient.
In practical application, the client may be an APP intelligent terminal, the smart home device supporting WiFi communication and BLE communication may be a WiFi/bluetooth device, the smart home device supporting BLE communication may be a single bluetooth device, the single bluetooth device may perform data interaction with other devices only through BLE, the WiFi/bluetooth device may perform data interaction with other devices through two modes of WiFi and BLE, the WiFi/bluetooth device may perform interconnection and interworking with other devices of the sensor network, and may also establish remote connection through a WiFi connection virtual gateway and a server, as shown in fig. 2, the foregoing may be configured with all intelligent devices of the network through the APP intelligent terminal, the APP registers all device information to the server, whether it is a WiFi/bluetooth device or a single bluetooth device, there is a unique mac identifier, when a user uses an APP registration account, there is a unique account information in a server database, and through a network configuration operation, the smart home device and the user may be bound on the server, and there may be a list of devices under the user in the server database.
In particular, the BLE wireless communication technology has the advantages of low power consumption, low price, high popularity and the like, so that the popularity of the BLE wireless communication technology in smart home products is high, the BLE is a personal area network technology designed and sold by the bluetooth technology alliance, compared with classical bluetooth, the BLE aims to keep the same communication range and simultaneously remarkably reduce the power consumption and the cost, the wearable equipment with higher requirements on the power consumption can be kept in an electric state for a long time, and the BLE and the classical bluetooth use the same 2.4Ghz radio frequency, so that a modulation system used by the BLE is simpler.
In order to enable a smart home device that only supports BLE communication to accurately receive a control instruction, in another embodiment of the present application, in a case where the communication type information of the smart home device to be controlled characterizes that only BLE communication is supported, the method includes: under the condition that the communication type information of the intelligent home equipment to be controlled represents that only BLE communication is supported, determining the intelligent home equipment supporting WiFi communication and BLE communication as the transferring intelligent home equipment according to other equipment information bound to the same account information with the intelligent home equipment to be controlled; and sending the control instruction to the transfer intelligent home equipment so that the transfer intelligent home equipment forwards the control instruction to the intelligent home equipment to be controlled.
In a specific embodiment of the present application, as shown in fig. 2, it is determined that the communication type information of the smart home device to be controlled by the control instruction is whether the smart home device to be controlled is a bluetooth only device, if yes, the control instruction is sent to a WiFi/bluetooth device bound with the same account information, so that the WiFi/bluetooth device forwards the control instruction to the bluetooth only device, and the bluetooth only device executes the control instruction.
In yet another embodiment of the present application, after the server obtains at least the device information, the method further includes: constructing a virtual gateway in the server, wherein the part except the virtual gateway in the server is a service unit; the server at least acquires the device information, including: the service unit acquires the equipment information and forwards the equipment information to the virtual gateway; the server receives the control instruction sent by the client, determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction, and comprises the following steps: the service unit receives the control instruction and forwards the control instruction to the virtual gateway, and the virtual gateway determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction. The virtual gateway is established, so that the server can receive the control instruction, and the communication type of the intelligent household equipment controlled by the control instruction can be accurately judged.
Specifically, as shown in fig. 2, after the server completes the binding between the user and the device, a virtual gateway is built in the server, and the service unit of the server forwards the device information to the virtual gateway, where the virtual gateway is mainly responsible for the identification of the device class, instruction allocation, data forwarding, and the like.
In order to efficiently forward a control instruction, in still another embodiment of the present application, the transferring smart home device forwards the control instruction to the smart home device to be controlled in a broadcast manner, or the transferring smart home device searches the smart home device to be controlled and is connected with the bluetooth of the smart home device to be controlled, so as to forward the control instruction to the smart home device to be controlled.
In particular, the BLE wireless communication technology has the advantages of low power consumption, low price, high popularity and the like, so that the popularity of the BLE wireless communication technology in smart home products is high, the BLE is a personal area network technology designed and sold by the bluetooth technology alliance, compared with classical bluetooth, the BLE aims to keep the same communication range and simultaneously remarkably reduce the power consumption and the cost, the wearable equipment with higher requirements on the power consumption can be kept in an electric state for a long time, and the BLE and the classical bluetooth use the same 2.4Ghz radio frequency, so that a modulation system used by the BLE is simpler.
In another embodiment of the present application, the method further includes: and under the condition that the communication type information of the intelligent home equipment to be controlled represents supporting WiFi communication and BLE communication, the control instruction is sent to the intelligent home equipment to be controlled. The intelligent home equipment to be controlled can directly acquire the control instruction when supporting WiFi communication and BLE communication.
In another embodiment of the present application, as shown in fig. 2, the determining the communication type information of the smart home device to be controlled by the control command is to determine whether the smart home device to be controlled is a bluetooth only device, if not, the control command is sent to a WiFi bluetooth device to be controlled, and the WiFi bluetooth device executes the control command.
In yet another embodiment of the present application, as shown in fig. 3, the client 11 is communicatively connected to the server 12, the server 12 constructs the virtual gateway 13, the virtual gateway 13 is communicatively connected to the WiFi/bluetooth device 14, and the WiFi/bluetooth device 14 interacts with the bluetooth-only device 15 through broadcasting. When the client 11 is close to the bluetooth-only device 15, the bluetooth-only device 15 can be controlled by short-range bluetooth, and when the client 11 is far away from the bluetooth-only device 15, a control command can be sent to the WiFi/bluetooth device 14 by the virtual gateway 13, and the WiFi/bluetooth device 14 forwards the control command to the bluetooth-only device 15, thereby completing remote control of the bluetooth-only device 15 by the client 11.
The embodiment of the application also provides a management device of the virtual gateway, and it should be noted that the management device of the virtual gateway of the embodiment of the application can be used for executing the management method for the virtual gateway provided by the embodiment of the application. The following describes a management device of a virtual gateway provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of a management apparatus of a virtual gateway according to an embodiment of the present application. As shown in fig. 4, the apparatus includes:
an obtaining unit 10, configured to obtain, by a server, at least device information, where the device information is information of an intelligent home device and includes at least identification information and communication type information, where the identification information is used to uniquely identify the intelligent home device, and the communication type information is information that indicates a wireless communication type supported by the intelligent home device, and the intelligent home device supports at least BLE communication;
a determining unit 20, configured to receive a control instruction sent by a client, and determine, according to the identification information carried by the control instruction, the communication type information of the smart home device to be controlled by the control instruction;
the first sending unit 30 is configured to send the control instruction to a relay smart home device when the communication type information of the smart home device to be controlled indicates that only BLE communication is supported, so that the relay smart home device forwards the control instruction to the smart home device to be controlled, where the relay smart home device is the smart home device supporting WiFi communication and BLE communication.
In the management device of the virtual gateway, the server acquires at least equipment information through the acquiring unit, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information represents information of wireless communication types supported by the intelligent home equipment, and the intelligent home equipment supports at least BLE communication; then, through the determining unit, the server receives a control instruction sent by the client, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction; finally, the control instruction is sent to the transfer intelligent home equipment through the first sending unit under the condition that only BLE communication is supported by the communication type information representation of the intelligent home equipment to be controlled, so that the transfer intelligent home equipment forwards the control instruction to the intelligent home equipment to be controlled, wherein the transfer intelligent home equipment is the intelligent home equipment supporting WiFi communication and BLE communication. The device determines the communication type of the intelligent home equipment to be controlled through the identification information carried by the control instruction sent by the client through the server, and forwards the control instruction to the equipment to be controlled through the transfer intelligent home equipment supporting WiFi communication and BLE communication under the condition that the intelligent home equipment only supports BLE communication, so that the control of the intelligent home equipment only supporting BLE communication can be completed without an entity gateway, and the problem that remote control of the intelligent home equipment not supporting wireless communication in the prior art can be realized only by relying on the entity gateway is solved.
Specifically, the identification information includes information of a device type, a device address, and the like.
In an embodiment of the present application, the obtaining unit includes a receiving module and a binding module, where the receiving module is configured to receive, by using the server, account information sent by the client and corresponding device information, where the account information is information of an account logged in to the client, and the device information is information of an intelligent home device that uses the account information to log in to the client and is controllable; the binding module is used for binding the account information and the corresponding device information. After the server receives the account information and the corresponding device information and binds the account information, any other server can acquire all the corresponding device information under the account information, so that the subsequent remote control is more convenient.
In practical application, the client may be an APP intelligent terminal, the smart home device supporting WiFi communication and BLE communication may be a WiFi/bluetooth device, the smart home device supporting BLE communication may be a single bluetooth device, the single bluetooth device may perform data interaction with other devices only through BLE, the WiFi/bluetooth device may perform data interaction with other devices through two modes of WiFi and BLE, the WiFi/bluetooth device may perform interconnection and interworking with other devices of the sensor network, and may also establish remote connection through a WiFi connection virtual gateway and a server, as shown in fig. 2, the foregoing may be configured with all intelligent devices of the network through the APP intelligent terminal, the APP registers all device information to the server, whether it is a WiFi/bluetooth device or a single bluetooth device, there is a unique mac identifier, when a user uses an APP registration account, there is a unique account information in a server database, and through a network configuration operation, the smart home device and the user may be bound on the server, and there may be a list of devices under the user in the server database.
In particular, the BLE wireless communication technology has the advantages of low power consumption, low price, high popularity and the like, so that the popularity of the BLE wireless communication technology in smart home products is high, the BLE is a personal area network technology designed and sold by the bluetooth technology alliance, compared with classical bluetooth, the BLE aims to keep the same communication range and simultaneously remarkably reduce the power consumption and the cost, the wearable equipment with higher requirements on the power consumption can be kept in an electric state for a long time, and the BLE and the classical bluetooth use the same 2.4Ghz radio frequency, so that a modulation system used by the BLE is simpler.
In order to enable the smart home device that only supports BLE communication to accurately receive the control instruction, in another embodiment of the present application, the first sending unit includes a determining module and a sending module, where the determining module is configured to determine, when the communication type information of the smart home device to be controlled characterizes that only BLE communication is supported, that the smart home device that supports WiFi communication and BLE communication is the transit smart home device according to other device information that is bound to the same account information as the smart home device to be controlled; the sending module is used for sending the control instruction to the transfer intelligent home equipment so that the transfer intelligent home equipment forwards the control instruction to the intelligent home equipment to be controlled.
In a specific embodiment of the present application, as shown in fig. 2, it is determined that the communication type information of the smart home device to be controlled by the control instruction is whether the smart home device to be controlled is a bluetooth only device, if yes, the control instruction is sent to a WiFi/bluetooth device bound with the same account information, so that the WiFi/bluetooth device forwards the control instruction to the bluetooth only device, and the bluetooth only device executes the control instruction.
In yet another embodiment of the present application, the apparatus further includes a construction unit, where the construction unit is configured to construct a virtual gateway in the server after the server obtains at least the device information, and a portion of the server except for the virtual gateway is a service unit; the acquisition unit further comprises a first forwarding module, wherein the first forwarding module is used for the service unit to acquire the equipment information and forward the equipment information to the virtual gateway; the determining unit comprises a second forwarding module, wherein the second forwarding module is used for receiving the control instruction by the service unit and forwarding the control instruction to the virtual gateway, and the virtual gateway determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction. The virtual gateway is established, so that the server can receive the control instruction, and the communication type of the intelligent household equipment controlled by the control instruction can be accurately judged.
Specifically, as shown in fig. 2, after the server completes the binding between the user and the device, a virtual gateway is built in the server, and the service unit of the server forwards the device information to the virtual gateway, where the virtual gateway is mainly responsible for the identification of the device class, instruction allocation, data forwarding, and the like.
In order to efficiently forward a control instruction, in still another embodiment of the present application, the transferring smart home device forwards the control instruction to the smart home device to be controlled in a broadcast manner, or the transferring smart home device searches the smart home device to be controlled and is connected with the bluetooth of the smart home device to be controlled, so as to forward the control instruction to the smart home device to be controlled.
In another embodiment of the present application, the apparatus further includes a second sending unit, where the second sending unit is configured to send the control instruction to the smart home device to be controlled when the communication type information of the smart home device to be controlled characterizes supporting WiFi communication and BLE communication. The intelligent home equipment to be controlled can directly acquire the control instruction when supporting WiFi communication and BLE communication.
In another embodiment of the present application, as shown in fig. 2, the determining the communication type information of the smart home device to be controlled by the control command is to determine whether the smart home device to be controlled is a bluetooth only device, if not, the control command is sent to a WiFi bluetooth device to be controlled, and the WiFi bluetooth device executes the control command.
In yet another embodiment of the present application, as shown in fig. 3, the client 11 is communicatively connected to the server 12, the server 12 constructs the virtual gateway 13, the virtual gateway 13 is communicatively connected to the WiFi/bluetooth device 14, and the WiFi/bluetooth device 14 interacts with the bluetooth-only device 15 through broadcasting. When the client 11 is close to the bluetooth-only device 15, the bluetooth-only device 15 can be controlled by short-range bluetooth, and when the client 11 is far away from the bluetooth-only device 15, a control command can be sent to the WiFi/bluetooth device 14 by the virtual gateway 13, and the WiFi/bluetooth device 14 forwards the control command to the bluetooth-only device 15, thereby completing remote control of the bluetooth-only device 15 by the client 11.
The management device of the virtual gateway comprises a processor and a memory, wherein the acquisition unit, the determination unit, the first sending unit and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can set one or more than one kernel, and the remote control of the intelligent home equipment which does not support wireless communication in the prior art can be realized by adjusting kernel parameters, and the problem that the remote control can not be realized by relying on an entity gateway is solved.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the program is used for controlling equipment where the computer readable storage medium is located to execute the virtual gateway management method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the management method of the virtual gateway is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes at least the following steps when executing the program:
Step S101, a server at least acquires equipment information, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information represents information of a wireless communication type supported by the intelligent home equipment, and the intelligent home equipment at least supports BLE communication;
step S102, the server receives a control instruction sent by a client, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction;
step S103, when the communication type information of the smart home device to be controlled indicates that only BLE communication is supported, the control instruction is sent to a relay smart home device, so that the relay smart home device forwards the control instruction to the smart home device to be controlled, where the relay smart home device is the smart home device supporting WiFi communication and BLE communication.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform a program initialized with at least the following method steps when executed on a data processing device:
Step S101, a server at least acquires equipment information, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information represents information of a wireless communication type supported by the intelligent home equipment, and the intelligent home equipment at least supports BLE communication;
step S102, the server receives a control instruction sent by a client, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction;
step S103, when the communication type information of the smart home device to be controlled indicates that only BLE communication is supported, the control instruction is sent to a relay smart home device, so that the relay smart home device forwards the control instruction to the smart home device to be controlled, where the relay smart home device is the smart home device supporting WiFi communication and BLE communication.
The embodiment of the application also provides a management system of the virtual gateway, which comprises a server, intelligent home equipment, a client and a controller, wherein the server comprises the virtual gateway and a service unit; the intelligent home equipment at least supports BLE communication; the client is in communication connection with the server; the controller is configured to execute any one of the above methods for managing virtual gateways.
In the management system of the virtual gateway, the system determines the communication type of the intelligent home equipment to be controlled through the identification information carried by the control instruction sent by the client through the server, and forwards the control instruction to the equipment to be controlled through the transfer intelligent home equipment supporting WiFi communication and BLE communication under the condition that the intelligent home equipment only supports BLE communication, so that the control of the intelligent home equipment only supporting BLE communication can be completed without an entity gateway, and the problem that remote control of the intelligent home equipment not supporting wireless communication in the prior art can be realized only by relying on the entity gateway is solved.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) In the virtual gateway management method, firstly, a server at least acquires equipment information, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information represents information of wireless communication types supported by the intelligent home equipment, and the intelligent home equipment at least supports BLE communication; then, the server receives a control instruction sent by a client, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction; finally, under the condition that the communication type information of the intelligent home equipment to be controlled only supports BLE communication, the control instruction is sent to the transfer intelligent home equipment, so that the transfer intelligent home equipment forwards the control instruction to the intelligent home equipment to be controlled, wherein the transfer intelligent home equipment is the intelligent home equipment supporting WiFi communication and BLE communication. According to the method, the communication type of the intelligent home equipment to be controlled is determined through the identification information carried by the control instruction sent by the client side, and the control instruction is forwarded to the equipment to be controlled through the transfer intelligent home equipment supporting WiFi communication and BLE communication under the condition that the intelligent home equipment only supports BLE communication, so that the control of the intelligent home equipment only supporting BLE communication can be completed without an entity gateway, and the problem that remote control of the intelligent home equipment not supporting wireless communication in the prior art can be realized only by relying on the entity gateway is solved.
2) In the virtual gateway management device, the server acquires at least equipment information through the acquisition unit, wherein the equipment information is information of intelligent home equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent home equipment, the communication type information is used for representing information of wireless communication types supported by the intelligent home equipment, and the intelligent home equipment at least supports BLE communication; the server receives a control instruction sent by a client through the determining unit, and determines the communication type information of the intelligent home equipment to be controlled by the control instruction according to the identification information carried by the control instruction; and sending the control instruction to a transfer intelligent home device through the first sending unit under the condition that only BLE communication is supported by the communication type information representation of the intelligent home device to be controlled, so that the transfer intelligent home device forwards the control instruction to the intelligent home device to be controlled, wherein the transfer intelligent home device is the intelligent home device supporting WiFi communication and BLE communication. The device determines the communication type of the intelligent home equipment to be controlled through the identification information carried by the control instruction sent by the client through the server, and forwards the control instruction to the equipment to be controlled through the transfer intelligent home equipment supporting WiFi communication and BLE communication under the condition that the intelligent home equipment only supports BLE communication, so that the control of the intelligent home equipment only supporting BLE communication can be completed without an entity gateway, and the problem that remote control of the intelligent home equipment not supporting wireless communication in the prior art can be realized only by relying on the entity gateway is solved.
3) In the virtual gateway management system, the communication type of the intelligent home equipment to be controlled is determined by the system through the identification information carried by the control instruction sent by the server, and the control instruction is forwarded to the equipment to be controlled through the transfer intelligent home equipment supporting WiFi communication and BLE communication under the condition that the intelligent home equipment only supports BLE communication, so that the control of the intelligent home equipment only supporting BLE communication can be completed without an entity gateway, and the problem that remote control of the intelligent home equipment not supporting wireless communication in the prior art can be realized only by relying on the entity gateway is solved.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.