CN104518941A - Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board - Google Patents

Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board Download PDF

Info

Publication number
CN104518941A
CN104518941A CN201310445267.7A CN201310445267A CN104518941A CN 104518941 A CN104518941 A CN 104518941A CN 201310445267 A CN201310445267 A CN 201310445267A CN 104518941 A CN104518941 A CN 104518941A
Authority
CN
China
Prior art keywords
client
drawing board
data flow
pictorial information
server
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
CN201310445267.7A
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.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology Co Ltd
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 Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201310445267.7A priority Critical patent/CN104518941A/en
Publication of CN104518941A publication Critical patent/CN104518941A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method, client, server and system for realizing an instant messaging (IM) multi-person drawing board. The method comprises: a client displaying the drawing board in an instant messaging window, after obtaining drawing information on the drawing board, serializing the drawing information into a data flow, and uploading the data flow and the ID of a local client to an instant messaging server; the instant messaging server placing the data flow uploaded by each group member client and corresponding client IDs in a data queue, and distributing the data flow and the client IDs to other member clients in a group according to a FIFO sequence; and the clients receiving the data flow and the corresponding client IDs, performing reverse serialization on the received data flow and the corresponding client IDs to obtain the drawing information, and displaying the drawing information on a local drawing board. According to the invention, users can share the same drawing board in the group, and the motion and the result of the IM users on the drawing board can be displayed timely.

Description

