CN103023746A - IM (Instant Messaging) system and drawing board implementation method based on same - Google Patents

IM (Instant Messaging) system and drawing board implementation method based on same Download PDF

Info

Publication number
CN103023746A
CN103023746A CN2011102871836A CN201110287183A CN103023746A CN 103023746 A CN103023746 A CN 103023746A CN 2011102871836 A CN2011102871836 A CN 2011102871836A CN 201110287183 A CN201110287183 A CN 201110287183A CN 103023746 A CN103023746 A CN 103023746A
Authority
CN
China
Prior art keywords
drawing board
data
unit
operating data
party
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.)
Granted
Application number
CN2011102871836A
Other languages
Chinese (zh)
Other versions
CN103023746B (en
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 Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software 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 Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201110287183.6A priority Critical patent/CN103023746B/en
Publication of CN103023746A publication Critical patent/CN103023746A/en
Application granted granted Critical
Publication of CN103023746B publication Critical patent/CN103023746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an IM (Instant Messaging) system and a drawing board implementation method based on the same. The drawing board implementation method comprises the following steps of: adding drawing boards on communication windows of both sides adopting the IM system for communication; acquiring operation data of the drawing board of one side, and displaying a corresponding plot on the drawing board of the side according to the obtained operation data of the drawing board; and coding the obtained operation data of the drawing board, transmitting the operation data of the drawing board to the other side according to an IM protocol, and displaying the corresponding plot on the drawing board of the other side after carrying out decoding reduction on the operation data. According to the technical scheme provided by the invention, the both sides based on IM communication can share the same drawing board and instantly display drawing motions and a drawing result on the drawing boards of the both sides.

Description

A kind of drawing board implementation method and a kind of IM system based on the IM system
Technical field
The present invention relates to instant messaging field, the Internet, particularly relate to a kind of drawing board implementation method based on the IM system and a kind of IM system.
Background technology
Along with the high speed development of internet system, instant messaging (IM, Instant Messenger) has become requisite internet, applications.More owing to the continuous dilatation of bandwidth, the IM system is communicated and chatted by the original text of only supporting, develops into high-end application such as supporting audio session, video session, file-sharing.But what these were finished all is single application, and the both sides of the session that can not let on exchange based on Same Scene, namely can't satisfy the user in text or audio frequency and video interchange, shares same drawing board and plotting motion and the drawing result of instant playback two people on drawing board.
Summary of the invention
The invention provides a kind of drawing board implementation method based on the IM system, the method is so that the both sides that communicate by letter based on IM can share same drawing board and plotting motion and the drawing result of instant playback both sides on drawing board.
The present invention also provides a kind of letter IM system, and this IM system is so that the both sides of communication can share same drawing board and plotting motion and the drawing result of instant playback both sides on drawing board.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of drawing board implementation method based on instant messaging IM system, it is characterized in that, the method comprises:
On the both sides' that use the IM system to communicate communication window, all increase a drawing drawing board;
Obtain a side drawing board operating data, show corresponding the drawing according to the described drawing board operating data of obtaining at the party's drawing drawing board;
The described drawing board operating data of obtaining is encoded,,, draw accordingly in the opposing party's drawing drawing board demonstration after the reduction of decoding to the opposing party according to the IM protocol transmission.
In said method, the described drawing board operating data of obtaining a side comprises:
Process mouse information, obtain the current drawing tools information of mouse and mouse at the relative position information of drawing board;
Perhaps,
The processing clipbook operates, and obtains the pinup picture data of drawing drawing board.
In said method, the described described drawing board operating data of obtaining is encoded comprises:
The described drawing board operating data of obtaining is done the Base64 coding, be converted to binary data.
In said method, described IM agreement is IM text chat agreement.
In said method, describedly comprise to the opposing party according to the IM protocol transmission: the expansion subtype that in IM text chat agreement, increases the drawing board data type, data behind the coding as described expansion subtype number certificate, are encapsulated in the IM text chat agreement, transfer to network channel and be transferred to the opposing party.
The present invention also discloses a kind of IM system, all increasing on the communication window that communicates both sides of this IM system has a drawing drawing board, and this IM system comprises: acquiring unit, one's own side show output unit, coding unit, transmission unit, decoding unit and other party show output unit;
Acquiring unit, the drawing board operating data for obtaining a side sends to one's own side and shows output unit and coding unit;
One's own side shows output unit, is used for showing the corresponding drawing of output according to the drawing board operating data that receives at the party's drawing drawing board;
Coding unit is for sending to transmission unit after the processing that the drawing board operating data that receives is encoded;
Transmission unit is for the decoding unit that the transfer of data that receives is arrived the opposing party according to the IM agreement;
Decoding unit is used for showing output unit to sending to other party behind the decoding data that receives;
Other party shows output unit, is used for according to drawing drawing board demonstration output corresponding draw of received data described the opposing party.
In above-mentioned IM system, described acquiring unit for the treatment of mouse information, obtains the current drawing tools information of mouse and mouse at the relative position information of drawing board, perhaps, for the treatment of the clipbook operation, obtains the pinup picture data of drawing drawing board.
In above-mentioned IM system, described coding unit is used for that the drawing board operating data that receives is carried out the Base64 coding and processes.
In above-mentioned IM system, described transmission unit is used for increasing in IM text chat agreement the expansion subtype of drawing board data type, with the data behind the coding as described expansion subtype number certificate, be encapsulated in the IM text chat agreement, transfer to the decoding unit that network channel is transferred to the opposing party.
By as seen above-mentioned, all increase a drawing drawing board on this both sides' using the IM system to communicate of the present invention the communication window; Obtain a side drawing board operating data, show corresponding the drawing according to the described drawing board operating data of obtaining at the party's drawing drawing board; The described drawing board operating data of obtaining is encoded, arrive the opposing party according to the IM protocol transmission, decode the reduction after, drawing drawing board the opposing party shows corresponding technical scheme of drawing, so that can share same drawing board and plotting motion and the drawing result of instant playback both sides on drawing board based on the both sides of IM communication.
Description of drawings
Fig. 1 is the flow chart of a kind of drawing board implementation method based on the IM system among the present invention;
Fig. 2 is the schematic diagram of the drawing drawing board in the embodiment of the invention;
Fig. 3 is the structure chart of a kind of IM system in the embodiment of the invention.
Embodiment
Core concept of the present invention is: all increase a drawing drawing board control on the both sides' that exchange based on the IM system client end interface, the IM system with two people to any plotting motion of drawing board and drawing result when one's own side's drawing board shows, with action data and result data according to self-defining protocol format, convert network flow data to, be transferred to the other side via the IM chat channels, and be shown on the other side's the drawing drawing board, because the IM network delay is little, thereby reach the miraculous effects of the same drawing board of two people's Instantaneous sharings.
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Fig. 1 is the flow chart of a kind of drawing board implementation method based on the IM system among the present invention.As shown in Figure 1, the method comprises:
101, on the both sides' that use the IM system to communicate communication window, all increase a drawing drawing board.
Fig. 2 is the schematic diagram of the drawing drawing board in the embodiment of the invention.
Increased a drawing drawing board control at communication window in this step, the function of this control can be similar with the paint program that system carries, and the user can do various plotting motions on this control.
102, obtain a side drawing board operating data, show corresponding the drawing according to the described drawing board operating data of obtaining at the party's drawing drawing board.
In this step, the different drawing instrument on the drawing instrument hurdle on side's user selection drawing drawing board is drawn.The drawing board operating data of then obtaining the party comprises:
1), process mouse information, obtain the current drawing tools information of mouse and mouse at the relative position information of drawing board.
Mouse information comprises: such as WM_LBUTTONDOWN message, and WM_LBUTTONUP message, WM_MOUSEMOVE message etc.
The current drawing tools of mouse may be: paintbrush, paintbrush, erasing rubber, pigment bucket etc.
2), process the clipbook operation, obtain the pinup picture data of drawing drawing board.
As seen, the drawing board operating data of obtaining may be the image data that user oneself draws, and also may be that the user is from other local image datas of coming of pasting.
Drawing drawing board one's own side in this step shows the picture that the user draws.
103, the described drawing board operating data of obtaining is encoded,,, draw accordingly in the opposing party's drawing drawing board demonstration after the reduction of decoding to the opposing party according to the IM protocol transmission.
In this step, can do the Base64 coding to the described drawing board operating data of obtaining, be converted to binary data.
The IM agreement comprises IM text chat agreement, IM voice-enabled chat agreement etc.
In this step, described IM agreement is IM text chat agreement.In IM text chat agreement, increase the expansion subtype of drawing board data type, the data behind the coding as described expansion subtype number certificate, are encapsulated in the IM text chat agreement, transfer to network channel and be transferred to the opposing party.
The opposing party receives data, carries out the Base64 decoding, and the information such as reduction mouse action, drawing instrument and drawing board relative position are presented in the drawing drawing board of oneself.
By said method as seen, the IM system with two people to any plotting motion of drawing board and drawing result when one's own side's drawing board shows, with action data and result data according to self-defining protocol format, convert network flow data to, be transferred to the other side via the IM chat channels, and be shown on the other side's the drawing drawing board, because the IM network delay is little, thereby reach the miraculous effects of the same drawing board of two people's Instantaneous sharings.
Provide the structure of a kind of IM system among the present invention based on above-described embodiment.
Fig. 3 is the structure chart of a kind of IM system in the embodiment of the invention.All increasing on the communication window that communicates both sides of this IM system has a drawing drawing board, as shown in Figure 3, this IM system comprises: acquiring unit 301, one's own side show output unit 302, coding unit 303, transmission unit 304, decoding unit 305 and other party show output unit 306;
Acquiring unit 301, the drawing board operating data for obtaining a side sends to one's own side and shows output unit 302 and coding unit 303;
One's own side shows output unit 302, is used for showing the corresponding drawing of output according to the drawing board operating data that receives at the party's drawing drawing board;
Coding unit 303 is for sending to transmission unit 304 after the processing that the drawing board operating data that receives is encoded;
Transmission unit 304 is for the decoding unit 305 that the transfer of data that receives is arrived the opposing party according to the IM agreement;
Decoding unit 305 is used for showing output unit 306 to sending to other party behind the decoding data that receives;
Other party shows output unit 306, is used for according to drawing drawing board demonstration output corresponding draw of received data the opposing party.
In system shown in Figure 3, described acquiring unit 301 for the treatment of mouse information, obtains the current drawing tools information of mouse and mouse at the relative position information of drawing board, perhaps, for the treatment of the clipbook operation, obtains the pinup picture data of drawing drawing board.
In system shown in Figure 3, described coding unit 303 is used for that the drawing board operating data that receives is carried out the Base64 coding and processes.
In system shown in Figure 3, described transmission unit 304, be used for increasing in IM text chat agreement the expansion subtype of drawing board data type, with the coding after data as described expansion subtype number certificate, be encapsulated in the IM text chat agreement, transfer to the decoding unit that network channel is transferred to the opposing party.
In sum, all increase a drawing drawing board on this both sides' using the IM system to communicate of the present invention the communication window; Obtain a side drawing board operating data, show corresponding the drawing according to the described drawing board operating data of obtaining at the party's drawing drawing board; The described drawing board operating data of obtaining is encoded, arrive the opposing party according to the IM protocol transmission, decode the reduction after, drawing drawing board the opposing party shows corresponding technical scheme of drawing, so that can share same drawing board and plotting motion and the drawing result of instant playback both sides on drawing board based on the both sides of IM communication.
The both sides of this instant session that can let on exchange based on same drawing board, have realized the peculiar characteristic with the scene session of meeting room, and having remedied conventional I M can not be based on the defective with the scene session; And the drawing board data mostly are position size isovector data, and data volume is very little, and bandwidth occupancy is little, and is low to the configuration requirement of machine, do not affect the normal use of other functions of IM system.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. the drawing board implementation method based on instant messaging IM system is characterized in that, the method comprises:
On the both sides' that use the IM system to communicate communication window, all increase a drawing drawing board;
Obtain a side drawing board operating data, show corresponding the drawing according to the described drawing board operating data of obtaining at the party's drawing drawing board;
The described drawing board operating data of obtaining is encoded,,, draw accordingly in the opposing party's drawing drawing board demonstration after the reduction of decoding to the opposing party according to the IM protocol transmission.
2. method according to claim 1 is characterized in that, the described drawing board operating data of obtaining a side comprises:
Process mouse information, obtain the current drawing tools information of mouse and mouse at the relative position information of drawing board.
3. method according to claim 1 is characterized in that, the described drawing board operating data of obtaining a side comprises:
The processing clipbook operates, and obtains the pinup picture data of drawing drawing board.
4. method according to claim 1 is characterized in that, the described described drawing board operating data of obtaining is encoded comprises:
The described drawing board operating data of obtaining is done the Base64 coding, be converted to binary data.
5. each described method in 4 according to claim 1 is characterized in that,
Described IM agreement is IM text chat agreement.
6. method according to claim 5 is characterized in that, describedly comprises to the opposing party according to the IM protocol transmission:
In IM text chat agreement, increase the expansion subtype of drawing board data type, the data behind the coding as described expansion subtype number certificate, are encapsulated in the IM text chat agreement, transfer to network channel and be transferred to the opposing party.
7. an IM system is characterized in that, all increasing on the communication window that communicates both sides of this IM system has a drawing drawing board, this IM system comprises: acquiring unit, one's own side show output unit, coding unit, transmission unit, decoding unit and other party show output unit;
Acquiring unit, the drawing board operating data for obtaining a side sends to one's own side and shows output unit and coding unit;
One's own side shows output unit, is used for showing the corresponding drawing of output according to the drawing board operating data that receives at the party's drawing drawing board;
Coding unit is for sending to transmission unit after the processing that the drawing board operating data that receives is encoded;
Transmission unit is for the decoding unit that the transfer of data that receives is arrived the opposing party according to the IM agreement;
Decoding unit is used for showing output unit to sending to other party behind the decoding data that receives;
Other party shows output unit, is used for according to drawing drawing board demonstration output corresponding draw of received data described the opposing party.
8. IM according to claim 7 system is characterized in that,
Described acquiring unit for the treatment of mouse information, obtains the current drawing tools information of mouse and mouse at the relative position information of drawing board, perhaps, for the treatment of the clipbook operation, obtains the pinup picture data of drawing drawing board.
9. IM according to claim 7 system is characterized in that,
Coding unit is used for that the drawing board operating data that receives is carried out the Base64 coding and processes.
10. each described IM system in 9 according to claim 7 is characterized in that,
Described transmission unit, be used for increasing in IM text chat agreement the expansion subtype of drawing board data type, data behind the coding as described expansion subtype number certificate, are encapsulated in the IM text chat agreement, transfer to the decoding unit that network channel is transferred to the opposing party.
CN201110287183.6A 2011-09-23 2011-09-23 A kind of drawing board implementation method based on IM system and a kind of IM system Active CN103023746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110287183.6A CN103023746B (en) 2011-09-23 2011-09-23 A kind of drawing board implementation method based on IM system and a kind of IM system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110287183.6A CN103023746B (en) 2011-09-23 2011-09-23 A kind of drawing board implementation method based on IM system and a kind of IM system

