Skip to content

๐ŸŽถ ๋”ฅ๋Ÿฌ๋‹์„ ์ด์šฉํ•œ ์ผ์ƒ์ƒํ™œ ์†Œ๋ฆฌ ๋ถ„๋ฅ˜ ๋ฐ ์•Œ๋ฆผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ : Soundee Server ๐ŸŽถ

Notifications You must be signed in to change notification settings

CapstoneDesign2020/Soundee-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

43 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽถ Soundee-Server

์†Œ๋ฆฌ๋ฅผ ๋ณด๋‹ค Soundee

์ฒญ๊ฐ ์žฅ์• ์ธ์„ ์œ„ํ•œ ๋”ฅ๋Ÿฌ๋‹์„ ์ด์šฉํ•œ ์ผ์ƒ์ƒํ™œ ์†Œ๋ฆฌ ๋ถ„๋ฅ˜ ๋ฐ ์•Œ๋ฆผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

๐Ÿ’ป 2020 IT Media Engineering CapstoneDesign Project

๐Ÿ‘‹ Introduction

๊ธฐํš์˜๋„

์‚ฌ๋ฌผ ์ธํ„ฐ๋„ท์ด ํ™œ์„ฑํ™”๋˜์–ด ์ƒํ™œ์— ๋งŽ์€ ๋ถ€๋ถ„๋“ค์ด ํŽธ๋ฆฌํ•ด์กŒ์ง€๋งŒ, ์ฒญ๊ฐ์žฅ์• ์ธ์€ ์ด ํŽธ๋ฆฌํ•จ์— ์†Œ์™ธ๋œ ๊ฒƒ์ด ํ˜„์‹ค์ด๋‹ค. ์†Œ๋ฆฌ๋ฅผ ๋“ฃ์ง€ ๋ชปํ•˜๋Š” ๋†์ธ๋“ค์€ ๋ƒ‰์žฅ๊ณ ๋ฅผ ์˜ค๋ž˜ ์—ด์–ด๋†จ์„ ์‹œ ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ๋ณด์Œ, ์žŠ์–ด๋ฒ„๋ฆฌ๊ณ  ๋„์ง€ ๋ชปํ•œ ๋“œ๋ผ์ด๊ธฐ, ๋ฌผ์†Œ๋ฆฌ ๋“ฑ์˜ ์†Œ๋ฆฌ๋ฅผ ์ธ์ง€ํ•˜์ง€ ๋ชปํ•œ๋‹ค. ๋†์ธ์—๊ฒŒ๋„ ์ด๋ฅผ ๊ฐ์ง€ํ•˜๊ณ  ์ธ์‹ํ•  ์ˆ˜ ์žˆ๋Š” ์‹œ์Šคํ…œ์ด ํ•„์š”ํ•˜๋‹ค.

์ด๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด ๋ณธ ํ”„๋กœ์ ํŠธ๋Š” ๊ฐ€์ •์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์†Œ๋ฆฌ๋ฅผ ์ธ์ง€ํ•˜์—ฌ ๋ถ„๋ฅ˜ํ•˜์—ฌ ํ˜„์žฌ ๋ฐœ์ƒํ•œ ์†Œ๋ฆฌ์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์•Œ๋ ค์ฃผ๋ฉฐ ์†Œ๋ฆฌ ์ •๋ณด์— ๋Œ€ํ•œ ํ†ต๊ณ„ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•˜๋Š” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ธฐํšํ•˜์˜€๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ๋†์ธ์ด ์ธ์ง€ํ•˜์ง€ ๋ชปํ•˜๋Š” ์œ„ํ—˜๊ณผ ๋‚ญ๋น„๋ฅผ ๋ฏธ๋ฆฌ ์˜ˆ๋ฐฉํ•˜์—ฌ, ๋†์ธ์—๊ฒŒ ์ข€ ๋” ์•ˆ์ „ํ•˜๊ณ  ํŽธ๋ฆฌํ•œ ์ƒํ™œ์„ ์ œ๊ณตํ•˜๊ณ ์ž ํ•œ๋‹ค.

์ž‘ํ’ˆ์†Œ๊ฐœ

