CN115001884A - Computer readable storage medium, gateway device and communication protocol authorization method thereof - Google Patents

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

Info

Publication number
CN115001884A
CN115001884A CN202110216274.4A CN202110216274A CN115001884A CN 115001884 A CN115001884 A CN 115001884A CN 202110216274 A CN202110216274 A CN 202110216274A CN 115001884 A CN115001884 A CN 115001884A
Authority
CN
China
Prior art keywords
protocol
equipment
gateway
identifier
gateway equipment
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
CN202110216274.4A
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 CN202110216274.4A priority Critical patent/CN115001884A/en
Publication of CN115001884A publication Critical patent/CN115001884A/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Abstract

The application discloses a communication protocol authorization method of gateway equipment, which comprises the following steps: 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. Through the mode, the authorization for multiple communication protocols can be realized at one time, and the network access efficiency of the intelligent household equipment is improved.

Description

Computer readable storage medium, gateway device and communication protocol authorization 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 protocol authorization method thereof.
Background
The intelligent home is embodied in an internet of things manner under the influence of the internet. The intelligent home is connected with various devices in the home through the Internet of things technology, and multiple functions and means such as household appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control, infrared forwarding and programmable timing control are provided. In the internet of things system, the gateway device realizes an intermediate device for data exchange and communication between a terminal application layer and a network layer. Based on the access capability, the manageability and the protocol conversion capability of the gateway equipment, the accessed Internet of things equipment can be managed and data interaction can be carried out.
At present, intelligent home contains a plurality of equipment control protocols, and the conversion between the protocols needs to be completed by gateway equipment supporting two corresponding protocols. Communication protocols supported by gateway equipment in the market are not comprehensive enough, and when multiple communication protocols are used in a family to control household equipment, multiple gateway equipment are needed, so that equipment control delay is increased, and the probability of data mistransmission is increased; and only equipment supporting one protocol can be added in each scanning, and the equipment adding different protocols needs to be scanned for many times, so that the time and the labor are consumed, and the network distribution method of the existing equipment is low in efficiency.
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 protocol authorization method thereof, which can authorize multiple communication protocols at one time and improve the network access efficiency of intelligent home devices.
In order to solve the above technical problem, an embodiment of the present application adopts a technical solution that: a communication protocol authorization method of a gateway device is provided, the communication protocol authorization method comprising: 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 method for acquiring the data packets transmitted by adopting different communication protocols in the preset frequency band by the gateway device 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.
The preset frequency band is 2.400-2.4835 GHz.
Wherein the different communication 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 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 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.
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 a corresponding protocol analysis function identifier in a corresponding relation table of the protocol identifier and the protocol analysis function identifier according to the analyzed protocol identifier;
the gateway equipment reads the corresponding protocol analysis function according to the protocol analysis function identifier;
the gateway equipment inputs the protocol into the protocol analysis function to obtain the field name and the value of the field name included in the protocol;
and the gateway equipment generates authorization information according to the field name of the acquired protocol and the value of the field name, 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.
The terminal equipment is intelligent household equipment or mobile terminal equipment.
Wherein, the communication protocol authorization method further comprises:
the gateway equipment analyzes each data packet to obtain an equipment identifier of each terminal equipment;
the gateway equipment sends the acquired equipment identification of the terminal equipment to a cloud server for validity verification of equipment identity;
the gateway equipment determines the equipment identification corresponding to the legal terminal equipment pre-registered in the cloud server as the legal equipment identification;
the gateway equipment determines the data packet of the target terminal equipment according to the data packet corresponding to the legal equipment identifier;
the communication protocol includes a WIFI protocol, a zigbee protocol, and a BLE protocol, the gateway device analyzes the protocol identifier in each data packet, and performs network access authorization on the protocol corresponding to each analyzed protocol identifier, including:
the gateway equipment analyzes the protocol identification bit in the data packet of each target terminal equipment;
the gateway equipment determines the protocol identification bits corresponding to the WIFI protocol, the zigbee protocol and the BLE protocol as target protocol identification bits according to the analyzed protocol identification bits;
and the gateway equipment performs network access authorization of a corresponding protocol according to the target protocol identification bit.
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 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.
In the embodiment of the application, at least two data packets transmitted by adopting different communication protocols in a preset frequency band are acquired through gateway equipment; the gateway equipment analyzes the protocol identification bits in each data packet, and network access authorization is carried out on the protocol corresponding to each analyzed protocol identification bit, so that authorization for multiple communication protocols can be carried out at one time, and the network access efficiency of the intelligent household equipment is improved.
Drawings
FIG. 1 is a schematic block diagram of an implementation environment provided herein;
fig. 2 is a flowchart illustrating a communication protocol authorization method of a gateway device according to a first embodiment of the present application;
fig. 3 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 second embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a specific process of analyzing the protocol identifier in each data packet and performing network access authorization on the protocol corresponding to each analyzed protocol identifier by the gateway device according to the third embodiment of the present application;
fig. 5 is a flowchart illustrating a communication protocol authorization method of a gateway device 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 different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. 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 can 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 name of a network technology, an information technology, an integration technology, a management platform technology, an application technology and the like based on cloud computing business model application, 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 (The Internet of Things, IOT for short) is to collect any object or process needing monitoring, connection and interaction in real time and collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and location through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, and to realize ubiquitous connection of objects and people through various possible network accesses, so as to realize intelligent sensing, identification and management of objects and 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 Internet of things to the Internet of things, really realizes networking, and realizes mass data storage and operation through a Cloud computing technology.
Gateway (Gateway) devices, also known as internetwork connectors, protocol converters, are computer systems or devices that provide data conversion services between multiple networks. A gateway device can be said to be a connector between different networks, i.e. a device that "negotiates" when data is to be passed from one network to another. According to the method and the system, the gateway equipment can be used for accessing the plurality of terminal equipment into the same cloud server, so that the cloud server can interact with the plurality of terminal equipment, and therefore intelligent management of the plurality of types of terminal equipment is achieved.
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, analyzes protocol identification bits in each data packet, and performs network access authorization on protocols corresponding to each analyzed protocol identification bit, so that the terminal devices 103 supporting multiple communication protocols are accessed into the cloud server 101, the multiple terminal devices 103 can access the network quickly, communication connection with the cloud server 101 is established, and network access efficiency of the smart home devices is improved.
In an embodiment, the cloud server 101 is an independent physical server, or a server cluster or a distributed system formed by 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), 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 schematic flowchart of a method for implementing a communication protocol authorization method of a gateway device according to a first embodiment of the present application.
In this embodiment, the method for authorizing the communication protocol of the gateway device may include the following steps:
step S201: 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 a 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 different 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 S202: 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.
In this embodiment, the gateway device supports network access requests of terminal devices of different communication protocols by analyzing information of protocol identification bits in each data packet; therefore, authorization for multiple communication protocols can be achieved at one time, and the network access efficiency of the intelligent household equipment is improved.
Referring to fig. 3, fig. 3 is a schematic diagram of a specific process of analyzing protocol identification bits in each data packet and performing network access authorization on a protocol corresponding to each analyzed protocol identification bit by a gateway device according to a second embodiment of the present application.
In this embodiment, the gateway device may analyze the protocol identifier in each data packet, and perform network access authorization on the protocol corresponding to each analyzed protocol identifier specifically includes the following steps:
step S301: and the gateway equipment analyzes the protocol identification bit in each data packet.
Step S302: 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 S303: 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 S304: 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. 4, fig. 4 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 third embodiment of the present application.
In this embodiment, the gateway device may analyze the protocol identifier in each data packet, and perform network access authorization on the protocol corresponding to each analyzed protocol identifier specifically includes the following steps:
step S401: and the gateway equipment analyzes the protocol identification bits in each data packet.
Step S402: and the gateway equipment searches the corresponding protocol analysis function identifier in the corresponding relation table of the protocol identifier and the protocol analysis function identifier according to the analyzed protocol identifier.
Step S403: and the gateway equipment reads the corresponding protocol analysis function according to the protocol analysis function identifier.
Step S404: the gateway equipment inputs the protocol into a protocol analysis function to obtain the field name and the value of the field name included in the protocol.
Step S405: the gateway equipment generates authorization information according to the field name of the acquired protocol and the value of the field name, 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.
In one implementation, the terminal device is an intelligent 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. 5, fig. 5 is a flowchart illustrating a communication protocol authorization method of a gateway device according to a fourth embodiment of the present application.
In this embodiment, the communication protocol authorization method may further include the following steps:
step S501: and the gateway equipment analyzes each data packet to obtain the equipment identifier of each terminal equipment.
Step S502: and the gateway equipment sends the acquired equipment identifier of the terminal equipment to a cloud server for validity verification of equipment identity.
Step S503: and the gateway equipment determines the equipment identifier corresponding to the legal terminal equipment preregistered in the cloud server as a legal equipment identifier.
Step S504: and the gateway equipment determines the data packet as the data packet of the target terminal equipment according to the data packet corresponding to the legal equipment identifier.
The communication protocol includes WIFI protocol, zigbee protocol and BLE protocol, and 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:
step S505: and the gateway equipment analyzes the protocol identification bits in the data packets of each target terminal equipment.
Step S506: and the gateway equipment determines the protocol identification bits corresponding to the WIFI protocol, the zigbee protocol and the BLE protocol as target protocol identification bits according to the analyzed protocol identification bits.
Step S507: and the gateway equipment performs network access authorization of the corresponding protocol according to the target protocol identification bit.
In this embodiment, device identifiers of a plurality of terminal devices are pre-registered in a database of the cloud server, each device identifier has a corresponding terminal device, and the pre-registered device identifiers are used for the cloud server to verify the received device identifier to be verified. When the terminal device to be accessed to the network is authorized to access to the network, the validity of the device identifier of the terminal device to be accessed to the network is verified, wherein the device identifier may be a device serial number, or the like. And when the equipment identification of the terminal equipment to be accessed to the network passes the verification, the corresponding terminal equipment is judged to be legal equipment. Therefore, on the premise of finishing the functions of the rapid distribution network of legal terminal equipment set by a user and communication protocols in a set range, the password of the gateway can be effectively protected from being leaked, and the safety of the whole distribution network flow is ensured.
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, the memory 602 is configured to store a computer program, and the processor 602 is configured to call the computer program to execute the method of any 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), which is responsible for rendering and drawing the 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, 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 of the units 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 also 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 method comprises the steps that at least two data packets transmitted by different communication protocols in a preset frequency band are obtained through gateway equipment; the gateway equipment analyzes the protocol identification bits in each data packet, and network access authorization is carried out on the protocol corresponding to each analyzed protocol identification bit, so that authorization for multiple communication protocols can be carried out at one time, and the network access efficiency of the intelligent household equipment is improved.
The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications, equivalents, and flow charts using the contents of the specification and drawings of the present disclosure or those directly or indirectly applied to other related technical fields are intended to be included in the scope of the present disclosure.

