CN109962843A - The method that things-internet gateway realizes marginal information processing - Google Patents

The method that things-internet gateway realizes marginal information processing Download PDF

Info

Publication number
CN109962843A
CN109962843A CN201711408005.8A CN201711408005A CN109962843A CN 109962843 A CN109962843 A CN 109962843A CN 201711408005 A CN201711408005 A CN 201711408005A CN 109962843 A CN109962843 A CN 109962843A
Authority
CN
China
Prior art keywords
gateway
logic
real
things
arithmetic logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711408005.8A
Other languages
Chinese (zh)
Other versions
CN109962843B (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.)
Wpg (shanghai) Smart Water Public Co Ltd
Original Assignee
Wpg (shanghai) Smart Water Public 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 Wpg (shanghai) Smart Water Public Co Ltd filed Critical Wpg (shanghai) Smart Water Public Co Ltd
Priority to CN201711408005.8A priority Critical patent/CN109962843B/en
Publication of CN109962843A publication Critical patent/CN109962843A/en
Application granted granted Critical
Publication of CN109962843B publication Critical patent/CN109962843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Landscapes

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

Abstract

The invention discloses a kind of method that things-internet gateway realizes marginal information processing, the step of this method include: beyond the clouds server generate arithmetic logic;Arithmetic logic is issued to gateway by cloud server;The arithmetic logic received is resolved to real-time control logic by gateway, and will be in the storage to current Real-time Logic algorithm of real-time control logic;Gateway runs the real-time control logic in current Real-time Logic algorithm according to the real value that equipment end acquires, and generates command information and is issued to equipment end or is uploaded to cloud server;Accordingly, the gateway in the present invention can share the operation pressure of cloud server, and timeliness when can ensure data processing and control.

Description

