CN103856394A - Online chat room system - Google Patents

Online chat room system Download PDF

Info

Publication number
CN103856394A
CN103856394A CN201410103522.4A CN201410103522A CN103856394A CN 103856394 A CN103856394 A CN 103856394A CN 201410103522 A CN201410103522 A CN 201410103522A CN 103856394 A CN103856394 A CN 103856394A
Authority
CN
China
Prior art keywords
information
module
user
server
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410103522.4A
Other languages
Chinese (zh)
Inventor
张晓丹
宁志高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang University of Chemical Technology
Original Assignee
Shenyang University of Chemical Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenyang University of Chemical Technology filed Critical Shenyang University of Chemical Technology
Priority to CN201410103522.4A priority Critical patent/CN103856394A/en
Publication of CN103856394A publication Critical patent/CN103856394A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an online chat room system and relates to an online chat system. The online chat room system comprises a login module, a chat module, a file module, a user management module and a registration module. The login module is used for providing login interfaces for users and displaying friend lists at the time of login of the users. The chat module is used for achieving instant message sending for the users, namely, multi-user instant chats, and the users can send characters or screenshots through the chat module. One user can send files to another user through the file module, and the other user can choose to receive the files or not. Chat records can be stored in the text document format. The user management module, namely, a manager, creates or deletes or updates the users and punts the users. Through modular programming, the online chat room system has good expandability and maintainability, has a database maintenance function and can carry out the operations of data addition, data deletion, data modification and the like according to user demands.

Description

