[go: up one dir, main page]

CN103023746B - A kind of drawing board implementation method based on IM system and a kind of IM system - Google Patents

A kind of drawing board implementation method based on IM system and a kind of IM system Download PDF

Info

Publication number
CN103023746B
CN103023746B CN201110287183.6A CN201110287183A CN103023746B CN 103023746 B CN103023746 B CN 103023746B CN 201110287183 A CN201110287183 A CN 201110287183A CN 103023746 B CN103023746 B CN 103023746B
Authority
CN
China
Prior art keywords
drawing board
data
operation data
party
unit
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.)
Active
Application number
CN201110287183.6A
Other languages
Chinese (zh)
Other versions
CN103023746A (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of drawing board implementation method based on IM system and a kind of IM system.Described method includes: all increase a drawing drawing board on the communication window of the both sides using IM system to communicate;Obtain the drawing board operation data of a side, operate data according to the drawing board of described acquisition on the drawing drawing board of the party, show corresponding drawing;The drawing board of described acquisition being operated data encode, according to IM protocol transmission to the opposing party, after being decoded reduction, on the drawing drawing board of the opposing party, display is corresponding draws.Technical scheme is pacified so that both sides based on IM communication can share same drawing board the instant playback both sides plotting motion on drawing board and mapping result.

Description

IM system-based drawing board implementation method and IM system
Technical Field
The invention relates to the technical field of internet instant messaging, in particular to a drawing board implementation method based on an IM system and the IM system.
Background
With the rapid development of internet systems, Instant Messaging (IM) has become an indispensable internet application. Due to the continuous expansion of bandwidth, the IM system has been developed from the original system only supporting text communication chat to the high-end applications supporting audio session, video session, file sharing, and the like. However, the completion of the two applications is single application, and the two parties participating in the conversation cannot communicate based on the same scene, that is, the user cannot share the same drawing board and instantly display drawing actions and drawing results of the two people on the drawing board while communicating text or audio and video.
Disclosure of Invention
The invention provides a drawing board implementation method based on an IM system, which enables two parties based on IM communication to share the same drawing board and instantly display drawing actions and drawing results of the two parties on the drawing board.
The invention also provides a letter IM system, which enables two communicating parties to share the same drawing board and instantly display drawing actions and drawing results of the two communicating parties on the drawing board.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention discloses a drawing board implementation method based on an Instant Messaging (IM) system, which is characterized by comprising the following steps of:
adding a drawing board on the communication windows of both parties communicating by using an IM system;
obtaining drawing board operation data of one party, and displaying a corresponding drawing on the drawing board of the party according to the obtained drawing board operation data;
and encoding the obtained drawing board operation data, transmitting the obtained drawing board operation data to the other side according to an IM protocol, decoding and restoring the obtained drawing board operation data, and displaying corresponding drawing on the drawing board of the other side.
In the above method, the obtaining of the drawing board operation data of one party includes:
processing the mouse message, and acquiring the current drawing tool information of the mouse and the relative position information of the mouse on the drawing board;
or,
and processing the clipboard operation to obtain the mapping data of the drawing board.
In the above method, the encoding the obtained palette operation data includes:
and performing Base64 coding on the acquired drawing board operation data, and converting the drawing board operation data into binary data.
In the above method, the IM protocol is an IM text chat protocol.
In the above method, said transmitting to the other party according to the IM protocol comprises: and adding an extension subtype of the drawing board data type in the IM text chat protocol, packaging the coded data serving as the extension subtype data into the IM text chat protocol, and delivering the data to the other party through a network channel.
The invention also discloses an IM system, the communication windows of both sides of the IM system are added with a drawing board, the IM system comprises: the system comprises an acquisition unit, a self-display output unit, an encoding unit, a transmission unit, a decoding unit and a display output unit of the other party;
the acquisition unit is used for acquiring drawing board operation data of one party and sending the drawing board operation data to the own display output unit and the coding unit;
the own-side display output unit is used for displaying and outputting a corresponding drawing on the drawing board of the own side according to the received drawing board operation data;
the coding unit is used for coding the received drawing board operation data and then sending the drawing board operation data to the transmission unit;
a transmission unit for transmitting the received data to the decoding unit of the other party according to the IM protocol;
the decoding unit is used for decoding the received data and then sending the decoded data to the display output unit of the other party;
and the other party display output unit is used for displaying and outputting the corresponding drawing on the drawing picture of the other party according to the received data.
In the IM system, the obtaining unit is configured to process a mouse message, obtain current drawing tool information of the mouse and relative position information of the mouse on the drawing board, or process a clipboard operation, and obtain map data of the drawing board.
In the IM system, the encoding unit is configured to perform Base64 encoding processing on the received palette operation data.
In the IM system, the transmission unit is configured to add an extended subtype of a palette data type in an IM text chat protocol, encapsulate the encoded data as the extended subtype data in the IM text chat protocol, and deliver the encoded data to a decoding unit of another party through a network channel.
It can be seen from the above that, the invention adds a drawing board on the communication windows of both parties communicating by using the IM system; obtaining drawing board operation data of one party, and displaying a corresponding drawing on the drawing board of the party according to the obtained drawing board operation data; and encoding the obtained drawing board operation data, transmitting the encoded drawing board operation data to the other side according to an IM protocol, decoding and restoring, and displaying a corresponding drawing on the drawing board of the other side, so that two sides based on IM communication can share the same drawing board and display the drawing action and the drawing result of the two sides on the drawing board in real time.
Drawings
FIG. 1 is a flow chart of a drawing board implementation method based on an IM system in the present invention;
FIG. 2 is a schematic illustration of a drawing tablet in an embodiment of the invention;
fig. 3 is a block diagram of an IM system in an embodiment of the invention.
Detailed Description
The core idea of the invention is as follows: a drawing board control is added on the client side interfaces of two parties based on IM system communication, the IM system displays any drawing action and drawing result of the two persons on the drawing board on the own drawing board, simultaneously converts the action data and the result data into network flow data according to a self-defined protocol format, transmits the network flow data to the other party through an IM chat channel, and displays the network flow data on the drawing board of the other party, and the magic effect that the two persons share the same drawing board in real time is achieved due to small IM network delay.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a drawing board implementation method based on an IM system in the present invention. As shown in fig. 1, the method includes:
101, adding a drawing board on both communication windows of two parties communicating by using an IM system.
Fig. 2 is a schematic view of a drawing board in an embodiment of the present invention.
In the step, a drawing board control is added on the communication window, the function of the control can be similar to that of a drawing program carried by the system, and a user can do various drawing actions on the control.
102, obtaining drawing board operation data of one side, and displaying a corresponding drawing on the drawing board of the side according to the obtained drawing board operation data.
In this step, one user selects a different drawing tool on the drawing toolbar on the drawing board to draw. Then obtaining the drawing board operation data of the side comprises:
1) and processing the mouse message, and acquiring the current drawing tool information of the mouse and the relative position information of the mouse on the drawing board.
The mouse message includes: such as WM _ LBUTTONDOWN message, WM _ lbuttonop message, WM _ mouseover message, etc.
The current drawing tool of the mouse may be: brushes, paintbrushes, erasers, paint buckets, and the like.
2) And processing the clipboard operation to obtain the mapping data of the drawing board.
Therefore, the obtained drawing board operation data may be picture data drawn by the user himself or picture data pasted by the user from other places.
In this step, the picture drawn by the user is displayed on the drawing picture board of the own side.
103, encoding the obtained drawing board operation data, transmitting the encoded drawing board operation data to the other side according to the IM protocol, decoding and restoring the encoded drawing board operation data, and displaying a corresponding drawing on the drawing board of the other side.
In this step, Base64 encoding may be performed on the obtained drawing board operation data, and the drawing board operation data may be converted into binary data.
The IM protocol includes an IM text chat protocol, an IM voice chat protocol, and the like.
In this step, the IM protocol is an IM text chat protocol. And adding an extension subtype of the drawing board data type in the IM text chat protocol, packaging the coded data serving as the extension subtype data into the IM text chat protocol, and delivering the data to the other party through a network channel.
And the other side receives the data, carries out Base64 decoding, restores information such as mouse actions, relative positions of drawing tools and drawing boards, and displays the information on the drawing boards.
The IM system converts any drawing action and drawing result of the two persons on the drawing board into network flow data according to a self-defined protocol format while displaying on the own drawing board, transmits the network flow data to the opposite side through the IM chat channel and displays the network flow data on the drawing board of the opposite side.
The structure of an IM system in the present invention is given based on the above-described embodiments.
Fig. 3 is a block diagram of an IM system in an embodiment of the invention. As shown in fig. 3, the IM system includes: an acquisition unit 301, a self-display output unit 302, an encoding unit 303, a transmission unit 304, a decoding unit 305 and a other-display output unit 306;
an obtaining unit 301, configured to obtain drawing board operation data of one party, and send the drawing board operation data to a display output unit 302 and an encoding unit 303 of the own party;
a self-display output unit 302 for displaying and outputting a corresponding drawing on the drawing board of the self-display output unit according to the received drawing board operation data;
the encoding unit 303 is configured to encode the received drawing board operation data and send the encoded drawing board operation data to the transmission unit 304;
a transmission unit 304 for transmitting the received data to the decoding unit 305 of the other party according to the IM protocol;
a decoding unit 305, configured to decode the received data and send the decoded data to the other display output unit 306;
the other-party display output unit 306 is configured to display and output a corresponding drawing on the drawing board of the other party according to the received data.
In the system shown in fig. 3, the obtaining unit 301 is configured to process a mouse message, obtain current drawing tool information of the mouse and relative position information of the mouse on the drawing board, or process a clipboard operation, and obtain map data of the drawing board.
In the system shown in fig. 3, the encoding unit 303 is configured to perform Base64 encoding processing on the received palette operation data.
In the system shown in fig. 3, the transmission unit 304 is a decoding unit configured to add an extended subtype of a palette data type in an IM text chat protocol, encapsulate encoded data as the extended subtype data in the IM text chat protocol, and deliver the encoded data to another party through a network channel.
In summary, the invention adds a drawing board on the communication windows of both parties communicating by using the IM system; obtaining drawing board operation data of one party, and displaying a corresponding drawing on the drawing board of the party according to the obtained drawing board operation data; and encoding the obtained drawing board operation data, transmitting the encoded drawing board operation data to the other side according to an IM protocol, decoding and restoring, and displaying a corresponding drawing on the drawing board of the other side, so that two sides based on IM communication can share the same drawing board and display the drawing action and the drawing result of the two sides on the drawing board in real time.
The method can enable two parties participating in the instant conversation to communicate based on the same drawing board, realizes the characteristic of the same-scene conversation specific to a conference room, and overcomes the defect that the traditional IM can not be based on the same-scene conversation; and the drawing board data is mostly vector data with the same position size, the data volume is small, the bandwidth occupation is small, the configuration requirement on the machine is low, and the normal use of other functions of the IM system is not influenced.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (4)

