CN106254506A - A kind of Intelligent hardware interlock method based on HTTP API - Google Patents

A kind of Intelligent hardware interlock method based on HTTP API Download PDF

Info

Publication number
CN106254506A
CN106254506A CN201610743507.5A CN201610743507A CN106254506A CN 106254506 A CN106254506 A CN 106254506A CN 201610743507 A CN201610743507 A CN 201610743507A CN 106254506 A CN106254506 A CN 106254506A
Authority
CN
China
Prior art keywords
intelligent hardware
intelligent
linkage
clouds
hardware
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
CN201610743507.5A
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.)
Beijing Square Technology Co Ltd
Original Assignee
Beijing Square 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 Beijing Square Technology Co Ltd filed Critical Beijing Square Technology Co Ltd
Priority to CN201610743507.5A priority Critical patent/CN106254506A/en
Publication of CN106254506A publication Critical patent/CN106254506A/en
Pending legal-status Critical Current

Links

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Abstract

The present invention relates to a kind of Intelligent hardware interlock method based on HTTP API, it includes 1, Intelligent hardware connects high in the clouds and with high in the clouds interaction data, when the open linkage function of Intelligent hardware X, high in the clouds can take out the various performance data points of Intelligent hardware X and generate URL;2, Intelligent hardware Y is by high in the clouds application linkage Intelligent hardware X, and application obtains after allowing, and high in the clouds sends authorization code and URL to Intelligent hardware Y;3, this HTTP request is sent on HTTP API server by Intelligent hardware Y;4, HTTP API server parses the identity of Intelligent hardware X, authorization code, linkage command and linkage data, then verifies the access rights of Intelligent hardware X, if by checking, then generating order or the data being handed down to Intelligent hardware X;5, the order of HTTP API server or data distributing are to Intelligent hardware X.

Description

