CN115051891A - Computer readable storage medium, gateway device and communication method thereof - Google Patents

Computer readable storage medium, gateway device and communication method thereof Download PDF

Info

Publication number
CN115051891A
CN115051891A CN202110216294.1A CN202110216294A CN115051891A CN 115051891 A CN115051891 A CN 115051891A CN 202110216294 A CN202110216294 A CN 202110216294A CN 115051891 A CN115051891 A CN 115051891A
Authority
CN
China
Prior art keywords
protocol
gateway
equipment
gateway device
data 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.)
Pending
Application number
CN202110216294.1A
Other languages
Chinese (zh)
Inventor
杨沅钋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xingluo Home Yunwulian Technology Co ltd
Original Assignee
Xingluo Home Yunwulian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xingluo Home Yunwulian Technology Co ltd filed Critical Xingluo Home Yunwulian Technology Co ltd
Priority to CN202110216294.1A priority Critical patent/CN115051891A/en
Publication of CN115051891A publication Critical patent/CN115051891A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication method of gateway equipment, which comprises the following steps: the gateway equipment carries out network access authorization on at least two different communication protocols; the gateway equipment sends test data packets with preset size to the terminal equipment at different time periods through each communication protocol of at least two different communication protocols; receiving the receiving time of a test data packet fed back by the terminal equipment and the carrier-to-interference ratio of a received signal by the gateway equipment; the gateway equipment determines the optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal, communicates with the terminal equipment through the optimal transmission channel, can authorize for multiple communication protocols at one time, improves the networking efficiency of the intelligent home equipment, can improve the data transmission speed of the intelligent home, and improves the interactive experience of the intelligent home.

Description