A kind of Internet chat chamber system
Technical field
The present invention relates to the tool system of Internet chat, particularly a kind of Internet chat chamber system.
Background technology
Along with the fast development of the Internet, Internet chat instrument, as a kind of important information interchange instrument, is subject to increasing netizen's favor.At present, occurred a lot of very good chat tools, wherein application has Tencent QQ, MSN-Messager etc. more widely.No matter be the organization such as individual or enterprise, to the demand of linking up, also at development, the communication way such as traditional phone, fax, mail obviously cannot meet the needs that current people's work and life are linked up.Along with the development of software, network and communication three large modern information technologies, in the instant messaging of linking up, have aspect cooperation more convenience, the advantage such as quick, real-time, become that another incorporates the internet appliance of everyone life completely after relay words, E-Mail.
Network service plays a part indispensable in current information-intensive society, and people can utilize the network communications technology to carry out information interchange.Such as QQ chat tool, a well-known Internet chat instrument that utilizes the network communications technology to develop.Though communication tool is at first for chat is born, its effect has exceeded the category of chat already, and along with the appearance of enterprise network communication tool, larger effect will be brought into play in chatroom in network marketing.
Summary of the invention
The object of the invention is to provide a kind of Internet chat chamber system, and this system adopts modularized program design, is with good expansibility and maintainability, possesses database maintenance function, carries out in time the operations such as data interpolation, deletion, amendment according to user's request.
Technical scheme of the present invention is:
A kind of Internet chat chamber system, this system comprises Registering modules, login module, chat module, user management module;
1) Registering modules, server is received user's registration request, just start to accept the information that client transmits, as claiming of client, sex, native place, personal information, accepts complete; Then add record to database, if success, just return to its number to client, client receives after the information that server returns, just opens window and log in;
2) log in module, in client, user inputs its number and password, then sets up and being connected of server, tell server I to login, after server is received, reading out data library information; Then compare with the information of user's input, if success, just would open main program window; Then client reads buddy list to server request, and server is received this request, takes out buddy list from database, then to client photos and sending messages, after client receives, just shows good friend at main window;
3) chat module, first client sends a message to server end, and server end forwards according to sender's information and recipient information, as server receives an A and issue the message of B, first judges that whether B is online, just information is sent if online; If B is not online, information storage, at server, is being sent to him after waiting B to reach the standard grade; B receives the information that A sends, if do not set up dialog box, automatically opens demonstration;
4) user management module, increases user, and amendment is deleted, and the operation such as searches, and system is safeguarded; Online user's operation, keeper operates online user, can log out a particular user.
Described a kind of Internet chat chamber system, described file module also comprises that file receives and file sends;
Customer end A is clicked Transmit message button, from local select File, file is sent to server end in batches; Server end forwards according to sender's information and recipient information; B receives the fileinfo that A sends, the state structure file that can send according to file.
Described a kind of Internet chat chamber system, described chat module also comprises transmission word and sends picture;
Wherein send picture, customer end A is clicked sectional drawing button, by screen locking, intercepts picture, and the picture that picture is stored in array sends to server end; Server end forwards according to sender's information and recipient information; B receives the sectional drawing information that A sends, by Image Display out; Equally, if do not set up dialog box, automatically open demonstration.
Advantage of the present invention is:
1, the present invention meets the regulation of business administration, meets the needs to enterprise personnel management, and swift to operate, convenient, practical, safety;
2, the present invention adopts modularized program design, is with good expansibility and maintainability.
3, the present invention possesses database maintenance function, carries out in time the operations such as data interpolation, deletion, amendment according to user's request.
Brief description of the drawings
Fig. 1 is system function module figure of the present invention;
Fig. 2 is user's login process figure of the present invention;
Fig. 3 is user's register flow path figure of the present invention;
Fig. 4 is chat flow chart of the present invention;
Fig. 5 is Transmit message flow chart of the present invention;
Fig. 6 is web user's login figure of the present invention;
Fig. 7 is domestic consumer of the present invention instance graph.
Embodiment
As shown in Fig. 1-7, a kind of chat room system, comprises Registering modules, login module, chat module, user management module;
1) Registering modules, server is received user's registration request, just start to accept the information that client transmits, as claiming of client, sex, native place, personal information, accepts complete; Then add record to database, if success, just return to its number to client, client receives after the information that server returns, just opens window and log in;
2) log in module, in client, user inputs its number and password, then sets up and being connected of server, tell server I to login, after server is received, reading out data library information; Then compare with the information of user's input, if success, just would open main program window; Then client reads buddy list to server request, and server is received this request, takes out buddy list from database, then to client photos and sending messages, after client receives, just shows good friend at main window;
3) chat module, first client sends a message to server end, and server end forwards according to sender's information and recipient information, as server receives an A and issue the message of B, first judges that whether B is online, just information is sent if online; If B is not online, information storage, at server, is being sent to him after waiting B to reach the standard grade; B receives the information that A sends, if do not set up dialog box, automatically opens demonstration;
4) user management module, increases user, and amendment is deleted, and the operation such as searches, and system is safeguarded; Online user's operation, keeper operates online user, can log out a particular user.
Described file module comprises that file receives and file sends;
Customer end A is clicked Transmit message button, from local select File, file is sent to server end in batches; Server end forwards according to sender's information and recipient information; B receives the fileinfo that A sends, the state structure file that can send according to file.
Described chat module comprises transmission word and sends picture;
Wherein send picture, customer end A is clicked sectional drawing button, by screen locking, intercepts picture, and the picture that picture is stored in array sends to server end; Server end forwards according to sender's information and recipient information; B receives the sectional drawing information that A sends, by Image Display out; Equally, if do not set up dialog box, automatically open demonstration.
Native system can be divided into login, chat, file, user management and five functional modules of registration." login " module provides login interface for user, and logins demonstration buddy list user; " chat " module realizes user's instant transmission information, i.e. multi-user's instant chat, can send word or sectional drawing; " file " module mainly realizes a user to another user's Transmit message, and the other side can select to accept or refusal.Chat record can be preserved with text document form.To be keeper carry out additions and deletions to user to " user management " module changes and look into, and the operation logging out a particular user.
Functions of modules is introduced
1) customer side
1. send Word message:
Client sends and shows that the code of information has been encapsulated in IMChat extends JFrame implements ActionListener class.
2. send pictorial information:
In sending pictorial information, first picture is converted into byte[] array, be packaged in packets of information kind and send, while receiving pictorial information, from byte[] array structure picture, show.
The core of sectional drawing class is in JDK: in robot class, create the image that comprises the pixel reading from screen.
The picture that intercepts whole screens, then shows, and covers whole screen.Then monitor mouse event, then use createScreenCapture (Rectangle screenRect) method sectional drawing.
If clicked right mouse button, cancel sectional drawing, double-click and determine that sectional drawing completes.
2) service end
Service end receives after the information of client, need to be according to his recipient, forward just passable.
1) client
In customer end adopted, JfileChooser browses local file, clicks after navigation button, can eject dialog box, allows user's select File, and then by filename, size waits Information encapsulation in packet, sends.
The other side understands display reminding information.
If the other side agrees to receive, open thread.Because file may be larger, so can not disposablely send, can only send with thread in batches.
Normal Transmit message;
The dialog box that can show after being sent completely:
After being sent completely, on both sides' interface, all can show successful information:
(2) the logic of client file:
The transmission state of file has been defined by that these are several:
0-do not accept file;
1--accept file;
2-request Transmit message;
3-in file transfer;
4-file transmission completes;
User management module:
Comprise the operation to user and the operation to online user.Keeper increases user, and amendment is deleted, and the operation such as searches, and system is safeguarded; Keeper operates online user, can log out a particular user.

