Movatterモバイル変換


[0]ホーム

URL:


CN117319106A - Virtual gateway management method, device and system - Google Patents

Virtual gateway management method, device and system
Download PDF

Info

Publication number
CN117319106A
CN117319106ACN202210707309.9ACN202210707309ACN117319106ACN 117319106 ACN117319106 ACN 117319106ACN 202210707309 ACN202210707309 ACN 202210707309ACN 117319106 ACN117319106 ACN 117319106A
Authority
CN
China
Prior art keywords
information
equipment
intelligent home
control instruction
communication
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.)
Pending
Application number
CN202210707309.9A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co LtdfiledCriticalGree Electric Appliances Inc of Zhuhai
Priority to CN202210707309.9ApriorityCriticalpatent/CN117319106A/en
Publication of CN117319106ApublicationCriticalpatent/CN117319106A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The application provides a virtual gateway management method, device and system. The method comprises the following steps: the 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, and the intelligent home equipment at least supports BLE communication; the server receives a control instruction sent by the client and determines communication type information of intelligent household equipment to be controlled by the control instruction according to identification information carried by the control instruction; under the condition that communication type information of intelligent home equipment to be controlled is characterized in that only BLE communication is supported, a 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, and the transfer intelligent home equipment is the intelligent home equipment supporting WiFi communication and BLE communication. The remote control method solves the problem that remote control of intelligent home equipment which does not support wireless communication in the prior art can only be realized by relying on an entity gateway.

Description

Virtual gateway management method, device and system
Technical Field
The present application relates to the field of internet of things, and in particular, to a method and apparatus for managing a virtual gateway, a computer readable storage medium, a processor, and a system.
Background
The gateway of the internet of things is taken as a new noun, plays a very important role in the future age of the internet of things, and becomes a tie for connecting the perception network and the traditional communication network. As gateway equipment, the gateway of the Internet of things can realize protocol conversion between a sensing network and a communication network and among different types of sensing networks, and can realize wide area interconnection and local area interconnection. In addition, the gateway of the internet of things also needs to have a device management function, so that operators can manage all sensing nodes of the bottom layer through the gateway device of the internet of things, know relevant information of all nodes, and realize remote control.
Bluetooth is a radio technology for short-range communication of devices. The wireless information exchange can be carried out among a plurality of devices including mobile phones, wireless headphones, intelligent bracelets and the like, the communication between mobile communication terminal devices can be effectively simplified by utilizing the Bluetooth technology, and the communication between the devices and the Internet can be successfully simplified, so that the data transmission becomes quicker and more efficient.
WiFi wireless technology refers to "wireless compatibility authentication" in the category of wireless local area networks, which is essentially a commercial authentication, and is also a wireless networking technology, and is connected to a computer through a network cable before, while Wi-Fi is networked through radio waves; it is common to use a wireless router, and the effective coverage area of the wireless router can be networked by Wi-Fi connection, and if the wireless router is connected with an ADSL (Asymmetric Digital Subscriber Line ) or another internet surfing line, the wireless router is also called a hotspot.
At present, the remote control of the non-networking module must be realized by relying on an entity gateway, so a method for solving the remote control of the non-networking module without relying on the entity gateway is needed.
The above information disclosed in the background section is only for enhancement of understanding of the background art from the technology described herein and, therefore, may contain some information that does not form the prior art that is already known in the country to a person of ordinary skill in the art.
Disclosure of Invention
The main objective of the present application is to provide a method, an apparatus, a computer readable storage medium, a processor and a system for managing a virtual gateway, so as to solve the problem that in the prior art, remote control of an intelligent home device that does not support wireless communication must rely on an entity gateway to be implemented.
To achieve the above object, according to one aspect of the present application, there is provided a management method of a virtual gateway, including: the method comprises the steps that a server at least obtains equipment information, wherein the equipment information is information of intelligent household equipment and at least comprises identification information and communication type information, the identification information is used for uniquely representing the intelligent household equipment, the communication type information is used for representing information of wireless communication types supported by the intelligent household equipment, and the intelligent household equipment at least supports BLE communication; 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; under the condition that only BLE communication is supported by the communication type information representation of the intelligent home equipment to be controlled, 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.
Optionally, the server at least obtains device information, including: the server receives account information and corresponding equipment information sent by the client, wherein the account information is information of an account logged in the client, and the equipment information is information of an intelligent household device which is controllable by adopting the account information to log in the client; binding one account information and the corresponding equipment information.
Optionally, in a case where the communication type information of the smart home device to be controlled characterizes only BLE communication, sending the control instruction to a relay smart home device, including: 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.
Optionally, after the server acquires 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, 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 the method 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.
Optionally, the transfer smart home device forwards the control instruction to the smart home device to be controlled in a broadcast manner, or the transfer smart home device searches the smart home device to be controlled and is connected with the smart home device to be controlled through bluetooth, so as to forward the control instruction to the smart home device to be controlled.
Optionally, the method further comprises: and sending the control instruction to the intelligent home equipment to be controlled under the condition that the communication type information of the intelligent home equipment to be controlled is characterized to support WiFi communication and BLE communication.
According to another aspect of the application, there is provided a management device of a virtual gateway, including an obtaining unit, a determining unit and a first sending unit, where the obtaining unit is 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 characterize the intelligent home device, and the communication type information is information that characterizes a wireless communication type supported by the intelligent home device, and where the intelligent home device supports at least BLE communication; the determining unit is used for receiving a control instruction sent by a client by the server and determining 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 first sending unit 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.
According to still another aspect of the present application, there is further provided a computer readable storage medium, where the computer readable storage medium includes a stored program, and when the program runs, the device where the computer readable storage medium is controlled to execute any one of the management methods of the virtual gateway.
According to still another aspect of the present application, there is further provided a processor, where the processor is configured to execute a program, where the program executes any one of the virtual gateway management methods.
According to still another aspect of the present application, there is further provided a management system of a virtual gateway, including a server, an intelligent home device, a client, and a controller, where the server includes 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 used for executing any one of the virtual gateway management methods.
In the technical scheme of the application, 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 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; 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.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 illustrates a flow chart of a method of managing virtual gateways according to one embodiment of the present application;
FIG. 2 illustrates a logic flow diagram of a method of management of a virtual gateway according to one embodiment of the present application;
FIG. 3 illustrates a schematic diagram of a method of management of a virtual gateway according to one embodiment of the present application;
fig. 4 shows a schematic diagram of a management device of a virtual gateway according to an embodiment of the present application.
Wherein the above figures include the following reference numerals:
11. a client; 12. a server; 13. a virtual gateway; 14. WiFi/bluetooth devices; 15. a bluetooth only device.
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.