Computer readable storage medium, gateway device and communication method thereof
Technical Field
The invention relates to the technical field of intelligent home, in particular to a computer readable storage medium, gateway equipment and a communication method thereof.
Background
The intelligent home is embodied in an internet of things manner under the influence of the internet. The intelligent home connects various devices (such as audio and video devices, lighting systems, curtain control, air conditioner control, security systems, digital cinema systems, audio and video servers, video cabinet systems, network home appliances and the like) in the home together through the Internet of things technology, and provides multiple functions and means such as home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control, infrared forwarding, programmable timing control and the like. Compared with the common home, the intelligent home has the traditional living function, integrates the functions of building, network communication, information household appliance and equipment automation, provides an all-around information interaction function, and even saves funds for various energy expenses.
The prior smart home already comprises a plurality of equipment control protocols, and the conversion between the protocols needs to be completed by a gateway supporting two corresponding protocols. Various multi-protocol integrated gateways appear in the market, but the communication protocols supported by various products are not comprehensive enough at present, and when various communication protocols are used for controlling equipment in a household, a plurality of gateways are needed, so that the control delay of the equipment is increased, and the probability of data mistransmission is increased. And only equipment supporting one protocol can be added in each scanning, and the addition of equipment with different protocols requires multiple times of scanning, and is time-consuming and labor-consuming. Moreover, the data transmission speed directly affects the instruction response speed of the intelligent home device, and if the delay is large, poor experience can be caused to the user.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a computer readable storage medium, a gateway device and a communication method thereof, which can authorize multiple communication protocols at one time, improve the network access efficiency of smart home devices, improve the data transmission speed of smart homes, and improve the smart home interaction experience.
In order to solve the above technical problem, an embodiment of the present application adopts a technical solution that: there is provided a communication method of a gateway apparatus, the communication method including:
the gateway equipment carries out network access authorization on at least two different communication protocols;
the gateway equipment sends test data packets with preset sizes to the terminal equipment through each communication protocol of the at least two different communication protocols at different time periods respectively;
the gateway equipment receives the receiving time of the test data packet fed back by the terminal equipment and the carrier-to-interference ratio of the received signal;
and the gateway equipment determines an optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal, and communicates with the terminal equipment through the optimal transmission channel.
Wherein the communication method further comprises:
the gateway equipment communicates with the terminal equipment through different communication protocols at a time-division multiplexing antenna and acquires data retransmission times in real time;
and when the retransmission times are more than the preset times, reselecting the optimal transmission channel.
Wherein, the gateway device determining the optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal comprises:
the gateway equipment receives the test data packet according to the receiving time of the test data packet, the carrier-to-interference ratio of the received signal and a formula Q t =m·(C/I)-n·(t r -t t ) Calculating the channel quality Q t (ii) a Wherein m is carrier-to-interference ratio weight, n is data packet transmission time weight, m and n are positive numbers, C/I is carrier-to-interference ratio, t r Receiving time, t, of the gateway device receiving the test data packet t Time for sending the test data packet to the gateway device gateway;
and the gateway equipment selects the channel with the minimum channel comprehensive quality Qt value as the optimal transmission channel.
The gateway device performing network access authorization on at least two different communication protocols includes:
the gateway equipment acquires at least two data packets which are transmitted by adopting different communication protocols in a preset frequency band;
and the gateway equipment analyzes the protocol identification bits in each data packet and performs network access authorization on the protocol corresponding to each analyzed protocol identification bit.
The preset frequency band is a 2.400-2.4835 GHz frequency band.
The gateway device analyzes the protocol identification bits in each data packet, and performs network access authorization on the protocol corresponding to each analyzed protocol identification bit, including:
the gateway equipment analyzes the protocol identification bit in each data packet;
the gateway equipment searches for a corresponding protocol analysis packet identifier in a corresponding relation table of the protocol identifier and the protocol analysis packet identifier according to the analyzed protocol identifier;
the gateway equipment reads a corresponding protocol analysis packet according to the protocol analysis packet identifier and analyzes the protocol content of the protocol by using the protocol analysis packet;
and the gateway equipment generates authorization information according to the protocol content and binds the protocol with the authorization information so as to allow the gateway equipment and the terminal equipment to communicate through the protocol for binding the authorization information.
Wherein the at least two protocols include at least two of a WIFI protocol, a zigbee protocol, a BLE protocol, a PLC protocol, a POE protocol, and an ethernet protocol.
The terminal equipment is intelligent household equipment or mobile terminal equipment.
In order to solve the above technical problem, another technical solution adopted in the embodiment of the present application is: there is provided a gateway device comprising a processor and a memory electrically connected to the processor, the memory for storing a computer program, the processor for invoking the computer program to perform the method as described above.
In order to solve the above technical problem, another technical solution adopted in the embodiments of the present application is: there is provided a computer readable storage medium having stored thereon a computer program executable by a processor to implement the above-mentioned method.
The embodiment of the application carries out network access authorization on at least two different communication protocols through gateway equipment; the gateway equipment sends test data packets with preset size to the terminal equipment at different time periods through each communication protocol of at least two different communication protocols; receiving the receiving time of a test data packet fed back by the terminal equipment and the carrier-to-interference ratio of a received signal by the gateway equipment; the gateway equipment determines the optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal, communicates with the terminal equipment through the optimal transmission channel, can authorize for multiple communication protocols at one time, improves the networking efficiency of the intelligent home equipment, can improve the data transmission speed of the intelligent home, and improves the interactive experience of the intelligent home.
Drawings
FIG. 1 is a schematic block diagram of an implementation environment provided herein;
fig. 2 is a schematic flowchart of a communication method of a gateway device according to a first embodiment of the present application;
fig. 3 is a schematic flowchart of a gateway device according to a second embodiment of the present application, determining an optimal transmission channel according to a reception time of a test packet and a carrier-to-interference ratio of a received signal;
fig. 4 is a schematic flowchart of a gateway device performing network access authorization on at least two different communication protocols according to a third embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a specific process in which a gateway device analyzes protocol identification bits in each data packet and performs network access authorization on a protocol corresponding to each analyzed protocol identification bit according to a fourth embodiment of the present application;
fig. 6 is a schematic hardware configuration diagram of a gateway device according to a fifth embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures. 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 application.
The terms "first", "second", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to those listed or elements but may alternatively include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
Cloud technology refers to a hosting technology for unifying resources of hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied based on a cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of technical network systems require a large amount of computing and storage resources, such as video websites, picture websites and more portal sites. With the high development and application of the internet industry, each article may have an own identification mark and needs to be transmitted to a background system for logic processing, data of different levels can be processed separately, and various industry data need strong system background support and can be realized only through cloud computing.
The internet of Things (IOT) is used for collecting any object or process needing monitoring, connection and interaction in real time and collecting various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and position thereof through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, and realizing The ubiquitous connection of objects, objects and people through various possible network accesses, and realizing The intelligent sensing, identification and management of The objects and The processes. The internet of things is an information bearer based on the internet, a traditional telecommunication network and the like, and all common physical objects which can be independently addressed form an interconnected network.
The Cloud IOT aims to connect information sensed by sensing equipment and received instructions in the traditional IOT to the IOT, so that networking is really realized, mass data storage and operation are realized through a Cloud computing technology, the current operation state of each 'object' is sensed in real time due to the characteristic of the IOT that the objects are connected with one another, a large amount of data information is generated in the process, the information is gathered, and useful information is screened from the mass information to make decision support for subsequent development, so that the key problems affecting the IOT are solved, and the Cloud of the IOT based on the Cloud computing and Cloud storage technology is also a powerful support for the IOT technology and application.
A Gateway (Gateway) device, also called an internetwork connector or a protocol converter, is a computer system or device that provides data conversion services among multiple networks. A gateway device can be said to be a connector between different networks, i.e. a device that "negotiates" data to be transmitted from one network to another. According to the method and the device, the gateway equipment can be used for accessing the terminal equipment to the same cloud server, so that the cloud server can interact with the terminal equipment, and intelligent management of the terminal equipment of various types is realized.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an implementation environment provided in the present application, and as shown in fig. 1, the implementation environment includes a cloud server 101, a gateway device 102, and a plurality of terminal devices 103. After sending a network access request sent by the terminal device 103, the gateway device 102 acquires at least two data packets transmitted by the terminal device 103 through different communication protocols; the gateway device 102 analyzes the acquired data packets to obtain protocol identification bits in each data packet, and performs network access authorization on the protocol corresponding to each analyzed protocol identification bit, so that the terminal device 103 supporting multiple communication protocols is accessed into the cloud server 101, the terminal device 103 establishes communication connection with the cloud server 101, rapid authorization on the multiple communication protocols is realized at one time, and the network access efficiency of the terminal device 103 is improved; the gateway device 102 sends test data packets with a predetermined size to the terminal device 103 through each of at least two different communication protocols at different time periods; the gateway device 102 determines an optimal transmission channel according to the receiving time of the test data packet returned by the terminal device 103 and the carrier-to-interference ratio C/I of the received signal, and at the same time, the gateway device 102 communicates with the terminal device 103 through different communication protocols at a time division multiplexing antenna and acquires the data retransmission times in real time; when the retransmission times are more than the preset times, the optimal transmission channel is reselected; when the retransmission times are less than or equal to the preset times, the current channel is taken as the optimal transmission channel for data transmission, so that when the channel of the terminal equipment 103 under the current protocol is unsmooth in data transmission, the data transmission can be realized through the channel of the cross-protocol; therefore, the data transmission speed of the terminal device 103 can be improved, and the interactive experience of the terminal device 103 is improved.
In one embodiment, the cloud server 101 is an independent physical server, or a server cluster or a distributed system composed of a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), and big data and artificial intelligence platform. The terminal device 103 may be, but is not limited to, an intelligent panel, a smart phone, a tablet computer, an intelligent air conditioner, an intelligent refrigerator, an intelligent sound box, an intelligent television, an intelligent door lock, and the like.
Referring to fig. 2, fig. 2 is a flowchart illustrating a communication method of a gateway device according to a first embodiment of the present application.
In this embodiment, the communication method of the gateway device may include the following steps:
step S201: the gateway device performs network access authorization for at least two different communication protocols.
Step S202: the gateway device sends test data packets with preset size to the terminal device at different time periods through each of at least two different communication protocols.
The predetermined size refers to the size of the storage space occupied by the test data packet, for example, a unit size of the test data packet, such as 8 bytes, 1kb, and the like.
Step S203: and the gateway equipment receives the receiving time of the test data packet and the carrier-to-interference ratio of the received signal fed back by the terminal equipment.
Step S204: and the gateway equipment determines an optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal, and communicates with the terminal equipment through the optimal transmission channel.
In one embodiment, after step S204, the gateway device communicates with the terminal device through different communication protocols at the time-division multiplexing antenna, and obtains the data retransmission times in real time. And when the retransmission times are more than the preset times, reselecting the optimal transmission channel. And when the retransmission times are less than or equal to the preset times, performing data transmission by taking the current channel as the optimal transmission channel.
In one embodiment, the terminal device is a smart home device or a mobile terminal device. The intelligent household equipment can be an intelligent air conditioner, an intelligent refrigerator, an intelligent sound box, an intelligent television, an intelligent door lock and the like; the mobile terminal device can be a mobile phone, a tablet computer and the like.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a gateway device determining an optimal transmission channel according to a reception time of a test packet and a carrier-to-interference ratio of a received signal according to a second embodiment of the present application.
In this embodiment, the determining, by the gateway device, the optimal transmission channel according to the receiving time of the test packet and the carrier-to-interference ratio of the received signal may specifically include the following steps:
step S301: the gateway equipment receives the time and carrier-to-interference ratio of the received signal according to the test data packet and the formula (1) Q t =m·(C/I)-n·(t r -t t ) Calculating the channel quality Q t
Wherein m is carrier-to-interference ratio weight, n is data packet transmission time weight, m and n are positive numbers, C/I is carrier-to-interference ratio, t r Receiving time, t, for the gateway device to receive the test data packet t Time to send test packets for the gateway device gateway. Carrying and drying ratio: C/I ═ carrier signal strength/interference signal strength.
Step S302: gateway device selection channel comprehensive quality Q t The channel with the smallest value is used as the optimal transmission channel.
Referring to fig. 4, fig. 4 is a schematic flowchart of a gateway device performing network access authorization on at least two different communication protocols according to a third embodiment of the present application.
In this embodiment, the gateway device performing network access authorization on at least two different communication protocols specifically includes the following steps:
step S401: the gateway equipment acquires at least two data packets transmitted by adopting different communication protocols in a preset frequency band.
In one embodiment, the acquiring, by the gateway device, at least two data packets transmitted by using different communication protocols within a preset frequency band includes: the gateway equipment acquires at least two data packets transmitted by adopting different communication protocols in a preset frequency band after receiving a network access request from the terminal equipment.
In one embodiment, the predetermined frequency band may be 2.400 to 2.4835 GHz.
In one embodiment, the at least two protocols include at least two of a WIFI protocol, a zigbee protocol, a BLE protocol, a PLC protocol, a POE protocol, an ethernet protocol.
Step S402: and the gateway equipment analyzes the protocol identification bits in each data packet and performs network access authorization on the protocol corresponding to each analyzed protocol identification bit.
Referring to fig. 5, fig. 5 is a schematic diagram of a process in which a gateway device analyzes protocol identification bits in each data packet and performs network access authorization on a protocol corresponding to each analyzed protocol identification bit according to a fourth embodiment of the present application.
In this embodiment, the gateway device may analyze the protocol flag in each data packet, and perform network access authorization on the protocol corresponding to each analyzed protocol flag specifically includes the following steps:
step S501: and the gateway equipment analyzes the protocol identification bits in each data packet.
Step S502: and the gateway equipment searches the corresponding protocol analysis packet identifier in the corresponding relation table of the protocol identifier and the protocol analysis packet identifier according to the analyzed protocol identifier.
Step S503: and the gateway equipment reads the corresponding protocol analysis packet according to the protocol analysis packet identifier and analyzes the protocol content of the protocol by using the protocol analysis packet.
Step S504: the gateway device generates authorization information according to the protocol content and binds the protocol with the authorization information so as to allow communication between the gateway device and the terminal device through the protocol for binding the authorization information.
Referring to fig. 6, fig. 6 is a schematic hardware structure diagram of a gateway device according to a fifth embodiment of the present application.
In this embodiment, the gateway device 600 comprises a processor 601 and a memory 602 electrically connected to the processor 601, wherein the memory 602 is used for storing a computer program, and the processor 602 is used for calling the computer program to execute the method of any one of the above embodiments.
Among other things, processor 601 may include one or more processing cores, such as 4-core processors, 8-core processors, and so forth. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 602 may be used to store computer programs and modules. The memory 602, which serves as a carrier for resource storage, may be random access memory, e.g., high speed random access memory, non-volatile memory, such as one or more magnetic storage devices, flash memory, or other solid state memory. The storage means may be a transient storage or a permanent storage. The processor 601 performs various functions and data processing by executing computer readable instructions stored in the memory 602.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
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 network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be 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.
Embodiments of the present application further provide a computer-readable storage medium for storing a computer program, which can be executed by a processor to implement the method provided in the above embodiments. It is understood that the method executed by the computer program stored in the readable storage medium in this embodiment is similar to the method provided in the foregoing embodiments, and the principle and steps thereof are the same, and are not described herein again.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, which can store program codes.
The embodiment of the application carries out network access authorization on at least two different communication protocols through gateway equipment; the gateway equipment sends test data packets with preset size to the terminal equipment at different time periods through each communication protocol of at least two different communication protocols; receiving the receiving time of a test data packet fed back by the terminal equipment and the carrier-to-interference ratio of a received signal by the gateway equipment; the gateway equipment determines the optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal, communicates with the terminal equipment through the optimal transmission channel, can authorize for multiple communication protocols at one time, improves the networking efficiency of the intelligent home equipment, can improve the data transmission speed of the intelligent home, and improves the interactive experience of the intelligent home.
The above are only embodiments of the present application, and not intended to limit the scope of the present application, and all equivalent structures or equivalent processes performed by the present application and the contents of the attached drawings, which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A communication method of a gateway device, the communication method comprising:
the gateway equipment carries out network access authorization on at least two different communication protocols;
the gateway equipment sends test data packets with preset sizes to the terminal equipment through each communication protocol of the at least two different communication protocols at different time periods respectively;
the gateway equipment receives the receiving time of the test data packet fed back by the terminal equipment and the carrier-to-interference ratio of the received signal;
and the gateway equipment determines an optimal transmission channel according to the receiving time of the test data packet and the carrier-to-interference ratio of the received signal, and communicates with the terminal equipment through the optimal transmission channel.
2. The communication method of the gateway device according to claim 1, further comprising:
the gateway equipment communicates with the terminal equipment through different communication protocols at a time-sharing multiplexing antenna and acquires data retransmission times in real time;
and when the retransmission times are more than the preset times, reselecting the optimal transmission channel.
3. The communication method of the gateway device according to claim 1, wherein the gateway device determining the optimal transmission channel according to the reception time of the test packet and the carrier-to-interference ratio of the received signal comprises:
the gateway equipment receives the test data packet according to the receiving time of the test data packet, the carrier-to-interference ratio of the received signal and a formula Q t =m·(C/I)-n·(t r -t t ) Calculating the channel quality Q t (ii) a Wherein m is carrier-to-interference ratio weight, n is data packet transmission time weight, m and n are positive numbers, C/I is carrier-to-interference ratio, t r Receiving time, t, of the gateway device receiving the test data packet t Time for sending the test data packet to the gateway of the gateway device;
the gateway device selects the channel comprehensive quality Q t The channel with the smallest value is used as the optimal transmission channel.
4. The communication method of the gateway device according to claim 1, wherein the gateway device performing network access authorization for at least two different communication protocols comprises:
the gateway equipment acquires at least two data packets which are transmitted by adopting different communication protocols in a preset frequency band;
and the gateway equipment analyzes the protocol identification bits in each data packet and performs network access authorization on the protocol corresponding to each analyzed protocol identification bit.
5. The communication method according to claim 4, wherein the preset frequency band is a 2.400-2.4835 GHz frequency band.
6. The communication method of the gateway device according to claim 4, wherein the gateway device parses the protocol flag bit in each data packet, and performs network access authorization on a protocol corresponding to each parsed protocol flag bit includes:
the gateway equipment analyzes the protocol identification bit in each data packet;
the gateway equipment searches for a corresponding protocol analysis packet identifier in a corresponding relation table of the protocol identifier and the protocol analysis packet identifier according to the analyzed protocol identifier;
the gateway equipment reads a corresponding protocol analysis packet according to the protocol analysis packet identifier and analyzes the protocol content of the protocol by using the protocol analysis packet;
and the gateway equipment generates authorization information according to the protocol content and binds the protocol with the authorization information so as to allow the gateway equipment and the terminal equipment to communicate through the protocol for binding the authorization information.
7. The method of claim 1, wherein the at least two protocols comprise at least two of a WIFI protocol, a zigbee protocol, a BLE protocol, a PLC protocol, a POE protocol, and an ethernet protocol.
8. The communication method of the gateway device according to claim 1, wherein the terminal device is an intelligent home device or a mobile terminal device.
9. A gateway device, comprising a processor and a memory electrically connected to the processor, the memory for storing a computer program, the processor for invoking the computer program to perform the method of any one of claims 1-8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which can be executed by a processor to implement the method of any one of claims 1-8.
CN202110216294.1A 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication method thereof Pending CN115051891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110216294.1A CN115051891A (en) 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110216294.1A CN115051891A (en) 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication method thereof