Claims (3)

1. an Internet chat chamber system, is characterized in that: this system comprises Registering modules, login module, chat module, user management module;
1) Registering modules, server is received user's registration request, just start to accept the information that client transmits, as claiming of client, sex, native place, personal information, accepts complete; Then add record to database, if success, just return to its number to client, client receives after the information that server returns, just opens window and log in;
2) log in module, in client, user inputs its number and password, then sets up and being connected of server, tell server I to login, after server is received, reading out data library information; Then compare with the information of user's input, if success, just would open main program window; Then client reads buddy list to server request, and server is received this request, takes out buddy list from database, then to client photos and sending messages, after client receives, just shows good friend at main window;
3) chat module, first client sends a message to server end, and server end forwards according to sender's information and recipient information, as server receives an A and issue the message of B, first judges that whether B is online, just information is sent if online; If B is not online, information storage, at server, is being sent to him after waiting B to reach the standard grade; B receives the information that A sends, if do not set up dialog box, automatically opens demonstration;
4) user management module, increases user, and amendment is deleted, and the operation such as searches, and system is safeguarded; Online user's operation, keeper operates online user, can log out a particular user.
2. a kind of Internet chat chamber system according to claim 1, is characterized in that:
Described file module also comprises that file receives and file sends;
Customer end A is clicked Transmit message button, from local select File, file is sent to server end in batches; Server end forwards according to sender's information and recipient information; B receives the fileinfo that A sends, the state structure file that can send according to file.
3. a kind of Internet chat chamber system according to claim 1, is characterized in that:
Described chat module also comprises transmission word and sends picture;
Wherein send picture, customer end A is clicked sectional drawing button, by screen locking, intercepts picture, and the picture that picture is stored in array sends to server end; Server end forwards according to sender's information and recipient information; B receives the sectional drawing information that A sends, by Image Display out; Equally, if do not set up dialog box, automatically open demonstration.
CN201410103522.4A 2014-03-20 2014-03-20 Online chat room system Pending CN103856394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410103522.4A CN103856394A (en) 2014-03-20 2014-03-20 Online chat room system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410103522.4A CN103856394A (en) 2014-03-20 2014-03-20 Online chat room system

Publications (1)

Publication Number Publication Date
CN103856394A true CN103856394A (en) 2014-06-11

Family

ID=50863630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410103522.4A Pending CN103856394A (en) 2014-03-20 2014-03-20 Online chat room system

Country Status (1)

