Processing method based on the muti-topic discussion group information flow of instant messagingTechnical field
The present invention relates to field of computer technology, be specifically related to a kind of processing method of the muti-topic discussion group information flow based on instant messaging.
Background technology
Along with such as the development of network instant communication (hereinafter to be referred as IM) instruments such as QQ, MSN and POPO, UC with popularize, not only can provide single communication way to the user to list, and the exchange way that can provide many people to talk with, notions such as group, interest group have so just appearred, the user can link up effectively and timely with everybody in this group, simultaneously the user also has polytype group, the classmate group of senior middle school for example, a plurality of groups such as colleague group; On the other hand, when the user wishes in interim group certain problem to be discussed, fixing group's relation also is not suitable for, therefore, the form that various discussion group just occurred, this form not only can be used for user's leisure and entertainment life, also can be effectively applied to user's office or study.Because the meeting at real world all is to need to determine one or more subjects under discussion, carry out analysis and summary after in meeting, each subject under discussion effectively being discussed then, and prior art lacks a kind of organizational form of effectively organizing subject under discussion based on discussion group's form of IM software, caused the randomness and the non-validity of the discussion suggestion of discussion group, therefore needed a kind of real-life discussion group form that approaches more at office application.
More at ground, in current IM software, QQ for example, TM, POPO etc. are in existing IM software, the founder is by inviting other good friends, perhaps in group, set up the mode of discussion group and create the platform that people more than links up, the type of current discussion group is divided into common discussion group and the interior discussion group of group, its form of expression as shown in Figure 1, common discussion group can only be by having the member composition that the good friend concerns with the founder, and discussion group must be that the member who belongs to same group with the founder could add composition in the group, discussion group has the exchange way of multi-conference, and all members can discuss at some problem in discussion group, determines the conclusion of some problem jointly.
From the analysis of above-mentioned discussion group as can be seen, the too unification of the form of this discussion group, user's actual mainly need discussing at certain problem in discussion group just set up, when this problem has been discussed, the member of discussion group may need again other problem is discussed, similar current faceoff, the discussion of general discussion group has a plurality of subjects under discussion, send and the function of accepting discussion group's message and in current discussion group, only provide, and can not organize the subject under discussion of these discussion effectively for the member of discussion group, the member of discussion group generally has only by checking that mixed and disorderly Message Record could summarize all problems of discussing and relevant answer, the user wishes that also current discussion group provides a kind of form effectively to organize message at different subjects under discussion, and the user can effectively use discussion group to carry out exchanges and communication like this.
Summary of the invention
The technical problem to be solved in the present invention is, how a kind of new instant messaging interaction environment is proposed on the basis of prior art discussion group, can effectively organize the discussion that a plurality of subjects under discussion that participate in are in many ways arranged simultaneously, make any one participants of all information interactions in participating in many subjects under discussion discussion process, obtains a kind of means of selectively paying close attention to and adding any one subject under discussion discussion.
The above-mentioned technical problem of the present invention solves like this, construct a kind of processing method of the muti-topic discussion group information flow based on instant messaging, may further comprise the steps: A) set up and store one or more subjects under discussion and corresponding subject under discussion number for each discussion group at cluster server; B) cluster server notice other all members of discussion group upgrade discussion group's essential information and subject under discussion number; C) message of each member's client to receiving in the discussion group number is stored respectively and is shown according to subject under discussion; D) client content that the member of discussion group is participated in discussion, corresponding subject under discussion number send to cluster server together; E) cluster server is given this forwards the member of discussion group after the message of the band subject under discussion of receiving number;
Wherein, described steps A) in, comprise for the method that each discussion group sets up subject under discussion and corresponding subject under discussion number at cluster server:
A21) newsgroup creation person user opens a subject under discussion at its client call chat window administration module and creates window, and subject under discussion is discussed in input;
A22) after client receives the subject under discussion title that the user confirms, itself and ID of discussion group and Subscriber Number composition packet are sent to cluster server, ask to set up new subject under discussion for this discussion group;
A23) after the packet of new subject under discussion is set up in the cluster server request of receiving, take out the ID of discussion group, Subscriber Number wherein and subject under discussion is discussed, for this subject under discussion is discussed and is generated a new subject under discussion number.
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention,, described steps A) comprise steps A 2 if discussion group exists): for existing discussion group increases subject under discussion, carry out described steps A 21)~A23); If discussion group does not also exist, described steps A) comprise steps A 1): create discussion group and A2) for existing discussion group increases subject under discussion, carry out described steps A 21)~A23).
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention, described steps A 1) may further comprise the steps:
A11) set up member's list of numbers, will comprise the packet of member's list of numbers, discussion group's title and founder's Subscriber Number, send to the cluster server request and set up discussion group;
A12) after the packet of discussion group is set up in the cluster server request of receiving, the person's Subscriber Number that therefrom obtains the newsgroup creation, member's list of numbers and discussion group's title;
A13) in discussion group's database, set up discussion group's clauses and subclauses, determine for it with the ID of discussion group founder's Subscriber Number, member's list of numbers and discussion group's title to be write these discussion group's clauses and subclauses in the database by the ID of discussion group;
A14) after writing successfully, cluster server sends to founder's subscription client with the ID of discussion group;
A15) newsgroup creation person subscription client receive from cluster server return comprise the ID of discussion group packet after, therefrom take out the ID of discussion group after efficiency confirmed, with its with newsgroup creation person Subscriber Number, the member of discussion group list of numbers as discussion group's storage in local memory module.
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention, described steps A 23) further comprising the steps of afterwards:
A23 ') described cluster server number sends to the foundation that founder's subscription client is confirmed new issue by packet with the ID of discussion group and new subject under discussion;
A24) after founder's subscription client is received and confirmed packet that new issue sets up, take out wherein discussion group's title, the ID of discussion group, subject under discussion and subject under discussion number, be saved in the local memory module.
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention, described step B) may further comprise the steps:
B1) cluster server is according to member's list of numbers of discussion group, and the inquiry logon server obtains the member and logins dynamic IP and Port port;
B2) cluster server passes through packet according to the member's who obtains from logon server dynamic IP and Port port with the ID of discussion group and discussion group's title, with the notification message of newsgroup creation success, sends to other member's clients of discussion group;
B3) client receives the notification message of cluster server at corresponding port, utilizes local memory module to judge whether to obtain discussion group's basic document, if local memory module has existed basic document that should the ID of discussion group, does not then need to obtain again; Otherwise member's client sends to cluster server with acquisition request discussion group essential information with the ID of discussion group and member's number by packet;
B4) cluster server is asynchronous receive packet after, after efficiency confirmed, obtain wherein the ID of discussion group and member's number, inquiry discussion group Basic Information Table, judge whether this member's number is arranged in member's list of numbers of the ID of discussion group correspondence, if there is no, the notification message that then issues the lack of competence operation is given member's client; If exist, illustrate that then the member is effective member of discussion group, then cluster server issues member's client that the relevant member of discussion group list of numbers, discussion group's title and discussion group's subject under discussion table data bag are given acquisition request discussion group essential information, member's client receives packet, utilizes local memory module to preserve after resolving successful discussion group essential information field.
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention, described step C) may further comprise the steps:
C1) member's of discussion group client is after receiving the subject under discussion content data packets that cluster server transmits, and efficiency confirmed back obtains subject under discussion number and content of the discussions from packet;
C2) member of discussion group client is added the relevant discussion content in the subject under discussion corresponding queues to according to subject under discussion number;
C3) after subject under discussion is selected, press the timestamp order, successively the content of the discussions in this subject under discussion corresponding queues is presented in the zone of discussion one by one.
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention, described step D may further comprise the steps:
D1) member of discussion group selects the subject under discussion that will add discussion from discussion group's subject under discussion tabulation;
D2) press the timestamp order, be presented at the content of the discussions in this subject under discussion corresponding queues in the zone of discussion one by one successively;
D3) in the editing area edit messages;
D4) after edit messages is identified, the editing area content is sent to cluster server with subject under discussion number, the ID of discussion group and Subscriber Number.
In the processing method of the muti-topic discussion group information flow based on instant messaging of the present invention, described step e) may further comprise the steps:
E1) after cluster server is received the message of band subject under discussion number, therefrom extract ID of discussion group and subject under discussion number;
E2) with the ID of discussion group searching database, if do not retrieve in database that the discussion group of identical ID exists or identical ID discussion group in do not have corresponding subject under discussion to exist, then send notice discussion group or the non-existent message of issues associated to the user client that sends message, there is corresponding subject under discussion to exist in identical ID discussion group and this discussion group if exist, then by cluster server according to the ID of discussion group, obtain dynamic login IP and the Port port of all members member's list of numbers from logon server, the message received IP and the Port port by all members in the described tabulation is transmitted to each member of discussion group in member's list of numbers.
Enforcement the present invention is based on the processing method of the muti-topic discussion group information flow of instant messaging, under instant communication environment is supported, the a plurality of members that participate in same discussion group can arrange in discussion group's chat window and demonstrate the current problem that needs to discuss is the tabulation of subject under discussion, the member of discussion group can effectively effectively discuss at certain subject under discussion like this, thereby the form that can utilize this virtual discussion group is effectively replaced some former owing to the region thereby can not hold meeting in reality, efficient and the validity discussed have greatly been improved, this discussion group's form based on IM software convenient for users is carried out the discussion and the analysis of problem, also saved user's communication cost, for assisting users organizes a meeting effectively, provide effective practical tool.
Description of drawings
Fig. 1 is the form of expression of many people discussion group in reciprocal process of utilizing existing IM technology to realize;
The inventive method of utilizing Fig. 2 realizes the form of expression based on an example of many subjects under discussion discussion group;
Fig. 3 has provided and has utilized the inventive method to realize the logic flow schematic diagram that many subjects under discussion are discussed;
Fig. 4 is the schematic flow sheet for explanation the inventive method implementation process;
Embodiment
Under the instant messaging environment, the function of cluster server mainly is the management that the essential information of discussion group is stored and responded, and the operation of corresponding echo back data bag is carried out in the request relevant with discussion group to client simultaneously; The function of logon server mainly is to set up the essential information that the user logins the associated dynamic state, for example dynamic login IP address Port port numbers of the current correspondence of subscription client and so on; And the local memory module that is in client mainly is meant preserves some and the essential information of the essentially identical content of storage system of cluster server in the file system of user's PC device, and significant feature is for fear of all download and cause server pressure greatly from server at every turn.Under above-mentioned instant messaging environment, the present invention proposes and in a discussion group, carry out many subjects under discussion when discussing, the information flow processing method of effectively organizing, utilize this processing method, the user can set up new subject under discussion in the chat window of discussion group, other members in the discussion group can select different subjects under discussion, send own message content at this subject under discussion, and message content can be presented at different subjects under discussion below, even the user checks that Message Record also can have the discussion message that unusual specific aim is checked corresponding subject under discussion like this.Discussion group's form of expression of an embodiment as shown in Figure 2.In the display frame that Fig. 2 provides, comprise discussion group's title 201, the participant list of discussion group 202, subject under discussion tabulation 203, zone of discussion 204 sends Edition Contains district 205, a current subject under discussion title 206 is arranged above zone of discussion 204, and this current subject under discussion is selected from subject under discussion tabulation 203.Compare with Fig. 1 of reflection prior art, Fig. 2 has increased subject under discussion tabulation 203 and current subject under discussion title 206, therefore as seen, be the many subjects under discussion discussion that realizes that classification is orderly, the founder of discussion group can set up a title for discussion group, " discussion group " the 201st among Fig. 2, " discussion of TM software analysis ", having enumerated in " the subject under discussion tabulation " 203 on the right needs the subject under discussion discussed in the discussion group of " discussion of TM software analysis ", shown four subjects under discussion in the tabulation mode among the figure.When the user selects certain subject under discussion, in the current subject under discussion title 206 at window middle part, can demonstrate the complete name " analysis of future performance and room for promotion " of this subject under discussion, as shown in Figure 2, the user selects subject under discussion 3, then is shown as " current subject under discussion: the analysis of future performance and room for promotion ".In information processing, each subject under discussion can be distributed a numbering, like this, when the user sends discussion group's message, can be with the numbering that goes up subject under discussion, after other members of discussion group receive this message, then preservation and display message below corresponding subject under discussion, the user can know clearly that the message that other members send is the discussion at which problem, has the characteristics targetedly of message like this.For example, under applied environment shown in Figure 2, the Member Users of discussion group wishes to participate in the subject under discussion discussion of " scheduling ", and he can click the subject under discussion of selection " scheduling ", and at this moment, 204 will show the content of the discussions that this subject under discussion has taken place in the zone of discussion; If this user wishes to deliver the discussion suggestion with regard to this subject under discussion, the discussion suggestion that Edition Contains district 205 editors will deliver can sent, finishing the editor back sends, the content that sends to cluster server is except comprising user ID, the ID of discussion group, content of the discussions, also comprise subject under discussion and subject under discussion number, after cluster server is received, be transmitted to other member of discussion group.
In conjunction with method of the present invention, specify the several aspects that realize the inventive method:
One, at first, be the newsgroup creation subject under discussion, not existing as discussion group then needs to create earlier discussion group;
Two, create the member that will notify after the subject under discussion in the discussion group;
Three, the member of discussion group sends and receives subject under discussion information is discussed.
The prerequisite of many subjects under discussion discussion is to be the newsgroup creation subject under discussion, be not comprise subject under discussion in the discussion group of prior art, and have only the ID of discussion group and discussion group's title, the present invention will increase the subject under discussion tabulation in the data attribute of discussion group, when the data of subject under discussion are kept at client, be kept in the cluster server.
Example 1
Subscription client is created discussion group by cluster server, and it comprises the steps:
1) user is in the establishment porch of discussion group, set up member's list of numbers, promptly select which member can take part in discussion group, select dialog box by the member, select different members to join among member's list of numbers, if do not have this discussion group in the local memory module of subscription client correspondence, then according to protocol format, member's list of numbers, discussion group's title and Subscriber Number are combined into a packet, behind the data packet encryption, the request of transmission is set up the protocol command of discussion group to cluster server;
2) cluster server is asynchronous receives the packet that discussion group is set up in this request, to packet resolve with decryption processing after, be confirmed to be the active data bag, obtain the Subscriber Number of newsgroup creation person in the packet, member's list of numbers and discussion group's title;
3) all newsgroup creation relevant informations of obtaining according to previous step of cluster server, in the database of discussion group's correspondence, set up corresponding discussion group tables of data clauses and subclauses, insert the information field obtained, write the tables of data success after, cluster server returns the ID of discussion group;
4) packet that returns of the asynchronous reception cluster server of the corresponding client of newsgroup creation person user is decrypted and resolves packet, is confirmed to be effective data packets, obtains the ID of discussion group of the establishment that cluster server returns.
Example 2:
Providing according to method of the present invention below is the embodiment that a discussion group sets up subject under discussion.For discussion group sets up subject under discussion is in its client, by with the mutual realization of cluster server by newsgroup creation person user.
Before creating discussion group's subject under discussion, if having the discussion group of title, ID and member's list of numbers exists, will open one at its client call chat window administration module by the newsgroup creation person and create the subject under discussion window, subject under discussion is discussed in input, as Fig. 3 center 301.After client received the subject under discussion title that the user confirms, with itself and the ID of discussion group and member's list of numbers, the composition packet sent to cluster server, asks for this discussion group sets up new subject under discussion, as the frame among Fig. 3 302; After the packet of new subject under discussion is set up in the cluster server request of receiving, take out the ID of discussion group, member's list of numbers wherein and subject under discussion is discussed, for it generates a new subject under discussion number, as Fig. 3center 303; Cluster server number sends to the foundation that founder's client is confirmed new issue by packet with the ID of discussion group and new subject under discussion, as described inframe 304, then, inframe 305, after founder's subscription client is received the packet of confirming new issue foundation, take out wherein discussion group's title, the ID of discussion group, subject under discussion and subject under discussion number, be saved in the local memory module.
Example 3
In conjunction with Fig. 4, cluster server notice other all members of discussion group upgrade all essential informations of discussion group and subject under discussion, and it comprises the steps: that in frame 401 cluster server is according to the member of discussion group list of numbers, the inquiry logon server is logined dynamic IP and Port port to obtain the member; In frame 402, cluster server is according to the member's who obtains from logon server dynamic IP and Port port, generate and send socket, the combination ID of discussion group and discussion group's title are in packet, and the notification message that sends the newsgroup creation success is to other member's clients of discussion group; In frame 403, the group member client parses the ID of discussion group and utilizes local memory module to judge whether to obtain discussion group's basic document, as frame 404 at the notification message of corresponding port async reception cluster server; If local memory module had been obtained the basic document information of the ID of discussion group, then do not need to obtain again; If do not exist in member's client should discussion group's basic document information, member's client combination ID of discussion group and member's number after the encryption, send the protocol command that obtains discussion group's essential information in packet; Cluster server is asynchronous receive packet after, after being confirmed to be the active data bag, the ID of discussion group and member's number in the packet are obtained in parsing, inquiry discussion group Basic Information Table, judge whether member's number is arranged in member's list of numbers of the ID of discussion group correspondence (frame 405), if there is no, the notification message that then issues the lack of competence operation is given member's client, as frame 408; If exist, illustrate that then the member is effective member of discussion group, then cluster server issues the relevant member of discussion group list of numbers, discussion group's title and the discussion group's subject under discussion table data bag member's client to the request for discussion group, as frame 407; Member's client receives packet, utilizes local memory module to preserve after resolving successful discussion group essential information field; As frame 409.
Example 4
When participating in discussion, subject under discussion number is issued cluster server together, transmit by cluster server.The process that realizes the subject under discussion discussion is such, and the member of discussion group selects subject under discussion to carry out the transmission of message, passes through cluster server
Issue all member's clients, comprise the steps:
1) member of discussion group selects certain subject under discussion of listing in the discussion group;
2) show the current subject under discussion content of the discussions (preceding process details is seen embodiment 5) of choosing in the zone of discussion;
3) user carries out message editing at editing area;
4) after definite the transmission, the numbering that makes up the concrete message content of finishing editor, the ID of discussion group and subject under discussion in message packets sends to cluster server in packet;
5) after cluster server obtains the message content data bag, parse ID of discussion group in the packet and subject under discussion number, judge whether the corresponding ID of discussion group exists, and whether the subject under discussion of corresponding discussion exist, if there is no then notify discussion group or issues associated not to exist;
6) cluster server obtains dynamic login IP and the Port port of all members in member's list of numbers according to the ID of discussion group, and the forwarding of the group message of discussing after the member receives message, is resolved the numbering of obtaining subject under discussion to packet;
Example 5
The discussion message of receiving belt subject under discussion number, classification stores in order.The member of discussion group client receives discussion group's message, carries out the storage of message according to the subject under discussion pattern, specifically comprises the steps:
1) after member's client receives the message content data bag, is confirmed to be effective data packets, resolves the ID of discussion group obtain in the packet and corresponding subject under discussion number;
2) member's client is according to resulting subject under discussion number, and relevant message content by the timestamp order be sequentially arranged in relevant subject under discussion below, can reach like this and effectively organize a discussion message and implement the catalogue that message targetedly sends, greatly improve the validity of discussion group.
The processing method of a kind of muti-topic discussion group information flow based on instant messaging of implementing that the present invention proposes, the user can be when discussion group discusses, list the subject under discussion that all need be discussed, every other member can view current all subjects under discussion that need discussion in chat window, can effectively help original mixed and disorderly discussion form in the discussion group of user group like this, and can carry out the classified and stored of message at different subjects under discussion, the user only need just can very conveniently carry out follow-up arrangement by checking Message Record like this, can greatly improve user's office efficiency and the validity that discussion group lives in work.