The method that things-internet gateway realizes marginal information processing
Technical field
The present invention relates to a kind of information processing methods of gateway, realize marginal information more particularly, to a kind of things-internet gateway The method of processing.
Background technique
With the development of technology of Internet of things and Internet technology, more and more equipment are integrated by Internet of things system Internet is simultaneously connected to cloud, constitutes big and small Internet of things system.With the continuous development of technology, cloud is accessed Data and equipment are just in the growth of explosion type.
There are two types of most common traditional Internet of Things access ways:
The first: the sensor of equipment end directly acquires the real time data of equipment, and the real time data of acquisition is sent directly to cloud Server is held, data operation is executed by cloud server, after completing data operation, is replied to lower control instruction according to operation result Equipment end, to realize the Internet of things system of complete set.
Second: the sensor of equipment end has the real-time data imputing system of acquisition to things-internet gateway, things-internet gateway Networked capabilities, after real time data is carried out integration classification or simple, single logical operation, by real time data be packaged to Cloud server, cloud server realize data analysis and operation, give some lower controls of gateway to instruct again according to operational analysis result Packet, realizes complete Internet of things system.
In above two Internet of things system, first way has the operational capability of network and cloud server very big Dependence can't bear the heavy load when unstable or cloud server occurs in network, when cannot timely feedback operation result, to entire object The timeliness of networked system will have very big influence, even result in system aborts.The second way, although passing through Internet of Things A set of simple, single logical operation analysis may be implemented in net gateway, reduces the pressure of cloud server, can also be built-in Logic ensures that the subsystem of gateway composition can carry out simple management and running in unstable networks, but the operation of Internet of Things divides The variability for analysing algorithm and scheduling logic is bigger, sometimes simply because the difference of external parameter, such as time, season etc. requires Different parsers, fixed, single operation and logic are difficult to meet the needs of Internet of Things.
Summary of the invention
It can be continuous according to the scene requirement of server in view of this, the technical problem to be solved in the present invention is to provide one kind The method of things-internet gateway marginal information processing is updated, to realize that server only issues arithmetic logic, things-internet gateway is according to fortune It calculates logic and logic analysis and operation is carried out to the data of equipment end, to share the operation pressure of server, and ensure data processing The timeliness of control.
In order to solve the above-mentioned technical problems, the present invention provides the sides that a kind of things-internet gateway realizes marginal information processing The step of method, this method includes: arithmetic logic generation step, and server generates arithmetic logic beyond the clouds;Arithmetic logic issues step Suddenly, arithmetic logic is issued to gateway by cloud server;Arithmetic logic parsing and storing step, gateway patrol the operation received It collects and resolves to real-time control logic, and will be in the storage to current Real-time Logic algorithm of real-time control logic;Arithmetic logic executes step Suddenly, gateway runs the real-time control logic in current Real-time Logic algorithm according to the real value that equipment end acquires, and generates instruction letter It ceases and is issued to equipment end or be uploaded to cloud server.
As a further improvement of the present invention, in above-mentioned arithmetic logic generation step, the gateway algorithm in cloud server Coordination service end can generate or previous threshold has multiple arithmetic logics, and gateway algorithm coordination service end is generated according to triggering command Or one arithmetic logic of selection.Wherein, triggering command includes: the finger generated by gateway algorithm coordination service end according to present case The command information at the gateway algorithm coordination service end for enabling information, being generated by gateway and is uploaded in cloud server and by pipe Reason personnel give the command information at the gateway algorithm coordination service end in cloud server.
As further improvement of the invention, gateway algorithm coordination service end is by the input parametric variable in arithmetic logic After being substituted with the format that gateway number parameter is numbered, arithmetic logic is parsed into binary tree structure, wherein binary tree structure Root node is oeprator, and the child node of binary tree structure is to execute data, later again turns the arithmetic logic of binary tree structure It is changed to json character string.
As further improvement of the invention, above-mentioned arithmetic logic is issued in step, by the gateway in cloud server Algorithm coordination service end is issued to gateway after integrity verification code is added in json character string.
As further improvement of the invention, with storing step, gateway will be received for above-mentioned arithmetic logic parsing Json character string de-parsing is stored at binary tree structure, and using binary tree structure as real-time control logic to current Real-time Logic In algorithm.
As a further improvement of the present invention, above-mentioned arithmetic logic executes in step, and gateway is acquired according to equipment end It is to replace the input parametric variable in binary tree structure when real value runs the real-time control logic in current Real-time Logic algorithm It is changed to gateway number parameter and numbers corresponding real value, and traversal operation is carried out to generate command information to binary tree structure, it Command information is issued to equipment end or is uploaded to cloud server by gateway afterwards.
The present invention has the advantages that relative to existing Internet of Things access way
1. cloud server is made only to need to issue operation method in due course, operation pressure is moved down, after things-internet gateway handles data well It is just uploaded to server, significantly reduces the pressure of server operation, reduces Internet of things system to cloud server operation It relies on.
2. cloud server specified rule, the mode that gateway executes make the inside of Internet of Things " small " system execute logic de- From the dependence to network and server, in the scene of some unstable networks, caused by can be effectively prevented because of unstable networks Internet of things system collapse, shut down, the risks such as failure exception.
Detailed description of the invention
Fig. 1 is that the process flow of a specific embodiment of the method that things-internet gateway of the present invention realizes marginal information processing is shown It is intended to.
Symbol description in attached drawing:
S1 cloud server generates arithmetic logic;S2 cloud server generates binary tree structure;S3 cloud server issues Json character string;S4 gateway is by json character string de-parsing at binary tree structure;S5 gateway carries out traversal operation.
Specific embodiment
The present invention realizes a kind of things-internet gateway that can be controlled by cloud server, deploy, manage marginal information processing The method for realizing marginal information processing.Cloud server only needs a set of algorithm that coordination service program management or raw in real time can be realized The arithmetic logic of networking inside the Pass, gateway receive arithmetic logic, and cloud server can be cooperated to complete most operation and processing Process.
The step of a kind of method that method provided by the present invention realizes marginal information processing for things-internet gateway, this method It include: arithmetic logic generation step, server generates arithmetic logic beyond the clouds;Arithmetic logic issues step, and cloud server will Arithmetic logic is issued to gateway;The arithmetic logic received is resolved to real-time control by arithmetic logic parsing and storing step, gateway Logic processed, and will be in the storage to current Real-time Logic algorithm of real-time control logic;Arithmetic logic executes step, and gateway is according to equipment The real value of end acquisition runs the real-time control logic in current Real-time Logic algorithm, generates command information and is issued to equipment end Or it is uploaded to cloud server.
As shown in Figure 1, realizing the place of a specific embodiment of the method for marginal information processing for things-internet gateway of the present invention Manage flow diagram.The Fig. 1 is shown to the generation to simple overtemperature alarm arithmetic logic server beyond the clouds, under Hair, parsing, traversal operation are illustrated.Wherein, step S1: cloud server generates arithmetic logic, is cloud server The arithmetic logic of one " just alarming when the temperature of equipment is greater than 100 degree " is generated or selected according to a triggering command, The triggering command can be by the gateway algorithm coordination service end in cloud server according to present case (such as time, season Deng) command information that generates, or the finger at gateway algorithm coordination service end for being generated by gateway and being uploaded in cloud server Information is enabled, or gives by administrative staff the command information at the gateway algorithm coordination service end in cloud server.
Step S2: cloud server generates binary tree structure, and the gateway algorithm coordination service end in cloud server will be upper After stating the input parametric variable format substitution of " gateway temperature " in arithmetic logic, which is parsed into binary tree Structure, wherein the root node of binary tree structure is oeprator (" > ", "="), and the child node of binary tree structure is to execute data (including " gateway temperature ", " 100 ", " 1 "), is converted to json character string (such as the arithmetic logic of the binary tree structure again later Shown in Fig. 1).
Step S3: cloud server issues json character string, will by the gateway algorithm coordination service end in cloud server Json character string is issued to gateway after integrity verification code is added.
Step S4: for gateway by json character string de-parsing at binary tree structure, gateway is anti-by the json character string received It is parsed into binary tree structure, and is stored binary tree structure as real-time control logic into current Real-time Logic algorithm.
Step S5: gateway carries out traversal operation, and real value (temperature=110 degree) operation that gateway is acquired according to equipment end is worked as It is that the input parametric variable in binary tree structure is replaced with into " gateway temperature when real-time control logic in preceding Real-time Logic algorithm The corresponding real value (temperature=110 degree) of degree ", and traversal operation is carried out to binary tree structure to generate command information (i.e. " report It is alert "), command information is issued to equipment end or is uploaded to cloud server by gateway later.
The foregoing is merely presently preferred embodiments of the present invention, not to limit to scope of patent protection of the invention, therefore Such as the equivalence changes done with description of the invention or schema content, are similarly contained in the scope of the present invention It is interior.