A kind of Intelligent hardware interlock method based on HTTP API
Technical field
The invention belongs to Internet of Things and field of cloud calculation, be specifically related to a kind of Intelligent hardware linkage side based on HTTP API Method.
Background technology
After Intelligent hardware is connected to high in the clouds by Wi-Fi module, can be by the Internet and high in the clouds interaction data, it is also possible to Interacted by the application software (app) in high in the clouds with mobile phone, but in some application scenarios, except Intelligent hardware and high in the clouds/ The application software (app) of mobile phone alternately outside, in addition it is also necessary to realize being connected mutually between Intelligent hardware and Intelligent hardware
At present, Intelligent hardware is typically all and carries out linking by the hardware such as intelligent gateway or intelligent control center.This Planting linked manner and have the disadvantage in that smart machine must bind specific router and intelligent centre, it is all tight that linkage maps The unidirectional hard binding of hardware level of coupling, the equipment of different vendor and the not Intelligent hardware under same intelligent gateway cannot enter Row linkage.
Realized the linkage of Intelligent hardware by high in the clouds rule, can solve across manufacturer, cross-module group and the problem of across a network, but It is cannot linkage problem between the solution never Intelligent hardware in same YIDUOYUN.
Summary of the invention
Goal of the invention: the problem that the present invention is directed to the existence of above-mentioned prior art makes improvement, i.e. the invention discloses one Intelligent hardware interlock method based on HTTP API, it can allow different vendor, and different modules, heterogeneous networks is even connected in difference Mutually link between Intelligent hardware on Internet of Things cloud.
Technical scheme: a kind of Intelligent hardware interlock method based on HTTP API, comprises the following steps:
(1), Intelligent hardware X by Wi-Fi connect high in the clouds and with high in the clouds interaction data, when Intelligent hardware X open linkage merit During energy, high in the clouds can take out the various performance data points of Intelligent hardware X, generates URL;
(2), Intelligent hardware Y by high in the clouds application linkage Intelligent hardware X, application obtain allow after, high in the clouds is to Intelligent hardware Y Send linkage and access authorization code and the URL of Intelligent hardware X;
(3), after Intelligent hardware Y obtains the linkage URL of Intelligent hardware X and authorization code, band links life Order or linkage data composition linkage HTTP request, and this HTTP request is sent on HTTP API server;
(4), after HTTP API server receives HTTP request, from URL and the required parameter of HTTP request In parse the identity of Intelligent hardware X, authorization code, linkage command and linkage data, then according to authorization code checking intelligence The hardware Y access rights to Intelligent hardware X, if by checking, then according to the linkage command in linkage request or linkage number According to generating order or the data being handed down to Intelligent hardware X;
(5), order or the data that step (4) is generated by HTTP API server are handed down to Intelligent hardware X by high in the clouds.
Further, Intelligent hardware X includes that intelligent lamp, intelligent thermometer, Intelligent humidometer, intelligent drinking machine, pm2.5 examine Survey instrument, air purifier and intelligent air condition.
Further, Intelligent hardware Y includes that intelligent lamp, intelligent thermometer, Intelligent humidometer, intelligent drinking machine, pm2.5 examine Survey instrument, air purifier and intelligent air condition.
Beneficial effect: a kind of Intelligent hardware interlock method based on HTTP API disclosed by the invention has following useful effect Really:
1, function and the data point of Intelligent hardware are abstracted into HTTP API, it is possible to realize across manufacturer, cross-module group, inter-network Network and be connected in the Intelligent hardware linkage of (cross-platform) on different cloud;
2, by the way of authorization code, it is ensured that illegal access and linkage will not be received by linkage side's Intelligent hardware.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of Intelligent hardware interlock method based on HTTP API disclosed by the invention;
Fig. 2 is the structural representation of URL.
Detailed description of the invention:
Below the detailed description of the invention of the present invention is described in detail.
As it is shown in figure 1, a kind of Intelligent hardware interlock method based on HTTP API, comprise the following steps:
(1), Intelligent hardware X by Wi-Fi connect high in the clouds and with high in the clouds interaction data, when Intelligent hardware X open linkage merit During energy, high in the clouds can take out the various performance data points of Intelligent hardware X, generates URL;
(2), Intelligent hardware Y by high in the clouds application linkage Intelligent hardware X, application obtain allow after, high in the clouds is to Intelligent hardware Y Send linkage and access authorization code and the URL of Intelligent hardware X;
(3), after Intelligent hardware Y obtains the linkage URL of Intelligent hardware X and authorization code, band links life Order or linkage data composition linkage HTTP request, and this HTTP request is sent on HTTP API server;
(4), after HTTP API server receives HTTP request, from URL and the required parameter of HTTP request In parse the identity of Intelligent hardware X, authorization code, linkage command and linkage data, then according to authorization code checking intelligence The hardware Y access rights to Intelligent hardware X, if by checking, then according to the linkage command in linkage request or linkage number According to generating order or the data being handed down to Intelligent hardware X;
(5), order or the data that step (4) is generated by HTTP API server are handed down to Intelligent hardware X by high in the clouds.
Further, the URL in step (1) includes the most adjacent https agreement, subdomain name, unification Resource descriptor, method, equipment uniquely identify, data point title, data dot values and checking information.
Further, Intelligent hardware X includes that intelligent lamp, intelligent thermometer, Intelligent humidometer, intelligent drinking machine, pm2.5 examine Survey instrument, air purifier and intelligent air condition.
Further, Intelligent hardware Y includes that intelligent lamp, intelligent thermometer, Intelligent humidometer, intelligent drinking machine, pm2.5 examine Survey instrument, air purifier and intelligent air condition.
Above embodiments of the present invention are elaborated.But the present invention is not limited to above-mentioned embodiment, In the ken that art those of ordinary skill is possessed, it is also possible to do on the premise of without departing from present inventive concept Go out various change.

Claims (3)

1. an Intelligent hardware interlock method based on HTTP API, it is characterised in that comprise the following steps:
(1), Intelligent hardware X by Wi-Fi connect high in the clouds and with high in the clouds interaction data, when the open linkage function of Intelligent hardware X, High in the clouds can take out the various performance data points of Intelligent hardware X, generates URL;
(2), Intelligent hardware Y by high in the clouds application linkage Intelligent hardware X, application obtain allow after, high in the clouds to Intelligent hardware Y send Linkage accesses authorization code and the URL of Intelligent hardware X;
(3), after Intelligent hardware Y obtains the linkage URL of Intelligent hardware X and authorization code, on band linkage command or Person links data composition linkage HTTP request, and this HTTP request is sent on HTTP API server;
(4), after HTTP API server receives HTTP request, solve from the URL and required parameter of HTTP request Separate out the identity of Intelligent hardware X, authorization code, linkage command and linkage data, then verify Intelligent hardware Y according to authorization code Access rights to Intelligent hardware X, if by checking, then according to the linkage command in linkage request or linkage data genaration It is handed down to order or the data of Intelligent hardware X;
(5), order or the data that step (4) is generated by HTTP API server are handed down to Intelligent hardware X by high in the clouds.
A kind of Intelligent hardware interlock method based on HTTP API the most according to claim 1, it is characterised in that intelligence is hard Part X includes intelligent lamp, intelligent thermometer, Intelligent humidometer, intelligent drinking machine, pm2.5 detector, air purifier and Intelligent air Adjust.
A kind of Intelligent hardware interlock method based on HTTP API the most according to claim 1, it is characterised in that intelligence is hard Part Y includes intelligent lamp, intelligent thermometer, Intelligent humidometer, intelligent drinking machine, pm2.5 detector, air purifier and Intelligent air Adjust.
CN201610743507.5A 2016-08-26 2016-08-26 A kind of Intelligent hardware interlock method based on HTTP API Pending CN106254506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610743507.5A CN106254506A (en) 2016-08-26 2016-08-26 A kind of Intelligent hardware interlock method based on HTTP API

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610743507.5A CN106254506A (en) 2016-08-26 2016-08-26 A kind of Intelligent hardware interlock method based on HTTP API

