CN103532829A - Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol) - Google Patents

Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol) Download PDF

Info

Publication number
CN103532829A
CN103532829A CN201310395751.3A CN201310395751A CN103532829A CN 103532829 A CN103532829 A CN 103532829A CN 201310395751 A CN201310395751 A CN 201310395751A CN 103532829 A CN103532829 A CN 103532829A
Authority
CN
China
Prior art keywords
message
role
blank
server
information
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
CN201310395751.3A
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.)
HEBEI FAR EAST HARRIS COMMUNICATIONS CO Ltd
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Sichuan Electric Power Co Ltd
Original Assignee
HEBEI FAR EAST HARRIS COMMUNICATIONS CO Ltd
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Sichuan Electric Power 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 HEBEI FAR EAST HARRIS COMMUNICATIONS CO Ltd, State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Sichuan Electric Power Co Ltd filed Critical HEBEI FAR EAST HARRIS COMMUNICATIONS CO Ltd
Priority to CN201310395751.3A priority Critical patent/CN103532829A/en
Publication of CN103532829A publication Critical patent/CN103532829A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an instant messaging system electronic white board access method based on an XMPP (xml based messaging and presence protocol). The method comprises the following steps that an electronic white board server reports load information; a client applies the electronic white board information; a server returns the electronic white board information; the client applies to create an electronic white board towards the electronic white board server; the electronic white board is successfully created. Through the method provided by the invention, the influence on the whole system when the load of the individual white board server is too high or when a fault occurs is reduced, and the system reliability is ensured; the interaction between the electronic white board service and other service in the system is convenient, and the flexibility and the expansion of the system are improved.

Description