Claims (8)

1. a kind of method that things-internet gateway realizes marginal information processing, which is characterized in that step includes:
Arithmetic logic generation step: server generates arithmetic logic beyond the clouds;
Arithmetic logic issues step: the arithmetic logic is issued to gateway by the cloud server;
Arithmetic logic parsing and storing step: the arithmetic logic received is resolved to real-time control logic by the gateway, And it will be in real-time control logic storage to current Real-time Logic algorithm;
Arithmetic logic executes step: the gateway is run in the current Real-time Logic algorithm according to the real value that equipment end acquires The real-time control logic, generate command information simultaneously be issued to the equipment end or be uploaded to the cloud server.
2. the method that things-internet gateway according to claim 1 realizes marginal information processing, which is characterized in that the operation In logic generation step, the gateway algorithm coordination service end in the cloud server can generate or previous threshold has multiple fortune Logic is calculated, the gateway algorithm coordination service end generates or select an arithmetic logic according to triggering command.
3. the method that things-internet gateway according to claim 2 realizes marginal information processing, which is characterized in that the triggering Instruction includes: the command information generated by the gateway algorithm coordination service end according to present case, by gateway is generated and uploaded To the gateway algorithm coordination service end in the cloud server command information and give the cloud by administrative staff Hold the command information at the gateway algorithm coordination service end in server.
4. the method that things-internet gateway according to claim 2 realizes marginal information processing, which is characterized in that the gateway After algorithm coordination service end substitutes the input parametric variable in arithmetic logic with the format that gateway number parameter is numbered, by institute It states arithmetic logic and is parsed into binary tree structure, the arithmetic logic of binary tree structure is converted into json character string again later.
5. the method that things-internet gateway according to claim 4 realizes marginal information processing, which is characterized in that wherein described The root node of binary tree structure is oeprator, and the child node of the binary tree structure is to execute data.
6. the method that things-internet gateway according to claim 1 realizes marginal information processing, which is characterized in that the operation Logic issues in step, is tested json character string addition integrality by the gateway algorithm coordination service end in the cloud server Gateway is issued to after card code.
7. the method that things-internet gateway according to claim 1 realizes marginal information processing, which is characterized in that the operation In logical analysis and storing step, the gateway by the json character string de-parsing received at binary tree structure, and will be described Binary tree structure is stored as real-time control logic into current Real-time Logic algorithm.
8. the method that things-internet gateway according to claim 1 realizes marginal information processing, which is characterized in that the operation Logic executes in step, described in the gateway is run in the current Real-time Logic algorithm according to the real value that equipment end acquires It is that the input parametric variable in binary tree structure is replaced with to gateway number parameter to number corresponding institute when real-time control logic It states real value, and traversal operation is carried out to generate command information to binary tree structure, the gateway is by described instruction information later It is issued to the equipment end or is uploaded to the cloud server.
CN201711408005.8A 2017-12-22 2017-12-22 Method for realizing edge information processing of gateway of Internet of things Active CN109962843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711408005.8A CN109962843B (en) 2017-12-22 2017-12-22 Method for realizing edge information processing of gateway of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711408005.8A CN109962843B (en) 2017-12-22 2017-12-22 Method for realizing edge information processing of gateway of Internet of things

