CN107094102B - Information transmission method and equipment - Google Patents

Information transmission method and equipment Download PDF

Info

Publication number
CN107094102B
CN107094102B CN201710428687.2A CN201710428687A CN107094102B CN 107094102 B CN107094102 B CN 107094102B CN 201710428687 A CN201710428687 A CN 201710428687A CN 107094102 B CN107094102 B CN 107094102B
Authority
CN
China
Prior art keywords
gateway
information
intelligent
attribute information
intelligent device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710428687.2A
Other languages
Chinese (zh)
Other versions
CN107094102A (en
Inventor
朱葛
孙超群
朱小平
沈锦祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sengled Co Ltd
Original Assignee
Sengled 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 Sengled Co Ltd filed Critical Sengled Co Ltd
Priority to CN201710428687.2A priority Critical patent/CN107094102B/en
Publication of CN107094102A publication Critical patent/CN107094102A/en
Priority to PCT/CN2018/090469 priority patent/WO2018224040A1/en
Application granted granted Critical
Publication of CN107094102B publication Critical patent/CN107094102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures

Abstract

The invention provides a method and equipment for transmitting information, wherein the method comprises the following steps: the server acquires the attribute information of at least one intelligent device currently connected with a certain gateway and sends the attribute information of the at least one intelligent device to the gateway, so that the gateway manages and controls the intelligent devices through the attribute information of each intelligent device. By adopting the information transmission method provided by the invention, the utilization rate of network resources and storage resources of the gateway is improved.

Description

Information transmission method and equipment
Technical Field
The present invention relates to the field of communications and network technologies, and in particular, to a method and an apparatus for transmitting information.
Background
In the current cloud era of smart devices, the number of types of smart devices is numerous, and from the cut-in perspective of the Internet of things, for example, smart televisions, smart curtains, smart door locks, smart water heaters, smart lighting products, and the like, however, all of the smart devices need to be uniformly managed and controlled by a home smart data center (i.e., a smart home gateway, hereinafter referred to as a "home gateway") and transmitted to a cloud server via an Internet network.
In order to realize normal use of the intelligent device under the condition of network disconnection, the local home gateway needs to store attribute information of all the intelligent devices on the cloud server. At present, a cloud server sends stored attribute information of all supported intelligent devices to each home gateway, and each home gateway stores the attribute information after receiving the attribute information of all the intelligent devices sent by the cloud server, so as to manage and control the connected intelligent devices when needed.
However, for the home gateway, receiving and storing the attribute information of all the smart devices supported by the cloud server needs to occupy more network resources and storage resources.
Disclosure of Invention
The invention provides an information transmission method and equipment, which are used for solving the problem that in the scheme, a home gateway receives and stores attribute information of all intelligent equipment supported by a cloud server, and occupies more network resources and storage resources.
A first aspect of the present invention provides a method for transmitting information, where the method includes:
acquiring attribute information of at least one intelligent device currently connected with a gateway;
and sending the attribute information of the at least one intelligent device to the gateway so that the gateway manages and controls the intelligent devices through the attribute information of each intelligent device.
In a specific implementation manner, the method includes:
the acquiring of the attribute information of the at least one intelligent device currently connected to the gateway includes:
receiving first reporting information sent by the gateway; the first reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
and inquiring a locally stored product information table through the identification information of the at least one intelligent device to acquire the attribute information of the at least one intelligent device.
In another specific implementation, the method includes:
the acquiring of the attribute information of the at least one intelligent device currently connected to the gateway includes:
sending a query request to the gateway; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
receiving second reporting information returned by the gateway according to the query request; the second reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
and inquiring a locally stored product information table through the identification information of the at least one intelligent device to acquire the attribute information of the at least one intelligent device.
In a specific implementation manner, the method further includes:
receiving an intelligent equipment connection request sent by a client; the intelligent equipment connection request comprises identification information of intelligent equipment to be connected;
judging whether the product information table comprises identification information of the intelligent equipment to be connected;
if the product information table comprises identification information of the intelligent equipment to be connected, acquiring attribute information of the intelligent equipment to be connected;
and sending the attribute information of the intelligent equipment to be connected to a gateway of the area where the intelligent equipment to be connected is located.
In a specific implementation manner, the method further includes:
and acquiring identification information and attribute information of newly added intelligent equipment, and adding the identification information and the attribute information of the newly added intelligent equipment into the product information table.
A second aspect of the present invention provides a method for transmitting information, the method including:
receiving attribute information of at least one intelligent device sent by a server; the at least one intelligent device is an intelligent device currently connected with the gateway;
and storing the attribute information of the at least one intelligent device.
In a specific implementation manner, the method further includes:
sending first reporting information to the server; the first reporting information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
In a specific implementation manner, the method further includes:
receiving a query request sent by the server; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
sending second reporting information to the server according to the query request; the second reported information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
A third aspect of the present invention provides a server comprising:
the acquisition module is used for acquiring the attribute information of at least one intelligent device currently connected with the gateway;
and the sending module is used for sending the attribute information of the at least one intelligent device to the gateway so that the gateway manages and controls the intelligent devices through the attribute information of each intelligent device.
In a specific implementation manner, the obtaining module includes:
the first receiving submodule is used for receiving first reporting information sent by the gateway; the first reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
and the processing submodule is used for inquiring a locally stored product information table according to the identification information of the at least one intelligent device to acquire the attribute information of the at least one intelligent device.
In another specific implementation manner, the obtaining module includes:
the sending submodule is used for sending a query request to the gateway; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
the second receiving submodule is used for receiving second reporting information returned by the gateway according to the query request; the second reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
and the processing submodule is used for inquiring a locally stored product information table according to the identification information of the at least one intelligent device to acquire the attribute information of the at least one intelligent device.
In a specific implementation manner, the server further includes:
the receiving module is used for receiving an intelligent equipment connection request sent by a client; the intelligent equipment connection request comprises identification information of intelligent equipment to be connected;
the processing module is used for judging whether the product information table comprises the identification information of the intelligent equipment to be connected;
if the product information table comprises identification information of the intelligent equipment to be connected, acquiring attribute information of the intelligent equipment to be connected;
the sending module is further configured to send the attribute information of the to-be-connected intelligent device to a gateway in an area where the to-be-connected intelligent device is located.
In a specific implementation manner, the obtaining module is further configured to obtain identification information and attribute information of the newly added intelligent device;
the server further comprises: and the storage module is used for adding the identification information and the attribute information of the newly added intelligent equipment into the product information table.
A fourth aspect of the present invention provides a gateway, comprising:
the receiving module is used for receiving the attribute information of at least one intelligent device sent by the server; the at least one intelligent device is an intelligent device currently connected with the gateway;
and the storage module is used for storing the attribute information of the at least one intelligent device.
In a specific implementation manner, the gateway further includes:
the first sending module is used for sending first reporting information to the server; the first reporting information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
In a specific implementation manner, the receiving module is further configured to receive an inquiry request sent by the server; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
the gateway further comprises:
the processing module is used for inquiring and acquiring second reported information according to the inquiry request, wherein the second reported information comprises the identification information of at least one intelligent device currently connected with the gateway and the identification information of the gateway;
and the second sending module is used for sending the second reporting information to the server.
According to the information transmission method and the information transmission equipment, the server obtains the attribute information of at least one intelligent device currently connected with a certain gateway, generates an intelligent device attribute information set in the current connection state, and sends the attribute information set to the gateway, so that the gateway can manage and control the intelligent device in the connection state. Therefore, the cloud server can only issue the attribute information of at least one intelligent device to the home gateway according to the at least one intelligent device currently connected with the home gateway, and the utilization rate of network resources and storage resources of the home gateway is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of the information transmission method provided by the present invention;
FIG. 2 is an interaction flow chart of a first embodiment of a method for transmitting information provided by the present invention;
fig. 3 is an interaction flowchart of a second embodiment of the information transmission method provided by the present invention;
fig. 4 is an interaction flowchart of a third embodiment of a method for transmitting information provided by the present invention;
fig. 5 is an interaction flowchart of a fourth embodiment of a method for transmitting information provided by the present invention;
FIG. 6 is a schematic structural diagram of a first embodiment of a server according to the present invention;
fig. 7 is a schematic structural diagram of an obtaining module of a second embodiment of the server according to the present invention;
fig. 8 is a schematic structural diagram of an obtaining module of a third server according to the present invention;
fig. 9 is a schematic structural diagram of a fourth server according to the present invention;
fig. 10 is a schematic structural diagram of a first gateway embodiment provided in the present invention;
fig. 11 is a schematic structural diagram of a second gateway embodiment provided in the present invention;
fig. 12 is a schematic structural diagram of a third embodiment of the gateway provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the cloud sets of the intelligent equipment are various, and from the perspective of the Internet of things, the intelligent equipment needs to be managed and controlled uniformly through a home gateway, and the intelligent equipment can work and be used normally when the external Internet network is not available or the external Internet network is abnormal. At present, in order to realize normal use of the intelligent device under the condition of network disconnection, a local home gateway needs to store attribute information of all the intelligent devices on a cloud server so as to manage and control the intelligent devices in real time when needed. Taking intelligent lighting equipment as an example, the application place can be a family, a factory, an office building or the like, a great variety of intelligent lighting lamps and lanterns can be installed inside, for example, bedside lamps, ceiling lamps, spot lamps, down lamps, track lamps, ceiling lamps and the like, the attribute information of the above n (n is 1 to infinity) intelligent lamp equipment is configured on the cloud server, the cloud server is shown to support the above n types of intelligent lamp equipment, in order to realize the management and control of the intelligent lamp equipment by the home gateway under the condition of network outage, the home gateway needs to store the attribute information of the above n types of intelligent lamp equipment. Therefore, the data information to be stored and processed by the home gateway can be huge, and the operation speed of the home gateway can be greatly reduced.
The invention provides an information transmission method, which is used for solving the problem that in the scheme, a home gateway receives and stores attribute information of all intelligent devices supported by a cloud server, and needs to occupy more network resources and storage resources.
Fig. 1 is a schematic view of an application scenario of the information transmission method provided by the present invention. As shown in fig. 1, the information transmission method is applied between a server and a gateway, and the gateway can access a plurality of intelligent devices, that is, the intelligent devices can access a network through the gateway. The server may be a common server or a cloud server. The gateway, also called an inter-network connector and a protocol converter, may be a home gateway using at least one communication protocol of Bluetooth, Wi-Fi and Zig-be, or may be other types of gateways, which are not limited herein.
In a specific implementation manner, the information transmission method is applied to an interaction process of a cloud server, a home gateway and an intelligent device, and the cloud server can send attribute information of the intelligent device to the home gateway according to the scheme.
Fig. 2 is an interaction flowchart of a first embodiment of the information transmission method provided by the present invention, and as shown in fig. 2, the specific implementation steps of the information transmission method are as follows:
s101: and acquiring attribute information of at least one intelligent device currently connected with the gateway.
In this step, the server obtains the attribute information of the at least one intelligent device currently connected to the gateway, and the server may obtain the attribute information of the at least one intelligent device currently connected to the gateway in advance according to the configuration of the gateway, or a negotiation with the gateway, or by a method such as a rule in a protocol, which is not limited in this embodiment.
The attribute information of the smart device may include product parameter information for fully implementing the functions of the smart device, a current on-off state of the smart device, a communication protocol supported by the smart device, and the like, and is used for the server or the gateway to manage and control the smart device, and is not specifically limited herein. For example, for a smart light fixture, the product parameter information includes power, brightness, RGB mix, sensor information, etc.
S102: and sending the attribute information of at least one intelligent device to the gateway so that the gateway manages and controls the intelligent devices through the attribute information of each intelligent device.
For a gateway, receiving attribute information of at least one intelligent device sent by a server; the at least one intelligent device is an intelligent device currently connected with the gateway.
In this step, the server packages and sends the acquired attribute information of the currently connected at least one intelligent device to the gateway, where the gateway is a gateway to which the at least one intelligent device is currently connected, and if necessary, the gateway manages and controls the intelligent device in the current connection state according to the received attribute information of the currently connected at least one intelligent device. For example, for the smart gateway, the user may perform voice control or screen manual control on the smart device in the connected state through the home smart gateway, which is not limited herein.
In addition, the gateway receives attribute information of at least one intelligent device which is currently connected to the gateway and sent by the server. The attribute information set of the intelligent device received by the gateway has the following possibilities: newly adding attribute information of at least one intelligent device on the basis of the previous attribute information set; deleting the attribute information of one or more intelligent devices which are connected with the gateway before but disconnected currently from the gateway in the previous attribute information set; including both of the above two possible attribute information sets.
S103: storing the attribute information of at least one intelligent device.
In this step, the gateway stores the attribute information of at least one intelligent device sent by the server, and is used for updating the intelligent device attribute information set stored in the gateway.
According to the above scheme, for example, the intelligent device attribute information stored in each gateway is different according to the intelligent device currently connected to each gateway, for example, gateway 1 is currently connected with a type a intelligent device, and gateway 2 is connected with B, C and a type D intelligent device. The gateway 1 only stores the attribute information of the type a smart device, the gateway 2 only stores the attribute information of the type B, C and the type D smart devices, each gateway only processes the currently connected smart device when performing management control on the smart devices, and the attribute information of the smart devices stored by the gateway is a subset of the attribute information of the smart devices stored in the server.
In the information transmission method provided in this embodiment, the server sends the attribute information set of the intelligent device currently connected to the gateway, so that the gateway manages and controls the intelligent device currently connected when necessary. Because the attribute information set of the intelligent equipment stored in the gateway is a subset of the attribute information of the intelligent equipment stored in the server, the scheme greatly saves the local storage resources of the gateway, simultaneously releases a large amount of occupied network resources and greatly improves the quality of the gateway for transmitting control information and data information.
Fig. 3 is an interaction flowchart of a second embodiment of the information transmission method provided by the present invention, and as shown in fig. 3, in another specific implementation of the information transmission method, before S101 of the first embodiment, the method further includes the following steps:
s201: sending first reporting information to a server; the first reporting information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
For the server, first reporting information sent by the gateway is received.
In this step, the gateway periodically sends first reporting information to the server, for notifying the server that there is a change in the intelligent device currently connected to the gateway, where the change includes at least one of adding at least one intelligent device and deleting one or more intelligent devices.
The first reported information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway. The identification information of the smart device is used for uniquely identifying the smart device, and specifically, the identification information includes: product type, manufacturer code, product model number, and product serial number. It can be seen that the identification information uniquely identifies the smart device as a certain smart device of a certain batch of a certain product produced by a certain manufacturer.
The identification information of the gateway is used for identifying the identity of the gateway, so that the server can perform subsequent management on the gateway.
S202: and inquiring a locally stored product information table through the identification information of at least one intelligent device to acquire the attribute information of at least one intelligent device.
In this step, the product information table stored locally by the server includes: identification information and attribute information of all supportable smart devices. Each production manufacturer can upload the latest intelligent equipment information to the server through the Internet at regular intervals, and a user can be conveniently and smoothly connected to the Internet through the gateway when using certain intelligent equipment for the first time. Therefore, the product information stored on the server is very huge, and a user can conveniently inquire whether the intelligent equipment is supported or not through the server before using the intelligent equipment.
The product information table is used for the server to verify whether the current server supports the at least one intelligent device. If the product information table contains identification information of a certain intelligent device, the server supports the intelligent device, and the server acquires attribute information of the intelligent device. And if the product information table does not contain the identification information of a certain intelligent device, the server does not support the intelligent device.
And the server inquires the identification information of the at least one intelligent device in a locally stored product information table according to the steps to obtain the attribute information corresponding to the intelligent devices.
In the information transmission method provided in this embodiment, the server obtains the attribute information of at least one intelligent device currently connected to the gateway by receiving the first reporting information sent by the gateway. The first reported information includes identification information of at least one intelligent device currently connected in the gateway and identification information of the gateway. The server can inquire and obtain the attribute information of the intelligent device in a product information table stored locally according to the identification information of the intelligent device. According to the scheme, the capacity of the server for processing local storage resources is improved, and the attribute information of the currently connected intelligent equipment is quickly acquired by inquiring the product information table.
Fig. 4 is an interaction flowchart of a third embodiment of the information transmission method provided by the present invention, and as shown in fig. 4, in another specific implementation of the information transmission method, before S101 of the first embodiment, the method further includes the following steps:
s301: sending a query request to a gateway; the query request is used for requesting the identification information of the intelligent device currently connected with the gateway.
For the gateway, a query request sent by the server is received.
In this step, the server periodically (or artificially controls the server) sends an inquiry request to the gateway, where the inquiry request is used to request the identification information of the intelligent device currently connected to the gateway, in other words, the server sends the inquiry request to request the gateway to send the identification information of the intelligent device currently connected to the gateway to the server, so that the server queries the local product information table according to the identification information of the intelligent device and obtains the attribute information of the intelligent device, and then updates the attribute information of the intelligent device locally stored in the gateway, so as to save the local storage resource of the gateway, and remove the currently disconnected intelligent device information, thereby reducing the transmission size of network data and improving the processing capability of the gateway.
S302: sending second reporting information to the server according to the query request; the second reported information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
For the server, receiving second reporting information returned by the gateway according to the query request; the second reported information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
In this step, after receiving the query request sent by the server, the gateway collects at least one intelligent device currently connected to the gateway, packages the identification information of all the intelligent devices in the current connection state, and sends second reporting information to the server, so as to notify the server that the intelligent device currently connected to the gateway changes, where the change includes at least one of adding at least one intelligent device and deleting one or more intelligent devices.
The second reported information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway. The identification information of the smart device is used for uniquely identifying the smart device, and specifically, the identification information includes: product type, manufacturer code, product model number, and product serial number. It can be seen that the identification information uniquely identifies the smart device as a certain smart device of a certain batch of a certain product produced by a certain manufacturer.
The identification information of the gateway is used for identifying the identity of the gateway, so that the server can perform subsequent management on the gateway.
S303: and inquiring a locally stored product information table through the identification information of at least one intelligent device to acquire the attribute information of the at least one intelligent device.
In this step, the product information table stored locally by the server includes: identification information and attribute information of all supportable smart devices. Each production manufacturer can upload the latest intelligent equipment information to the server through the Internet at regular intervals, and a user can be conveniently and smoothly connected to the Internet through the gateway when using certain intelligent equipment for the first time. Therefore, the product information stored on the server is very huge, and a user can conveniently inquire whether the intelligent equipment is supported or not through the server before using the intelligent equipment.
The product information table is used for the server to verify whether the current server supports the at least one intelligent device. If the product information table contains identification information of a certain intelligent device, the server supports the intelligent device, and the server acquires attribute information of the intelligent device. And if the product information table does not contain the identification information of a certain intelligent device, the server does not support the intelligent device.
And the server inquires the identification information of the at least one intelligent device in a locally stored product information table according to the steps to obtain the attribute information corresponding to the intelligent devices.
In the information transmission method provided in this embodiment, the server periodically sends, to the gateway, a query request for obtaining identification information of the intelligent device currently connected to the gateway, and then queries, according to the second reported information returned by the gateway, the product information table and obtains attribute information of at least one intelligent device currently connected to the gateway. Similarly, the scheme improves the capability of the server for processing the local storage resources, and quickly acquires the attribute information of the currently connected intelligent equipment by inquiring the product information table.
In the above-described embodiments of fig. 2, 3 or 4, two possible scenarios are included for the currently connected smart device:
in case one, the smart device that has been previously connected to the server, i.e., the smart device that has been powered on, has been previously connected to the server.
And in the second situation, the intelligent device which is not connected with the server at present, namely the intelligent device which is electrified is connected with the server for the first time.
For an intelligent device not currently connected to a server, fig. 5 is an interaction flowchart of a fourth embodiment of the information transmission method provided by the present invention, and as shown in fig. 5, the steps of powering on the server by the intelligent device for the first time are as follows:
s401: receiving an intelligent equipment connection request sent by a client; the intelligent device connection request comprises identification information of the intelligent device to be connected.
In this step, before the server receives the connection request of the smart device sent by the client, first, the user needs to get contact with the powered-on smart device to be connected through the client, where the client may be an Application program (APP for short) in a mobile phone, a tablet computer, or the like.
Specifically, the user can obtain the two-dimensional code information of the intelligent device to be connected by scanning the two-dimensional code on the intelligent device to be connected, wherein the two-dimensional code information contains the identification information of the intelligent device to be connected, and the connection mode is not limited here.
Secondly, the user sends a connection request of the intelligent device to be connected through the client, wherein the connection request comprises identification information of the intelligent device to be connected and identification information of the client. The server receives a connection request of the intelligent device to be connected.
Optionally, the powered to-be-connected intelligent device may also directly send a connection request to the gateway, where the connection request includes identification information of the to-be-connected intelligent device. The gateway is used as access network equipment, the connection request of the intelligent equipment to be connected is sent to the server, and the server receives the connection request.
S402: judging whether the product information table comprises identification information of the intelligent equipment to be connected: and if the product information table comprises identification information of the intelligent equipment to be connected, acquiring attribute information of the intelligent equipment to be connected.
In this step, the server performs a determination according to information in the locally stored product information table, and if the product information table includes identification information of the intelligent device to be connected, the server acquires attribute information of the intelligent device.
Optionally, the server may send feedback information to the client, where the feedback information is used to notify the user whether the to-be-connected smart device may be connected to the network through the gateway. Specifically, if the product information table includes identification information of the intelligent device to be connected, the server sends a support message to the client to notify the user that the intelligent device can be connected to the network; and if the product information does not comprise the identification information of the intelligent equipment to be connected, the server sends a non-support message to the client to inform the user that the intelligent equipment cannot be connected to the network.
S403: and sending the attribute information of the intelligent equipment to be connected to a gateway of the area where the intelligent equipment to be connected is located.
If the server judges that the intelligent equipment to be connected can be connected with the network through the gateway, the server sends the attribute information of the intelligent equipment to be connected to the gateway of the area where the intelligent equipment is located, and the gateway is informed to be connected with the intelligent equipment.
In any of the above embodiments, for the latest intelligent device produced by the manufacturer, the server may periodically obtain the identification information and the attribute information of the newly added intelligent device, and add the identification information and the attribute information of the newly added intelligent device into the product information table.
Specifically, a product information table locally stored in the server is updated periodically, a manufacturer of the intelligent device uploads information of the latest intelligent device to the server through the internet, and the server adds the acquired identification information and attribute information of the newly added intelligent device to the product information table locally stored for a user to use.
In the information transmission method provided by this embodiment, a user performs Internet network connection on an intelligent device that is not currently connected to a server through a client, the client sends an intelligent device connection request to the server, the server queries and acquires attribute information of an intelligent device to be connected according to the connection request, and sends the attribute information of the intelligent device to be connected to a gateway in an area where the intelligent device to be connected is located, so that the gateway and the intelligent device to be connected are interconnected. The scheme provides a method for the intelligent equipment to be powered on and connected with the server for the first time, and a user can conveniently and quickly access to the network of the intelligent equipment used for the first time.
Fig. 6 is a schematic structural diagram of a first embodiment of a server according to the present invention, and as shown in fig. 6, the server 10 includes:
the acquiring module 11 is configured to acquire attribute information of at least one intelligent device currently connected to the gateway;
a sending module 12, configured to send the attribute information of the at least one intelligent device to the gateway, so that the gateway manages and controls the intelligent devices according to the attribute information of each intelligent device.
The server provided in this embodiment is configured to execute the technical solution of the server in any one of the foregoing method embodiments, and the implementation principle and technical effect of the server are similar, where the obtaining module obtains attribute information of at least one intelligent device currently connected to a certain gateway, and generates an intelligent device attribute information set in a current connection state. And the sending module sends the attribute information set to the gateway for the gateway to manage and control the intelligent equipment in the connection state. Therefore, the server can only issue the attribute information of at least one intelligent device to the gateway according to the at least one intelligent device currently connected with the gateway, and the utilization rate of network resources and storage resources of the gateway is greatly improved.
Fig. 7 is a schematic structural diagram of an obtaining module of a second embodiment of the server provided in the present invention, and as shown in fig. 7, the obtaining module 11 includes:
the first receiving submodule 111 is configured to receive first reporting information sent by the gateway; the first reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
the processing sub-module 112 is configured to query the locally stored product information table according to the identification information of the at least one intelligent device, and obtain the attribute information of the at least one intelligent device.
Fig. 8 is a schematic structural diagram of an obtaining module in a third embodiment of the server provided in the present invention, and as shown in fig. 8, the obtaining module 11 includes:
a sending submodule 113, configured to send a query request to the gateway; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
a second receiving submodule 114, configured to receive second reporting information returned by the gateway according to the query request; the second reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
the processing sub-module 112 is configured to query the locally stored product information table according to the identification information of the at least one intelligent device, and obtain the attribute information of the at least one intelligent device.
On the basis of the server provided in any of the above embodiments, fig. 9 is a schematic structural diagram of a fourth embodiment of the server provided in the present invention, and as shown in fig. 9, the server 10 further includes:
the receiving module 13 is configured to receive an intelligent device connection request sent by a client; the intelligent equipment connection request comprises identification information of intelligent equipment to be connected;
the processing module 14 is configured to determine whether the product information table includes identification information of the to-be-connected intelligent device;
if the product information table comprises identification information of the intelligent equipment to be connected, acquiring attribute information of the intelligent equipment to be connected;
the sending module 12 is further configured to send the attribute information of the to-be-connected intelligent device to a gateway in an area where the to-be-connected intelligent device is located.
The obtaining module 11 is further configured to obtain identification information and attribute information of the newly added intelligent device;
the server 10 further includes: and the storage module 15 is configured to add the identification information and the attribute information of the newly added intelligent device to the product information table.
The server provided in any of the above embodiments is configured to execute the technical solution of the server in any of the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a first embodiment of a gateway provided in the present invention, and as shown in fig. 10, the gateway 20 includes:
the receiving module 21 is configured to receive attribute information of at least one piece of intelligent equipment sent by a server; the at least one intelligent device is an intelligent device currently connected with the gateway;
the storage module 22 is configured to store the attribute information of the at least one smart device.
The gateway provided by this embodiment is configured to execute the technical solution of the gateway in any of the foregoing method embodiments, and the implementation principle and technical effect of the gateway are similar, where the receiving module receives attribute information of at least one intelligent device sent by the server, and the at least one intelligent device is an intelligent device currently connected to the gateway. The storage module stores the attribute information of at least one intelligent device sent by the server, and is used for updating the intelligent device attribute information set stored in the gateway. Therefore, the server can only issue the attribute information of at least one intelligent device to the gateway according to the at least one intelligent device currently connected with the gateway, and the utilization rate of network resources and storage resources of the gateway is greatly improved.
Fig. 11 is a schematic structural diagram of a second embodiment of the gateway provided in the present invention, and as shown in fig. 11, the gateway 20 further includes:
a first sending module 231, configured to send first reporting information to the server; the first reporting information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
Fig. 12 is a schematic structural diagram of a third embodiment of the gateway provided in the present invention, and as shown in fig. 12, the receiving module 21 is further configured to receive an inquiry request sent by the server; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
the gateway 20 further includes:
the processing module 24 is configured to query and acquire second reporting information according to the query request, where the second reporting information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway;
a second sending module 232, configured to send the second reporting information to the server.
The gateway provided in any of the above embodiments is configured to execute the technical solution of the gateway in any of the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be appreciated that in the above server and gateway implementations, the processing module may be implemented as a processor, the transmitting module may be implemented as a transmitter, the receiving module may be implemented as a receiver, and the storage module may be implemented as a memory.
The present invention also provides a server comprising: the device comprises a memory, a processor, a transmitter, a receiver and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the information transmission method provided by any embodiment.
In a specific implementation of the above server, the number of processors is at least one, and the processors are used for executing execution instructions stored in the memory, i.e. the computer program. And enabling the server to perform data interaction with the gateway through the communication interface so as to execute the information transmission method provided by the various embodiments. Optionally, the memory may also be integrated within the processor.
The present invention also provides a gateway, comprising: the device comprises a memory, a processor, a receiver, a transmitter and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the information transmission method provided by any one of the embodiments.
In a specific implementation of the gateway described above, the number of processors is at least one, and the execution instructions stored in the memory, i.e. the computer program, are executed. The gateway performs data interaction with the server through the communication interface to execute the information transmission method provided by the various embodiments. Optionally, the memory may also be integrated within the processor.
In the Specific implementation of the server and the gateway, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for transmitting information, comprising:
acquiring attribute information of at least one intelligent device currently connected with a gateway; the attribute information comprises product parameter information for completely realizing the functions of the intelligent equipment, the current on-off state of the intelligent equipment and a communication protocol supported by the intelligent equipment;
sending the attribute information of the at least one intelligent device to the gateway, so that the gateway updates the attribute information of the intelligent device locally stored in the gateway according to the attribute information of the at least one intelligent device;
the acquiring of the attribute information of the at least one intelligent device currently connected to the gateway includes:
periodically sending a query request to the gateway; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
receiving second reporting information returned by the gateway according to the query request; the second reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
and inquiring a locally stored product information table through the identification information of the at least one intelligent device to acquire the attribute information of the at least one intelligent device.
2. The method of claim 1, further comprising:
receiving an intelligent equipment connection request sent by a client; the intelligent equipment connection request comprises identification information of intelligent equipment to be connected;
judging whether the product information table comprises identification information of the intelligent equipment to be connected;
if the product information table comprises identification information of the intelligent equipment to be connected, acquiring attribute information of the intelligent equipment to be connected;
and sending the attribute information of the intelligent equipment to be connected to a gateway of the area where the intelligent equipment to be connected is located.
3. The method of claim 1, further comprising:
and acquiring identification information and attribute information of newly added intelligent equipment, and adding the identification information and the attribute information of the newly added intelligent equipment into the product information table.
4. A method for transmitting information, comprising:
receiving attribute information of at least one intelligent device sent by a server; the at least one intelligent device is an intelligent device currently connected with the gateway; the attribute information comprises product parameter information for completely realizing the functions of the intelligent equipment, the current on-off state of the intelligent equipment and a communication protocol supported by the intelligent equipment;
updating the attribute information of the intelligent equipment locally stored by the gateway according to the attribute information of the at least one intelligent equipment;
the method further comprises the following steps:
receiving a query request periodically sent by the server; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
sending second reporting information to the server according to the query request; the second reported information includes identification information of at least one intelligent device currently connected to the gateway and identification information of the gateway.
5. A server, comprising:
the acquisition module is used for acquiring the attribute information of at least one intelligent device currently connected with the gateway; the attribute information comprises product parameter information for completely realizing the functions of the intelligent equipment, the current on-off state of the intelligent equipment and a communication protocol supported by the intelligent equipment;
the sending module is used for sending the attribute information of the at least one intelligent device to the gateway so that the gateway can update the attribute information of the intelligent device locally stored in the gateway according to the attribute information of the at least one intelligent device;
the acquisition module includes:
the sending submodule is used for periodically sending a query request to the gateway; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
the second receiving submodule is used for receiving second reporting information returned by the gateway according to the query request; the second reported information comprises identification information of at least one intelligent device currently connected with the gateway and identification information of the gateway;
and the processing submodule is used for inquiring a locally stored product information table according to the identification information of the at least one intelligent device to acquire the attribute information of the at least one intelligent device.
6. The server according to claim 5, further comprising:
the receiving module is used for receiving an intelligent equipment connection request sent by a client; the intelligent equipment connection request comprises identification information of intelligent equipment to be connected;
the processing module is used for judging whether the product information table comprises the identification information of the intelligent equipment to be connected;
if the product information table comprises identification information of the intelligent equipment to be connected, acquiring attribute information of the intelligent equipment to be connected;
the sending module is further configured to send the attribute information of the to-be-connected intelligent device to a gateway in an area where the to-be-connected intelligent device is located.
7. The server according to claim 5, wherein the obtaining module is further configured to obtain identification information and attribute information of the newly added smart device;
the server further comprises: and the storage module is used for adding the identification information and the attribute information of the newly added intelligent equipment into the product information table.
8. A gateway, comprising:
the receiving module is used for receiving the attribute information of at least one intelligent device sent by the server; the at least one intelligent device is an intelligent device currently connected with the gateway; the attribute information comprises product parameter information for completely realizing the functions of the intelligent equipment, the current on-off state of the intelligent equipment and a communication protocol supported by the intelligent equipment;
the storage module is used for updating the attribute information of the intelligent equipment locally stored in the gateway according to the attribute information of the at least one intelligent equipment;
the receiving module is further configured to receive a query request periodically sent by the server; the query request is used for requesting the identification information of the intelligent equipment currently connected with the gateway;
the gateway further comprises:
the processing module is used for inquiring and acquiring second reported information according to the inquiry request, wherein the second reported information comprises the identification information of at least one intelligent device currently connected with the gateway and the identification information of the gateway;
and the second sending module is used for sending the second reporting information to the server.
CN201710428687.2A 2017-06-08 2017-06-08 Information transmission method and equipment Active CN107094102B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710428687.2A CN107094102B (en) 2017-06-08 2017-06-08 Information transmission method and equipment
PCT/CN2018/090469 WO2018224040A1 (en) 2017-06-08 2018-06-08 Method and device of information transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710428687.2A CN107094102B (en) 2017-06-08 2017-06-08 Information transmission method and equipment

Publications (2)

Publication Number Publication Date
CN107094102A CN107094102A (en) 2017-08-25
CN107094102B true CN107094102B (en) 2021-04-30

Family

ID=59640101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710428687.2A Active CN107094102B (en) 2017-06-08 2017-06-08 Information transmission method and equipment

Country Status (2)

Country Link
CN (1) CN107094102B (en)
WO (1) WO2018224040A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094102B (en) * 2017-06-08 2021-04-30 生迪智慧科技有限公司 Information transmission method and equipment
CN108809823A (en) * 2018-06-11 2018-11-13 深圳云博智联科技有限公司 Have the LoRa communication gates and processing method of data analysis
CN110531632B (en) * 2019-09-27 2022-08-26 北京声智科技有限公司 Control method and system
CN111475190A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Information updating method and device, electronic equipment and readable storage medium
CN113596017B (en) * 2021-07-27 2023-09-12 上海上实龙创智能科技股份有限公司 Protocol analysis method and device, soft gateway and storage medium
CN115174297A (en) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 Attribute information updating method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
CN105629752A (en) * 2015-12-30 2016-06-01 深圳众乐智府科技有限公司 Intelligent household equipment access method and intelligent household system
CN106019959A (en) * 2016-06-01 2016-10-12 深圳市共进电子股份有限公司 Intelligent household equipment control method, intelligent household equipment control device, and intelligent household equipment control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094102B (en) * 2017-06-08 2021-04-30 生迪智慧科技有限公司 Information transmission method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
CN105629752A (en) * 2015-12-30 2016-06-01 深圳众乐智府科技有限公司 Intelligent household equipment access method and intelligent household system
CN106019959A (en) * 2016-06-01 2016-10-12 深圳市共进电子股份有限公司 Intelligent household equipment control method, intelligent household equipment control device, and intelligent household equipment control system

Also Published As

Publication number Publication date
WO2018224040A1 (en) 2018-12-13
CN107094102A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN107094102B (en) Information transmission method and equipment
EP3185619B1 (en) Method and device for connecting to network
EP2519037B1 (en) Method and network for sharing sensor data among mobile terminals
EP2757738B1 (en) Communication control system, communication system, communication method, and carrier means storing comunication control program
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN110830968A (en) Networking method and device, Bluetooth equipment and computer readable medium
WO2016000099A1 (en) Method, device and system of prompting communication event
CN104301905A (en) Ad-hoc network method and system for smart home on basis of election supervision strategy
CN112751699B (en) OTA upgrading and upgrading management method, equipment, network and storage medium
CN113709839A (en) Multi-gateway network switching method, device and system, electronic equipment and storage medium
US20160227556A1 (en) Method and apparatus for controlling data transmission on radio communication network
CN110650029B (en) Configuration method and device
CN104967560A (en) Method of realizing linkage with equipment managed by gateway and device of realizing linkage with equipment managed by gateway
KR20190047598A (en) Method and device of transmitting data
US11909840B2 (en) Resource subscription method, device, and storage medium
US20220312517A1 (en) D2d communication method, apparatus, and system
WO2015000379A1 (en) Method for remotely controlling air conditioner and remote control system for air conditioner
CN111083702A (en) ZigBee equipment management method and device for smart home
CN113114778A (en) Data transmission method and device, electronic equipment and storage medium
WO2016062005A1 (en) Method and apparatus for processing resending of machine-type communication request
CN110875945B (en) Method, apparatus and medium for task processing on a generic service entity
US9705742B2 (en) Method and apparatus for enabling M2M service and H2H service to coexist
CN114531661A (en) Networking method and device for equipment in local network and electronic equipment
CN106686694B (en) Equipment networking method and device
EP3487147A1 (en) Information synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Information transmission method and equipment

Effective date of registration: 20230227

Granted publication date: 20210430

Pledgee: Tongxiang Yunbei Investment Construction Co.,Ltd.

Pledgor: SENGLED Co.,Ltd.

Registration number: Y2023980033490

PE01 Entry into force of the registration of the contract for pledge of patent right