Publications (2)

Publication Number Publication Date
CN103023746A true CN103023746A (en) 2013-04-03
CN103023746B CN103023746B (en) 2016-08-03

Family

ID=47971896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110287183.6A Active CN103023746B (en) 2011-09-23 2011-09-23 A kind of drawing board implementation method based on IM system and a kind of IM system

Country Status (1)

Country Link
CN (1) CN103023746B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117219A (en) * 2015-08-13 2015-12-02 浪潮(北京)电子信息产业有限公司 User-defined drawing control realization method and system
CN107749843A (en) * 2017-10-13 2018-03-02 北京中教在线科技有限公司 A kind of electronic drawing board sharing method
CN108108091A (en) * 2017-11-28 2018-06-01 贵阳语玩科技有限公司 The refreshing display methods and system of sliding trace

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1393883A (en) * 2001-07-03 2003-01-29 旭联科技股份有限公司 Video-audio system
CN1409841A (en) * 1999-10-13 2003-04-09 笔友电子邮件体系合伙公司 Method and system for creating and sending graphical e-mail
CN101021950A (en) * 2007-03-19 2007-08-22 朱桂永 Convenient mouse drawing method
KR100850313B1 (en) * 2006-11-01 2008-08-04 이용직 System and method of service for providing fixed and mobile converged handwriting instant messenger service
CN101453796A (en) * 2007-12-05 2009-06-10 英华达股份有限公司 Instant interaction method for moving communication device
CN101795240A (en) * 2009-02-03 2010-08-04 宏碁股份有限公司 Instant data sharing system and machine readable media thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409841A (en) * 1999-10-13 2003-04-09 笔友电子邮件体系合伙公司 Method and system for creating and sending graphical e-mail
CN1393883A (en) * 2001-07-03 2003-01-29 旭联科技股份有限公司 Video-audio system
KR100850313B1 (en) * 2006-11-01 2008-08-04 이용직 System and method of service for providing fixed and mobile converged handwriting instant messenger service
CN101021950A (en) * 2007-03-19 2007-08-22 朱桂永 Convenient mouse drawing method
CN101453796A (en) * 2007-12-05 2009-06-10 英华达股份有限公司 Instant interaction method for moving communication device
CN101795240A (en) * 2009-02-03 2010-08-04 宏碁股份有限公司 Instant data sharing system and machine readable media thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117219A (en) * 2015-08-13 2015-12-02 浪潮(北京)电子信息产业有限公司 User-defined drawing control realization method and system
CN107749843A (en) * 2017-10-13 2018-03-02 北京中教在线科技有限公司 A kind of electronic drawing board sharing method
CN108108091A (en) * 2017-11-28 2018-06-01 贵阳语玩科技有限公司 The refreshing display methods and system of sliding trace