Publications (2)

Publication Number Publication Date
CN109962843A true CN109962843A (en) 2019-07-02
CN109962843B CN109962843B (en) 2021-04-27

Family

ID=67019704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711408005.8A Active CN109962843B (en) 2017-12-22 2017-12-22 Method for realizing edge information processing of gateway of Internet of things

Country Status (1)

Country Link
CN (1) CN109962843B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224827A (en) * 2019-07-09 2019-09-10 佳源科技有限公司 A kind of edge gateway of internet of things of encryption
CN110650085A (en) * 2019-09-02 2020-01-03 福州谛听科技有限公司 Method, system, gateway and storage medium for data acquisition and optimization of Internet of things
CN110825433A (en) * 2019-10-30 2020-02-21 电子科技大学 Design method of edge control equipment
CN111443935A (en) * 2020-04-15 2020-07-24 中国电子信息产业集团有限公司第六研究所 Method, device and storage medium for processing algorithm task of industrial edge gateway
CN112039925A (en) * 2020-11-03 2020-12-04 合沃物联技术(南京)有限公司 Edge calculation method based on industrial Internet of things gateway
CN113535232A (en) * 2021-06-12 2021-10-22 武汉所为科技有限公司 Heating and ventilation cloud edge cooperative system
CN114466259A (en) * 2022-04-13 2022-05-10 大唐融合通信股份有限公司 Data processing method, device and equipment of Internet of things gateway and Internet of things gateway
CN116527446A (en) * 2023-02-01 2023-08-01 合沃物联技术(南京)有限公司 Edge rule engine method based on industrial Internet of things gateway

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004956A1 (en) * 2002-07-03 2004-01-08 Agilent Technologies, Inc. Apparatus and method for routing information from a telecommunications network
US20050256610A1 (en) * 2004-05-13 2005-11-17 Honda Motor Co., Ltd. Robot control apparatus
CN102521411A (en) * 2011-12-28 2012-06-27 畅捷通信息技术股份有限公司 Formula and formula data processing device and formula and formula data processing method
CN103684933A (en) * 2012-09-03 2014-03-26 株式会社日立制作所 Internet of Things system, Internet of Things agent device and Internet of Things agent method
CN104407600A (en) * 2014-12-16 2015-03-11 武汉邮电科学研究院 Method for realizing intelligent home based on RFID (radio frequency identification devices) labels and identity mapping of hash functions
CN104717135A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Realization method and device of intelligent home gateway
CN105718521A (en) * 2016-01-15 2016-06-29 湖南大学 Wavelet Tree based network data packet indexing system
CN105740048A (en) * 2016-01-26 2016-07-06 华为技术有限公司 Image management method, device and system
CN106294530A (en) * 2015-06-29 2017-01-04 阿里巴巴集团控股有限公司 The method and system of rule match
US20170156592A1 (en) * 2015-12-02 2017-06-08 Mediatek Inc. Healthcare systems and monitoring method for physiological signals
CN107370644A (en) * 2017-07-18 2017-11-21 深圳市斑点猫信息技术有限公司 Inter-linked controlling method, device, computer-readable recording medium and computer equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004956A1 (en) * 2002-07-03 2004-01-08 Agilent Technologies, Inc. Apparatus and method for routing information from a telecommunications network
US20050256610A1 (en) * 2004-05-13 2005-11-17 Honda Motor Co., Ltd. Robot control apparatus
CN102521411A (en) * 2011-12-28 2012-06-27 畅捷通信息技术股份有限公司 Formula and formula data processing device and formula and formula data processing method
CN103684933A (en) * 2012-09-03 2014-03-26 株式会社日立制作所 Internet of Things system, Internet of Things agent device and Internet of Things agent method
CN104717135A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Realization method and device of intelligent home gateway
CN104407600A (en) * 2014-12-16 2015-03-11 武汉邮电科学研究院 Method for realizing intelligent home based on RFID (radio frequency identification devices) labels and identity mapping of hash functions
CN106294530A (en) * 2015-06-29 2017-01-04 阿里巴巴集团控股有限公司 The method and system of rule match
US20170156592A1 (en) * 2015-12-02 2017-06-08 Mediatek Inc. Healthcare systems and monitoring method for physiological signals
CN105718521A (en) * 2016-01-15 2016-06-29 湖南大学 Wavelet Tree based network data packet indexing system
CN105740048A (en) * 2016-01-26 2016-07-06 华为技术有限公司 Image management method, device and system
CN107370644A (en) * 2017-07-18 2017-11-21 深圳市斑点猫信息技术有限公司 Inter-linked controlling method, device, computer-readable recording medium and computer equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224827A (en) * 2019-07-09 2019-09-10 佳源科技有限公司 A kind of edge gateway of internet of things of encryption
CN110650085B (en) * 2019-09-02 2022-02-22 福州谛听科技有限公司 Method, system, gateway and storage medium for data acquisition and optimization of Internet of things
CN110650085A (en) * 2019-09-02 2020-01-03 福州谛听科技有限公司 Method, system, gateway and storage medium for data acquisition and optimization of Internet of things
CN110825433A (en) * 2019-10-30 2020-02-21 电子科技大学 Design method of edge control equipment
CN110825433B (en) * 2019-10-30 2023-04-07 电子科技大学 Design method of edge control equipment
CN111443935A (en) * 2020-04-15 2020-07-24 中国电子信息产业集团有限公司第六研究所 Method, device and storage medium for processing algorithm task of industrial edge gateway
CN112039925A (en) * 2020-11-03 2020-12-04 合沃物联技术(南京)有限公司 Edge calculation method based on industrial Internet of things gateway
CN113535232A (en) * 2021-06-12 2021-10-22 武汉所为科技有限公司 Heating and ventilation cloud edge cooperative system
CN113535232B (en) * 2021-06-12 2023-03-17 武汉所为科技有限公司 Heating and ventilation cloud edge coordination system
CN114466259A (en) * 2022-04-13 2022-05-10 大唐融合通信股份有限公司 Data processing method, device and equipment of Internet of things gateway and Internet of things gateway
CN114466259B (en) * 2022-04-13 2022-07-01 大唐融合通信股份有限公司 Data processing method, device and equipment of Internet of things gateway and Internet of things gateway
CN116527446A (en) * 2023-02-01 2023-08-01 合沃物联技术(南京)有限公司 Edge rule engine method based on industrial Internet of things gateway
CN116527446B (en) * 2023-02-01 2023-09-08 合沃物联技术(南京)有限公司 Edge rule engine method based on industrial Internet of things gateway