Realize the method for instant messaging many people drawing board, client, server and system
Technical field
The present invention relates to instant messaging field, the Internet, particularly a kind of method, client, server and system realizing instant messaging many people drawing board.
Background technology
Along with the high speed development of internet system, instant messaging (IM, Instant Messenger) has become requisite internet, applications.More due to the continuous dilatation of bandwidth, by original, IM only supports that text is communicated and chatted, develop into high-end applications such as supporting audio session, video session, file-sharing.
But what these completed is all single application, many people that can not let in session group exchange based on Same Scene, namely cannot meet user while text or audio frequency and video exchange, share same drawing board and the plotting motion of the many people of instant playback on drawing board and mapping result.
Summary of the invention
A kind of method, client, server and system realizing instant messaging many people drawing board provided by the invention, makes IM user can share same drawing drawing board in group, and the action of IM user on drawing board and result is shown in time.
The invention provides a kind of method realizing instant messaging many people drawing board, described method comprises:
Client shows drawing drawing board in instant communication windows, obtains the pictorial information on described drawing drawing board, and the pictorial information sequence of acquisition is changed into data flow, and described data flow and this client id are uploaded to instant communication server;
The data flow of each group member client upload received and corresponding client id are put into data queue by described instant communication server, and the data flow in described data queue and corresponding client id are distributed to other member client in group according to the order of first in first out;
Receive the data flow of described instant communication server distribution and the client of corresponding client id, obtain pictorial information after the data flow received and corresponding client id are carried out unserializing, and described pictorial information is shown on the drawing drawing board of this locality.
Wherein, described pictorial information comprises: the relative position information of cursor and described drawing drawing board, the drawing instrument of the current use of cursor and the graphical information of drawing on described drawing drawing board.
Preferably, described method comprises further: the described each data flow received and corresponding client id back up by described instant communication server.
Preferably, described method comprises further: when there being new client to become the member client of group, and each data flow of described backup and corresponding client id are synchronized to this new client by described instant communication server; This new client obtains pictorial information after the data flow received and corresponding client id are carried out unserializing, and described pictorial information is shown on the drawing drawing board of this locality.
The present invention also provides a kind of client realizing instant messaging many people drawing board, and this client comprises:
To draw a picture plate module, for showing drawing drawing board in the instant communication windows of client, and obtain the pictorial information on described drawing drawing board, the pictorial information sequence of acquisition is changed into data flow;
Transceiver module, for the data flow after the serializing of described drawing drawing board and this client id correspondence are uploaded to instant communication server, also for plate module of drawing a picture described in the data flow of the described instant communication server distribution received and corresponding client id are transmitted to;
Described plate module of drawing a picture, also obtains pictorial information, and described pictorial information is shown on the drawing drawing board of this locality after the data flow received and corresponding client id are carried out unserializing.
Wherein, described pictorial information comprises: the relative position information of cursor and described drawing drawing board, the drawing instrument of the current use of cursor and the graphical information of drawing on described drawing drawing board.
The invention provides a kind of server realizing instant messaging many people drawing board, this server comprises:
Receiver module, for receiving the data flow of each group member client upload and corresponding client id, and puts into the data queue of memory module;
Described memory module, for preserving data;
Distribution module, to be distributed to other member client in group by the data flow in the data queue of described memory module and corresponding client id for the order according to first in first out.
Preferably, described server comprises further: backup module, and the data flow for the described each group member client upload received by described receiver module backs up with corresponding client id.
Preferably, described server comprises further: newly-increased module, for when there being new client to become the member client of group, the data flow of described each group member client upload of backup and corresponding client id are synchronized to this new client by described backup module; Obtain pictorial information after the data flow of the described each group member client upload received and corresponding client id are carried out unserializing by the client of described newly-increased module also for making this new, and described pictorial information is shown on the drawing drawing board of this locality.
The present invention also provides a kind of system realizing instant messaging many people drawing board, and this system comprises: realize the client of instant messaging many people drawing board as above and realize the server of instant messaging many people drawing board as above.
The beneficial effect of the embodiment of the present invention is: while pictorial information is presented at local picture drawing board by client, instant communication server is uploaded to by after described pictorial information serializing, other member client in group are distributed to again by described instant communication server, other member client show in this locality after the data received are carried out unserializing, because IM network delay is little, the action of each client on drawing drawing board and result can be presented on the drawing drawing board of other clients in group in time, reach the effect that group member shares same drawing drawing board.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart realizing the method for instant messaging many people drawing board of one embodiment of the invention;
Fig. 2 is a kind of structure chart realizing the client of instant messaging many people drawing board of one embodiment of the invention;
Fig. 3 is a kind of structure chart realizing the server of instant messaging many people drawing board of one embodiment of the invention;
Fig. 4 is a kind of structure chart realizing another server of instant messaging many people drawing board of one embodiment of the invention;
Fig. 5 (a) (b) is respectively a kind of structure chart realizing the system of instant messaging many people drawing board of one embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, the invention provides a kind of method realizing instant messaging many people drawing board, described method comprises:
S110, client show drawing drawing board in instant communication windows, obtain the pictorial information on described drawing drawing board, and the pictorial information sequence of acquisition is changed into data flow, and described data flow and this client id are uploaded to instant communication server;
The each data flow of group member client upload received and the client id of correspondence are put into data queue by S120, described instant communication server, and the data flow in described data queue and corresponding client id are distributed to other member client in group according to the order of first in first out;
S130, receive the data flow of described instant communication server distribution and the client of client id of correspondence, obtain pictorial information after the data flow received and corresponding client id are carried out unserializing, and described pictorial information is shown on the drawing drawing board of this locality.
Concrete, a drawing drawing board control is realized in client, the paint program that the function of described drawing drawing board control and system carry is similar, comprise drawing instrument hurdle, color toolbar and Standard toolbar etc., described drawing instrument hurdle there is various drawing instrument select for user, user can use mouse or handwriting pad to draw, and each member client in group all increases the drawing drawing board control described in, and user draws in described drawing drawing board control.
Wherein, described pictorial information comprises: a) relative position information of cursor and described drawing drawing board; B) drawing instrument of the current use of cursor, as paintbrush, paintbrush, erasing rubber, rectangle, ellipse, text etc.; The graphical information of c) drawing on described drawing drawing board, as pattern classes, color, text message, font name and color size etc., and described pictorial information is mostly position size isovector data, and data volume is very little, bandwidth occupancy is little, not high to the configuration requirement of machine.
Preferably, described method comprises further: the described each data flow received and corresponding client id back up by described instant communication server.
Preferably, described method comprises further: when there being new client to become the member client of group, and each data flow of described backup and corresponding client id are synchronized to this new client by described instant communication server; This new client obtains pictorial information after the data flow received and corresponding client id are carried out unserializing, and described pictorial information is shown on the drawing drawing board of this locality.
According to above analysis, member client in group only needs to keep data double-way transmission with described instant communication server, and do not need the connection of setting up point-to-point with other group members, when there being new client to become the member client of group, only need newly-increased client with increase by one between described instant communication server and be connected, and do not affect other group member clients.
As shown in Figure 2, the present invention also provides a kind of client 200 realizing instant messaging many people drawing board, and this client 200 comprises:
To draw a picture plate module 210, for showing drawing drawing board in the instant communication windows of client 200, and obtain the pictorial information on described drawing drawing board, the pictorial information sequence of acquisition is changed into data flow;
Transceiver module 220, for the data flow after the serializing of described drawing drawing board and this client id correspondence are uploaded to instant communication server, also for plate module 210 of drawing a picture described in the data flow of the described instant communication server distribution received and corresponding client id are transmitted to;
Described plate module 210 of drawing a picture, also obtains pictorial information, and described pictorial information is shown on the drawing drawing board of this locality after the data flow received and corresponding client id are carried out unserializing.
Wherein, described pictorial information comprises: the relative position information of cursor and described drawing drawing board, the drawing instrument of the current use of cursor and the graphical information of drawing on described drawing drawing board.
As shown in Figure 3, the invention provides a kind of server 300 realizing instant messaging many people drawing board, this server 300 comprises:
Receiver module 310, for receiving the data flow of each group member client upload and corresponding client id, and puts into the data queue of memory module 320;
Described memory module 320, for preserving data;
Distribution module 330, to be distributed to other member client in group by the data flow in the data queue of described memory module 320 and corresponding client id for the order according to first in first out.
Fig. 4 is a kind of structure chart realizing another server 400 of instant messaging many people drawing board, wherein, described receiver module 410 function is identical with described receiver module 310 function in Fig. 3, described memory module 420 function is identical with described memory module 320 function in Fig. 3, and described distribution module 430 function is identical with described memory module 330 function in Fig. 3;
Backup module 440, the data flow for the described each group member client upload received by described receiver module backs up with corresponding client id.
Newly-increased module 450, for when there being new client to become the member client of group, the data flow of described each group member client upload of backup and corresponding client id are synchronized to this new client by described backup module; Obtain pictorial information after the data flow of the described each group member client upload received and corresponding client id are carried out unserializing by the client of described newly-increased module also for making this new, and described pictorial information is shown on the drawing drawing board of this locality.
As shown in Fig. 5 (a), the present invention also provides a kind of system 500 realizing instant messaging many people drawing board, comprising: multiplely realize the client 510 of instant messaging many people drawing board and the described server 520 realizing instant messaging many people drawing board; As shown in Fig. 5 (b), the present invention also provides a kind of system 500 realizing instant messaging many people drawing board, comprising: multiplely as above realize the client 510 of instant messaging many people drawing board and realize the server 530 of instant messaging many people drawing board as above.Wherein, described multiple client 510 realizing instant messaging many people drawing board is identical with described client 200 function realizing instant messaging many people drawing board, and the described server 520 realizing instant messaging many people drawing board is identical with described server 300 function realizing instant messaging many people drawing board; The described server 530 realizing instant messaging many people drawing board is identical with described server 400 function realizing instant messaging many people drawing board.
The beneficial effect of the embodiment of the present invention is:
1) advantage that IM network delay is little is utilized, the pictorial information of this locality is distributed to other member client in group by each client after instant communication server transfer, described pictorial information also can be shown in time in this locality of other member client, reach the effect that group member shares same drawing drawing board;
2) described pictorial information is mostly position size isovector data, and data volume is very little, and bandwidth occupancy is little, not high to the configuration requirement of machine, does not affect the normal use of other functions of instantaneous communication system;
3) member client in group only needs to keep data double-way transmission with described instant communication server, and does not need the connection of setting up point-to-point with other group members, makes topological structure be simple and easy to realize, strengthens the extensibility of whole system;
4) described pictorial information is when instant communication server transfer, can realize the full backup of data, and data are not easily lost, and facilitates the recycling of data.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. realize a method for instant messaging many people drawing board, it is characterized in that, described method comprises:
Client shows drawing drawing board in instant communication windows, obtains the pictorial information on described drawing drawing board, and the pictorial information sequence of acquisition is changed into data flow, and described data flow and this client id are uploaded to instant communication server;
The data flow of each group member client upload received and corresponding client id are put into data queue by described instant communication server, and the data flow in described data queue and corresponding client id are distributed to other member client in group according to the order of first in first out;
Receive the data flow of described instant communication server distribution and the client of corresponding client id, obtain pictorial information after the data flow received and corresponding client id are carried out unserializing, and described pictorial information is shown on the drawing drawing board of this locality.
2. the method for claim 1, is characterized in that, described pictorial information comprises:
The relative position information of cursor and described drawing drawing board, the drawing instrument of the current use of cursor and the graphical information of drawing on described drawing drawing board.
3. the method for claim 1, is characterized in that, described method comprises further:
The described each data flow received and corresponding client id back up by described instant communication server.
4. method as claimed in claim 3, it is characterized in that, described method comprises further:
When there being new client to become the member client of group, each data flow of described backup and corresponding client id are synchronized to this new client by described instant communication server;
This new client obtains pictorial information after the data flow received and corresponding client id are carried out unserializing, and described pictorial information is shown on the drawing drawing board of this locality.
5. realize a client for instant messaging many people drawing board, it is characterized in that, this client comprises:
To draw a picture plate module, for showing drawing drawing board in the instant communication windows of client, and obtain the pictorial information on described drawing drawing board, the pictorial information sequence of acquisition is changed into data flow;
Transceiver module, for the data flow after the serializing of described drawing drawing board and this client id correspondence are uploaded to instant communication server, also for plate module of drawing a picture described in the data flow of the described instant communication server distribution received and corresponding client id are transmitted to;
Described plate module of drawing a picture, also obtains pictorial information, and described pictorial information is shown on the drawing drawing board of this locality after the data flow received and corresponding client id are carried out unserializing.
6. client as claimed in claim 5, it is characterized in that, described pictorial information comprises:
The relative position information of cursor and described drawing drawing board, the drawing instrument of the current use of cursor and the graphical information of drawing on described drawing drawing board.
7. realize a server for instant messaging many people drawing board, it is characterized in that, this server comprises:
Receiver module, for receiving the data flow of each group member client upload and corresponding client id, and puts into the data queue of memory module;
Described memory module, for preserving data;
Distribution module, to be distributed to other member client in group by the data flow in the data queue of described memory module and corresponding client id for the order according to first in first out.
8. server as claimed in claim 7, it is characterized in that, described server comprises further:
Backup module, the data flow for the described each group member client upload received by described receiver module backs up with corresponding client id.
9. server as claimed in claim 8, it is characterized in that, described server comprises further:
Newly-increased module, for when there being new client to become the member client of group, the data flow of described each group member client upload of backup and corresponding client id are synchronized to this new client by described backup module; Obtain pictorial information after the data flow of the described each group member client upload received and corresponding client id are carried out unserializing by the client of described newly-increased module also for making this new, and described pictorial information is shown on the drawing drawing board of this locality.
10. realize a system for instant messaging many people drawing board, it is characterized in that, this system comprises:
The client of instant messaging many people drawing board and the server realizing instant messaging many people drawing board as described in any one of claim 7-9 is realized as described in any one of claim 5 or 6.
CN201310445267.7A 2013-09-26 2013-09-26 Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board Pending CN104518941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310445267.7A CN104518941A (en) 2013-09-26 2013-09-26 Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310445267.7A CN104518941A (en) 2013-09-26 2013-09-26 Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board