A kind of instantaneous communication system electronic whiteboard cut-in method based on XMPP agreement
Technical field
The invention belongs to computer network communication field, be specifically related to a kind of instantaneous communication system electronic whiteboard cut-in method based on XMPP agreement.
Background technology
Instant messaging (Instant messaging, IM) is a communication service based on the Internet, allows two people or many people to use network to carry out instant word, archives, voice and exchanges with video.Along with the development of the network communications technology, instant messaging has become indispensable communication exchange instrument in people's work, life gradually.
Extendible message and presence information agreement (Extensible Messaging and Presence Protocol, XMPP) are the application protocols of an extend markup language (XML), for exchanging messages and presence information quasi real time.The Core Feature of this agreement is the form with XML stream, uses TLS and SASL, and under the root element of stream , , and daughter element, for various types of quasi real time application provide a structure foundation.It can be placed in the top layer of core, uses specific XML name space [XML-NAMES] to send specific application data.
Electronic whiteboard is a kind of important tool of supporting multi-user interactive collaborative work in network instant communication, and it utilizes means of communication to set up the virtual common area of electronic environment, makes the personnel that are positioned at different location can adopt common " screen " call for Votes.User can be by certain interface Real-Time Sharing data cooperation, and the operation of any user on electronic whiteboard, comprises graphic plotting, word input, web page browsing, document function etc., can share with other participants in real time.Electronic whiteboard in e-learning, immediately study in coordination, the field such as the network teleconference obtained application more and more widely.
Common electronic whiteboard plateform system has multiple-user network collaborative conference platform ShowDocument, multiple-user network interactive electric whiteboard and Web conference platform Groupboard etc. at present, and they can provide good electronic whiteboard support function for user.In specific implementation, mainly be divided into two classes, one class is that server end is divided into instant communication server and electronic whiteboard server, instant communication server is mainly used in managing electronic blank user's essential information, and the instant messaging service between completion system user, electronic whiteboard server is mainly responsible for the service bearer of the shared content in user's electronic whiteboard region; An other class is that electronic whiteboard server capability is embedded in instant communication server, and instant communication server is directly for user provides electronic whiteboard business.
Although current electronic whiteboard technology is developed rapidly, but still exist some shortcoming and defect, major embodiment electronic whiteboard business is often for a certain specific application scenarios, such as Web conference, long-distance education etc., and there is the problems such as poor expandability, user interactions and cooperative operation complexity.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the invention provides a kind of cut-in method of realizing instantaneous communication system electronic whiteboard business by expansion XMPP agreement, to improve reliability, flexibility and the autgmentability of system.
In order to realize foregoing invention object, the present invention takes following technical scheme:
An instantaneous communication system electronic whiteboard cut-in method for XMPP agreement, is characterized in that, said method comprising the steps of:
A. electronic whiteboard server load information reporting;
B. client applying for electronic blank information;
C. server return electron blank information;
D. client creates electronic whiteboard to the application of electronic whiteboard server;
E. electronic whiteboard creates successfully.
Preferably, described XMPP agreement comprises self-defined NameSpace, described self-defined NameSpace comprise represent respectively that white board server information request message, blank add invitation message, blank to add invite to reply, daughter element that blank role solicitation message and blank role provide message; In described step B, described client is passed through the XMPP message of IQ form to electronic whiteboard information described in server application.
Preferably, described step C comprises:
C-1. server is according to the load information of EWBS, and chooses EWBS by load-balancing algorithm; If find corresponding EWBS, execution step C-2; Otherwise, execution step C-3;
C-2. server returns to the response of the result type of the information that comprises this EWBS;
C-3. server returns to the response of error type;
The information of described EWBS comprises: this EWBS type, IP address, serve port.
Preferably, in described steps A, described load information comprises: CPU usage, service-user linking number and number of request.
Preferably, described method comprises and adds member, and step is as follows:
Client 2 is sent and adds information to client 1 by server.
Preferably, described in, add member to comprise the steps: that client 1 sends message request by server to client 2.
Preferably, described message request is the XMPP message of Message form, and it comprises that expression blank adds the element of invitation message, and this element comprises the daughter element that represents respectively blank theme, server address, serve port and blank ID;
The described information that adds is the XMPP message of Message form, and it comprises the element that represents that blank adds invitation to reply, and this element comprises the daughter element that represents respectively blank ID and reply message.
Preferably, described method comprises distribution role, and step is as follows:
Client 2 sends role by server to client 1 and divides photos and sending messages.
Preferably, described distribution role comprises the steps:
II-1. client 2 sends change Role Information by server to client 1;
II-2. client 1 is compared the role of this application and the role of current distribution, if sane level or downwards change allow this application and return to role and distribute information; Otherwise, execution step II-3;
II-3. client 1 is notified keeper, is judged whether to distribute the role of this application by keeper.
Preferably, it is the XMPP message of Message form that described role divides photos and sending messages, and it comprises that expression blank role provides the element of message, and this element comprises the role's who represents respectively blank ID and distribution daughter element;
The XMPP message that described change Role Information is Message form, it comprises the element that represents blank role solicitation message, this element comprises the role's who represents respectively blank ID and application daughter element.
Compared with prior art, beneficial effect of the present invention is:
1. while having a plurality of white board server in system, instant communication server can provide load-balancing function, has reduced indivedual white board server loads overweight or whole system is affected while breaking down, and has guaranteed the reliability of system.
2. by expansion XMPP agreement, on instant communication server, increase some intervention flow processs to electronic whiteboard business, be convenient to the mutual of electronic whiteboard business and intrasystem other business, improved flexibility and the autgmentability of system.
Accompanying drawing explanation
Fig. 1 is the support platform architectural framework figure of the inventive method;
Fig. 2 is that the present invention accesses electronic whiteboard flow chart;
Fig. 3 invites member to add flow chart in the embodiment of the present invention;
Fig. 4 is role's application and dispensing flow path figure in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
This method is instantaneous communication system electronic whiteboard business access method under XMPP environment, and corresponding service supporting platform framework as shown in Figure 1; This plateform system comprises an instant communication server being connected by network, one or more electronic whiteboard server and at least two s' XMPP terminal.
1. instant communication server
Support comprises instant message, chatroom, audio/video conferences etc. are instant collaborative activities of network based on XMPP agreement at interior one or more, can be used for during instant collaborative activities carries out, the triggering of electronic whiteboard business and control, specifically comprise the establishment of electronic whiteboard, member's invitation, member role's application and granting.
2. electronic whiteboard server
Be mainly used in developing and managing the data sharing channel of setting up with each blank participation terminal, receive and forward the blank interface operation information from blank participation terminal, thereby realize the blank information sharing between blank participation terminal.
3.XMPP terminal
XMPP signalling path between utilization and application server, sending and receiving blank business control information, by the shared data channel with white board server, sends and accepts blank interface operation information.
In order to transmit the part control information of electronic whiteboard at XMPP net environment, this programme has carried out following expansion to XMPP agreement: create a new NameSpace " acrophone:WhiteBoard ", this NameSpace comprises five daughter element WBSIq, WhiteBoard_join_requeset, WhiteBoard_join_response, WhiteBoard_role_requeset WhiteBoard_role_set, corresponding white board server information request message successively, blank adds invitation message, blank adds to invite replys, blank role solicitation message, blank role provides message.
The specific implementation process of this method comprises the following steps.
One. access electronic whiteboard
As shown in Figure 2, concrete steps are as follows:
1~2.EWBS is regularly to AS load information reporting, and load information mainly comprises CPU usage, the data such as service-user linking number and number of request, and AS receives the load parameter that upgrades corresponding EWBS after load information;
3.Xmpp Client triggers electronic whiteboard business, and the XMPP message that first sends IQ form is applied for available EWBS information to AS;
4.AS receives the IQ request from Xmpp Client, according to the loading condition of all EWBS in the territory of up-to-date collection, according to certain load-balancing algorithm, choose an EWBS server, if find an EWBS, the IQ that returns to " result " type responds and carries the information of this EWBS (comprising type of server, IP address, serve port), otherwise returns to the IQ response of " error " type;
If 5.Xmpp Client receives the reply of carrying EWBS information, to corresponding EWBS, initiate to add blank application;
6.EWBS1 returns and creates blank success.
Two. invite member to add
As shown in Figure 3, concrete steps are as follows:
1~2.Xmpp Client1 sends the invitation of Message form to Xmpp Client2 by AS.This Message message containing element WhiteBoard_join_requeset, WhiteBoard_join_requeset comprises again four daughter elements and represents respectively blank theme, server address, serve port, blank ID.
The invitation that 3~4.Xmpp Client2 sends Message form by AS to Xmpp Client1 is replied.This Message message containing element WhiteBoard_join_response, WhiteBoard_join_response exists again two daughter elements to represent respectively blank ID and reply message.
Three. role assignments and granting
As shown in Figure 4, concrete steps are as follows:
The role that 1~2.Xmpp Client2 sends Message form by AS to Xmpp Client1 changes application (the downward modification of role does not need application).This Message message containing element WhiteBoard_role_requeset, WhiteBoard_role_requeset comprises again the role that two daughter elements represent respectively blank ID and application.
3~4.Xmpp Client1 receives that role more changes colour after application, and the role who distributes before first consulting, if sane level or downwards change, according to application, role is set immediately, otherwise, prompting keeper, if agreed to, according to application, role is set, otherwise distributes role according to last distribution condition.Role's dispatch messages adopts Message form, this Message message containing element WhiteBoard_role_set, and WhiteBoard_role_set comprises again the role that two daughter elements represent respectively blank ID and distribution.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although the present invention is had been described in detail with reference to above-described embodiment, those of ordinary skill in the field are to be understood that: still can modify or be equal to replacement the specific embodiment of the present invention, and do not depart from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of claim scope of the present invention.

