Joke Collection Website - Public benefit messages - How does java realize the teacher-student interaction of short message in the station?
How does java realize the teacher-student interaction of short message in the station?
Database design, sender id, receiver id, information content, sending time, whether it has been read.
When the student is online, check whether there is any unread message for the recipient. After checking, mark all contents as read.
When the teacher sends a message, the message is unread by default.
It's simple.
If it's real-time information on the web, just brush it with ajax and set a time. It is very simple when there are not many users and the performance requirements are not high.
- Previous article:Mobile phone receives spam messages
- Next article:Baoji senior high school entrance examination results
- Related articles
- How does a boyfriend send a text message while eating?
- Those extremely gentle and high-quality high-quality copywriting 52
- A collection of sentences about loving you
- In the second half of 2022, the test center in Guangzhou was transferred to Tianhe (the test time in Guangzhou in the second half was 202 1).
- Don't send spam
- China Bank 218 Recruitment Did anyone receive the interview notice?
- How does Ningxiang get a bonus for reporting violations?
- There is a moon sign next to Apple's mobile phone. What does it mean to send text messages on Apple's mobile phone?
- Wechat visits customers.
- China Telecom called to ask if it was the owner, and sent a short message.