All Projects → yangbodong22011 → TTMS

yangbodong22011 / TTMS

Licence: other
Theater Ticket Management System,基于Socket通信的票务管理系统,C/S架构,GUI使用Java Swing制作

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to TTMS

socket.io-client-core
High-Performance Socket.IO client in C#
Stars: ✭ 70 (+118.75%)
Mutual labels:  socket
KGradientPanel
A Swing Gradient Panel
Stars: ✭ 42 (+31.25%)
Mutual labels:  javaswing
Socket
The Hoa\Socket library.
Stars: ✭ 61 (+90.63%)
Mutual labels:  socket
TinyChat
💬 Extra small chat client with GUI
Stars: ✭ 15 (-53.12%)
Mutual labels:  socket
KingNetwork
KingNetwork is an open source library to facilitate the creation and communication of clients and servers via TCP, UDP, WebSocket and RUDP sockets.
Stars: ✭ 78 (+143.75%)
Mutual labels:  socket
vue3-chat
2021👨‍🎓Vue2/3全家桶 + Koa+Socket+Vant3前后端分离移动端聊天应用。vue+node全栈入门项目
Stars: ✭ 46 (+43.75%)
Mutual labels:  socket
RRQMSocket
TouchSocket是.Net(包括 C# 、VB.Net、F#)的一个整合性的、超轻量级的网络通信框架。包含了 tcp、udp、ssl、http、websocket、rpc、jsonrpc、webapi、xmlrpc等一系列的通信模块。一键式解决 TCP 黏分包问题,udp大数据包分片组合问题等。使用协议模板,可快速实现「固定包头」、「固定长度」、「区间字符」等一系列的数据报文解析。
Stars: ✭ 286 (+793.75%)
Mutual labels:  socket
CleanArchitecture-SocketIO
CleanArchitecture with SocketIo 📡
Stars: ✭ 32 (+0%)
Mutual labels:  socket
cAndroid
cAndroid is tool for control your PC by Android phone
Stars: ✭ 23 (-28.12%)
Mutual labels:  socket
tcp-multiplexer
A TCP service multiplexer in Python
Stars: ✭ 32 (+0%)
Mutual labels:  socket
angular-chat
Angular v.9, Node.js, Nest.js v.6, Mongoose, Socket.io, Passport, Angular Universal SSR (in progress...)
Stars: ✭ 35 (+9.38%)
Mutual labels:  socket
tcp-net
Build tcp applications in a stable and elegant way
Stars: ✭ 42 (+31.25%)
Mutual labels:  socket
FTP
FTP客户端,服务端
Stars: ✭ 34 (+6.25%)
Mutual labels:  socket
HostPanic
Find host header injections and perform Host Header attacks with other kind of bugs like web cache poissoning
Stars: ✭ 23 (-28.12%)
Mutual labels:  socket
sockerl
Sockerl is an advanced Erlang/Elixir socket framework for TCP protocols and provides fast, useful and easy-to-use API for implementing servers, clients and client connection pools.
Stars: ✭ 26 (-18.75%)
Mutual labels:  socket
khudro
Khudro is a very light weight web-server built with C.
Stars: ✭ 19 (-40.62%)
Mutual labels:  socket
Moxo-Tech
Android智慧互动课堂(课堂辅助软件),包含client和server
Stars: ✭ 25 (-21.87%)
Mutual labels:  socket
go-libutp
Go wrapper of libutp reference uTP C implementation
Stars: ✭ 75 (+134.38%)
Mutual labels:  socket
router
造路由器 (清华大学 网络原理课程 2018-2019秋)
Stars: ✭ 52 (+62.5%)
Mutual labels:  socket
AndroidNetworkProgramming
Android网络编程实战总结,涉及HTTP、TCP、UDP常用协议。
Stars: ✭ 34 (+6.25%)
Mutual labels:  socket

TTMS (Theater Ticket Management System)

TTMS全称剧院票务管理系统,分为客户端和服务器端。服务器端可以接收客户端连接请求,客户端相当于我们个人PC或者移动终端,通过这套系统我们可以完成对一个影院的票务管理。

服务器端功能如下:

客户端功能如下:

环境需求

  • jre(jdk)
  • MySQL
  • Linux(Socket)

快速安装

1:启动MySQL服务器,运行TTMS_clerk/resource/database/TTMSCreate.sql,创建数据库,默认为TTMS
2:配置TTMS_clerk/resource/database/jdbc.properties中数据库登录用户密码
3:运行TTMS_clerk/resource/database/TTMSInsertData.sql插入开发测试数据。(可插可不插)
4:运行服务器端TTMS_clerk/src/xupt/se/ttms/main/main.java,启动服务器。
5:运行客户端TTMS_Client/src/control/main.java连接服务器时候保证端口IP是正确的。

效果展示

服务器端运行截图:

登录

售票管理

客户端运行截图:

正在上映

体系结构

服务器端:界面采用Java Swing 开发,数据库采用MySQL,数据库连接工具采用JDBC,Scoket通信,Json为数据传递格式。

客户端:界面采用Java Swing 开发,Socket通信。

遇到的问题

1:两人同时买一张票 解决方案:采用数据库事务机制,如果没有票再生成,否则失败,但是这样不太友善,因为用户已经选好座了,买票时候却没有了,友善的处理方式是给票加锁,锁定座位的时候就去判断座位是不是被别人锁定了。

2:Json时间格式问题

版本

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].