CN114338256A - Intelligent home gateway configuration method and device, terminal equipment and storage medium - Google Patents
Intelligent home gateway configuration method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN114338256A CN114338256A CN202111432716.5A CN202111432716A CN114338256A CN 114338256 A CN114338256 A CN 114338256A CN 202111432716 A CN202111432716 A CN 202111432716A CN 114338256 A CN114338256 A CN 114338256A
- Authority
- CN
- China
- Prior art keywords
- gateway
- configuration
- transparent transmission
- target
- instruction packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The embodiment of the application discloses a method and a device for configuring an intelligent home gateway, terminal equipment and a storage medium, wherein network connection with an intelligent home network is established, and the gateway type in the intelligent home network comprises a master gateway and a slave gateway; receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring a master gateway or a slave gateway; confirming a target gateway type of a configuration target corresponding to the gateway configuration instruction; and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to the configuration target according to the theme information of the transparent transmission instruction packet. The data sent to the slave gateways are sent in a transparent transmission mode, the master gateway confirms whether the transparent transmission instruction packet is directly sent to the corresponding slave gateways according to the theme information of the data, the coding and decoding processes of the data are reduced, the data processing amount of the master gateway is reduced, the data transmission efficiency of the whole home network is guaranteed, and the normal operation of the whole home network is maintained.
Description
Technical Field
The embodiment of the application relates to the field of intelligent home, in particular to a method and a device for configuring an intelligent home gateway, a terminal device and a storage medium.
Background
With the development of computer networks and electronic technologies, the concept of digital home has been gradually put into practical use, and smart home is one of the earliest technical fields in which the digital home is put into use. Under the intelligent home concept, a user can send a control instruction to a target residence through various control terminals, for example, an air conditioner is remotely started before arriving at home, and the most comfortable temperature is achieved when the user arrives at home; in the process of leaving home for a long time, the television and the lamp are turned on at regular time or at any time in a remote way, so that the illusion of people in the home is caused.
In the existing intelligent home network, a master gateway and slave gateways are set as necessary to provide network communication coverage covering the whole house, wherein each slave gateway corresponds to network connection of a plurality of intelligent home devices, each slave gateway realizes data interaction with the outside of the home network through the master gateway, and the master gateway has a heavy processing burden on all data in the process and may influence the normal operation of the whole home network.
Disclosure of Invention
The application provides a method and a device for configuring an intelligent home gateway of an intelligent home, a terminal device and a storage medium, which are used for solving the technical problem that the normal operation of the whole home network is possibly influenced due to the fact that the processing burden of all data is heavy in the data forwarding process of the existing main gateway.
In a first aspect, a method for configuring an intelligent home gateway is provided, including:
establishing network connection with an intelligent home network, wherein the gateway types in the intelligent home network comprise a master gateway and a slave gateway;
receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring the master gateway or the slave gateway;
confirming the target gateway type of a configuration target corresponding to the gateway configuration instruction;
and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to a configuration target according to the subject information of the transparent transmission instruction packet.
Further, the subject information comprises a transparent transmission instruction packet identifier and a configuration target address; and the master gateway sends the transparent transmission instruction packet to a configuration target address based on the transparent transmission instruction packet identifier.
Further, the establishing of the network connection with the smart home network includes:
locally establishing TCP connection with a main gateway in the intelligent home network;
correspondingly, when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet, including:
and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the master gateway.
Further, the establishing of the network connection with the smart home network includes:
establishing network connection with an intelligent home network remotely through a cloud end;
correspondingly, when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet, including:
and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the cloud.
Further, the method further comprises:
and when the type of the target gateway is the main gateway, encoding the gateway configuration instruction into a native instruction packet and sending the native instruction packet so that the main gateway receives and analyzes the native instruction packet to complete configuration.
Further, the gateway configuration instruction is used for configuring a network connection state of the gateway or the associated smart home devices.
Further, the data packet corresponding to the smart home device associated with the slave gateway is encoded in a transparent transmission instruction packet mode.
In a second aspect, an intelligent home gateway configuration apparatus is provided, including:
the network connection unit is used for establishing network connection with an intelligent home network, and the gateway types in the intelligent home network comprise a master gateway and a slave gateway;
the gateway configuration unit is used for configuring the master gateway or the slave gateway;
the type confirmation unit is used for confirming the target gateway type of the configuration target corresponding to the gateway configuration instruction;
and the command coding unit is used for coding the gateway configuration command into a transparent transmission command packet and sending the transparent transmission command packet when the type of the target gateway is the slave gateway, so that the master gateway sends the configuration target according to the subject information of the transparent transmission command packet.
Further, the subject information comprises a transparent transmission instruction packet identifier and a configuration target address; and the master gateway sends the transparent transmission instruction packet to a configuration target address based on the transparent transmission instruction packet identifier.
Further, the network connection unit includes:
the first connection module is used for locally establishing TCP connection with a main gateway in the intelligent home network;
correspondingly, the instruction encoding unit comprises:
and the first coding module is used for coding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the main gateway when the target gateway is the slave gateway.
Further, the network connection unit includes:
the second connection module is used for remotely establishing network connection with the intelligent home network through the cloud end;
correspondingly, the instruction encoding unit comprises:
and the second connection module is used for coding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the cloud when the type of the target gateway is the slave gateway.
Further, the apparatus further includes:
and the second coding unit is used for coding the gateway configuration instruction into a native instruction packet and sending the native instruction packet when the type of the target gateway is the main gateway, so that the main gateway receives and analyzes the native instruction packet to complete configuration.
Further, the gateway configuration instruction is used for configuring a network connection state of the gateway or the associated smart home devices.
Further, the data packet corresponding to the smart home device associated with the slave gateway is encoded in a transparent transmission instruction packet mode.
In a third aspect, a terminal device is provided, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the terminal device is enabled to implement the intelligent home gateway configuration method according to any one of the first aspect.
In a fourth aspect, there is provided a storage medium containing computer executable instructions, which when executed by a computer processor, are configured to perform the intelligent home gateway configuration method according to any one of the first aspect.
According to the method, network connection with an intelligent home network is established, and gateway types in the intelligent home network comprise a master gateway and a slave gateway; receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring the master gateway or the slave gateway; confirming the target gateway type of a configuration target corresponding to the gateway configuration instruction; and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to a configuration target according to the subject information of the transparent transmission instruction packet. The data sent to the slave gateways are sent in a transparent transmission mode, the master gateway confirms whether the transparent transmission instruction packet is directly sent to the corresponding slave gateways according to the theme information of the data, the coding and decoding processes of the data are reduced, the data processing amount of the master gateway is reduced, the data transmission efficiency of the whole home network is guaranteed, and the normal operation of the whole home network is maintained.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a method for configuring an intelligent home gateway according to an embodiment of the present application;
fig. 2 is a schematic diagram of a device architecture in an intelligent home network provided in an embodiment of the present application;
fig. 3 is a schematic device structure diagram of an intelligent home gateway configuration device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an intelligent home gateway configuration method provided in an embodiment of the present application, where the intelligent home gateway configuration method provided in this embodiment is used for a terminal device to configure a home gateway, and may be executed by an intelligent home gateway configuration apparatus, and the intelligent home gateway configuration apparatus may be implemented in a hardware and/or software manner and is integrated in the terminal device. Referring to fig. 1, the method for configuring the smart home gateway specifically includes:
step S110: and establishing network connection with an intelligent home network, wherein the gateway types in the intelligent home network comprise a master gateway and a slave gateway.
The intelligent home gateway configuration method in the scheme is used for the terminal equipment to realize the configuration of the gateway in the intelligent home network, especially the configuration of the gateway in the more complex intelligent home network.
As shown in fig. 2, in a more complex smart home network, in order to ensure network coverage in the whole home environment and to implement control on smart home devices 230 at any position, multiple gateways are required to implement networking in the smart home network, one of the multiple gateways is used as a master gateway 210, another one or multiple gateways are used as slave gateways 220, the master gateway 210 is a window for data transmission between the home network and the outside of the home network, and the slave gateways 220 and the smart home devices 230 do not directly perform data transmission with the outside. The master gateway 210 and the slave gateway 220 may each have a corresponding smart home device 230 as a control target.
In the prior art, after receiving data, the master gateway 210 firstly analyzes the data through a secret key, then confirms that the data is actually sent to a target gateway, and if the data is not the target gateway, the data is coded through the secret key and then sent to the corresponding slave gateway 220, and the master gateway 210 has a heavy coding and decoding processing task in the data transmission process, and can affect the normal operation of the whole home network in a serious case.
Step S120: and receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring the master gateway or the slave gateway.
In the implementation scheme, the master gateway and the slave gateways already realize the construction of the intelligent home network, and the terminal equipment can access the intelligent home network, discover the gateways in the intelligent home network and realize the configuration of the gateways through special control software. Gateway configuration instructions can be received in the control software, the gateway configuration instructions specifying explicit configuration targets and corresponding configuration content. For example, the gateway configuration instruction is used to configure a network connection state of the gateway or associated smart home devices. The network connection state of the configuration gateway is that the configuration gateway enters a network access state, and legal intelligent home equipment can access the gateway in the network access state. Configuring the associated smart home devices is to configure the smart home devices associated with a certain gateway to enter another operation state. The specific scheme for configuring the network connection state of the gateway and the associated smart home devices is implemented in the prior art, and the description is not repeated here.
Step S130: and confirming the target gateway type of the configuration target corresponding to the gateway configuration instruction.
The control software can acquire information such as member gateways, types (namely main gateways or slave gateways) of the member gateways, addresses and the like in the intelligent home network, and confirms specific sending strategies according to the types.
Step S140: and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to a configuration target according to the subject information of the transparent transmission instruction packet.
When the transparent transmission instruction packet is coded, all data can be divided into two parts, wherein one part is substantial content and is recorded with specific configuration content of a gateway configuration instruction; the remaining part is subject information in which the transmission destination of the instruction is recorded. When a gateway configuration instruction is coded, the subject information comprises a transparent transmission instruction packet identifier and a configuration target address; and the master gateway sends the transparent transmission instruction packet to a configuration target address based on the transparent transmission instruction packet identifier. The transparent transmission instruction packet identification indicates that the type of the instruction packet is the transparent transmission instruction packet, the main gateway does not need to analyze the essential content, and only needs to directly send the essential content to the corresponding slave gateway according to the configuration target address, so that unnecessary data processing processes of the main gateway are reduced.
In addition to the gateway configuration instruction, the data packet corresponding to the smart home device associated with the slave gateway may also be encoded in a transparent transmission instruction packet manner. For example, the smart home device needs to feed back some state data to the terminal device, the state data does not need to be analyzed by the main gateway, the state data can also be encoded in a transparent transmission instruction packet mode, the substantial content of the state data is encoded based on a secret key, then the transparent transmission identifier and the target address are carried in the subject information, and the main gateway directly sends the state data to the corresponding terminal device after receiving the data.
In a specific implementation process, the network connection between the terminal device and the smart home network may be a local connection, that is, step S110 includes step S111:
step S111: and establishing a TCP connection with a main gateway in the intelligent home network locally.
Correspondingly, step S140 includes step S141:
step S141: and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the master gateway.
The terminal device may be locally connected to the smart home network, that is, the terminal device and the main gateway are connected to the same local area network, which may be understood as that the terminal device is directly connected to the main gateway, specifically, a TCP connection. When data are sent specifically, the transparent transmission instruction packet is directly sent to the main gateway.
In a specific implementation process, the network connection between the terminal device and the smart home network may also be a remote connection, that is, step S110 includes step S112:
step S112: and establishing network connection with the intelligent home network through the cloud.
Correspondingly, step S140 includes step S142:
step S142: and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the cloud.
The terminal device may be remotely connected to the smart home network, that is, the terminal device is connected to the smart home network through a public network, and a cloud exists in a specific connection process, so that authentication of the terminal device is realized, data of the terminal device is forwarded to the main network, and the like. Correspondingly, the transparent transmission instruction packet sent by the terminal device needs to be sent to the cloud end firstly, then the cloud end sends the main gateway, and after the main gateway identifies the transparent transmission identifier of the transparent transmission instruction packet, the transparent transmission instruction packet is not analyzed, and the transparent transmission instruction packet is directly sent to the corresponding slave gateway.
When gateway configuration is specifically implemented, if the configuration target is the primary gateway, the configuration is completed through step S150:
step S150: and when the type of the target gateway is the main gateway, encoding the gateway configuration instruction into a native instruction packet and sending the native instruction packet so that the main gateway receives and analyzes the native instruction packet to complete configuration.
If the type of the target gateway corresponding to the gateway configuration instruction is the main gateway, the gateway configuration instruction needs the main gateway to directly analyze and respond, the gateway configuration instruction is coded into a native instruction packet to be sent, and the main gateway directly analyzes the received native instruction packet and completes corresponding configuration.
In summary, by establishing network connection with the smart home network, the gateway types in the smart home network include a master gateway and a slave gateway; receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring the master gateway or the slave gateway; confirming the target gateway type of a configuration target corresponding to the gateway configuration instruction; and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to a configuration target according to the subject information of the transparent transmission instruction packet. The data sent to the slave gateways are sent in a transparent transmission mode, the master gateway confirms whether the transparent transmission instruction packet is directly sent to the corresponding slave gateways according to the theme information of the data, the coding and decoding processes of the data are reduced, the data processing amount of the master gateway is reduced, the data transmission efficiency of the whole home network is guaranteed, and the normal operation of the whole home network is maintained.
Fig. 3 is a schematic structural diagram of an intelligent home gateway configuration device according to an embodiment of the present application. Referring to fig. 3, the intelligent home gateway configuration apparatus provided in this embodiment includes: a network connection unit 310, an instruction receiving unit 320, a type confirmation unit 330, and an instruction encoding unit 340. Wherein:
the network connection unit 310 is configured to establish network connection with an intelligent home network, where the gateway types in the intelligent home network include a master gateway and a slave gateway; an instruction receiving unit 320, configured to receive a gateway configuration instruction, where the gateway configuration instruction is used to configure the master gateway or the slave gateway; a type confirmation unit 330, configured to confirm a target gateway type of a configuration target corresponding to the gateway configuration instruction; and the instruction encoding unit 340 is configured to encode the gateway configuration instruction into a pass-through instruction packet and send the pass-through instruction packet when the target gateway is of the slave gateway type, so that the master gateway sends the subject information of the pass-through instruction packet to a configuration target.
On the basis of the above embodiment, the subject information includes a transparent transmission instruction packet identifier and a configuration target address; and the master gateway sends the transparent transmission instruction packet to a configuration target address based on the transparent transmission instruction packet identifier.
On the basis of the above embodiment, the network connection unit 310 includes:
the first connection module is used for locally establishing TCP connection with a main gateway in the intelligent home network;
correspondingly, the instruction encoding unit 340 includes:
and the first coding module is used for coding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the main gateway when the target gateway is the slave gateway.
On the basis of the above embodiment, the network connection unit 310 includes:
the second connection module is used for remotely establishing network connection with the intelligent home network through the cloud end;
correspondingly, the instruction encoding unit 340 includes:
and the second connection module is used for coding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the cloud when the type of the target gateway is the slave gateway.
On the basis of the above embodiment, the apparatus further includes:
and the second coding unit is used for coding the gateway configuration instruction into a native instruction packet and sending the native instruction packet when the type of the target gateway is the main gateway, so that the main gateway receives and analyzes the native instruction packet to complete configuration.
On the basis of the above embodiment, the gateway configuration instruction is used to configure the network connection state of the gateway or the associated smart home device.
On the basis of the above embodiment, the data packet corresponding to the smart home device associated with the slave gateway is encoded in the transparent transmission instruction packet.
To sum up, the above units in the home gateway cooperate to establish network connection with the smart home network, and the gateway types in the smart home network include a master gateway and a slave gateway; receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring the master gateway or the slave gateway; confirming the target gateway type of a configuration target corresponding to the gateway configuration instruction; and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to a configuration target according to the subject information of the transparent transmission instruction packet. The data sent to the slave gateways are sent in a transparent transmission mode, the master gateway confirms whether the transparent transmission instruction packet is directly sent to the corresponding slave gateways according to the theme information of the data, the coding and decoding processes of the data are reduced, the data processing amount of the master gateway is reduced, the data transmission efficiency of the whole home network is guaranteed, and the normal operation of the whole home network is maintained.
The embodiment of the application also provides a terminal device, and the terminal device can be integrated with the intelligent home gateway configuration method provided by the embodiment of the application. Fig. 4 is a schematic structural diagram of the terminal device provided in the present embodiment. Referring to fig. 4, the terminal device includes: a processor 410, a memory 420, an input device 430, an output device 440, and a communication module 450. The number of the processors 410 in the device may be one or more, and one processor 410 is taken as an example in fig. 4. The number of the memory 420 in the device may be one or more, and one memory 420 is taken as an example in fig. 4. The processor 410, the memory 420, the input device 430, the output device 440, and the communication module 450 of the apparatus may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example.
The memory 420 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the intelligent home gateway configuration method according to any embodiment of the present application (for example, the network connection unit 310, the instruction receiving unit 320, the type confirmation unit 330, and the instruction encoding unit 340 in the intelligent home gateway configuration apparatus). The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 450 is mainly used for communicating with other terminal devices in the control system through a wired network or a wireless network.
The input device 430 may be used to receive input numeric or character information or operation commands, and in this embodiment, includes an operation module for performing manual control by a user and an audio acquisition module for performing sound acquisition, among others. The output device 440 may include a speaker, a display screen, and the like. It should be noted that the specific components of the input device 430 and the output device 440 may be set according to actual situations, for example, the input device is respectively configured as a keyboard and a display screen, or the input device and the display device are integrally configured as a touch display screen. It will be appreciated that in practice the device will have other conventional components required for proper functioning, such as a power supply module, etc.
The processor 410 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 420, that is, the smart home gateway configuration method is implemented.
The terminal device provided by the embodiment can be used for executing the intelligent home gateway configuration method provided by the embodiment, and has corresponding functions and beneficial effects.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the intelligent home gateway configuration method as described above.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the communication method described above, and may also perform related operations in the communication method provided in any embodiments of the present application.
The intelligent home gateway configuration apparatus, the terminal device, and the storage medium of the intelligent home provided in the foregoing embodiments may execute the intelligent home gateway configuration method provided in any embodiment of the present application, and refer to the intelligent home gateway configuration method provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. A method for configuring an intelligent home gateway is characterized by comprising the following steps:
establishing network connection with an intelligent home network, wherein the gateway types in the intelligent home network comprise a master gateway and a slave gateway;
receiving a gateway configuration instruction, wherein the gateway configuration instruction is used for configuring the master gateway or the slave gateway;
confirming the target gateway type of a configuration target corresponding to the gateway configuration instruction;
and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet so that the master gateway sends the transparent transmission instruction packet to a configuration target according to the subject information of the transparent transmission instruction packet.
2. The method of claim 1, wherein the subject information includes passthrough instruction packet identification and configuration target address; and the master gateway sends the transparent transmission instruction packet to a configuration target address based on the transparent transmission instruction packet identifier.
3. The method according to claim 1, wherein the establishing a network connection with a smart home network comprises:
locally establishing TCP connection with a main gateway in the intelligent home network;
correspondingly, when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet, including:
and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the master gateway.
4. The method according to claim 1, wherein the establishing a network connection with a smart home network comprises:
establishing network connection with an intelligent home network remotely through a cloud end;
correspondingly, when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet, including:
and when the type of the target gateway is the slave gateway, encoding the gateway configuration instruction into a transparent transmission instruction packet and sending the transparent transmission instruction packet to the cloud.
5. The method of claim 1, further comprising:
and when the type of the target gateway is the main gateway, encoding the gateway configuration instruction into a native instruction packet and sending the native instruction packet so that the main gateway receives and analyzes the native instruction packet to complete configuration.
6. The method according to claim 1, wherein the gateway configuration instructions are used to configure a network connection status of a gateway or associated smart home devices.
7. The method according to claim 1, wherein the data packet corresponding to the smart home device associated with the slave gateway is encoded in a transparent transmission instruction packet.
8. The utility model provides an intelligence house gateway configuration device which characterized in that includes:
the network connection unit is used for establishing network connection with an intelligent home network, and the gateway types in the intelligent home network comprise a master gateway and a slave gateway;
the gateway configuration unit is used for configuring the master gateway or the slave gateway;
the type confirmation unit is used for confirming the target gateway type of the configuration target corresponding to the gateway configuration instruction;
and the command coding unit is used for coding the gateway configuration command into a transparent transmission command packet and sending the transparent transmission command packet when the type of the target gateway is the slave gateway, so that the master gateway sends the configuration target according to the subject information of the transparent transmission command packet.
9. A terminal device, comprising:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the terminal device is enabled to implement the intelligent home gateway configuration method according to any one of claims 1 to 7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the intelligent home gateway configuration method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111432716.5A CN114338256B (en) | 2021-11-29 | 2021-11-29 | Intelligent home gateway configuration method, device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111432716.5A CN114338256B (en) | 2021-11-29 | 2021-11-29 | Intelligent home gateway configuration method, device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114338256A true CN114338256A (en) | 2022-04-12 |
CN114338256B CN114338256B (en) | 2023-10-03 |
Family
ID=81046609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111432716.5A Active CN114338256B (en) | 2021-11-29 | 2021-11-29 | Intelligent home gateway configuration method, device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114338256B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599344A (en) * | 2003-09-15 | 2005-03-23 | 电视电声研究所 | Architecture structure and realizing method of home network system |
US20060198394A1 (en) * | 2005-03-01 | 2006-09-07 | Fujitsu Limited | Network system and gateway device |
CN101119164A (en) * | 2007-09-13 | 2008-02-06 | 中兴通讯股份有限公司 | Embedded control channel based data communication channel transmitting method and apparatus |
CN104811375A (en) * | 2015-05-08 | 2015-07-29 | 三星电子(中国)研发中心 | Smart home gateway and networking method thereof |
CN104993990A (en) * | 2015-07-12 | 2015-10-21 | 佛山博朗德技术有限公司 | Multi-gateway technology of intelligent housing system |
CN105446305A (en) * | 2015-12-30 | 2016-03-30 | 深圳众乐智府科技有限公司 | Intelligent household gateway network configuration method and intelligent household system |
US20180123891A1 (en) * | 2015-04-07 | 2018-05-03 | Huawei Technologies Co., Ltd. | Method and apparatus for automatic networking of gateway device |
CN108491222A (en) * | 2018-03-27 | 2018-09-04 | 青岛海信智慧家居***股份有限公司 | Gateway device upgrade method, device, gateway device and storage medium |
CN109274561A (en) * | 2018-09-27 | 2019-01-25 | 青岛海信智慧家居***股份有限公司 | A kind of method and apparatus that gateway role determines |
CN109495572A (en) * | 2018-11-22 | 2019-03-19 | 深圳市信锐网科技术有限公司 | A kind of Internet of things system and its network communication method, device and storage medium |
CN109788034A (en) * | 2018-12-18 | 2019-05-21 | 珠海派诺科技股份有限公司 | For the configuration method of gateway access equipment, electronic equipment and storage medium |
CN112399455A (en) * | 2019-08-16 | 2021-02-23 | 武汉所为科技有限公司 | Lora gateway control method and Lora communication system |
US20210058293A1 (en) * | 2019-08-20 | 2021-02-25 | Hughes Network Systems, Llc | Gateway diversity switching |
CN112714051A (en) * | 2020-12-30 | 2021-04-27 | 深圳市艾特智能科技有限公司 | Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system |
CN113055253A (en) * | 2019-12-27 | 2021-06-29 | 中兴通讯股份有限公司 | Method, device, equipment and storage medium for rapidly opening home gateway |
-
2021
- 2021-11-29 CN CN202111432716.5A patent/CN114338256B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599344A (en) * | 2003-09-15 | 2005-03-23 | 电视电声研究所 | Architecture structure and realizing method of home network system |
US20060198394A1 (en) * | 2005-03-01 | 2006-09-07 | Fujitsu Limited | Network system and gateway device |
CN101119164A (en) * | 2007-09-13 | 2008-02-06 | 中兴通讯股份有限公司 | Embedded control channel based data communication channel transmitting method and apparatus |
US20180123891A1 (en) * | 2015-04-07 | 2018-05-03 | Huawei Technologies Co., Ltd. | Method and apparatus for automatic networking of gateway device |
CN104811375A (en) * | 2015-05-08 | 2015-07-29 | 三星电子(中国)研发中心 | Smart home gateway and networking method thereof |
CN104993990A (en) * | 2015-07-12 | 2015-10-21 | 佛山博朗德技术有限公司 | Multi-gateway technology of intelligent housing system |
CN105446305A (en) * | 2015-12-30 | 2016-03-30 | 深圳众乐智府科技有限公司 | Intelligent household gateway network configuration method and intelligent household system |
CN108491222A (en) * | 2018-03-27 | 2018-09-04 | 青岛海信智慧家居***股份有限公司 | Gateway device upgrade method, device, gateway device and storage medium |
CN109274561A (en) * | 2018-09-27 | 2019-01-25 | 青岛海信智慧家居***股份有限公司 | A kind of method and apparatus that gateway role determines |
CN109495572A (en) * | 2018-11-22 | 2019-03-19 | 深圳市信锐网科技术有限公司 | A kind of Internet of things system and its network communication method, device and storage medium |
CN109788034A (en) * | 2018-12-18 | 2019-05-21 | 珠海派诺科技股份有限公司 | For the configuration method of gateway access equipment, electronic equipment and storage medium |
CN112399455A (en) * | 2019-08-16 | 2021-02-23 | 武汉所为科技有限公司 | Lora gateway control method and Lora communication system |
US20210058293A1 (en) * | 2019-08-20 | 2021-02-25 | Hughes Network Systems, Llc | Gateway diversity switching |
CN113055253A (en) * | 2019-12-27 | 2021-06-29 | 中兴通讯股份有限公司 | Method, device, equipment and storage medium for rapidly opening home gateway |
CN112714051A (en) * | 2020-12-30 | 2021-04-27 | 深圳市艾特智能科技有限公司 | Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system |
Also Published As
Publication number | Publication date |
---|---|
CN114338256B (en) | 2023-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471686B (en) | Terminal control method, device and system | |
CN109639692B (en) | Offline login method, device, equipment, system and storage medium | |
CN103430492B (en) | Order and the proxy device operation controlled in network | |
CN107276864A (en) | The method of intelligent sound equipment control household electrical appliances, apparatus and system | |
CN113572799B (en) | Method and device for accessing equipment to control platform and server | |
EP3007385B1 (en) | Terminal peripheral control method, m2m gateway, and communications system | |
CN110531630A (en) | A kind of method and device controlling controlled device | |
WO2020168568A1 (en) | Data processing method and apparatus, electronic device and readable storage medium | |
CN110519366A (en) | A kind of method and device for replacing gateway | |
CN110824948A (en) | Intelligent household control method and device based on IOT virtual service | |
CN112153090A (en) | Control method and device of Internet of things equipment, gateway and readable storage medium | |
CN111756625A (en) | Method, device and system for transferring function to service based on central gateway, electronic equipment and storage medium | |
CN113572669A (en) | Scene processing method and device, intelligent gateway and processor | |
CN112887356A (en) | System for sharing memory data distribution service and operation method thereof | |
CN110045705B (en) | Intelligent home control method, device and system adopting heterogeneous wireless network | |
CN104954449A (en) | IoT (internet of things) control method and apparatus | |
US20240064385A1 (en) | Systems & methods for smart content streaming | |
CN113329042B (en) | Message processing method and system, internet of vehicles system, server and electronic equipment | |
CN114338256B (en) | Intelligent home gateway configuration method, device, terminal equipment and storage medium | |
CN116827723A (en) | Gateway system, gateway equipment and Internet of things system | |
CN114301628A (en) | Smart home equipment authentication method, device, equipment, system and storage medium | |
CN114500136B (en) | Smart home networking method, system, equipment and storage medium | |
CN113839958B (en) | Communication encryption method, device, control system and storage medium for smart home | |
CN114114940A (en) | Interaction method and system for vehicle and intelligent equipment | |
EP3657732A1 (en) | Electronic device control system for controlling electronic device, and method for controlling electronic 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 |