Claims (10)

1. A communication protocol authorization method of a gateway device, the communication protocol authorization method comprising:
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.
2. The method of claim 1, wherein the acquiring, by the gateway device, at least two data packets transmitted by using different communication protocols in a preset frequency band comprises:
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.
3. The method for authorizing the communication protocol according to claim 1 or 2, wherein the preset frequency band is a 2.400-2.4835 GHz frequency band.
4. The communication protocol authorization method according to claim 1 or 2, characterized in that the different communication protocols comprise at least two of WIFI protocol, zigbee protocol, BLE protocol, PLC protocol, POE protocol, ethernet protocol.
5. The method of claim 1, wherein the gateway device parses the protocol flag bits in each data packet, and performs network access authorization on a protocol corresponding to each parsed protocol flag bit, and the method includes:
the gateway equipment analyzes the protocol identification bit in each data packet;
the gateway equipment searches 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.
6. The method according to claim 1, wherein the gateway device parses the protocol identifier bits in each data packet, and performs network access authorization on the protocol corresponding to each parsed protocol identifier bit, and the method includes:
the gateway equipment analyzes the protocol identification bit in each data packet;
the gateway equipment searches a corresponding protocol analysis function identifier in a corresponding relation table of the protocol identifier and the protocol analysis function identifier according to the analyzed protocol identifier;
the gateway equipment reads the corresponding protocol analysis function according to the protocol analysis function identification;
the gateway equipment inputs the protocol into the protocol analysis function to obtain the field name and the value of the field name included in the protocol;
and the gateway equipment generates authorization information according to the acquired field name of the protocol and the value of the field name, 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 communication protocol authorization method according to claim 2, 5 or 6, characterized in that the terminal device is a smart home device or a mobile terminal device.
8. The communication protocol authorization method according to claim 1, characterized in that the communication protocol authorization method further comprises:
the gateway equipment analyzes each data packet to obtain the equipment identification of each terminal equipment;
the gateway equipment sends the acquired equipment identification of the terminal equipment to a cloud server for validity verification of equipment identity;
the gateway equipment determines the equipment identification corresponding to the legal terminal equipment pre-registered in the cloud server as the legal equipment identification;
the gateway equipment determines the data packet as the data packet of the target terminal equipment according to the data packet corresponding to the legal equipment identification;
the communication protocol includes a WIFI protocol, a zigbee protocol, and a BLE protocol, the gateway device analyzes the protocol identifier in each data packet, and performs network access authorization on the protocol corresponding to each analyzed protocol identifier, including:
the gateway equipment analyzes the protocol identification bit in the data packet of each target terminal equipment;
the gateway equipment determines the protocol identification bits corresponding to the WIFI protocol, the zigbee protocol and the BLE protocol as target protocol identification bits according to the analyzed protocol identification bits;
and the gateway equipment performs network access authorization of the corresponding protocol according to the target protocol identification bit.
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 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.
CN202110216274.4A 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication protocol authorization method thereof Pending CN115001884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110216274.4A CN115001884A (en) 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication protocol authorization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110216274.4A CN115001884A (en) 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication protocol authorization method thereof