Also Published As

Publication number Publication date
CN109962843B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN109962843A (en) The method that things-internet gateway realizes marginal information processing
CN111368089B (en) Business processing method and device based on knowledge graph
US9984336B2 (en) Classification rule sets creation and application to decision making
US20190190938A1 (en) Anomaly detection method, learning method, anomaly detection device, and learning device
CN106708016A (en) Failure monitoring method and failure monitoring device
CN109587125B (en) Network security big data analysis method, system and related device
CN110677430B (en) User risk degree evaluation method and system based on log data of network security equipment
CN106469106B (en) A kind of state monitoring method based on symbol data model
JP2019110513A (en) Anomaly detection method, learning method, anomaly detection device, and learning device
CN109564609A (en) It mitigates and corrects using the detection of the computer attack of advanced computers decision-making platform
CN117581239A (en) System and method for artificial intelligence definition network
CN105141441A (en) IP network graphical configuration method
Yang et al. Netflow monitoring and cyberattack detection using deep learning with ceph
US20210027167A1 (en) Model structure extraction for analyzing unstructured text data
CN114153920A (en) Big data edge platform and method
US10459730B2 (en) Analysis system and analysis method for executing analysis process with at least portions of time series data and analysis data as input data
US9910642B2 (en) Optimal rule generation from a digraph representation
US9378460B2 (en) Method and apparatus for provisioning storage resources using an expert system that displays the provisioning to a user
CN113765683A (en) Cutover alarm shielding method and device for network slices
Wei Deep learning model under complex network and its application in traffic detection and analysis
EP4073979A1 (en) Method for monitoring and/or controlling one or more chemical plant(s)
Navarro et al. The management system of INTEGRIS-extending the smart grid to the web of energy
Wenbai et al. A Prediction Method for the RUL of Equipment for Missing Data
CN105427037A (en) Service-based indexed information security audit early warning system and method
EP4042327A1 (en) Event detection in a data stream

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