Publications (1)

Publication Number Publication Date
CN115051891A true CN115051891A (en) 2022-09-13

Family

ID=83156615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110216294.1A Pending CN115051891A (en) 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication method thereof

Country Status (1)

Country Link
CN (1) CN115051891A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117714305A (en) * 2024-02-05 2024-03-15 广东欢联电子科技有限公司 Smart home gateway connection method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090124250A1 (en) * 2007-11-14 2009-05-14 Topaltzas Dimitrios M System and Method for Testing Mobile Telephone Devices using a Plurality of Communication Protocols
CN104410989A (en) * 2014-11-03 2015-03-11 华数传媒网络有限公司 Intelligent radio frequency detection and adjusting method for household gateway
CN104580370A (en) * 2014-12-10 2015-04-29 上海物联网有限公司 Self-adaptive transmission method and device for multimode gateway for information monitoring system
CN104683173A (en) * 2013-12-03 2015-06-03 北京赛迪电子系统测评实验室有限公司 Detection system and detection method of heterogeneous IOT (Internet Of Things)
CN111741476A (en) * 2020-05-22 2020-10-02 深圳市风云实业有限公司 Automatic channel avoidance anti-interference transmission method
CN112312373A (en) * 2020-10-30 2021-02-02 星络智能科技有限公司 Channel optimization method, system and computer readable storage medium
CN112312436A (en) * 2020-11-09 2021-02-02 蚌埠依爱消防电子有限责任公司 Method and device for improving receiving sensitivity of LoRa private protocol gateway

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090124250A1 (en) * 2007-11-14 2009-05-14 Topaltzas Dimitrios M System and Method for Testing Mobile Telephone Devices using a Plurality of Communication Protocols
CN104683173A (en) * 2013-12-03 2015-06-03 北京赛迪电子系统测评实验室有限公司 Detection system and detection method of heterogeneous IOT (Internet Of Things)
CN104410989A (en) * 2014-11-03 2015-03-11 华数传媒网络有限公司 Intelligent radio frequency detection and adjusting method for household gateway
CN104580370A (en) * 2014-12-10 2015-04-29 上海物联网有限公司 Self-adaptive transmission method and device for multimode gateway for information monitoring system
CN111741476A (en) * 2020-05-22 2020-10-02 深圳市风云实业有限公司 Automatic channel avoidance anti-interference transmission method
CN112312373A (en) * 2020-10-30 2021-02-02 星络智能科技有限公司 Channel optimization method, system and computer readable storage medium
CN112312436A (en) * 2020-11-09 2021-02-02 蚌埠依爱消防电子有限责任公司 Method and device for improving receiving sensitivity of LoRa private protocol gateway

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117714305A (en) * 2024-02-05 2024-03-15 广东欢联电子科技有限公司 Smart home gateway connection method and system
CN117714305B (en) * 2024-02-05 2024-05-31 广东欢联电子科技有限公司 Smart home gateway connection method and system