Publications (1)

Publication Number Publication Date
CN106254506A true CN106254506A (en) 2016-12-21

Family

ID=57597004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610743507.5A Pending CN106254506A (en) 2016-08-26 2016-08-26 A kind of Intelligent hardware interlock method based on HTTP API

Country Status (1)

Country Link
CN (1) CN106254506A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107272521A (en) * 2017-08-05 2017-10-20 曲阜师范大学 A kind of Intelligent hardware control method of knowledge mapping driving

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130083805A1 (en) * 2011-10-04 2013-04-04 Advanergy, Inc. Network Integration System and Method
CN104898591A (en) * 2015-03-27 2015-09-09 西安交通大学 Intelligent household appliance cooperation control method
CN105159150A (en) * 2015-07-23 2015-12-16 北京章鱼智数科技有限公司 Intelligent equipment linkage control method
CN106131199A (en) * 2016-07-15 2016-11-16 深圳市丰巨泰科电子有限公司 A kind of intelligent home control system based on android system and control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130083805A1 (en) * 2011-10-04 2013-04-04 Advanergy, Inc. Network Integration System and Method
CN104898591A (en) * 2015-03-27 2015-09-09 西安交通大学 Intelligent household appliance cooperation control method
CN105159150A (en) * 2015-07-23 2015-12-16 北京章鱼智数科技有限公司 Intelligent equipment linkage control method
CN106131199A (en) * 2016-07-15 2016-11-16 深圳市丰巨泰科电子有限公司 A kind of intelligent home control system based on android system and control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107272521A (en) * 2017-08-05 2017-10-20 曲阜师范大学 A kind of Intelligent hardware control method of knowledge mapping driving

Similar Documents

Publication Publication Date Title
US11736942B2 (en) Multi-domain trust establishment in edge cloud architectures
US11868858B2 (en) Distributed machine learning in an information centric network
JP7241899B2 (en) Industrial automation using 5G and beyond
US11770383B2 (en) Cloud-to-device mediator service from services definition
US20190140919A1 (en) Edge computing service global validation
Wang et al. A survey on mobile edge networks: Convergence of computing, caching and communications
US11119824B2 (en) Technologies for implementing consolidated device infrastructure systems
US20180287869A1 (en) Technologies for altering modem configurations
CN110383762A (en) A kind of methods, devices and systems of implementation strategy control
WO2019199362A1 (en) Flexible multi-access edge computing (mec) services consumption through hosts zoning
EP3342125A1 (en) Service layer dynamic authorization
Khujamatov et al. Existing technologies and solutions in 5G-enabled IoT for industrial automation
CN103152775A (en) Quality of service mechanism
CN103312682B (en) The method and system that gateway security accesses
Cheng et al. 5G in manufacturing: a literature review and future research
Fiandrino et al. openLEON: An end-to-end emulation platform from the edge data center to the mobile user
KR20230038732A (en) traffic control
US20170325092A1 (en) Discovery mechanism for service server connection
US20200274849A1 (en) Multi-domain message routing with e2e tunnel protection
CN115604199A (en) Service routing method and system for cloud native platform micro-service gateway
CN109246704A (en) Safety auditing system and method for remotely connecting
CN106210138A (en) A kind of Intelligent hardware interlock method based on high in the clouds rule
CN106330386B (en) A kind of transport layer parameters method of adjustment and device
CN106254506A (en) A kind of Intelligent hardware interlock method based on HTTP API
Mendiboure et al. Towards an adaptive blockchain for internet of vehicles

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221