Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A remote experiment method for embedded devices based on websocket protocol

An embedded device and remote experiment technology, applied in the field of embedded device remote experiment, Websocket protocol and HTTP protocol, can solve the problems of intensive and difficult to buy embedded devices for students, and achieve the effect of reducing control overhead.

Active Publication Date: 2022-07-01
杭州梦视网络科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the on-site experimenters in campus laboratories are too dense during the epidemic period, and the embedded devices are expensive and difficult for students to purchase, the present invention provides a remote experiment method for embedded devices based on the Websocket protocol, which realizes remote operation of embedded devices. Embedded experiment

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
  • A remote experiment method for embedded devices based on websocket protocol
  • A remote experiment method for embedded devices based on websocket protocol
  • A remote experiment method for embedded devices based on websocket protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below with reference to the accompanying drawings.

[0035] refer tofigure 1 , you can see the overall frame diagram of a Websocket protocol-based embedded device remote experiment method provided by the present invention, the overall frame includes 5 parts, namely browser, Web server, Websocket server, database and embedded device. The function of the browser is mainly to interact with users, including inputting and sending user commands, displaying feedback data from embedded devices, uploading files, etc. The web server is mainly used to save the user and device information and the binding information between the user and the embedded device, save the experimental files uploaded by the user, and provide a file download interface for the embedded device. The Websocket server obtains the binding information between the user and the embedded device by querying the database, and forwards the message sent by the br...

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

A remote experiment method for embedded devices based on Websocket protocol, comprising: 1) firstly building a Websocket server and a Web server; 2) running embedded device code and then establishing a connection with the Websocket server and waiting for user binding; 3) user login and the Websocket server Establish communication, and then bind the online device; 4) The embedded device waits for the user to send the command, and parses the command; 5) Executes the download command to download the file; 6) The user sends the operation command The embedded device executes the operation command and starts to run the embedded device Experimental code; 7) The device obtains the feedback information generated after the embedded device executes the user command and feeds the data back to the browser. The present invention can realize two-way communication between the browser and the Websocket server, and solves the drawbacks brought by the traditional B / S communication mode of one-time access and one-response communication. The present invention also has less control overhead. The packet header used for protocol control is smaller when exchanging data between them.

Description

technical field [0001] The invention relates to the field of Internet and communication, in particular to the Websocket protocol and the HTTP protocol. By means of network transmission, an embedded device can receive messages sent by remote users, and download files uploaded by remote users, so as to realize user and embedded devices. remote data exchange. Specifically, it is a remote experiment method for embedded devices based on Websocket protocol. Background technique [0002] With the development of the times, the Internet has become a convenient communication method, and we can conduct remote data exchange through the network. Embedded devices are also becoming more and more popular in the lives of the public. Through Websocket protocol and HTTP protocol, embedded devices are connected to the network, so as to realize remote control of embedded devices and remote embedded experiments. [0003] WebSocket is a full-duplex communication standard between a web browser an...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/02H04L67/06H04L67/141H04L69/16
CPCH04L67/02H04L67/141H04L67/06H04L69/162
Inventor 林梦嫚包秀钦孟利民应颂翔彭宏
Owner 杭州梦视网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products