Similar Documents

Publication Publication Date Title
CN110830575B (en) Data transmission method and control system of intelligent household equipment and intelligent gateway equipment
CN103188574B (en) method and system for transmitting network video
CN112134866B (en) Service access control method, device and system and computer readable storage medium
CN111830844B (en) Intelligent equipment control method and device and intelligent home control panel
KR20140057553A (en) - virtualization gateway between virtualized and non-virtualized networks
US20170171496A1 (en) Method and Electronic Device for Screen Projection
CN105050202A (en) Method of establishing communication session using active connection of mobile terminal to relay server
CN104978358A (en) Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying
CN111629452A (en) Data transmission control method and device, storage medium and electronic equipment
CN103812900A (en) Data synchronization method, device and system
CN104917838A (en) Method and system for achieving route redirection
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
CN111585801A (en) ZigBee device upgrading method and related device
CN112312515A (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
CN102523630A (en) Wireless ubiquitous network system structure
US9203704B2 (en) Discovering a server device, by a non-DLNA device, within a home network
CN115051891A (en) Computer readable storage medium, gateway device and communication method thereof
CN104349202A (en) Video acquisition method and device thereof
CN111164951B (en) Service Registration Based on Service Capability Requirements and Preferences
CN113329042A (en) Message processing method and system, Internet of vehicles system, server and electronic equipment
JP2023109707A (en) Video analysis system and data delivery method
CN107465750A (en) A kind of intelligent home control system and method based on high in the clouds processing
Ningqing et al. Design and implementation of a smart home control system
CN115001884A (en) Computer readable storage medium, gateway device and communication protocol authorization method thereof

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220913