Http open interface calling method based on embedded equipment

An embedded device, open interface technology, applied in the direction of electrical components, transmission systems, etc., can solve the problems of prolonged time to market, difficult product maintenance, and high personnel investment, and achieve the effect of shortening the development cycle

Inactive Publication Date: 2018-04-13
NANJING JUSHA DISPLAY TECH +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this demand will lead to a series of problems such as long development cycle, high personnel inves

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Http open interface calling method based on embedded equipment
  • Http open interface calling method based on embedded equipment
  • Http open interface calling method based on embedded equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be further described below in conjunction with the accompanying drawings.

[0038] Such as figure 1 Shown, a kind of http open interface calling method based on embedded equipment, it comprises the following steps:

[0039] Step 1: Start the embedded device, which is a Linux device. After the embedded device system is normally initialized, it starts to listen to port 80 of http, and is ready to receive requests from the client.

[0040] Step 2: The user starts the platform, such as: the Windows / Linux / Android / iOS client connects to the embedded device, and fills in the ip, port, ctrl, cmd_type in the sending request according to the open interface request data format provided by the embedded device ,device_id,device_type,cmd_length,cmd_id,cmd_param,check_bit,end fields, then send and wait for the response from the embedded device.

[0041] The request data format is as follows:

[0042] http: / / ip:port / ctrl? [cmd_type],[device_id],[device_ty...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an http open interface calling method based on embedded equipment. The embedded equipment serves as an http server and provides an http-based open interface to be used for achieving interaction with the embedded equipment. All clients including windows application software, windows browsers, Linux application software and mobile terminal (Android/iOS) application software or browsers which communicate with the embedded equipment on any network link can achieve interaction with the embedded equipment only by abiding by the http-based open interface which is provided by the embedded equipment. Accordingly, the cross-platform integration problem of the embedded equipment is solved, the embedded equipment does not need to customize an open interface for each platform (Windows/Linux/Android/iOS), and the development cycle of the embedded equipment is greatly shortened.

Description

technical field [0001] The invention relates to a method for invoking an http open interface based on an embedded device, and belongs to the technical field of computer applications. Background technique [0002] At present, with the development of social science and technology, more and more Linux embedded devices are accepted and used by people, such as various intelligent terminal devices. [0003] However, in the process of developing these Linux embedded devices, it is necessary to provide open interfaces for various platforms (Windows / Linux / Android / iOS) to facilitate the integration of various platform integrators. [0004] However, this demand will lead to a series of problems such as long development cycle, high personnel investment, and difficult maintenance of products. This directly prolongs the product launch cycle and manufacturing costs. Contents of the invention [0005] Purpose: In order to overcome the deficiencies in the prior art, the present invention...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/34H04L67/60
Inventor 王卫汤友俊
Owner NANJING JUSHA DISPLAY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products