Publications (1)

Publication Number Publication Date
CN104518941A true CN104518941A (en) 2015-04-15

Family

ID=52793701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310445267.7A Pending CN104518941A (en) 2013-09-26 2013-09-26 Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board

Country Status (1)

Country Link
CN (1) CN104518941A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331345A (en) * 2016-08-24 2017-01-11 腾讯科技(深圳)有限公司 Interactive message display method, device and system
CN107221018A (en) * 2017-04-14 2017-09-29 弘成科技发展有限公司 A kind of intelligent drawing board picture synthesis method
CN107749843A (en) * 2017-10-13 2018-03-02 北京中教在线科技有限公司 A kind of electronic drawing board sharing method
CN107992255A (en) * 2017-12-01 2018-05-04 珠海格力电器股份有限公司 A kind of method and server for generating image
CN109150992A (en) * 2018-07-27 2019-01-04 深圳Tcl数字技术有限公司 Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332174A (en) * 2011-09-06 2012-01-25 中国科学院软件研究所 Collaborative sketch animation generation method and system
CN102646235A (en) * 2012-04-01 2012-08-22 杭州格畅科技有限公司 Method, client and server for online collaborative drawing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332174A (en) * 2011-09-06 2012-01-25 中国科学院软件研究所 Collaborative sketch animation generation method and system
CN102646235A (en) * 2012-04-01 2012-08-22 杭州格畅科技有限公司 Method, client and server for online collaborative drawing

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331345A (en) * 2016-08-24 2017-01-11 腾讯科技(深圳)有限公司 Interactive message display method, device and system
US11088970B2 (en) 2016-08-24 2021-08-10 Tencent Technology (Shenzhen) Company Limited Interactive message display method, apparatus and system, and storage medium
CN107221018A (en) * 2017-04-14 2017-09-29 弘成科技发展有限公司 A kind of intelligent drawing board picture synthesis method
CN107221018B (en) * 2017-04-14 2020-07-17 弘成科技发展有限公司 Intelligent drawing board picture synthesis method
CN107749843A (en) * 2017-10-13 2018-03-02 北京中教在线科技有限公司 A kind of electronic drawing board sharing method
CN107992255A (en) * 2017-12-01 2018-05-04 珠海格力电器股份有限公司 A kind of method and server for generating image
CN109150992A (en) * 2018-07-27 2019-01-04 深圳Tcl数字技术有限公司 Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android