Claims (10)

1. the instantaneous communication system electronic whiteboard cut-in method based on XMPP agreement, is characterized in that, said method comprising the steps of:
A. electronic whiteboard server load information reporting;
B. client applying for electronic blank information;
C. server return electron blank information;
D. client creates electronic whiteboard to the application of electronic whiteboard server;
E. electronic whiteboard creates successfully.
2. the method for claim 1, it is characterized in that: described XMPP agreement comprises self-defined NameSpace, described self-defined NameSpace comprise represent respectively that white board server information request message, blank add invitation message, blank to add invite to reply, daughter element that blank role solicitation message and blank role provide message; In described step B, described client is passed through the XMPP message of IQ form to electronic whiteboard information described in server application.
3. the method for claim 1, is characterized in that, described step C comprises:
C-1. server is according to the load information of EWBS, and chooses EWBS by load-balancing algorithm; If find corresponding EWBS, execution step C-2; Otherwise, execution step C-3;
C-2. server returns to the response of the result type of the information that comprises this EWBS;
C-3. server returns to the response of error type;
The information of described EWBS comprises: this EWBS type, IP address, serve port.
4. the method for claim 1, is characterized in that: in described steps A, described load information comprises: CPU usage, service-user linking number and number of request.
5. the method for claim 1, is characterized in that, described method comprises and add member, and step is as follows:
Client 2 is sent and adds information to client 1 by server.
6. method as claimed in claim 5, is characterized in that, described in add member to comprise the steps: that client 1 sends message requests by server to client 2.
7. the method as described in claim 5 or 6, it is characterized in that, described message request is the XMPP message of Message form, and it comprises that expression blank adds the element of invitation message, and this element comprises the daughter element that represents respectively blank theme, server address, serve port and blank ID;
The described information that adds is the XMPP message of Message form, and it comprises the element that represents that blank adds invitation to reply, and this element comprises the daughter element that represents respectively blank ID and reply message.
8. the method for claim 1, is characterized in that, described method comprises distribution role, and step is as follows:
Client 2 sends role by server to client 1 and divides photos and sending messages.
9. method as claimed in claim 8, is characterized in that, described distribution role comprises the steps:
II-1. client 2 sends change Role Information by server to client 1;
II-2. client 1 is compared the role of this application and the role of current distribution, if sane level or downwards change allow this application and return to role and distribute information; Otherwise, execution step II-3;
II-3. client 1 is notified keeper, is judged whether to distribute the role of this application by keeper.
10. method as claimed in claim 8 or 9, is characterized in that: it is the XMPP message of Message form that described role divides photos and sending messages, and it comprises and represent that blank role provides the element of message, and this element comprises the role's who represents respectively blank ID and distribution daughter element;
The XMPP message that described change Role Information is Message form, it comprises the element that represents blank role solicitation message, this element comprises the role's who represents respectively blank ID and application daughter element.
CN201310395751.3A 2013-09-03 2013-09-03 Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol) Pending CN103532829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310395751.3A CN103532829A (en) 2013-09-03 2013-09-03 Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310395751.3A CN103532829A (en) 2013-09-03 2013-09-03 Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol)

