CN111245714A - Access method and device of home gateway module, storage medium and electronic device - Google Patents
Access method and device of home gateway module, storage medium and electronic device Download PDFInfo
- Publication number
- CN111245714A CN111245714A CN202010246518.9A CN202010246518A CN111245714A CN 111245714 A CN111245714 A CN 111245714A CN 202010246518 A CN202010246518 A CN 202010246518A CN 111245714 A CN111245714 A CN 111245714A
- Authority
- CN
- China
- Prior art keywords
- home gateway
- gateway module
- intelligent
- intelligent device
- smart 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an access method and device of a home gateway module, a storage medium and an electronic device. The method comprises the following steps: determining at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is configured with a home gateway module, and the home gateway module is used for connecting the at least one second intelligent device to a wide area network; selecting a target home gateway module from at least one first intelligent device and selecting a target intelligent device from at least one second intelligent device, and performing pairing operation; and sending the network configuration information of the target home gateway module to the target intelligent equipment so that the target intelligent equipment is accessed to the home gateway module. The invention solves the technical problems that the hardware cost is higher and the network coverage range is limited because the independent gateway is configured in the home local area network to provide the network connection for the intelligent equipment in the related technology.
Description
Technical Field
The invention relates to the field of communication, in particular to an access method and device of a home gateway module, a storage medium and an electronic device.
Background
A gateway, also commonly referred to as an internetwork connector or protocol converter. The gateway realizes network interconnection above a network layer, belongs to complex network interconnection equipment and is used for interconnection of two networks with different high-level protocols. The gateway can be used for interconnection of both wide area networks and local area networks.
Currently, gateways provided in the related art generally exist in a stand-alone form. These gateways often have a protocol forwarding function, and in addition, some gateways also have a voice recognition function. In a normal case, a gateway can be independently set in each home. The user needs to pay for the gateway product separately. However, when the used area in the home is large, the signal transmitted by the gateway may not cover all the smart devices in the home.
Fig. 1 is a schematic diagram of a layout of a gateway and a smart device in a home according to the related art, as shown in fig. 1, two independent rooms (i.e., a room 1 and a room 2) are provided in the home. The smart device 1, the smart device 2 and the gateway are distributed in the room 1. Smart device 3 and smart device 4 are distributed in room 2. In the signal coverage range of the gateway, the network signals received by the intelligent device 1 and the intelligent device 2 are strong, and the network signals received by the intelligent device 3 are weak. In addition, the intelligent device 4 may exceed the signal coverage of the gateway, and thus cannot normally transmit network signals.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide an access method, an access device, a storage medium, and an electronic device for a home gateway module, so as to at least solve the technical problems that a separate gateway is configured in a home lan to provide network connection for an intelligent device, the hardware cost is high, and the network coverage is limited in the related art.
According to an embodiment of the present invention, an access method for a home gateway module is provided, including:
determining at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is configured with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services; selecting a target home gateway module from at least one first intelligent device and selecting a target intelligent device from at least one second intelligent device, and performing pairing operation; and sending the network configuration information of the target home gateway module to the target intelligent equipment so that the target intelligent equipment is accessed to the home gateway module.
Optionally, determining at least one first smart device comprises: configuring a mobile terminal as an access point, configuring at least one first intelligent device in the coverage range of the access point as a workstation, and entering an access point distribution network mode; receiving a first network message from at least one first intelligent device in an access point distribution network mode, wherein the information carried in the network message comprises: the method comprises the steps that first equipment identification information of each first intelligent equipment in at least one first intelligent equipment and network configuration information of a home gateway module configured on each first intelligent equipment are obtained; at least one first smart device is determined based on the first network message.
Optionally, determining at least one second smart device comprises: configuring the mobile terminal as an access point, configuring at least one second intelligent device in the coverage range of the access point as a workstation, and entering an access point distribution network mode; receiving a second network message from at least one second intelligent device in the access point distribution network mode, wherein the information carried in the second network message comprises: second device identification information of each of the at least one second smart device; at least one second smart device is determined based on the second network message.
Optionally, selecting a target home gateway module from the at least one first smart device and selecting a target smart device from the at least one second smart device, and performing pairing operation includes: determining first position information of a home gateway module configured on each first intelligent device based on first device identification information of each first intelligent device in at least one first intelligent device, and determining signal strength of the home gateway module configured on each first intelligent device based on the first position information; determining second location information of each second smart device based on the second device identification information of each second smart device of the at least one second smart device; and selecting the target home gateway module and the target intelligent equipment by adopting the first position information, the second position information and the signal intensity, and carrying out pairing operation.
Optionally, after determining the at least one first smart device and the at least one second smart device, the method further includes: acquiring the position change of the mobile terminal; and updating at least one first intelligent device and at least one second intelligent device based on the position change, and reselecting the target home gateway module and the target intelligent device.
According to an embodiment of the present invention, there is also provided an access device for a home gateway module, including:
the system comprises a determining module, a judging module and a processing module, wherein the determining module is used for determining at least one first intelligent device and at least one second intelligent device, each first intelligent device in the at least one first intelligent device is provided with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services; the pairing module is used for selecting a target home gateway module from at least one first intelligent device and selecting a target intelligent device from at least one second intelligent device to perform pairing operation; and the access module is used for sending the network configuration information of the target home gateway module to the target intelligent equipment so as to enable the target intelligent equipment to be accessed into the home gateway module.
Optionally, the determining module includes: the first configuration unit is used for configuring the mobile terminal as an access point, configuring at least one first intelligent device in the coverage range of the access point as a workstation and entering an access point distribution network mode; a first receiving unit, configured to receive, in an access point distribution network mode, a first network message from at least one first smart device, where information carried in the network message includes: the method comprises the steps that first equipment identification information of each first intelligent equipment in at least one first intelligent equipment and network configuration information of a home gateway module configured on each first intelligent equipment are obtained; a first determining unit for determining at least one first smart device based on the first network message.
Optionally, the determining module includes: the second configuration unit is used for configuring the mobile terminal into an access point, configuring at least one second intelligent device in the coverage range of the access point into a workstation and entering an access point distribution network mode; a second receiving unit, configured to receive, in an access point distribution network mode, a second network message from at least one second smart device, where information carried in the second network message includes: second device identification information of each of the at least one second smart device; a second determining unit for determining at least one second smart device based on the second network message.
Optionally, the pairing module comprises: the third determining unit is used for determining first position information of the home gateway module configured on each first intelligent device based on the first device identification information of each first intelligent device in the at least one first intelligent device, and determining the signal strength of the home gateway module configured on each first intelligent device based on the first position information; a fourth determining unit, configured to determine second location information of each second smart device based on the second device identification information of each second smart device in the at least one second smart device; and the pairing unit is used for selecting the target home gateway module and the target intelligent equipment by adopting the first position information, the second position information and the signal intensity to perform pairing operation.
Optionally, the apparatus further comprises: the acquisition module is used for acquiring the position change of the mobile terminal; and the updating module is used for updating at least one first intelligent device and at least one second intelligent device based on the position change and reselecting the target home gateway module and the target intelligent device.
According to an embodiment of the present invention, there is further provided a storage medium, in which a computer program is stored, where the computer program is configured to execute the access method of the home gateway module when running.
According to an embodiment of the present invention, there is further provided a processor, configured to execute a program, where the program is configured to execute the access method of the home gateway module when running.
According to an embodiment of the present invention, there is also provided an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute the access method of the home gateway module.
According to an embodiment of the present invention, there is also provided an access system for a home gateway module, including: the mobile terminal comprises the electronic device, and the home gateway module is configured on each first intelligent device in the at least one first intelligent device and used for connecting the at least one second intelligent device to a wide area network.
In at least some embodiments of the present invention, a home gateway module configured to connect at least one second smart device to a wide area network is determined for each of at least one first smart device and at least one second smart device, where the at least one first smart device and the at least one second smart device are configured to provide different types of initial services, and the initial services are independent of the network connection services, and the target smart device is selected from the at least one first smart device and the at least one second smart device to perform pairing operation, and network configuration information of the target home gateway module is sent to the target smart device, so that the target smart device accesses the home gateway module, thereby achieving the purpose of generalizing an individual home gateway configured in a home area network into a home gateway module configured on the smart device, therefore, the technical effects of reducing hardware cost and improving network coverage are achieved, and the technical problems that network connection is provided for the intelligent equipment by configuring the independent gateway in the home local area network, hardware cost is high, and network coverage is limited in the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an in-home gateway and smart device layout according to the related art;
fig. 2 is a schematic deployment diagram of an access system of a home gateway module according to an embodiment of the present invention;
fig. 3 is a flowchart of an access method of a home gateway module according to an embodiment of the present invention;
fig. 4 is a block diagram of an access device of a home gateway module according to an embodiment of the present invention;
fig. 5 is a block diagram of an access device of a home gateway module according to an alternative embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with one embodiment of the present invention, there is provided an embodiment of an access method of a home gateway module, where the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown or described herein.
The method embodiments may be performed in a mobile terminal or similar computing device. Taking the example of the Mobile terminal running on the Mobile terminal, the Mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 2 is a schematic deployment diagram of an access system of a home gateway module according to an embodiment of the present invention. As shown in fig. 2, the access system of the home gateway module includes: the system comprises a mobile terminal, at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is provided with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network (such as the Internet), the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services. In an optional embodiment, the first smart device and the second smart device are both smart home devices (e.g., smart air conditioners, smart sockets, and smart lamps). The gateway generalization refers to embedding a module with a gateway function into any intelligent device capable of supplying power frequently, so that the intelligent devices have a new gateway function on the basis of the original function. For example: the initial service that intelligent air conditioner provided is for refrigerating or heating the service, through with the embedding of home gateway module to intelligent air conditioner in, this intelligent air conditioner will be on the basis of original function newly-increased gateway function. For another example: the initial service that intelligent lamps and lanterns provided is lighting service, through with the embedding of home gateway module to intelligent lamps and lanterns, this intelligent lamps and lanterns will be on the basis of original function newly-increased gateway function. Whereby the user does not need to purchase a gateway separately and the network signals of multiple gateways can provide greater coverage.
It should be noted that, the home gateway module may be inserted into the smart device through a peripheral interface of the smart device, or may be pre-embedded into the smart device during a production process of the smart device.
The mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be configured to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the access method of the home gateway module in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the access method of the home gateway module. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
In this embodiment, an access method of a home gateway module operating in the mobile terminal is provided, and fig. 3 is a flowchart of an access method of a home gateway module according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S302, determining at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is configured with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services;
step S304, selecting a target home gateway module from at least one first intelligent device and selecting a target intelligent device from at least one second intelligent device, and performing pairing operation;
and step S306, sending the network configuration information of the target home gateway module to the target intelligent equipment so that the target intelligent equipment is accessed to the home gateway module.
Through the steps, a home gateway module configured for each first smart device in the at least one first smart device is determined, the home gateway module is used for connecting the at least one second smart device to a wide area network, the at least one first smart device and the at least one second smart device are used for providing different types of initial services, and the initial services are independent of the network connection services, by selecting a target home gateway module from the at least one first smart device and selecting a target smart device from the at least one second smart device for pairing operation, and sending network configuration information of the target home gateway module to the target smart device, so that the target smart device can access the home gateway module, and the purpose of generalizing an individual home gateway configured in the home area network into a home gateway module configured on the smart device can be achieved, therefore, the technical effects of reducing hardware cost and improving network coverage are achieved, and the technical problems that network connection is provided for the intelligent equipment by configuring the independent gateway in the home local area network, hardware cost is high, and network coverage is limited in the related technology are solved.
The first intelligent device and the second intelligent device are both intelligent household devices (such as an intelligent air conditioner, an intelligent socket and an intelligent lamp). Through adopting the gateway mode of generalizing, the module that will possess the home gateway function is embedded into the smart machine of any power supply often to make these smart machine newly-increased home gateway function on original function's basis. For example: the initial service that intelligent air conditioner provided is for refrigerating or heating the service, through with the embedding of home gateway module to intelligent air conditioner in, this intelligent air conditioner will be on the basis of original function newly-increased gateway function. For another example: the initial service that intelligent lamps and lanterns provided is lighting service, through with the embedding of home gateway module to intelligent lamps and lanterns, this intelligent lamps and lanterns will be on the basis of original function newly-increased gateway function. Whereby the user does not need to purchase a gateway separately and the network signals of multiple gateways can provide greater coverage.
In an optional embodiment, the home gateway module may be inserted into the smart device through a peripheral interface of the first smart device, for example: configuring the home gateway module into a plug-and-play external component in a manner similar to a Universal Serial Bus (USB) interface; above-mentioned home gateway module also can be in first smart machine production process, with the home gateway module embedded into smart machine in advance, for example: and packaging the home gateway module into the intelligent equipment in a manner similar to a network card.
All the intelligent devices in the home local area network can be divided into devices with a home gateway function and devices without the home gateway function based on whether the first intelligent device and the second intelligent device are configured with a home gateway module or not for grouping. Therefore, the target home gateway module on one intelligent device can be selected from the at least one first intelligent device, the target intelligent device can be selected from the at least one second intelligent device, pairing operation is carried out, and the device without the home gateway function is assisted to execute the distribution network process.
The network configuration information may include, but is not limited to: a service set identification and a password.
Optionally, in step S302, determining at least one first smart device may include performing the steps of:
step S3021, configuring the mobile terminal as an access point, configuring at least one first intelligent device in a coverage area of the access point as a workstation, and entering an access point distribution network mode;
step S3022, in the access point distribution network mode, receiving a first network message from at least one first smart device, where information carried in the network message includes: the method comprises the steps that first equipment identification information of each first intelligent equipment in at least one first intelligent equipment and network configuration information of a home gateway module configured on each first intelligent equipment are obtained;
step S3023, determining at least one first smart device based on the first network message.
The method comprises the steps that the mobile terminal is configured to be an Access Point (AP) and at least one first intelligent device in the coverage area of the access point is configured to be a work STATION (STATION), so that in the access point distribution network mode, the mobile terminal receives a first network message from the at least one first intelligent device. The information carried in the first network message may include, but is not limited to: the first device identification information (such as a device identification code) of each first intelligent device in the at least one first intelligent device and the network configuration information (such as a service set identification and a password) of the home gateway module configured on each first intelligent device. Therefore, the mobile terminal can establish a mapping relationship between each first intelligent device and the home gateway module configured by the first intelligent device, and can determine all the first intelligent devices according to the network configuration information of the home gateway module configured by the first intelligent device carried by the first network message.
Optionally, in step S302, determining at least one second smart device may include performing the steps of:
step S3024, configuring the mobile terminal as an access point, configuring at least one second intelligent device in the coverage area of the access point as a workstation, and entering an access point distribution network mode;
step S3025, in the access point distribution network mode, receiving a second network message from at least one second smart device, where information carried in the second network message includes: second device identification information of each of the at least one second smart device;
step S3026, determining at least one second smart device based on the second network message.
And configuring the mobile terminal as the AP and configuring at least one second intelligent device in the coverage area of the access point as the STATION so that the mobile terminal receives a second network message from the at least one second intelligent device in the access point network distribution mode. The information carried in the second network message may include, but is not limited to: second device identification information (e.g., a device identification code) for each of the at least one second smart device. Therefore, the mobile terminal can determine all the second intelligent devices according to the fact that the second network message does not carry the network configuration information of the home gateway module.
Optionally, in step S304, selecting a target home gateway module from the at least one first smart device and selecting a target smart device from the at least one second smart device, and performing pairing operation may include the following steps:
step S3041, determining, based on the first device identification information of each first smart device in the at least one first smart device, first location information of the home gateway module configured on each first smart device, and determining, based on the first location information, signal strength of the home gateway module configured on each first smart device;
step S3042, determining second location information of each second smart device based on the second device identification information of each second smart device in the at least one second smart device;
step S3043, selecting the target home gateway module and the target intelligent device by using the first location information, the second location information, and the signal strength, and performing pairing operation.
In the process of network distribution of the mobile terminal, a first application interface can be displayed on a graphical user interface of the mobile terminal, and the first application interface is used for presenting a mapping relationship list established between each first intelligent device and a home gateway module configured by the first intelligent device (for example, the mapping relationship list between the device identification code and the home gateway module identification configured by the device identification code). Accordingly, first location information of each first smart device within the home may be located using the device identification code of the first smart device. Meanwhile, whether the actual distance between the first intelligent equipment and the mobile terminal and the signal transmission between the first intelligent equipment and the mobile terminal are shielded or not is determined based on the first position information of each first intelligent equipment in the family and the current position of the mobile terminal, so that the signal strength of the home gateway module configured on each first intelligent equipment is further determined. Similarly, the second location information of each second smart device within the household may be located using the device identification code of the second smart device.
Therefore, based on the first position information of each first intelligent device in the family, the second position information of each second intelligent device in the family and the signal strength of the home gateway module configured on each first intelligent device, the target home gateway module is selected for the target intelligent device to perform pairing operation. For example: and selecting a target home gateway module with a short distance and a strong signal for the target intelligent equipment.
It should be noted that the pairing operation may be completed by the mobile terminal in response to a touch operation performed by a user in the distribution network application interface, or may be autonomously determined by the mobile terminal without user involvement.
Optionally, after determining at least one first smart device and at least one second smart device in step S302, the following steps may be further performed:
step S307, acquiring the position change of the mobile terminal;
and step S308, updating at least one first intelligent device and at least one second intelligent device based on the position change, and reselecting the target home gateway module and the target intelligent device.
And target home gateway modules which are matched with each other can be set for target intelligence in different rooms through the mobile terminal. Still taking fig. 2 as an example, in room 1, the first smart device and the second smart device in the room may be preferentially paired, and the smart devices in room 2 may not be within the coverage of the AP of the mobile terminal, so that the mobile terminal selects the home gateway module configured on the first smart device in room 1 as the target home gateway module and selects the second smart device in room 1 as the target smart device. If the current location of the mobile terminal moves from room 1 to room 2, then within room 2, pairing operations may be preferentially performed on the first and second smart devices within that room, while the smart devices within room 1 may not be within AP coverage of the mobile terminal, i.e., the mobile terminal needs to update at least one first smart device and at least one second smart device based on the location change. Therefore, the mobile terminal selects the home gateway module configured on the first smart device in the room 2 as the target home gateway module and selects the second smart device in the room 2 as the target smart device.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an access device for a home gateway module is further provided, where the access device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of an access apparatus of a home gateway module according to an embodiment of the present invention, and as shown in fig. 4, the access apparatus includes: a determining module 10, configured to determine at least one first smart device and at least one second smart device, where each first smart device in the at least one first smart device is configured with a home gateway module, the home gateway module is configured to connect the at least one second smart device to a wide area network, the at least one first smart device and the at least one second smart device are configured to provide different types of initial services, and the initial services are independent of network connection services; the pairing module 20 is configured to select a target home gateway module from the at least one first intelligent device and select a target intelligent device from the at least one second intelligent device, and perform pairing operation; and the access module 30 is configured to send the network configuration information of the target home gateway module to the target intelligent device, so that the target intelligent device is accessed to the home gateway module.
Optionally, the determining module 10 includes: a first configuration unit (not shown in the figure) for configuring the mobile terminal as an access point and configuring at least one first intelligent device in the coverage area of the access point as a workstation, and entering an access point distribution network mode; a first receiving unit (not shown in the figure), configured to receive a first network message from at least one first smart device in the access point distribution network mode, where information carried in the network message includes: the method comprises the steps that first equipment identification information of each first intelligent equipment in at least one first intelligent equipment and network configuration information of a home gateway module configured on each first intelligent equipment are obtained; a first determining unit (not shown in the figure) for determining at least one first smart device based on the first network message.
Optionally, the determining module 10 includes: a second configuration unit (not shown in the figure) configured to configure the mobile terminal as an access point and configure at least one second smart device within the coverage area of the access point as a workstation, and enter an access point distribution network mode; a second receiving unit (not shown in the figure), configured to receive a second network message from at least one second smart device in the access point distribution network mode, where information carried in the second network message includes: second device identification information of each of the at least one second smart device; a second determining unit (not shown in the figure) for determining at least one second smart device based on the second network message.
Optionally, the pairing module 20 comprises: a third determining unit (not shown in the figure), configured to determine first location information of the home gateway module configured on each first smart device based on the first device identification information of each first smart device in the at least one first smart device, and determine the signal strength of the home gateway module configured on each first smart device based on the first location information; a fourth determining unit (not shown in the figure) configured to determine second location information of each of the at least one second smart device based on the second device identification information of each of the at least one second smart device; and the pairing unit (not shown in the figure) is used for selecting the target home gateway module and the target intelligent equipment by adopting the first position information, the second position information and the signal intensity to perform pairing operation.
Optionally, fig. 5 is a block diagram of an access apparatus of a home gateway module according to an optional embodiment of the present invention, and as shown in fig. 5, the apparatus includes, in addition to all modules shown in fig. 4: an obtaining module 40, configured to obtain a location change of the mobile terminal; and the updating module 50 is configured to update at least one first intelligent device and at least one second intelligent device based on the location change, and reselect the target home gateway module and the target intelligent device.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is configured with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services;
s2, selecting a target home gateway module from at least one first intelligent device and selecting a target intelligent device from at least one second intelligent device, and performing pairing operation;
and S3, sending the network configuration information of the target home gateway module to the target intelligent device so that the target intelligent device can access the home gateway module.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is configured with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services;
s2, selecting a target home gateway module from at least one first intelligent device and selecting a target intelligent device from at least one second intelligent device, and performing pairing operation;
and S3, sending the network configuration information of the target home gateway module to the target intelligent device so that the target intelligent device can access the home gateway module.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (14)
1. An access method of a home gateway module is characterized by comprising the following steps:
determining at least one first intelligent device and at least one second intelligent device, wherein each first intelligent device in the at least one first intelligent device is configured with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services;
selecting a target home gateway module from the at least one first intelligent device and selecting a target intelligent device from the at least one second intelligent device, and performing pairing operation;
and sending the network configuration information of the target home gateway module to the target intelligent equipment so as to enable the target intelligent equipment to be accessed into the home gateway module.
2. The method of claim 1, wherein determining the at least one first smart device comprises:
configuring the mobile terminal as an access point, configuring the at least one first intelligent device in the coverage range of the access point as a workstation, and entering an access point distribution network mode;
receiving a first network message from the at least one first intelligent device in the access point distribution network mode, wherein information carried in the network message includes: the first device identification information of each first intelligent device in the at least one first intelligent device and the network configuration information of the home gateway module configured on each first intelligent device;
determining the at least one first smart device based on the first network message.
3. The method of claim 1, wherein determining the at least one second smart device comprises:
configuring the mobile terminal as an access point and configuring the at least one second intelligent device within the coverage range of the access point as a workstation, and entering an access point distribution network mode;
receiving a second network message from the at least one second smart device in the access point distribution network mode, wherein information carried in the second network message includes: second device identification information of each of the at least one second smart device;
determining the at least one second smart device based on the second network message.
4. The method of claim 1, wherein selecting the target home gateway module from the at least one first smart device and selecting the target smart device from the at least one second smart device, and wherein performing pairing comprises:
determining first location information of a home gateway module configured on each first intelligent device based on first device identification information of each first intelligent device in the at least one first intelligent device, and determining signal strength of the home gateway module configured on each first intelligent device based on the first location information;
determining second location information of each second smart device based on the second device identification information of each second smart device of the at least one second smart device;
and selecting the target home gateway module and the target intelligent equipment by adopting the first position information, the second position information and the signal intensity to carry out pairing operation.
5. The method of claim 1, after determining the at least one first smart device and the at least one second smart device, further comprising:
acquiring the position change of the mobile terminal;
and updating the at least one first intelligent device and the at least one second intelligent device based on the position change, and reselecting the target home gateway module and the target intelligent device.
6. An access device of a home gateway module, comprising:
the system comprises a determining module, a service module and a service module, wherein the determining module is used for determining at least one first intelligent device and at least one second intelligent device, each first intelligent device in the at least one first intelligent device is configured with a home gateway module, the home gateway module is used for connecting the at least one second intelligent device to a wide area network, the at least one first intelligent device and the at least one second intelligent device are used for providing different types of initial services, and the initial services are independent of network connection services;
the pairing module is used for selecting a target home gateway module from the at least one first intelligent device and selecting a target intelligent device from the at least one second intelligent device to perform pairing operation;
and the access module is used for sending the network configuration information of the target home gateway module to the target intelligent equipment so as to enable the target intelligent equipment to be accessed into the home gateway module.
7. The apparatus of claim 6, wherein the determining module comprises:
the first configuration unit is used for configuring the mobile terminal as an access point, configuring the at least one first intelligent device in the coverage range of the access point as a workstation, and entering an access point distribution network mode;
a first receiving unit, configured to receive, in the access point distribution network mode, a first network message from the at least one first smart device, where information carried in the network message includes: the first device identification information of each first intelligent device in the at least one first intelligent device and the network configuration information of the home gateway module configured on each first intelligent device;
a first determining unit configured to determine the at least one first smart device based on the first network message.
8. The apparatus of claim 6, wherein the determining module comprises:
the second configuration unit is used for configuring the mobile terminal as an access point, configuring the at least one second intelligent device in the coverage range of the access point as a workstation, and entering an access point distribution network mode;
a second receiving unit, configured to receive, in the access point distribution network mode, a second network message from the at least one second smart device, where information carried in the second network message includes: second device identification information of each of the at least one second smart device;
a second determining unit configured to determine the at least one second smart device based on the second network message.
9. The apparatus of claim 6, wherein the pairing module comprises:
a third determining unit, configured to determine, based on the first device identification information of each first smart device in the at least one first smart device, first location information of the home gateway module configured on each first smart device, and determine, based on the first location information, signal strength of the home gateway module configured on each first smart device;
a fourth determining unit, configured to determine second location information of each second smart device based on the second device identification information of each second smart device in the at least one second smart device;
and the pairing unit is used for selecting the target home gateway module and the target intelligent equipment by adopting the first position information, the second position information and the signal intensity to carry out pairing operation.
10. The apparatus of claim 6, further comprising:
the acquisition module is used for acquiring the position change of the mobile terminal;
and the updating module is used for updating the at least one first intelligent device and the at least one second intelligent device based on the position change and reselecting the target home gateway module and the target intelligent device.
11. A storage medium having a computer program stored therein, wherein the computer program is configured to execute the access method of the home gateway module according to any one of claims 1 to 5 when the computer program runs.
12. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the access method of the home gateway module according to any one of claims 1 to 5 when running.
13. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method for accessing a home gateway module according to any one of claims 1 to 5.
14. An access system of a home gateway module, comprising: a mobile terminal, at least one first smart device and at least one second smart device, wherein each of the at least one first smart device is configured with a home gateway module, the home gateway module is configured to connect the at least one second smart device to a wide area network, the at least one first smart device and the at least one second smart device are configured to provide different types of initial services, the initial services are independent of a network connection service, and the mobile terminal comprises the electronic apparatus according to claim 13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246518.9A CN111245714B (en) | 2020-03-31 | 2020-03-31 | Access method and device of home gateway module, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010246518.9A CN111245714B (en) | 2020-03-31 | 2020-03-31 | Access method and device of home gateway module, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111245714A true CN111245714A (en) | 2020-06-05 |
CN111245714B CN111245714B (en) | 2022-06-10 |
Family
ID=70865208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010246518.9A Active CN111245714B (en) | 2020-03-31 | 2020-03-31 | Access method and device of home gateway module, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111245714B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112422313A (en) * | 2020-09-29 | 2021-02-26 | 漳州立达信光电子科技有限公司 | Pairing method based on upper computer and related device |
CN113433852A (en) * | 2021-06-11 | 2021-09-24 | 小熊电器股份有限公司 | Communication control method and device of intelligent equipment |
CN113973120A (en) * | 2020-07-06 | 2022-01-25 | 上海庆科信息技术有限公司 | Commodity information processing method, commodity information processing device, storage medium, processor and commodity information processing system |
CN114024792A (en) * | 2021-11-01 | 2022-02-08 | 珠海格力电器股份有限公司 | Intelligent household appliance networking method, system and server |
CN115022353A (en) * | 2021-03-05 | 2022-09-06 | 阿里巴巴新加坡控股有限公司 | Network connection method, device and system of intelligent equipment |
WO2024016539A1 (en) * | 2022-07-20 | 2024-01-25 | 青岛海尔科技有限公司 | Device control method and apparatus, and storage medium and electronic apparatus |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204652411U (en) * | 2015-04-28 | 2015-09-16 | 上海福睿电子科技有限公司 | A kind of coupling networking based on smart machine |
CN105446153A (en) * | 2015-12-16 | 2016-03-30 | 四川长虹电器股份有限公司 | Information processing method and intelligent household device |
CN106211208A (en) * | 2016-06-24 | 2016-12-07 | 美的集团股份有限公司 | A kind of intelligent appliance accesses the methods, devices and systems of wireless network |
US20170111938A1 (en) * | 2014-06-27 | 2017-04-20 | Huawei Technologies Co., Ltd. | Method, terminal, client, smartcard, and system for accessing wireless network |
CN106973009A (en) * | 2017-04-05 | 2017-07-21 | 美的智慧家居科技有限公司 | Home equipment and intelligent domestic system |
CN106993980A (en) * | 2017-03-21 | 2017-08-01 | 美的智慧家居科技有限公司 | Sweeping robot and its control method |
CN108366121A (en) * | 2018-02-13 | 2018-08-03 | 广州云湾信息技术有限公司 | The group network system and apparatus control method of the more intelligent gateways of Internet of Things |
CN108737231A (en) * | 2018-05-09 | 2018-11-02 | 海尔优家智能科技(北京)有限公司 | A kind of distribution method, apparatus, computer equipment and the storage medium of smart machine |
-
2020
- 2020-03-31 CN CN202010246518.9A patent/CN111245714B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170111938A1 (en) * | 2014-06-27 | 2017-04-20 | Huawei Technologies Co., Ltd. | Method, terminal, client, smartcard, and system for accessing wireless network |
CN204652411U (en) * | 2015-04-28 | 2015-09-16 | 上海福睿电子科技有限公司 | A kind of coupling networking based on smart machine |
CN105446153A (en) * | 2015-12-16 | 2016-03-30 | 四川长虹电器股份有限公司 | Information processing method and intelligent household device |
CN106211208A (en) * | 2016-06-24 | 2016-12-07 | 美的集团股份有限公司 | A kind of intelligent appliance accesses the methods, devices and systems of wireless network |
CN106993980A (en) * | 2017-03-21 | 2017-08-01 | 美的智慧家居科技有限公司 | Sweeping robot and its control method |
CN106973009A (en) * | 2017-04-05 | 2017-07-21 | 美的智慧家居科技有限公司 | Home equipment and intelligent domestic system |
CN108366121A (en) * | 2018-02-13 | 2018-08-03 | 广州云湾信息技术有限公司 | The group network system and apparatus control method of the more intelligent gateways of Internet of Things |
CN108737231A (en) * | 2018-05-09 | 2018-11-02 | 海尔优家智能科技(北京)有限公司 | A kind of distribution method, apparatus, computer equipment and the storage medium of smart machine |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113973120A (en) * | 2020-07-06 | 2022-01-25 | 上海庆科信息技术有限公司 | Commodity information processing method, commodity information processing device, storage medium, processor and commodity information processing system |
CN112422313A (en) * | 2020-09-29 | 2021-02-26 | 漳州立达信光电子科技有限公司 | Pairing method based on upper computer and related device |
CN112422313B (en) * | 2020-09-29 | 2023-10-17 | 漳州立达信光电子科技有限公司 | Pairing method based on upper computer and related device |
CN115022353A (en) * | 2021-03-05 | 2022-09-06 | 阿里巴巴新加坡控股有限公司 | Network connection method, device and system of intelligent equipment |
CN115022353B (en) * | 2021-03-05 | 2024-03-15 | 阿里巴巴新加坡控股有限公司 | Network connection method, device and system of intelligent equipment |
CN113433852A (en) * | 2021-06-11 | 2021-09-24 | 小熊电器股份有限公司 | Communication control method and device of intelligent equipment |
CN114024792A (en) * | 2021-11-01 | 2022-02-08 | 珠海格力电器股份有限公司 | Intelligent household appliance networking method, system and server |
WO2024016539A1 (en) * | 2022-07-20 | 2024-01-25 | 青岛海尔科技有限公司 | Device control method and apparatus, and storage medium and electronic apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN111245714B (en) | 2022-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111245714B (en) | Access method and device of home gateway module, storage medium and electronic device | |
CN105744466B (en) | A kind of connection method of Bluetooth device and bluetooth equipment | |
CN107276866A (en) | Home appliance match somebody with somebody network method, device and home appliance | |
CN103595717A (en) | Household appliance control protocol conversion method and control terminal | |
CN102932695A (en) | Remote control method, intelligent terminal and intelligent remote control system | |
CN105338554A (en) | Networking method and system of intelligent household equipment and ZigBee gateway | |
CN111163144B (en) | Internet of things module, Internet of things control method and intelligent equipment | |
CN108664429A (en) | The method and electronic equipment that principal and subordinate configures and links up agreement, improves compatibility | |
CN109508287A (en) | Page adjustment method and terminal device | |
CN108243407A (en) | A kind of method and terminal device of multiple wireless module device network interface managements | |
CN104270204A (en) | Testing method and testing equipment for wireless communication module | |
CN104010005A (en) | Method and system supporting access of sensors of different types | |
CN111542035A (en) | Cloud service connection method, system and related equipment | |
CN112714426A (en) | Intelligent upgrading method and device for Bluetooth equipment, electronic equipment and medium | |
CN102918512A (en) | Information appliance data connection system, authentication device, client appliance, information appliance data connection method and storage medium | |
CN104331407A (en) | Multimedia file information recommending method and multimedia file information recommending device | |
CN111246400B (en) | Signal quality detection method, device, storage medium, electronic device and system | |
CN106452828A (en) | Provision protocol transmission-based terminal configuration method and system | |
CN109067735A (en) | Dynamic Configuration, wireless communication device and the smart machine of communication protocol | |
CN112000020A (en) | Equipment distribution network processing method, equipment distribution network processing device and intelligent panel | |
CN106971525A (en) | A kind of Bluetooth signal conversion equipment and Bluetooth signal conversion method | |
CN112019409B (en) | Equipment distribution network processing method, equipment distribution network processing device and electronic equipment | |
CN108989117A (en) | Configuration method, wireless communication device and the household electrical appliance of communication protocol | |
CN107911538A (en) | A kind of call handling method, mobile terminal and storage medium | |
CN107885674A (en) | Bluetooth equipment simulator and its method of work, bluetooth equipment operating system |
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 |