Similar Documents

Publication Publication Date Title
CN108897507B (en) Whiteboard synchronous display method and system based on android intelligent classroom
AU2006200425B2 (en) Method and system to process video effects
CN104518941A (en) Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board
CN106028075B (en) Barrage display methods and device
EP3447631B1 (en) Writing trajectory synchronization method and system for multiple clients
CN105637472B (en) The frame of screen content shared system with the description of broad sense screen
CN107135370B (en) A kind of video broadcasting method and device
CN105530535A (en) Method and system capable of realizing multi-person video watching and real-time interaction
CN105281921A (en) Method and device enabling virtual desktop to realize multicast
CN105207886B (en) Transmission, display methods and the transmission of instant communication message, display device and system
CN101888302B (en) Interactive image information transmission system and method for teleconferences
CN102646235A (en) Method, client and server for online collaborative drawing
CN105224516A (en) Graph text information generation method and device
CN102611878A (en) Low-bandwidth-occupancy high-definition camera mapping method
CN103841140A (en) Inter-terminal information mutual-transmission method, system and device
CN103491156A (en) Method and system for enabling circles and groups to be synchronous based on converged communication
CN103841008A (en) Platform and method for exhibiting information based on self-media channel
CN106126109A (en) Method for information display and terminal for chat application
CN104111822A (en) Method, device and system for changing fonts for application programs
CN103685430A (en) A mobile terminal combined display method, a system, and a server
CN101969461A (en) Method for implementing white board clear screen synchronization on webpage
CN104320330A (en) Message issuing method of electronic forum
CN106878760B (en) Draw and parse the method and device of present
CN105183288B (en) Single-window multi-task display method and intelligent mobile terminal thereof
CN103023746B (en) A kind of drawing board implementation method based on IM system and a kind of IM 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: 20150415