1. A drawing board implementation method based on an Instant Messaging (IM) system is characterized by comprising the following steps:
adding a drawing board on the communication windows of both parties communicating by using an IM system;
obtaining drawing board operation data of one party, and displaying a corresponding drawing on the drawing board of the party according to the obtained drawing board operation data;
encoding the obtained drawing board operation data, transmitting the encoded drawing board operation data to the other drawing board according to an IM protocol, decoding and restoring the encoded drawing board operation data, and displaying corresponding drawing on the drawing board of the other drawing board, so that the two drawing boards can share the same drawing board and display the drawing action and the drawing result of the two drawing boards on the drawing board in real time;
the obtaining of the drawing board operation data of one party comprises:
processing the mouse message, and acquiring the current drawing tool information of the mouse and the relative position information of the mouse on the drawing board; or processing the clipboard operation to obtain the mapping data of the drawing board;
said transmitting to the other party according to the IM protocol comprises:
and adding an extension subtype of the drawing board data type in the IM text chat protocol, packaging the coded data serving as the extension subtype data into the IM text chat protocol, and delivering the data to the other party through a network channel.
2. The method of claim 1, wherein the encoding the obtained palette operation data comprises:
and performing Base64 coding on the acquired drawing board operation data, and converting the drawing board operation data into binary data.
3. An Instant Messaging (IM) system is characterized in that a drawing board is added on communication windows of two parties of the IM system for communication, and the IM system comprises: the system comprises an acquisition unit, a self-display output unit, an encoding unit, a transmission unit, a decoding unit and a display output unit of the other party;
the acquisition unit is used for acquiring drawing board operation data of one party and sending the drawing board operation data to the own display output unit and the coding unit; or, the method is used for processing the clipboard operation to obtain the mapping data of the drawing board;
the own-side display output unit is used for displaying and outputting a corresponding drawing on the drawing board of the own side according to the received drawing board operation data;
the coding unit is used for coding the received drawing board operation data and then sending the drawing board operation data to the transmission unit;
a transmission unit for transmitting the received data to the decoding unit of the other party according to the IM protocol;
the decoding unit is used for decoding the received data and then sending the decoded data to the display output unit of the other party;
the other side display output unit is used for displaying and outputting corresponding drawing on the drawing picture board of the other side according to the received data, so that the two sides can share the same drawing picture board and display the drawing action and the drawing result of the two sides on the drawing picture board in real time;
the acquisition unit is used for processing the mouse message and acquiring the current drawing tool information of the mouse and the relative position information of the mouse on the drawing board;
and the transmission unit is used for adding an extended subtype of a drawing board data type in the IM text chat protocol, packaging the coded data serving as the extended subtype data into the IM text chat protocol, and delivering the data to the decoding unit of the other party through a network channel.
4. The IM system of claim 3,
and the encoding unit is used for performing Base64 encoding processing on the received drawing board operation data.
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 CN103023746A (en) 2013-04-03
CN103023746B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117219B (en) * 2015-08-13 2019-05-28 浪潮(北京)电子信息产业有限公司 A method and system for realizing custom drawing control
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 이용직 Handwritten Wired / Wireless Instant Messenger Service System and Its Service Method
CN101453796A (en) * 2007-12-05 2009-06-10 英华达股份有限公司 Instant interaction method for mobile communication device
CN101795240A (en) * 2009-02-03 2010-08-04 宏碁股份有限公司 Instant data sharing system and machine readable medium 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 이용직 Handwritten Wired / Wireless Instant Messenger Service System and Its Service Method
CN101021950A (en) * 2007-03-19 2007-08-22 朱桂永 Convenient mouse drawing method
CN101453796A (en) * 2007-12-05 2009-06-10 英华达股份有限公司 Instant interaction method for mobile communication device
CN101795240A (en) * 2009-02-03 2010-08-04 宏碁股份有限公司 Instant data sharing system and machine readable medium thereof