Publications (1)

Publication Number Publication Date
CN115001884A true CN115001884A (en) 2022-09-02

Family

ID=83018709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110216274.4A Pending CN115001884A (en) 2021-02-26 2021-02-26 Computer readable storage medium, gateway device and communication protocol authorization method thereof

Country Status (1)

Country Link
CN (1) CN115001884A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202222A (en) * 2014-08-20 2014-12-10 惠州Tcl移动通信有限公司 Smart home controller and communication method thereof
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium
CN111541607A (en) * 2020-04-17 2020-08-14 深圳市信锐网科技术有限公司 Communication method, device, equipment, system and storage medium based on gateway equipment
CN112054955A (en) * 2020-08-21 2020-12-08 深圳金智凌轩视讯技术有限公司 Equipment communication method based on gateway
CN112104654A (en) * 2020-09-16 2020-12-18 北京天地玛珂电液控制系统有限公司 Multi-protocol automatic identification and conversion method and intelligent gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202222A (en) * 2014-08-20 2014-12-10 惠州Tcl移动通信有限公司 Smart home controller and communication method thereof
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium
CN111541607A (en) * 2020-04-17 2020-08-14 深圳市信锐网科技术有限公司 Communication method, device, equipment, system and storage medium based on gateway equipment
CN112054955A (en) * 2020-08-21 2020-12-08 深圳金智凌轩视讯技术有限公司 Equipment communication method based on gateway
CN112104654A (en) * 2020-09-16 2020-12-18 北京天地玛珂电液控制系统有限公司 Multi-protocol automatic identification and conversion method and intelligent gateway