Claims (10)

CN202210707309.9A2022-06-212022-06-21Virtual gateway management method, device and systemPendingCN117319106A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210707309.9ACN117319106A (en)2022-06-212022-06-21Virtual gateway management method, device and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210707309.9ACN117319106A (en)2022-06-212022-06-21Virtual gateway management method, device and system

Publications (1)

Publication NumberPublication Date
CN117319106Atrue CN117319106A (en)2023-12-29

Family

ID=89287185

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210707309.9APendingCN117319106A (en)2022-06-212022-06-21Virtual gateway management method, device and system

Country Status (1)

CountryLink
CN (1)CN117319106A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117850260A (en)*2024-01-082024-04-09深圳伊莱克电子有限公司 Smart home integration system
CN118605199A (en)*2024-06-172024-09-06珠海格力电器股份有限公司 Remote control method, device, electronic device and storage medium for smart home

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN117850260A (en)*2024-01-082024-04-09深圳伊莱克电子有限公司 Smart home integration system
CN118605199A (en)*2024-06-172024-09-06珠海格力电器股份有限公司 Remote control method, device, electronic device and storage medium for smart home

Similar Documents

PublicationPublication DateTitle
US11729618B2 (en)Method and apparatus for providing communication service
US11937314B2 (en)Communication method and device for edge computing system
US12050919B2 (en)Method and device for efficiently providing profile for communication service based on multiple bootstrap profiles
CN102752748B (en)Based on the data transmission method of mobile terminal and system and mobile terminal
US20220046408A1 (en)METHOD AND APPARATUS FOR INSTALLING AND MANAGING MULTIPLE eSIM PROFILES
CN107148784B (en)Method, apparatus, and storage medium for dynamic mobile ad hoc networking
EP3934291A1 (en)Method and device for providing connectivity to terminal in order to use edge computing service
KR102552789B1 (en)Method and apparatus for automatically generating an events dictionary in an internet of things (iot) network
CN103931264B (en) Communication connection establishment method and terminal
US20220345989A1 (en)Method and apparatus for managing closed access group information
US20150023336A1 (en)Communicating a headless onboardee device local wireless network scan to an onboarder device via a peer-to-peer protocol to assist an onboarding process
CN117319106A (en)Virtual gateway management method, device and system
EP3047662A1 (en)Method of joint registration and de-registration for proximity services and internet of things services
EP4021030A1 (en)Method and device for providing direct communication in wireless communication system
US20210385777A1 (en)Method and apparatus for mutually exclusive access to network slice for roaming terminal in wireless communication system
CN109547958B (en)State synchronization method, device and system
US12160926B2 (en)Method and apparatus for transmitting and processing profile management message for multiple enabled profiles between terminal and universal integrated circuit card
CN118804373A (en) A passive service management method, device, system, storage medium and computer program product
CN115022353A (en)Network connection method, device and system of intelligent equipment
CN116367355A (en)Networking method and system of electrical equipment, terminal equipment and readable storage medium
US20140357264A1 (en)Method and Arrangement For Connectivity in a Communication Network
US20250261252A9 (en)A method for managing internet connection of an appliance
CN116192546A (en) Intelligent device control method, intelligent device, control terminal and control system
CN113259949B (en)Network configuration system and method, electronic equipment, and method and equipment for constructing network configuration system
CN117319427A (en)Internet of things architecture and Internet of things system

Legal Events

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

[8]ページ先頭

©2009-2025 Movatter.jp