Also Published As

Publication number Publication date
CN103023746A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN102883135B (en) Screen sharing and control method
CN108040061B (en) A method for live broadcast of cloud conference
US20050021625A1 (en) Communication apparatus
CN104683121B (en) A kind of method and device of initiating network conference
US8370525B2 (en) Transmitting new data format under existing infrastructure
WO2013143380A1 (en) Communication method and device for video simulation image
CN103326923A (en) Method and device for information sharing
CN110891084A (en) Thin client remote desktop control system based on autonomous HVDP protocol
US8848015B2 (en) Method and device for processing text data
CN112653898B (en) User image generation method, related device and computer program product
WO2018107717A1 (en) Method and system for mitigating feeling of lag of mouse cursor action in kvm system
CN102497328A (en) Instant messaging (IM) message sending method and IM system
CN106789593A (en) A kind of instant message processing method for merging sign language, server and system
CN103023746B (en) A kind of drawing board implementation method based on IM system and a kind of IM system
CN113438442A (en) Conference data sharing method and device
CN103856809A (en) Method, system and terminal equipment for multipoint at the same screen
CN111372113A (en) User cross-platform communication method based on digital human expression, mouth shape and voice synchronization
CN102413139A (en) Method and system for remotely inputting characters
CN104518941A (en) Method, client, server and system for realizing an instant messaging (IM) multi-person drawing board
CN107248921A (en) A kind of conference method, client and apply its system
CN105357171A (en) Communication method and terminal
CN107612881A (en) Method, device, terminal and storage medium for transmitting picture during file transmission
CN119277010A (en) A method, system and computing device cluster for providing digital human
CN104753759A (en) Method and device for displaying contact person information in instant messaging (IM) system
TWI468014B (en) Interactively communicating a media resource

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
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.