๋ฌด์ง€ํ–ฅ์„ฑ ๋งˆ์ดํฌ๋ฅผ ํ†ตํ•ด ์ผ์ƒ ์†Œ๋ฆฌ๋ฅผ ๊ฐ์ง€ํ•œ๋‹ค. PC์— ์—ฐ๊ฒฐํ•œ ๋งˆ์ดํฌ๋กœ ์ˆ˜์ง‘ํ•œ ์Œํ–ฅ ๋ฐ์ดํ„ฐ๋ฅผ ์„œ๋ฒ„์— ์†ก์‹ ํ•˜๊ณ , ์„œ๋ฒ„๋Š” ์ˆ˜์‹ ํ•œ ์†Œ๋ฆฌ๋ฅผ ๋”ฅ๋Ÿฌ๋‹์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•œ ์Œํ–ฅ ์˜ˆ์ธก ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ํ†ตํ•ด ์˜ˆ์ธก ๊ฒฐ๊ณผ๋ฅผ ์•ˆ๋“œ๋กœ์ด๋“œ ์š”์ฒญ์— ๋”ฐ๋ผ ๊ธฐ๊ธฐ์— ์†ก์‹ ํ•œ๋‹ค. ์•ˆ๋“œ๋กœ์ด๋“œ ๊ธฐ๊ธฐ๋Š” ์ˆ˜์‹ ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ํ‘ธ์‹œ์•Œ๋ฆผ๊ณผ ํ†ต๊ณ„ ๋“ฑ ๋‹ค์–‘ํ•œ ๋ฐฉ๋ฒ•์œผ๋กœ ์ œ๊ณตํ•˜์—ฌ ์ฒญ๊ฐ์žฅ์• ์ธ์„ ์œ„ํ•œ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•œ๋‹ค.

๋ณธ ํ”„๋กœ์ ํŠธ๋กœ ์‚ฌํšŒ๊ฐ€ย ์ƒ๊ฐํ•ด๋ณด์ง€ย ๋ชปํ•œย ์ฒญ๊ฐ์žฅ์• ์ธ์˜ย ์ผ์ƒ์ƒํ™œ์˜ย ๋ถˆํŽธํ•จ์—ย ๋Œ€ํ•œย ๋ฌธ์ œ๋ฅผย ์ œ๊ธฐํ•˜์—ฌย ์ด์—ย ๋Œ€ํ•œย ๊ด€์‹ฌ๊ณผย ํ•ด๊ฒฐ๋ฐฉ์•ˆ์˜ย ๋งˆ๋ จ์„ย ๋„๋ชจํ•œ๋‹ค. ๋”๋ถˆ์–ดย ์•ž์œผ๋กœ์˜ย 4์ฐจย ์‚ฐ์—…ย ๊ธฐ์ˆ ์˜ย ๋ฐœ์ „์ดย ๋น„์žฅ์• ์ธ์˜ย ํŽธ๋ฆฌํ•จ๋ฟ๋งŒ์ดย ์•„๋‹Œ, ์žฅ์• ์ธ์˜ย ์ ‘๊ทผ์„ฑ์„ย ๊ณ ๋ คํ•ด์•ผํ•œ๋‹ค๋Š”ย ์‚ฌํšŒ์ ย ์ธ์‹์„ย ํ™•์‚ฐ์‹œํ‚ค๋Š”๋ฐ ๋„์›€์ด ๋  ๊ฒƒ์ด๋ผ ์˜ˆ์ƒํ•œ๋‹ค.

๐Ÿงฑ Server Architecture

โœ”๏ธ Android - Server

soundee แ„‘แ…ณแ„…แ…ฉแ„Œแ…ฆแ†จแ„แ…ณ แ„€แ…ฎแ„Œแ…ฉ แ„Žแ…ฌแ„Œแ…ฉแ†ผ 003

โœ”๏ธ PC - Server - Android for Real-time Sound Classification

