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

A communication method between mobile phone and raspberry pie based on cloud database

A communication method and technology of Raspberry Pi, applied in the field of communication, can solve the problems of consuming server computing and storage resources, inconvenient software upgrade, poor stability, etc., to save computing and storage resources, realize real-time modification, and have strong stability. Effect

Active Publication Date: 2021-12-17
DALIAN UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The obvious disadvantages of this technical solution are: 1. Short transmission distance: Bluetooth is a wireless technology standard, which belongs to the local area network, and the transmission data has a range limit. When the distance between the Raspberry Pi and the mobile phone exceeds this range, data transmission become unstable or even unable to connect
2. Unable to achieve multi-user data sharing: the mobile app and Raspberry Pi communicate through point-to-point mode. Since the databases are all personal databases, multiple user data sharing cannot be achieved
3. Inconvenient software upgrade in the later stage: because the operating program is encapsulated in the product, product users cannot maintain and upgrade the product
The obvious disadvantages of this technical solution are: high cost, poor stability, consumption of computing and storage resources on the server side, etc.

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 communication method between mobile phone and raspberry pie based on cloud database
  • A communication method between mobile phone and raspberry pie based on cloud database
  • A communication method between mobile phone and raspberry pie based on cloud database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments: taking this as an example to further describe and illustrate the present application.

[0057] This embodiment provides a communication method between a mobile phone and a Raspberry Pi based on a cloud database, which specifically includes the following steps:

[0058] Step 1. The python script program on the Raspberry Pi controls the hardware device by calling the GPIO port, and controls the high and low levels of the GPIO port through the Python program to realize the light on and off.

[0059] Step 2. The mobile phone and Raspberry Pi under the same wifi access each other through ajax, and call the program on the server side through php to realize the interaction, so as to realize the synchronization of data.

[0060] Step 2 is further detailed as follows:

[0061] 2.1 Configure the Raspberry Pi server and database

[0062] 2.2 Data ...

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 a communication method between a mobile phone and a raspberry pie based on a cloud database, which specifically includes the following steps: step 1, the python script program on the raspberry pie controls the hardware device by calling the GPIO port, and the Python program Control the high and low levels of the GPIO port to realize the light on and off; step 2, the mobile phone and the raspberry pie under the same wifi access each other through ajax, and use php to call the program on the server side to realize the interaction, so as to realize the synchronization of data; steps 3. The cloud server accesses the Raspberry Pi control terminal and the mobile app through ajax based on http and websocket protocols; Step 4. The background program of the cloud server adds, deletes, modifies, and checks the cloud database. The raspberry pie and mobile phone are used as terminals, and important data and programs are uploaded to the server, and the server stores the data in the cloud server through the background program, so as to realize data sharing and real-time modification of programs.

Description

technical field [0001] The invention relates to a communication method, in particular to a communication method between a mobile phone and a raspberry pie based on a cloud database. Background technique [0002] In the prior art, the mobile app and the Raspberry Pi can communicate through Bluetooth. The mobile app generates instructions to send data to the Raspberry Pi through Bluetooth, and the Raspberry Pi receives the data through Bluetooth; otherwise, the Raspberry Pi sends data to the mobile app, and the mobile app receives it through Bluetooth. The obvious disadvantages of this technical solution are: 1. Short transmission distance: Bluetooth is a wireless technology standard, which belongs to the local area network, and the transmission data has a range limit. When the distance between the Raspberry Pi and the mobile phone exceeds this range, data transmission It will be unstable or even unable to connect. 2. Unable to realize multi-user data sharing: The mobile app...

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): H04L29/08H04L29/06H04M1/72409H04M1/72406G06F16/25G06F16/27
CPCH04L67/141H04L67/1095H04L67/146H04L67/02H04L69/162G06F16/25G06F16/27H04M1/72409H04L67/133
Inventor 邹启杰黄超牛浩青许敏赵昌艳杨一帆
Owner DALIAN UNIV
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