Similar Documents

Publication Publication Date Title
CN102202289B (en) Method and system for remote calling software and hardware resources through mobile terminal
US9118718B2 (en) Techniques to monitor connection paths on networked devices
US20070066280A1 (en) Connection management system, method and program
CN104809369B (en) Packet sets method, client, server and the system of equipment access rights
EP3007385B1 (en) Terminal peripheral control method, m2m gateway, and communications system
CN204376941U (en) Outer net middleware, Intranet middleware and middleware system
CN103812900A (en) Data synchronization method, device and system
CN107274222A (en) Advertisement placement method and device
CN114745724A (en) Access processing method and device, electronic equipment and computer readable medium
CN102299945A (en) Gateway configuration page registration method, system thereof and portal certificate server
CN106302400A (en) The processing method and processing device of access request
CN115462108A (en) Password-free wireless authentication
CN101123559B (en) A green network access service deployment system and authorized access method for this service
CN105429867A (en) Fused type home gateway and access method of application service thereof
CN115051891A (en) Computer readable storage medium, gateway device and communication method thereof
CN114567600B (en) Traffic management method and related equipment
CN115001884A (en) Computer readable storage medium, gateway device and communication protocol authorization method thereof
CN112152827A (en) Management method and device of Internet of things equipment, gateway and readable storage medium
CN102137044A (en) Method and system for safely interacting group information based on community platform
CN113746909A (en) Network connection method, device, electronic equipment and computer readable storage medium
CN113285994A (en) Message sending method, device, server and storage medium
CN110933018B (en) Network authentication method, device and computer storage medium
CN102130971A (en) Method and system for realizing peer-to-peer (P2P) communication on webpage
CN113784310A (en) Relay node selection method, system, computer equipment and storage medium
CN115580533A (en) Networking configuration method based on server, server and storage medium

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