Publications (1)

Publication Number Publication Date
CN103532829A true CN103532829A (en) 2014-01-22

Family

ID=49934521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310395751.3A Pending CN103532829A (en) 2013-09-03 2013-09-03 Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol)

Country Status (1)

Country Link
CN (1) CN103532829A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517191A (en) * 2016-06-17 2017-12-26 上海理优教育科技有限公司 A kind of more people based on mobile intelligent terminal in real time can interactive whiteboard system
CN111314647A (en) * 2018-12-11 2020-06-19 中兴通讯股份有限公司 Electronic whiteboard control method, mobile terminal and electronic whiteboard system
CN113204785A (en) * 2021-04-29 2021-08-03 广州朗国电子科技有限公司 Shared electronic whiteboard encryption method, electronic equipment, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044145A1 (en) * 2003-08-20 2005-02-24 International Business Machines Corporation Collaboration method and system
CN101102211A (en) * 2007-07-09 2008-01-09 中兴通讯股份有限公司 A method for sharing the document in data conference and its system
CN101567798A (en) * 2009-05-27 2009-10-28 中兴通讯股份有限公司 System and method for realizing electronic whiteboard conference based on IP multimedia system configuration
CN201904870U (en) * 2010-12-21 2011-07-20 深圳瑞视恒通科技有限公司 Load balancing controller for MCU and video conference system thereof
CN102904733A (en) * 2006-09-15 2013-01-30 微软公司 Distributable, scalable, pluggable conferencing architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044145A1 (en) * 2003-08-20 2005-02-24 International Business Machines Corporation Collaboration method and system
CN102904733A (en) * 2006-09-15 2013-01-30 微软公司 Distributable, scalable, pluggable conferencing architecture
CN101102211A (en) * 2007-07-09 2008-01-09 中兴通讯股份有限公司 A method for sharing the document in data conference and its system
CN101567798A (en) * 2009-05-27 2009-10-28 中兴通讯股份有限公司 System and method for realizing electronic whiteboard conference based on IP multimedia system configuration
CN201904870U (en) * 2010-12-21 2011-07-20 深圳瑞视恒通科技有限公司 Load balancing controller for MCU and video conference system thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517191A (en) * 2016-06-17 2017-12-26 上海理优教育科技有限公司 A kind of more people based on mobile intelligent terminal in real time can interactive whiteboard system
CN111314647A (en) * 2018-12-11 2020-06-19 中兴通讯股份有限公司 Electronic whiteboard control method, mobile terminal and electronic whiteboard system
CN113204785A (en) * 2021-04-29 2021-08-03 广州朗国电子科技有限公司 Shared electronic whiteboard encryption method, electronic equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN101159714B (en) Instant communication method and device
CN105357223A (en) Three dimensional cooperation conference system based on instant messaging protocol and realization method thereof
CN102299810B (en) Method and system for notifying group change event
US10044978B2 (en) Data transmission method and system, and related devices
CN105610981A (en) Quick operational information transfer platform
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN106295107A (en) A kind of medical image that realizes synchronizes the method and system of the consultation of doctors
CN101808096B (en) Method for sharing and controlling large screen among local area networks in different positions
CN102413128A (en) Method for sharing electronic whiteboard and network conference system
CN102025786B (en) Operation method and system for interactive control of three-network terminals
CN103650458A (en) Transmission method, device and system of media streams
CN104363407B (en) A kind of video conferencing system means of communication and related device
CN101567798A (en) System and method for realizing electronic whiteboard conference based on IP multimedia system configuration
CN110213526B (en) Video conference creation method, video conference system, storage medium, and electronic apparatus
CN103548315B (en) Method and apparatus for high performance low latency real time notification delivery
CN103023873A (en) Terminal-spanning real-time interactive online distributing method of lantern slide
CN103607423A (en) Distributed broadcast system based on WebSocket protocol
CN107231290A (en) A kind of instant communicating method and system
CN109151056B (en) Method and system for pushing messages based on Canal
CN107770255A (en) Terminal device data sharing master control device and method for collaborative work
CN103414868B (en) A kind of video conference list conference terminal number expansion method based on H323 agreement
CN106572447A (en) Resource control method and device
CN103532829A (en) Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol)
CN106162313A (en) A kind of multi-screen interaction method and system
CN109698818A (en) A kind of acquisition online user and the method and apparatus across streaming media communication

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

Application publication date: 20140122

RJ01 Rejection of invention patent application after publication