Country Link
CN (1) CN103856394A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092587A (en) * 2014-07-22 2014-10-08 中国第一汽车股份有限公司 CAN network position timing influence factor detection system and method thereof
CN105512259A (en) * 2015-12-03 2016-04-20 荆子淇 Personal connection management platform
CN106155456A (en) * 2015-03-31 2016-11-23 北大方正集团有限公司 The methods of exhibiting of a kind of interface alternation area information and device
CN106998291A (en) * 2017-04-01 2017-08-01 成都你我他科技有限公司 The instantaneous communication system of blind date platform
CN109150699A (en) * 2018-09-05 2019-01-04 武汉佰钧成技术有限责任公司 A kind of outsourcing service chatting platform based on the network information technology
TWI647655B (en) * 2016-11-07 2019-01-11 尚凡資訊科技有限公司 Billing chat room
CN110225090A (en) * 2019-05-10 2019-09-10 北京梦想要有科技有限公司 A kind of automobile friend's intercommunion platform, operating method and installation method based on car networking
CN111106996A (en) * 2019-12-28 2020-05-05 安徽微沃信息科技股份有限公司 WebSocket and cache-based multi-terminal online chat system
CN113302881A (en) * 2020-12-01 2021-08-24 百果园技术(新加坡)有限公司 Method, device, chat terminal, server and storage medium for realizing online chat
TWI746238B (en) * 2020-10-30 2021-11-11 遊戲橘子數位科技股份有限公司 A method of the customized personal exclusive photo album of chat room

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415010A (en) * 2008-11-26 2009-04-22 涂彦晖 WEB browsing apparatus and operation method
CN102594845A (en) * 2012-03-29 2012-07-18 东南大学 Instant message transmission method based on XMPP
CN103368827A (en) * 2013-07-01 2013-10-23 中国农业大学 VC++-based local area network instant messaging system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415010A (en) * 2008-11-26 2009-04-22 涂彦晖 WEB browsing apparatus and operation method
CN102594845A (en) * 2012-03-29 2012-07-18 东南大学 Instant message transmission method based on XMPP
CN103368827A (en) * 2013-07-01 2013-10-23 中国农业大学 VC++-based local area network instant messaging system and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092587A (en) * 2014-07-22 2014-10-08 中国第一汽车股份有限公司 CAN network position timing influence factor detection system and method thereof
CN104092587B (en) * 2014-07-22 2017-07-04 中国第一汽车股份有限公司 CAN network bit timing influence factor detecting system and its method
CN106155456A (en) * 2015-03-31 2016-11-23 北大方正集团有限公司 The methods of exhibiting of a kind of interface alternation area information and device
CN105512259A (en) * 2015-12-03 2016-04-20 荆子淇 Personal connection management platform
TWI647655B (en) * 2016-11-07 2019-01-11 尚凡資訊科技有限公司 Billing chat room
CN106998291A (en) * 2017-04-01 2017-08-01 成都你我他科技有限公司 The instantaneous communication system of blind date platform
CN109150699A (en) * 2018-09-05 2019-01-04 武汉佰钧成技术有限责任公司 A kind of outsourcing service chatting platform based on the network information technology
CN110225090A (en) * 2019-05-10 2019-09-10 北京梦想要有科技有限公司 A kind of automobile friend's intercommunion platform, operating method and installation method based on car networking
CN111106996A (en) * 2019-12-28 2020-05-05 安徽微沃信息科技股份有限公司 WebSocket and cache-based multi-terminal online chat system
TWI746238B (en) * 2020-10-30 2021-11-11 遊戲橘子數位科技股份有限公司 A method of the customized personal exclusive photo album of chat room
CN113302881A (en) * 2020-12-01 2021-08-24 百果园技术(新加坡)有限公司 Method, device, chat terminal, server and storage medium for realizing online chat

Similar Documents

Publication Publication Date Title
CN103856394A (en) Online chat room system
US11914838B2 (en) Computerized system and method for collaborative electronic document creation
US7401158B2 (en) Apparatus and method for instant messaging collaboration
US8010613B2 (en) System and method for end-user management of E-mail threads using a single click
US20160344678A1 (en) Unified messaging platform for providing interactive list objects
CN1987912B (en) Method and system for providing version control for electronic mail attachments
EP1653383A2 (en) Dynamic summary module
US20050198124A1 (en) System and method for embedded instant messaging collaboration
US20060095397A1 (en) Dynamic content change notification
CN102893278A (en) Electronic message systems and methods
CN114124861B (en) Message mass-sending method, device, computer equipment and storage medium
TW201640925A (en) Instant communication
CN102404251A (en) Realization method, client and system for instant messaging with remarking function
CN114143282A (en) Mail processing method, device, equipment and storage medium
WO2015047475A1 (en) Communication and management of electronic mail classification information
CN108322384A (en) Mail sharing method, apparatus and system based on instant messaging
CN103514156A (en) Method for translating network communication text in transmission process
CN102546462B (en) The method of recommending contact persons, client and system in instant messaging
US20130204952A1 (en) Method and system for electronic collaboration
CN102790731A (en) Triggering transmission method, client and system by instant messaging tool
CN102710540B (en) Method, client and system for setting publishing channel in instant messaging
CN105991665B (en) A kind of document handling method and system and file handler
JP2004289491A (en) Electronic mail management system
CN103312592B (en) A kind of method that batch sends information to instant communication client on webpage
JP5111301B2 (en) IM-linked comment system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140611