Also Published As

Publication number Publication date
CN103023746B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN102883135B (en) Screen sharing and control method
CN103475953B (en) A kind of media control method and equipment based on desktop cloud
CN104836977B (en) Video communication method and system during instant messaging
CN101159714B (en) Instant communication method and device
CN101409687B (en) Method and apparatus for prompting message
CN104365088A (en) Multiple channel communication using multiple cameras
CN103326923A (en) Method and device for information sharing
CN105207886B (en) Transmission, display methods and the transmission of instant communication message, display device and system
CN101969463A (en) Method for realizing whiteboard full-screen synchronization on web page
CN101710881A (en) Method and system for realizing private messages in chat room
CN101977209A (en) Method for realizing page-turning synchronization on web page
CN101944130A (en) Method for implementing list synchronization on webpage
US8370525B2 (en) Transmitting new data format under existing infrastructure
CN102497328A (en) Instant messaging (IM) message sending method and IM system
CN106789593B (en) A kind of instant message processing method, server and system merging sign language
CN104918132A (en) Method and system for smart television audio and video communication
CN101969461A (en) Method for implementing white board clear screen synchronization on webpage
CN103023746A (en) IM (Instant Messaging) system and drawing board implementation method based on same
CN102263789A (en) Call patterning assisting system
CN104518941A (en) Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board
CN103095841A (en) Communication system and communication method based on network video
CN111627096A (en) Digital human driving system based on blenshape
CN101471891B (en) Method, system for real time displaying input state, and sending party/receiving party client terminals
CN103716444A (en) Information processing method and electronic equipment
CN107634974A (en) A kind of data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Room 601, 6 / F, block a, Wanliu Xingui building, 28 wanquanzhuang Road, Haidian District, Beijing 100080

Patentee after: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building A block 5 layer

Patentee before: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.

CP02 Change in the address of a patent holder