CN108833471B - Internet of things service processing method, Internet of things gateway and Internet of things - Google Patents

Internet of things service processing method, Internet of things gateway and Internet of things Download PDF

Info

Publication number
CN108833471B
CN108833471B CN201810400618.5A CN201810400618A CN108833471B CN 108833471 B CN108833471 B CN 108833471B CN 201810400618 A CN201810400618 A CN 201810400618A CN 108833471 B CN108833471 B CN 108833471B
Authority
CN
China
Prior art keywords
internet
things
service
terminal
cloud platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810400618.5A
Other languages
Chinese (zh)
Other versions
CN108833471A (en
Inventor
熊江
宁文峰
潘时
张苏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South Architectural Design Institute Co Ltd
Original Assignee
Zhongnan Design Group Wuhan Engineering Technology Research Institute 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 Zhongnan Design Group Wuhan Engineering Technology Research Institute Co ltd filed Critical Zhongnan Design Group Wuhan Engineering Technology Research Institute Co ltd
Priority to CN201810400618.5A priority Critical patent/CN108833471B/en
Publication of CN108833471A publication Critical patent/CN108833471A/en
Application granted granted Critical
Publication of CN108833471B publication Critical patent/CN108833471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an Internet of things service processing method, an Internet of things gateway and an Internet of things, and belongs to the field of Internet of things. The method comprises the following steps: the method comprises the steps that an Internet of things gateway receives a service data message sent by an Internet of things terminal; acquiring terminal information of the terminal of the Internet of things according to the service data message; identifying service characteristic keywords according to terminal information of the terminal of the Internet of things; determining whether to install service processing software corresponding to the service characteristic keyword; when the service processing software corresponding to the service characteristic key words is installed, the service processing software corresponding to the service characteristic key words is adopted to process the service data messages; and when the service processing software corresponding to the service characteristic keywords is not installed, sending the service data message to the cloud platform for processing. Therefore, most of services of the Internet of things terminal can be processed on the Internet of things gateway, the service processing time is shortened, the bandwidth requirement of the wide area network is reduced, and meanwhile, the problem that the services cannot be responded in time due to wide area network faults is avoided.

Description

Internet of things service processing method, Internet of things gateway and Internet of things
Technical Field
The invention relates to the field of Internet of things, in particular to an Internet of things service processing method, an Internet of things gateway and an Internet of things.
Background
The Internet of things (IoT) is an important component of new-generation information technology and is also an important development stage of the information era.
At present, the architecture of the internet of things mainly includes: the system comprises a cloud platform, a wide area network, a plurality of internet of things gateways, a local area network and a plurality of internet of things terminals. The internet of things terminals are connected to the internet of things gateway through the local area network, the internet of things gateway receives data transmitted by the internet of things terminals, the data are transmitted to the cloud platform through the wide area network, the cloud platform performs data processing, and then processing results are sent back to the internet of things terminals.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
services of a plurality of internet of things terminals need to be processed as soon as possible, such as fault services, internet of vehicles and industrial control services, and if the services are transmitted to a cloud platform through a wide area network for processing, the time is too long, so that the normal work of the internet of things terminals is affected. In addition, if all services are transmitted to the cloud platform for processing, not only is the flow of the wide area network large, but also if the wide area network fails, the services cannot process responses in time.
Disclosure of Invention
In order to solve the problems that in the prior art, time is consumed and faults are easy to occur when all terminal services of the internet of things are processed through a cloud platform, the embodiment of the invention provides a service processing method of the internet of things, an internet of things gateway and the internet of things. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for processing services of an internet of things, where the method includes: the method comprises the steps that an Internet of things gateway receives a service data message sent by an Internet of things terminal; acquiring terminal information of the Internet of things terminal according to the service data message; identifying service characteristic keywords according to the terminal information of the terminal of the Internet of things; determining whether to install service processing software corresponding to the service characteristic keyword; when the service processing software corresponding to the service characteristic keywords is installed, the service processing software corresponding to the service characteristic keywords is adopted to process the service data message; and when the service processing software corresponding to the service characteristic keywords is not installed, sending the service data message to a cloud platform for processing.
In an implementation manner of the embodiment of the present invention, the method further includes: receiving an authentication message sent by the terminal of the Internet of things; judging whether the terminal information of the Internet of things terminal is stored or not according to the authentication message; when the terminal information of the terminal of the Internet of things is stored, determining that the terminal of the Internet of things passes authentication; when the terminal information of the terminal of the internet of things is not stored, the authentication message is forwarded to the cloud platform, and when the cloud platform authenticates the terminal of the internet of things, the terminal information of the terminal of the internet of things sent by the cloud platform and the service processing software corresponding to the terminal of the internet of things are received.
In another implementation manner of the embodiment of the present invention, the method further includes: when the load of the gateway of the Internet of things exceeds a set value, sending overload information to the cloud platform; receiving service scheduling information sent by the cloud platform; and sending the service data message to be processed to other Internet of things gateways or the cloud platform indicated by the service scheduling information.
In another implementation manner of the embodiment of the present invention, the method further includes: and when the load of the gateway of the Internet of things exceeds a set value, unloading the unused service processing software in the gateway of the Internet of things for more than preset time.
In a second aspect, an embodiment of the present invention further provides an internet of things gateway, where the internet of things gateway includes: the receiving module is used for receiving a service data message sent by the terminal of the Internet of things; the acquisition module is used for acquiring the terminal information of the Internet of things terminal according to the service data message; the determining module is used for identifying service characteristic keywords according to the terminal information of the terminal of the Internet of things; determining whether to install service processing software corresponding to the service characteristic keyword; the processing module is used for processing the service data message by adopting the service processing software corresponding to the service characteristic key words when the service processing software corresponding to the service characteristic key words is installed; and the sending module is used for sending the service data message to a cloud platform for processing when service processing software corresponding to the service characteristic keyword is not installed.
In an implementation manner of the embodiment of the present invention, the receiving module is further configured to receive an authentication packet sent by the terminal of the internet of things; the determining module is further configured to determine whether the terminal information of the internet of things terminal is stored according to the authentication message; the processing module is further used for determining that the terminal of the internet of things passes authentication when the terminal information of the terminal of the internet of things is stored; the sending module is further configured to forward the authentication message to the cloud platform when the terminal information of the internet of things terminal is not stored; the receiving module is further used for receiving the terminal information of the internet of things terminal sent by the cloud platform and the service processing software corresponding to the internet of things terminal when the cloud platform passes the authentication of the internet of things terminal.
In another implementation manner of the embodiment of the present invention, the sending module is further configured to send overload information to the cloud platform when a load of the internet of things gateway exceeds a set value; the receiving module is further configured to receive service scheduling information sent by the cloud platform; the sending module is further configured to send the service data packet to be processed to the other internet of things gateways or the cloud platform indicated by the service scheduling information.
In another implementation manner of the embodiment of the present invention, the processing module is further configured to, when the load of the internet of things gateway exceeds a set value, unload the service processing software that is not used in the internet of things gateway for more than a predetermined time.
In a third aspect, an embodiment of the present invention further provides an internet of things, where the internet of things includes a cloud platform and multiple internet of things gateways connected to the cloud platform, and the internet of things gateways are the internet of things gateways according to any one of the second aspects.
In an implementation manner of the embodiment of the present invention, the cloud platform is configured to obtain load information of the plurality of internet of things gateways; when overload information sent by any one of the plurality of internet of things gateways is received, service scheduling information is generated according to the load information of the plurality of internet of things gateways, the overload information is used for indicating that the load of the internet of things gateway exceeds a set value, and the service scheduling information is used for indicating the internet of things gateway to send a service data message to be processed to other internet of things gateways or the cloud platform indicated by the service scheduling information.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
after receiving the service data message sent by the terminal of the internet of things, determining the terminal information of the terminal sending the service data message according to the service data message, identifying the service characteristic keywords according to the terminal information, determining corresponding service processing software according to the service characteristic keywords, then judging whether the service processing software is installed in the gateway of the Internet of things, if so, processing the service data message locally, otherwise, sending the service data message to a cloud platform for processing, the processing mode can process most of the services of the terminal of the internet of things on the gateway of the internet of things, therefore, all services are prevented from being sent to the cloud platform for processing, time consumed by processing the services through the cloud platform is reduced, the bandwidth requirement of the wide area network is reduced, and meanwhile the problem that the services cannot respond in time due to wide area network faults is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an internet of things according to an embodiment of the present invention;
fig. 2 is a flowchart of a service processing method of the internet of things according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for processing services of the internet of things according to an embodiment of the present invention;
fig. 4 is a flowchart of an authentication process provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an internet of things gateway provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
For convenience of understanding, the following briefly describes an architecture of the internet of things provided by the embodiment of the present invention:
fig. 1 is a schematic structural diagram of an internet of things provided in an embodiment of the present invention, and referring to fig. 1, an architecture of the internet of things mainly includes: the system comprises a cloud platform 10, a wide area network 20, a plurality of internet of things gateways 30, a local area network 40 and a plurality of internet of things terminals 50. The internet of things terminal 50 is connected to the internet of things gateway 30 through the local area network 40, and the internet of things gateway 30 is connected with the cloud platform 10 through the wide area network 20.
The interaction between the devices is specifically described in detail through the following business processing flow.
Fig. 2 is a flowchart of an internet of things service processing method provided in an embodiment of the present invention, which is executed by the internet of things gateway in fig. 1, and referring to fig. 2, the method includes:
step 101: and receiving a service data message sent by the terminal of the Internet of things.
Specifically, the internet of things gateway receives, through the local area network, service data messages sent by various internet of things terminals connected to the internet of things gateway, and the service data messages sent by different types of internet of things terminals are different.
Step 102: and acquiring the terminal information of the Internet of things terminal according to the service data message.
Specifically, the terminal information corresponding to the terminal identifier or address may be determined according to the terminal identifier or address carried in the service data packet. The terminal information may include a terminal identification, an address, a service feature keyword, and the like.
Step 103: and identifying service characteristic keywords according to the terminal information of the terminal of the Internet of things.
The terminal information comprises the service characteristic keywords, so that the service characteristic keywords of the Internet-of-things terminal can be identified from the terminal information after the terminal information corresponding to the terminal is determined. The service feature key is used to indicate a service type of a service, and may specifically be a protocol port number defined for the service type, for example, an 80 port of a web page (web) service.
Step 104: and determining whether to install the service processing software corresponding to the service characteristic keyword.
After the service feature keyword is determined in step 103, service processing software for processing the service type corresponding to the service feature keyword may be determined, and then it is determined whether corresponding service processing software is installed in the internet of things gateway.
Step 105: when the service processing software corresponding to the service characteristic keywords is installed, the service processing software corresponding to the service characteristic keywords is adopted to process the service data message; and when the service processing software corresponding to the service characteristic keywords is not installed, sending the service data message to a cloud platform for processing.
The embodiment of the invention determines the terminal information of the terminal sending the service data message according to the service data message after receiving the service data message sent by the terminal of the Internet of things, identifying the service characteristic keywords according to the terminal information, determining corresponding service processing software according to the service characteristic keywords, then judging whether the service processing software is installed in the gateway of the Internet of things, if so, processing the service data message locally, otherwise, sending the service data message to a cloud platform for processing, the processing mode can process most of the services of the terminal of the internet of things on the gateway of the internet of things, therefore, all services are prevented from being sent to the cloud platform for processing, time consumed by processing the services through the cloud platform is reduced, the bandwidth requirement of the wide area network is reduced, and meanwhile the problem that the services cannot respond in time due to wide area network faults is avoided.
Fig. 3 is a flowchart of another service processing method for the internet of things according to an embodiment of the present invention, which is executed by the devices in fig. 1 together, and referring to fig. 3, the method includes:
step 201: and the gateway of the Internet of things authenticates the accessed terminal of the Internet of things.
Fig. 4 is a flowchart of an authentication process provided in an embodiment of the present invention, and referring to fig. 4, step 201 may include:
step 2011: the terminal of the Internet of things sends an authentication message to the gateway of the Internet of things; and the gateway of the Internet of things receives the authentication message sent by the terminal of the Internet of things.
The authentication message may include content such as terminal information and an authentication key. The terminal information may include a terminal identification, an address, a service feature keyword, and the like.
Prior to step 2011, the method further includes initially configuring, by the staff, the internet of things gateway.
In the embodiment of the present invention, the detailed process of the initial configuration of the internet of things gateway can be implemented as follows:
firstly, after a worker (specifically, a field installer) finishes the installation of the gateway of the internet of things, scanning a two-dimensional code on the gateway of the internet of things through gateway configuration Application (APP) software in a mobile phone to acquire information of the gateway of the internet of things; then, inputting position information in gateway configuration APP software, generating a configuration requirement file and sending the configuration requirement file to a cloud platform, wherein the configuration requirement file comprises basic information and position information of the Internet of things gateway, and the position information can be automatically obtained through a Global Positioning System (GPS) of a mobile phone or directly obtained through manual input.
The two-dimensional code may include relevant information of the cloud platform and factory information (e.g., factory time, model number, etc.) of the internet of things gateway, so that a subsequent configuration requirement file can be sent to the cloud platform.
The location information may specifically include physical location information of an internet of things gateway installation, field internet of things information, and the like.
And step two, after receiving the configuration requirement file, the cloud platform revises the general configuration file of the cloud platform for the type of gateway according to the configuration requirement file, generates a configuration file corresponding to the gateway of the Internet of things, and sends the configuration file to the gateway configuration APP software of the staff.
The configuration file may include a wide area Network configuration of the internet of things gateway, a Virtual Private Network (VPN) configuration of the internet of things gateway, a local area Network configuration of the internet of things gateway, a hardware driver, a terminal service gateway protocol, and the like.
And thirdly, the configuration file is loaded to the Internet of things gateway by the staff to complete equipment initialization.
After the staff acquires the configuration file through the APP software configured by the gateway, the configuration file is loaded into the gateway of the Internet of things in a Wireless Fidelity (WIFI) mode, a communication serial port mode or a U disk mode, so that the gateway of the Internet of things executes the configuration file, and all configurations in the configuration file are completed.
And step four, after the gateway of the Internet of things is initialized, accessing the wide area network, establishing a safe VPN channel with the cloud platform, establishing a service intercommunication channel with other gateways of the Internet of things, searching surrounding terminals of the Internet of things, and starting to perform service communication and monitoring management.
The types of the wan include, but are not limited to, a wired Internet Protocol (IP)/ethernet copper network, an optical fiber network, a wireless third Generation (3rd-Generation, 3G)/fourth Generation (4th-Generation, 4G)/a cellular narrowband Internet of Things (NB-IoT) network, and the like. The local area network may be a wired network, such as an ethernet network or a bus network, or a wireless network, such as a WIFI network, a Zigbee protocol (Zigbee) network, a bluetooth network, or the like.
The types of the internet of things terminal include but are not limited to a sensor, a vehicle-mounted terminal, an industrial control terminal and the like.
The wide area network access refers to accessing to a broadband network or a wireless network of an operator, and is realized through wide area network configuration, and the wide area network configuration may include a wide area network IP of an internet of things gateway and wide area network authentication information (such as a broadband dialing account number, a password and the like). The VPN channel is realized through the configuration of an Internet of things gateway VPN after the access of a wide area network is finished, wherein the configuration of the Internet of things gateway VPN comprises an opposite terminal IP address, a VPN type and the like. The monitoring management comprises the monitoring management of the state (such as load) of the gateway of the Internet of things and the monitoring management of the business of the Internet of things on the gateway of the Internet of things.
Because the configuration of present thing networking gateway needs the on-the-spot completion of professional more, causes the cost of labor of thing networking installation configuration too high, and when adopting above-mentioned mode to carry out thing networking gateway configuration, the staff only need carry out fool's operation, and all the other steps are accomplished by APP and cloud platform, and the configuration is simple and fast, has saved the cost of labor.
In addition, except for the initial configuration, the cloud platform can send the configuration file of the internet of things gateway to the APP, and in the subsequent use process, if the configuration needs to be updated, the cloud platform can directly send the updated configuration file to the internet of things gateway so as to update and upgrade the configuration of the internet of things gateway.
Taking an intelligent building as an example, an internet of things system related to the intelligent building generally comprises a monitoring system, a lighting system, an elevator control system, an air conditioning system, a parking system, an emergency system and other systems. The terminal type of the internet of things is more, and the terminal type of the internet of things comprises a camera, a temperature/humidity/light-operated sensor, a relay, a control electric appliance and the like. The internet of things terminal has multiple access modes such as WIFI access, Bluetooth access, Zigbee access, Local Area Network (LAN) access, bus access and the like. When the intelligent building is large and requires short construction period, such as airport, high-speed rail, subway and other systems, the configuration mode of the invention can realize low cost, short construction period and very convenient service opening and maintenance.
Step 2012: and the gateway of the Internet of things judges whether the terminal information of the terminal of the Internet of things is stored or not according to the authentication message. When the terminal information of the terminal of the internet of things is stored, executing the step 2013; and when the terminal information of the internet of things terminal is not stored, executing step 2014.
The terminal information is sent to the gateway of the internet of things when the terminal of the internet of things is authenticated by the cloud platform, so that if the terminal information of the terminal of the internet of things is stored locally, the terminal of the internet of things passes the authentication, the terminal of the internet of things directly judges that the authentication passes, and otherwise, the authentication is completed through the cloud platform.
Step 2013: the gateway of the Internet of things determines that the terminal of the Internet of things passes the authentication and sends an authentication success message to the terminal of the Internet of things; and the internet of things terminal receives the successful authentication message.
After the authentication is passed, service interaction is started between the Internet of things terminal and the Internet of things gateway.
Step 2014: the internet of things gateway forwards the authentication message to the cloud platform; and the cloud platform receives the authentication message forwarded by the gateway of the Internet of things.
The internet of things gateway transmits the authentication message of the internet of things terminal to the cloud platform, and the cloud platform completes authentication of the internet of things terminal.
Step 2015: and the cloud platform authenticates the terminal of the Internet of things according to the authentication message. When the terminal authentication of the internet of things fails, executing step 2016; and executing the step 2018 when the terminal of the internet of things passes the authentication.
And the cloud platform authenticates the legality of the terminal of the Internet of things according to authentication contents, such as an authentication key, in the authentication message.
Step 2016: the cloud platform sends an authentication failure message to the gateway of the Internet of things; and the gateway of the Internet of things receives the authentication failure message sent by the cloud platform.
Step 2017: the internet of things gateway sends an authentication failure message to the internet of things terminal; and the Internet of things terminal receives the authentication failure message sent by the Internet of things gateway.
And if the authentication of the terminal of the Internet of things fails, the terminal of the Internet of things cannot perform service interaction with the gateway of the Internet of things.
Step 2018: the cloud platform sends an authentication success message, terminal information of the Internet of things terminal and service processing software corresponding to the Internet of things terminal to the Internet of things gateway; and the gateway of the Internet of things receives the successful authentication message, the terminal information of the terminal of the Internet of things and the service processing software corresponding to the terminal of the Internet of things.
Step 2019: the gateway of the Internet of things sends an authentication success message to the terminal of the Internet of things; and the internet of things terminal receives the successful authentication message.
Step 2110: and the gateway of the Internet of things stores the terminal information of the terminal of the Internet of things and installs the service processing software corresponding to the terminal of the Internet of things.
The terminal information of the internet of things terminal stored by the internet of things gateway can provide a foundation for subsequent service processing, and local authentication can be performed when the internet of things terminal accesses the internet of things gateway next time, so that authentication does not need to be completed through a cloud platform, and authentication time is saved.
In addition, the gateway of the internet of things in the embodiment of the invention has strong calculation, storage and forwarding capabilities and can support virtualization and dynamic service loading. After receiving the service processing software, the service processing software can be installed on a windows/Linux system or a virtual container/virtual machine based on windows/Linux according to the requirements of the service processing software, so as to realize the local proxy of the service.
Step 202: the Internet of things terminal sends a service data message to the Internet of things gateway; and the gateway of the Internet of things receives the service data message sent by the terminal of the Internet of things.
Specifically, the internet of things gateway receives, through the local area network, service data messages sent by various internet of things terminals connected to the internet of things gateway, and the service data messages sent by different types of internet of things terminals are different.
Step 203: and the gateway of the Internet of things acquires the terminal information of the terminal of the Internet of things according to the service data message.
Specifically, the terminal information corresponding to the terminal identifier or address may be determined according to the terminal identifier or address carried in the service data packet. The terminal information may include a terminal identification, an address, a service feature keyword, and the like.
The terminal information of the terminal of the internet of things is obtained in the step 2018, and is not described again here.
Step 204: and the gateway of the Internet of things identifies the service characteristic keywords according to the terminal information of the terminal of the Internet of things.
The terminal information comprises the service characteristic keywords, so that the service characteristic keywords of the Internet-of-things terminal can be identified from the terminal information after the terminal information corresponding to the terminal is determined. The service feature key is used to indicate a service type of a service, and may specifically be a protocol port number defined for the service type, for example, an 80 port of a web service.
Step 205: and the gateway of the Internet of things determines whether to install service processing software corresponding to the service characteristic keywords. When the service processing software corresponding to the service feature keyword is installed, executing step 206; when the service processing software corresponding to the service feature keyword is not installed, step 207 is executed.
Step 206: and the gateway of the Internet of things processes the service data message by adopting service processing software corresponding to the service characteristic keywords.
Step 207: and the gateway of the Internet of things sends the service data message to a cloud platform for processing.
When the internet of things gateway is configured, a secure VPN channel is already established between the internet of things gateway and the cloud platform, so that the service data packet is sent to the cloud platform through the VPN channel in step 207, so as to ensure that the service data packet can be safely and quickly transmitted to the cloud platform.
Further, because the service processing software corresponding to the service feature keyword is not installed in the internet of things gateway at this time, the internet of things gateway can also send a request message to the cloud platform for requesting to acquire the service processing software corresponding to the service feature keyword; after receiving the request message, the cloud platform sends corresponding service processing software to the internet of things gateway, so that the subsequent internet of things gateway can process the service locally.
Further, in the process of executing the method, the internet of things gateway needs to pay attention to the load information of the internet of things gateway all the time, and when the load of the internet of things gateway is too high (overload), the service of the internet of things gateway is processed through the cloud platform or other internet of things gateways, so that service congestion is avoided. The process may specifically include:
when the load of the internet of things gateway exceeds a set value, the internet of things gateway sends overload information to the cloud platform, wherein the overload information is used for indicating that the load of the internet of things gateway exceeds the set value on one hand and indicating the type of a service to be processed in the internet of things gateway on the other hand so as to facilitate service scheduling of the cloud platform; the cloud platform generates service scheduling information according to overload information, wherein the service scheduling information is used for indicating the Internet of things gateway to send service data messages to be processed to other Internet of things gateways or the cloud platform indicated by the service scheduling information; the gateway of the Internet of things receives service scheduling information sent by the cloud platform; and the gateway of the Internet of things sends the service data message to be processed to other gateways of the Internet of things or the cloud platform indicated by the service scheduling information.
In the process, the cloud platform needs to schedule the internet of things gateways, so that the load states of the internet of things gateways need to be known. That is, the cloud platform may obtain load information of the plurality of internet of things gateways; when overload information sent by any one of the plurality of internet of things gateways is received, service scheduling information is generated according to the load information of the plurality of internet of things gateways, and therefore dynamic resource allocation and load balance among the internet of things gateways, the cloud platform and the internet of things gateways are achieved.
Further, in order to further solve the problem of transient overload of the terminal of the internet of things, the method may further include: when the load of the Internet of things gateway exceeds a set value, the Internet of things gateway unloads the unused service processing software in the Internet of things gateway for more than preset time, resource consumption is reduced by unloading the service processing software, and particularly, the gateway load can be greatly relieved when a service is sudden. Or the gateway of the internet of things suspends the processing of the service data of a certain service type. For example, if the remote table look-up system is in a non-meter reading state within a period of time, the table look-up service software can be unloaded, thereby realizing the reduction of gateway load.
Further, in the embodiment of the present invention, the internet of things gateway may also perform coordination control on a plurality of internet of things terminals connected thereto. Specifically, the internet of things gateway controls the internet of things terminals corresponding to different services according to the internet of things terminal cooperation and linkage service instructions issued by the cloud platform, so that the internet of things services are cooperatively processed, and the linkage result is fed back to the cloud platform. For example, when the internet of things gateway receives a linkage instruction of the access control system and the air conditioning system, and when the internet of things gateway receives information that a person enters an office from the access control system, the internet of things gateway informs the air conditioning system to start an air conditioner of the office through linkage business logic.
Taking the intelligent building as an example, when the network is smooth and each internet of things system normally operates, centralized management and control can be performed through the cloud platform, and meanwhile, part of service logic such as emergency systems (different systems correspond to different services) needs to be linked with a plurality of systems such as a monitoring system, a lighting system, an elevator control system, an air conditioning system and a parking system.
Fig. 5 is a schematic structural diagram of an internet of things gateway according to an embodiment of the present invention, where the internet of things gateway is configured to execute the method in fig. 2 or fig. 3, and referring to fig. 5, the internet of things gateway includes:
the receiving module 301 is configured to receive a service data message sent by an internet of things terminal;
an obtaining module 302, configured to obtain terminal information of the internet of things terminal according to the service data packet;
a determining module 303, configured to identify a service feature keyword according to terminal information of the internet of things terminal; determining whether to install service processing software corresponding to the service characteristic keyword;
a processing module 304, configured to, when service processing software corresponding to the service feature keyword is installed, process the service data packet by using the service processing software corresponding to the service feature keyword;
a sending module 305, configured to send the service data packet to a cloud platform for processing when service processing software corresponding to the service feature keyword is not installed.
Further, the receiving module 301 is further configured to receive an authentication message sent by the internet of things terminal;
the determining module 303 is further configured to determine whether the terminal information of the internet of things terminal is stored according to the authentication packet;
the processing module 304 is further configured to determine that the terminal of the internet of things passes authentication when the terminal information of the terminal of the internet of things is stored;
the sending module 305 is further configured to forward the authentication packet to the cloud platform when the terminal information of the internet of things terminal is not stored;
the receiving module 301 is further configured to receive the terminal information of the internet of things terminal and the service processing software corresponding to the internet of things terminal, which are sent by the cloud platform, when the cloud platform authenticates the internet of things terminal.
Further, the sending module 305 is further configured to send overload information to the cloud platform when the load of the internet of things gateway exceeds a set value;
the receiving module 301 is further configured to receive service scheduling information sent by the cloud platform;
the sending module 305 is further configured to send the service data packet to be processed to the other internet of things gateways or the cloud platform indicated by the service scheduling information.
Further, the processing module 304 is further configured to, when the load of the internet of things gateway exceeds a set value, unload the business processing software that is not used in the internet of things gateway for more than a predetermined time.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. An Internet of things service processing method is characterized by comprising the following steps:
the method comprises the steps that an Internet of things gateway receives a service data message sent by an Internet of things terminal;
acquiring terminal information of the Internet of things terminal according to the service data message;
identifying service characteristic keywords according to the terminal information of the terminal of the Internet of things;
determining whether to install service processing software corresponding to the service characteristic keyword;
when the service processing software corresponding to the service characteristic keywords is installed, the service processing software corresponding to the service characteristic keywords is adopted to process the service data message; when the load of the Internet of things gateway exceeds a set value, unloading the unused service processing software in the Internet of things gateway for more than preset time;
when the service processing software corresponding to the service characteristic keywords is not installed, the service data message is sent to a cloud platform for processing; and sending a request message to the cloud platform for requesting to acquire service processing software corresponding to the service characteristic keywords, and receiving the service processing software sent by the cloud platform to the gateway of the internet of things.
2. The method of claim 1, further comprising:
receiving an authentication message sent by the terminal of the Internet of things;
judging whether the terminal information of the Internet of things terminal is stored or not according to the authentication message;
when the terminal information of the terminal of the Internet of things is stored, determining that the terminal of the Internet of things passes authentication; when the terminal information of the terminal of the internet of things is not stored, the authentication message is forwarded to the cloud platform, and when the cloud platform authenticates the terminal of the internet of things, the terminal information of the terminal of the internet of things sent by the cloud platform and the service processing software corresponding to the terminal of the internet of things are received.
3. The method of claim 1, further comprising:
when the load of the gateway of the Internet of things exceeds a set value, sending overload information to the cloud platform;
receiving service scheduling information sent by the cloud platform;
and sending the service data message to be processed to other Internet of things gateways or the cloud platform indicated by the service scheduling information.
4. An internet of things gateway, comprising:
the receiving module is used for receiving a service data message sent by the terminal of the Internet of things;
the acquisition module is used for acquiring the terminal information of the Internet of things terminal according to the service data message;
the determining module is used for identifying service characteristic keywords according to the terminal information of the terminal of the Internet of things; determining whether to install service processing software corresponding to the service characteristic keyword;
the processing module is used for processing the service data message by adopting the service processing software corresponding to the service characteristic key words when the service processing software corresponding to the service characteristic key words is installed; when the load of the Internet of things gateway exceeds a set value, unloading the unused service processing software in the Internet of things gateway for more than preset time;
the sending module is used for sending the service data message to a cloud platform for processing when service processing software corresponding to the service characteristic keyword is not installed; and sending a request message to the cloud platform for requesting to acquire the service processing software corresponding to the service feature keyword, wherein the receiving module is further used for receiving the service processing software sent by the cloud platform to the internet of things gateway.
5. The gateway of the internet of things of claim 4, wherein the receiving module is further configured to receive an authentication message sent by the terminal of the internet of things;
the determining module is further configured to determine whether the terminal information of the internet of things terminal is stored according to the authentication message;
the processing module is further used for determining that the terminal of the internet of things passes authentication when the terminal information of the terminal of the internet of things is stored;
the sending module is further configured to forward the authentication message to the cloud platform when the terminal information of the internet of things terminal is not stored;
the receiving module is further used for receiving the terminal information of the internet of things terminal sent by the cloud platform and the service processing software corresponding to the internet of things terminal when the cloud platform passes the authentication of the internet of things terminal.
6. The gateway of the internet of things of claim 4, wherein the sending module is further configured to send overload information to the cloud platform when a load of the gateway of the internet of things exceeds a set value;
the receiving module is further configured to receive service scheduling information sent by the cloud platform;
the sending module is further configured to send the service data packet to be processed to the other internet of things gateways or the cloud platform indicated by the service scheduling information.
7. An internet of things, comprising a cloud platform and a plurality of internet of things gateways connected with the cloud platform, wherein the internet of things gateways are the internet of things gateways according to any one of claims 4 to 6.
8. The internet of things of claim 7, wherein the cloud platform is configured to obtain load information of the plurality of internet of things gateways; when overload information sent by any one of the plurality of internet of things gateways is received, service scheduling information is generated according to the load information of the plurality of internet of things gateways, the overload information is used for indicating that the load of the internet of things gateway exceeds a set value, and the service scheduling information is used for indicating the internet of things gateway to send a service data message to be processed to other internet of things gateways or the cloud platform indicated by the service scheduling information.
CN201810400618.5A 2018-04-28 2018-04-28 Internet of things service processing method, Internet of things gateway and Internet of things Active CN108833471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810400618.5A CN108833471B (en) 2018-04-28 2018-04-28 Internet of things service processing method, Internet of things gateway and Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810400618.5A CN108833471B (en) 2018-04-28 2018-04-28 Internet of things service processing method, Internet of things gateway and Internet of things

Publications (2)

Publication Number Publication Date
CN108833471A CN108833471A (en) 2018-11-16
CN108833471B true CN108833471B (en) 2021-05-18

Family

ID=64154190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810400618.5A Active CN108833471B (en) 2018-04-28 2018-04-28 Internet of things service processing method, Internet of things gateway and Internet of things

Country Status (1)

Country Link
CN (1) CN108833471B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109712282A (en) * 2018-12-18 2019-05-03 中国电子科技集团公司第十五研究所 A kind of electronic lock configuration management hand-held set and its application method
CN111835578B (en) * 2019-06-06 2021-10-15 北京骑胜科技有限公司 Information transmission management method, information transmission management apparatus, and readable storage medium
CN111565218B (en) * 2020-04-08 2023-03-10 深圳数联天下智能科技有限公司 Data processing method and electronic equipment
CN111901233A (en) * 2020-09-18 2020-11-06 江西省智能产业技术创新研究院 Industrial relay gateway and control method thereof
CN114070585B (en) * 2021-10-18 2024-08-30 北京天融信网络安全技术有限公司 SSL VPN authentication method, device and gateway
CN114172918B (en) * 2021-12-08 2023-08-01 天翼物联科技有限公司 Data synchronization method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025577A (en) * 2011-01-06 2011-04-20 西安电子科技大学 Network system of Internet of things and data processing method thereof
CN103684933A (en) * 2012-09-03 2014-03-26 株式会社日立制作所 Internet of Things system, Internet of Things agent device and Internet of Things agent method
CN104955042A (en) * 2015-04-17 2015-09-30 深圳市威矽星通信技术有限公司 Data central processing method and system applicable to Internet of Things
CN106209395A (en) * 2015-05-08 2016-12-07 株式会社日立制作所 Gateway, platform of internet of things and service optimized treatment method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10084868B2 (en) * 2016-09-03 2018-09-25 Microsoft Technology Licensing, Llc IoT gateway for weakly connected settings

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025577A (en) * 2011-01-06 2011-04-20 西安电子科技大学 Network system of Internet of things and data processing method thereof
CN103684933A (en) * 2012-09-03 2014-03-26 株式会社日立制作所 Internet of Things system, Internet of Things agent device and Internet of Things agent method
CN104955042A (en) * 2015-04-17 2015-09-30 深圳市威矽星通信技术有限公司 Data central processing method and system applicable to Internet of Things
CN106209395A (en) * 2015-05-08 2016-12-07 株式会社日立制作所 Gateway, platform of internet of things and service optimized treatment method

Also Published As

Publication number Publication date
CN108833471A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108833471B (en) Internet of things service processing method, Internet of things gateway and Internet of things
WO2019157955A1 (en) Device access method, related platform and computer storage medium
EP4054218A1 (en) Direct communication processing method, device, relay terminal, and remote terminal
CN110740460B (en) Network access method and device of equipment, network equipment and storage medium
US20190276274A1 (en) Authorization management and authorization request of elevator service request
CN112740642B (en) Communication method and multi-access edge computing server
EP3007385B1 (en) Terminal peripheral control method, m2m gateway, and communications system
CN109417492B (en) Network function NF management method and NF management equipment
CN108227680A (en) Auto analyzer and its operating system method, automotive diagnostic system
EP2171917A2 (en) System and method for providing device management service to electronic device having no broadband communication module
CN108881460B (en) Method and device for realizing unified monitoring of cloud platform
CN112448845B (en) Internet of things network distribution method based on IGRS standard, intelligent terminal and storage medium
CN113891374A (en) Method, device and equipment for identifying fault network element
CN106231538B (en) Method and device for binding OneM2M architecture equipment
WO2016201734A1 (en) Operation control method and system for application program, and terminal
US20230300772A1 (en) Target information acquisition method and terminal device
CN114616899A (en) Terminal control apparatus and method
CN112994915A (en) SD-WAN service arranging method, system, equipment and storage medium
CN110535746A (en) Virtual private network VPN sharing method and device, electronic equipment and storage medium
CN116017352A (en) Vehicle-mounted system, terminal, vehicle and resource sharing method
US20190364461A1 (en) Method and Device for Obtaining Resources and Information of SDN Networks of Different Operators
KR102385927B1 (en) Open network access management system and mobile terminal access management method using the same
CN114979231A (en) Mobile terminal real-time vehicle control method and system based on whole vehicle DDS protocol and automobile
CN114221829A (en) Edge side intelligent home management method and system
CN106211142A (en) A kind of WiFi AP terminal wide area network cut-in method

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
TR01 Transfer of patent right

Effective date of registration: 20230406

Address after: 430071 No.2, Zhongnan 2nd Road, Wuchang District, Wuhan City, Hubei Province

Patentee after: CENTRAL-SOUTH ARCHITECTURAL DESIGN INSTITUTE Co.,Ltd.

Address before: 430071 4th floor, office building a, No.777, Guanggu Third Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: ZHONGNAN DESIGN GROUP (WUHAN) ENGINEERING TECHNOLOGY RESEARCH INSTITUTE Co.,Ltd.

TR01 Transfer of patent right