soundee แ„‘แ…ณแ„…แ…ฉแ„Œแ…ฆแ†จแ„แ…ณ แ„€แ…ฎแ„Œแ…ฉ แ„Žแ…ฌแ„Œแ…ฉแ†ผ 002 ๋…น์Œ ํ”„๋กœ๊ทธ๋žจ Soundee Recorder์™€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๋™์‹œ์— ์‹คํ–‰ ์‹œํ‚ฌ ๋•Œ, ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ๋Š” 5์ดˆ ๋งˆ๋‹ค ์„œ๋ฒ„์— ์š”์ฒญ์„ ๋ณด๋‚ธ๋‹ค. ์„œ๋ฒ„๋Š” ์š”์ฒญ๋ฐ›์€ ์‹œ๊ฐ„๋ถ€ํ„ฐ 5์ดˆ ์ „๊นŒ์ง€์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์กฐํšŒํ•˜์—ฌ ๋ฐ์ดํ„ฐ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ, ํ˜„์žฌ ์†Œ๋ฆฌ๊ฐ€ ์ถ”๋ก ํ•˜๋Š” class์— ๋Œ€ํ•˜์—ฌ ์œ ์˜๋ฏธํ•œ ์†Œ๋ฆฌ์ž„์„ ํŒ๋‹จํ•œ๋‹ค. ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ, ํ˜„์žฌ ์†Œ๋ฆฌ๊ฐ€ ์ถ”๋ก ํ•˜๋Š” class์— ๋Œ€ํ•˜์—ฌ ๋ฌด์˜๋ฏธํ•œ ์†Œ๋ฆฌ์ž„์„ ๋‚˜ํƒ€๋‚ธ๋‹ค. ์ด์— ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ๋Š” ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋‚˜๋Š” ์†Œ๋ฆฌ class๋ฅผ ํŒŒ์•…ํ•  ์ˆ˜ ์žˆ๋‹ค. ํด๋ผ์ด์–ธํŠธ๋Š” ํ•ด๋‹น ์†Œ๋ฆฌ๋ฅผ ๋ฐ›์•„ class ๋ณ„๋กœ ํŒ์—… ์•Œ๋ฆผ์„ ๋„์›Œ ์‚ฌ์šฉ์ž์—๊ฒŒ ์†Œ๋ฆฌ๋ฅผ ์•Œ๋ ค์ค€๋‹ค.

Soundee Recorder์™€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ฐ๊ฐ 5์ดˆ ๋‹จ์œ„๋กœ ๋ฐ์ดํ„ฐ ์‚ฝ์ž…๊ณผ ์กฐํšŒ๊ฐ€ ์ด๋ฃจ์–ด์ง€๊ธฐ ๋•Œ๋ฌธ์— ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋ฐœ์ƒํ•˜๋Š” ์†Œ๋ฆฌ ์ •๋ณด๋ฅผ ์–ป์–ด๋‚ผ ์ˆ˜ ์žˆ๋‹ค.

๐Ÿ—„ Table Doc

แ„แ…ฆแ„‹แ…ตแ„‡แ…ณแ†ฏ แ„†แ…งแ†ผแ„‰แ…ฆแ„‰แ…ฅ

Sound๋Š” ๋…น์Œ ํ”„๋กœ๊ทธ๋žจ์—์„œ ์–ป์€ ํ˜„์žฌ ์†Œ๋ฆฌ์— ๋Œ€ํ•œ ์ธ๋ฑ์Šค, ์†Œ๋ฆฌ ์ข…๋ฅ˜, ๋ฐœ์ƒ ์‹œ๊ฐ, ์†Œ๋ฆฌ์— ๋Œ€ํ•œ ์‚ฌ์šฉ์ž ์ •๋ณด์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ” ๊ตฌ์„ฑ์ด๋‹ค.

Sound_Class๋Š” ์†Œ๋ฆฌ ์ข…๋ฅ˜์— ๋Œ€ํ•œ ์ธ๋ฑ์Šค, ์†Œ๋ฆฌ ์ข…๋ฅ˜๋ช…์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ” ๊ตฌ์„ฑ์ด๋‹ค.

User๋Š” ์‚ฌ์šฉ์ž์— ๋Œ€ํ•œ ์ธ๋ฑ์Šค, ์ด๋ฉ”์ผ, ๋น„๋ฐ€๋ฒˆํ˜ธ, ์†”ํŠธ ๊ฐ’, ์ด๋ฆ„์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ” ๊ตฌ์„ฑ์ด๋‹ค.

๐Ÿ”– ERD (Entity-Relationship Diagram)

image

๐Ÿ“ƒ API Doc

๐Ÿงฒ Dependencies

"dependencies": {
  "clean-css": "^4.2.3",
  "constantinople": "^4.0.1",
  "cookie-parser": "~1.4.4",
  "crypto": "^1.0.1",
  "debug": "~2.6.9",
  "dotenv": "^8.2.0",
  "express": "~4.16.1",
  "express-session": "^1.17.1",
  "http-errors": "~1.6.3",
  "jade": "~1.11.0",
  "jsonwebtoken": "^8.5.1",
  "morgan": "~1.9.1",
  "nodemailer": "^6.4.11",
  "passport": "^0.4.1",
  "passport-jwt": "^4.0.0",
  "passport-local": "^1.0.0",
  "promise-mysql": "^4.1.3",
  "rand-token": "^1.0.1"
}

About

๐ŸŽถ ๋”ฅ๋Ÿฌ๋‹์„ ์ด์šฉํ•œ ์ผ์ƒ์ƒํ™œ ์†Œ๋ฆฌ ๋ถ„๋ฅ˜ ๋ฐ ์•Œ๋ฆผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ : Soundee Server ๐ŸŽถ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages