CN100542173C - A kind of method of transforming instant messaging group organizational structure - Google Patents

A kind of method of transforming instant messaging group organizational structure Download PDF

Info

Publication number
CN100542173C
CN100542173C CNB2005101159247A CN200510115924A CN100542173C CN 100542173 C CN100542173 C CN 100542173C CN B2005101159247 A CNB2005101159247 A CN B2005101159247A CN 200510115924 A CN200510115924 A CN 200510115924A CN 100542173 C CN100542173 C CN 100542173C
Authority
CN
China
Prior art keywords
group
keyword
source
source group
target
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
CNB2005101159247A
Other languages
Chinese (zh)
Other versions
CN1964349A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2005101159247A priority Critical patent/CN100542173C/en
Publication of CN1964349A publication Critical patent/CN1964349A/en
Application granted granted Critical
Publication of CN100542173C publication Critical patent/CN100542173C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to the communication technology, be particularly related to a kind of method of transforming instant messaging group organizational structure, to solve the problem of existing group transformation process complex operation, ease for use difference, in the method for the invention, organization of group manager at first is set supports the drag and drop transformation, capturing user's drag and drop source group when the target group then, the keyword of source group and target group is being sent to cluster server; And receiving cluster server when being the new key of source group allocation according to the target group keyword, revise the source group information according to the new key of source group.The method of the invention has reduced the operating procedure of user to group member and organization management, reduced the quantity that sends the protocol data bag in transformation process to server, alleviate the pressure of server, improved the operating experience that the user uses group and manages group.

Description

A kind of method of transforming instant messaging group organizational structure
Technical field
The present invention relates to the communication technology, particularly a kind of method of transforming instant messaging group organizational structure.
Background technology
The network instant communication instrument develops into today, is accepted by most netizen, becomes the requisite Software tool of user, is used widely not only in amusement and recreation at ordinary times, and in user's work.Diversified demand at the user, each big instant messaging (IM, Instant Messenger) manufacturer has all released the service based on group, the user not only can experience the communication needs of individual to the individual, and can carry out exchanges and communication to the crowd with same feature or same classification in a Virtual space.Same development based on group, released the online enterprise that uses at medium-sized and small enterprises, online enterprise helps medium-sized and small enterprises inside and sets up flat intercourse platform, by this platform, the user can carry out the exchanges and communication in the work therein, has improved the information-based process of medium-sized and small enterprises greatly.
At QQ, the group or the online enterprise that realize among the TM (Tencent Messenger), and the interest group that realizes among the POPO of Netease etc. can be carried out the setting and the modification of organization department according to the actual needs, if keeper or founder have set up department organization structure, if variation has taken place in the department organization structure of certain stage reality, in general this variation is that variation has taken place big institutional framework, for example original department has " selling one group ", " sell two groups ", " one group in market ", " two groups in market " all belongs to primary department.
Adjustment along with company, need to set up the primary department of " sale group " and " market group ", and " selling one group ", " sell two groups " by original primary department and be put into and become tier-2 department below " sale group ", and " one group in market ", " two groups in market " is put into by original primary department and becomes tier-2 department below " market group ", and the member of original four groups does not change, in the group of current realization or the online enterprise, its processing procedure comprises the steps:
1, at first sends the protocol command of setting up organization department and set up " sale group " and " market group " to server;
2, the protocol command that sends mobile member then is to server, original " selling one group ", " selling two groups ", all members below " one group in the market ", " two groups in market " remove to earlier under the top department;
3, then send set up organization department protocol command to server, below " sale group " and " market group ", set up new tier-2 department and " sell one group ", " selling two groups ", " one group in market ", " two groups in market ";
4, the protocol command that sends mobile member at last moves to original member in its corresponding department.
From above-mentioned 4 performing steps, if the user need move certain department under new department, the whole operation of user very painful also very loaded down with trivial details that will become, this will have a strong impact on the experience that the user uses IM software, also having had a strong impact on the user experiences the management of online enterprise, simultaneously owing to repeatedly send protocol command to server, the transmission of a protocol command must wait for that the success of previous protocol command returns, if wherein the failure that network interrupts all can causing whole operation appears in certain step, reduced being operable to power, transmission protocol data bag has repeatedly also caused great pressure to server in addition.
Summary of the invention
The invention provides a kind of method of transforming instant messaging group organizational structure, to solve the problem of existing transformation process complex operation, ease for use difference.
A kind of method of transforming instant messaging group organizational structure of the present invention comprises the steps:
A, capture user's drag and drop source group when the target group, the keyword of source group and target group sent to cluster server, the extraction source group information and with related the keeping in of source group keyword; And
B, to receive cluster server be the new key of source group allocation according to the target group keyword, and according to the new key of source group, utilize described temporary information to revise the source group information;
C, amended source group information is sent to cluster server, cluster server is according to the information updating group data storehouse that receives, and according to amended source group information reload group's institutional framework and member's tabulation in organization of the group manager.
Also comprise the steps: before the described steps A
When catching the user and setting up the operation of described target group, extract the upper level group keyword and the group identification of this target group and send to cluster server, wherein, when the target group of setting up was group at the highest level, described upper level group keyword be empty, the sign set or directly is group identification;
Receive target group keyword and preservation that cluster server distributes.
Also comprise between described steps A and the step B: cluster server is judged when having had described source group, the source group that deletion has existed, set up new source group then and also be newly-built source group allocation new key under target group, original keyword and the new key with source group all returns again; And
Among the described step B, search the source group information according to the original keyword of source group.
Also comprise in the described steps A: confirm that the target group attribute possesses effective drag-and-drop operation attribute.
The keyword root of described source group and target group is kept in the tree-shaped control of keyword according to the hierarchical relationship of group is related;
Described source group information and related being kept in group's grouped data tabulation of source group keyword.
Described method also comprises: the step that organization of group manager supports that drag and drop are transformed is set.
Beneficial effect of the present invention is as follows:
The present invention transforms the method for group's organizational structure for instant communication users provides a kind of drag and drop formula of supporting, make the user to the management of group become convenient with easily, reduced the operating procedure of user to group member and organization management, on the ease for use of software, provide more choices to the user, greatly improved the operating experience that the user uses group and manages group, improved and be operable to power, reduce the quantity that sends the protocol data bag in transformation process to server simultaneously, alleviated the pressure of server.
Description of drawings
Fig. 1 is for setting up the flow chart of target department in client;
Fig. 2 a, 2b are according to the method for the invention, and the flow chart of online business organization framework is transformed in drag and drop.
Embodiment
Be that example describes still with online enterprise, technical conceive of the present invention is, utilize Windows shear plate API manager to be set for supporting the window of drag-and-drop operation, the client admin is by the department organization structure manager, at first set up " sale group " and " market group " organization department, then original " selling one group ", " sell two groups ", " one group in market ", " two groups in market " directly is dragged and dropped into corresponding " sale group " and gets final product with " market group ", this process very simple concerning the user simplified the management process of user to online enterprise, and the user is brought great convenience.
The several notions that the present invention relates at first are described:
Client: be provided with the instant messaging management software, comprising group's organization management device, hereinafter to be referred as manager;
Cluster server: be provided with the group data storehouse, be used for preserving the keyword Key of each department of tissue of group, member's tabulation, group member data and group basic material are hereinafter to be referred as server;
Group identification: be used to discern unique sign of group, i.e. group's one number;
Group member sign UIN: be used to discern unique sign of group member, i.e. the number of user's correspondence;
Keyword KEY: the unique identification information of each department in each group;
Group member group attribute field Flag: also claim the attribute field Flag of group member department, be used to discern the attribute field Flag of group member place group or department, this Flag field is corresponding with the crucial Key of certain department, is designated hereinafter simply as the attribute Flag of member department;
The tree-shaped control of keyword: the keyword that is used for preserving each group according to the hierarchical relationship between each group;
Packet count Groups List: be used for related member's sign of preserving group's keyword and this group;
MAP relational data structure table: the mapping relations table of in internal memory, setting up;
Source department: the department of drag-and-drop operation is carried out in attempt;
Target department: the department that the attempt drag and drop of source department enter.
For realizing method of the present invention, need utilize Windows shear plate API manager to be set for supporting the window of drag-and-drop operation.
As shown in Figure 1, still describe with embodiment described in the prior, the step of setting up target department " sale group " or " market group " is identical with prior art, and every process of setting up a target department comprises the steps:
S101, client IM software are caught the operation that the customer administrator sets up target department;
S102, the higher level's department key word that extracts this target department and group identification also send to server;
If the target department that sets up is at the highest level, then higher level's department key word is sky or the sign of setting or directly is group identification.
S103, server generate target department key word and send to client IM software for target department;
The keyword that S104, client IM software reception server distribute for target department also is saved in the local tree-shaped control of keyword.
If the department of target department for having existed in the existing organizational structure, then step S101~S103 can omit, and only comprises the steps.
Shown in Fig. 2 a, Fig. 2 b, be example so that the market group is transformed in the one group of drag and drop in market, the drag and drop transformation process comprises the steps:
S201, user's Unclosing structure manager also carry out drag-and-drop operation, are about to the one group of drag and drop in market and transform the market group;
S202, Windows system utilize the message circulation of manager window to catch user's mouse action, when detecting the user and wish to carry out drag-and-drop operation attempt that department transforms, extract the department of source tissue that the user wishes drag and drop by Windows drag and drop API in the IM software, be the keyword KEY in one group in market, and it be set for drag and drop source parameter and transmit by shear plate;
S203, Windows system utilize the message circulation of manager window to catch user's mouse action, and obtain current mouse action sign, pass to the manager window of IM software;
S204, utilize message parameter to judge that whether current mouse action is to unclamp release movement, then return step S203 and continue to judge if not discharging, otherwise execution in step S205;
S205 is if the mouse release movement, obtains the attribute of the destination object in the tree-shaped control of the current mouse of user position correspondence, i.e. the attribute of market group;
S206, judge that the organization department that whether has of the attribute correspondence of this destination object is file (Folder) attribute, if do not have the Folder attribute, illustrate that then this destination object does not have validity, the user can't carry out drag-and-drop operation, mouse icon is set for forbidding icon by Window mouse action api function simultaneously, the user continues to begin to carry out relevant treatment from step S201;
If the S207 destination object has the Folder attribute, illustrate that then destination object has the validity of drag and drop, be that department can only be positioned among the department, the target department key word KEY of the corresponding online enterprise of destination object in the tree-shaped control of extraction destination object, be the keyword of market group, this keyword when setting up the market group by server-assignment;
S208, the parameter of transmitting according to the drag and drop source are the keyword KEY of source department, and the keyword in one group in market just obtains wishing the keyword KEY of the source department of being revised by drag and drop, just the keyword in one group in market;
S209, according to the keyword KEY of source department, utilize local memory module traversal in the IM software to wish all grouping department and member's tabulations below the source department of drag and drop, i.e. subdivision and member's tabulation under one group in the market;
S210, all grouping departments that wish drag and drop are saved in the packet count Groups List in the internal memory, set up UIN, the attribute field Flag of group member department of all Member Users' signs under the department of source and the corresponding MAP relational data structure table of affiliated subdivision keyword KEY simultaneously;
If target department does not promptly have next stage grouping department under one group in the market, then only member's tabulation is saved in the packet count Groups List in the internal memory.
The KEY of S211, source array department, the KEY of target department, fields such as online corporate identify are in packet, utilize the IP address of agreement and the socket that the Port port generates, be sent in the protocol command that the KEY of target department sets up subdivision KEY (promptly by the source department of drag and drop), and send after packet encrypted;
Here, target department is the market group, and the subdivision that target department sets up down is one group in the market of wanting drag and drop.
Server parses receives the packet that client sends, the deciphering with resolve successfully after, then utilize message type field, judge whether it is to set up the subdivision protocol command, if not, then handle by original processing logic, if set up the subdivision agreement, then parse the KEY (promptly by the source department of drag and drop) and the online ID of enterprise that wish to set up subdivision, inquiry group data storehouse judges that whether current online enterprise exists the KEY of this subdivision (promptly by the source department of drag and drop), if there is no then utilizes and set up new subdivision below target department;
There is subdivision KEY if inquire, then to delete original subdivision KEY, be that market exists in this online enterprise for one group, need be with the one group of deletion in original market, and distribute the new KEY of this subdivision simultaneously according to the KEY of target department, after successfully writing the group data storehouse, KEY (being the one group of original keyword KEY in market) that the server composite object KEY of department, subdivision are original and the new KEY (being the KEY of newly-built market one set of dispense) that distributes utilize sockets interface to carry out the transmission of packet to packet;
The packet that S212, the asynchronous waiting for server of client are returned, after deciphering and resolution data are bundled into merit, obtain KEY and the original KEY of subdivision (being the one group of original keyword KEY in market) and the newly assigned KEY of server (being the KEY of newly-built market one set of dispense) of target department;
S213, utilize the original KEY of subdivision, generate the KEY and the attribute Flag of member department of every other grouping department in this packet count Groups List by newly assigned subdivision KEY;
In this step, client need be utilized the original KEY of subdivision, it is the MAP relational data structure table of setting up among the KEY query steps S210 of source department, revising the subdivision keyword KEY that preserves in the MAP table is the keyword KEY that server returns new subdivision, generates the KEY and the attribute Flag of member department of other grouping departments simultaneously;
S214, with KEY and members of the keyword KEY of new subdivision, other grouping departments identify UIN, the attribute Flag of department writes in the local file system;
In fact said process is exactly the keyword query MAP relational data structure table according to one group in former market, with the Key Word Adapted in one group in former market is newly assigned keyword, and with other the grouping departments KEY and the attribute Flag of member department be revised as newly-generated data, the local tree-shaped control of final updating, under the group of market, add the keyword in one group in new market and the keyword of next stage grouping department according to hierarchical relationship, in local packet count Groups List, add the keyword of all departments and corresponding member's tabulation;
S215, with newly-built subdivision KEY (being the KEY in one group in newly-built market), the divide into groups KEY of department (KEY of the department that promptly respectively divides into groups under one group in this market) and the member identifies UIN, the attribute Flag of department is combined to packet respectively, transmission is added member's protocol command to server, the information updating group data storehouse of carrying in the protocol command of server according to the interpolation member who receives;
S216, call the refresh interface of manager, utilize online organization structure of enterprise and the member tabulation of reloading of local memory module, for the user shows up-to-date change, utilize panel administration module updating interface to upgrade simultaneously, delete MAP relational data structure table then should the online Foler of enterprise all tabulations down showing.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (6)

1, a kind of method of transforming instant messaging group organizational structure is characterized in that, comprises the steps:
A, capture user's drag and drop source group when the target group, the keyword of source group and target group sent to cluster server, the extraction source group information and with related the keeping in of source group keyword; And
B, to receive cluster server be the new key of source group allocation according to the target group keyword, and according to the new key of source group, utilize described temporary information to revise the source group information;
C, amended source group information is sent to cluster server, cluster server is according to the information updating group data storehouse that receives, and according to amended source group information reload group's institutional framework and member's tabulation in organization of the group manager.
2, the method for claim 1 is characterized in that, also comprises the steps: before the described steps A
When catching the user and setting up the operation of described target group, extract the upper level group keyword and the group identification of this target group and send to cluster server, wherein, when the target group of setting up was group at the highest level, described upper level group keyword be empty, the sign set or directly is group identification;
Receive target group keyword and preservation that cluster server distributes.
3, the method for claim 1 is characterized in that,
Also comprise between described steps A and the step B: cluster server is judged when having had described source group, the source group that deletion has existed, set up new source group then and also be newly-built source group allocation new key under target group, original keyword and the new key with source group all returns again; And
Among the described step B, search the source group information according to the original keyword of source group.
4, the method for claim 1 is characterized in that, also comprises in the described steps A: confirm that the target group attribute possesses effective drag-and-drop operation attribute.
5, the method for claim 1 is characterized in that,
The keyword root of described source group and target group is kept in the tree-shaped control of keyword according to the hierarchical relationship of group is related;
Described source group information and related being kept in group's grouped data tabulation of source group keyword.
6, the method for claim 1 is characterized in that, described method also comprises: the step that organization of group manager supports that drag and drop are transformed is set.
CNB2005101159247A 2005-11-11 2005-11-11 A kind of method of transforming instant messaging group organizational structure Active CN100542173C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101159247A CN100542173C (en) 2005-11-11 2005-11-11 A kind of method of transforming instant messaging group organizational structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101159247A CN100542173C (en) 2005-11-11 2005-11-11 A kind of method of transforming instant messaging group organizational structure

Publications (2)

Publication Number Publication Date
CN1964349A CN1964349A (en) 2007-05-16
CN100542173C true CN100542173C (en) 2009-09-16

Family

ID=38083239

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101159247A Active CN100542173C (en) 2005-11-11 2005-11-11 A kind of method of transforming instant messaging group organizational structure

Country Status (1)

Country Link
CN (1) CN100542173C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11552915B2 (en) 2015-11-25 2023-01-10 Huawei Technologies Co., Ltd. Message sending method, device, and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291326B (en) * 2011-07-11 2018-03-23 中兴通讯股份有限公司 A kind of terminal and its management method and system of instant messaging application
CN104796326B (en) * 2015-04-24 2018-12-28 广州多益网络股份有限公司 A kind of group creating method and device of enterprise IM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11552915B2 (en) 2015-11-25 2023-01-10 Huawei Technologies Co., Ltd. Message sending method, device, and system

Also Published As

Publication number Publication date
CN1964349A (en) 2007-05-16

Similar Documents

Publication Publication Date Title
CN110535831B (en) Kubernetes and network domain-based cluster security management method and device and storage medium
US10402424B1 (en) Dynamic tree determination for data processing
Nichols et al. High-latency, low-bandwidth windowing in the Jupiter collaboration system
JP4040849B2 (en) Knowledge accumulation support system and message transfer method in the same system
US9026921B2 (en) Intelligent workspace
US11394794B2 (en) Fast ingestion of records in a database using data locality and queuing
US8005498B2 (en) Mobile group data distribution
US8316386B2 (en) Multiple application integration
WO2015055067A1 (en) Method and apparatus for pushing messages
US20130117287A1 (en) Methods and systems for constructing personal profiles from contact data
JPH09325939A (en) Groupware system provided with agent function
US8886787B2 (en) Notification for a set of sessions using a single call issued from a connection pool
US20030229644A1 (en) Accounting for references between a client and server that use disparate e-mail storage formats
CN107832323B (en) Distributed realization system and method based on graph database
US20190251096A1 (en) Synchronization of offline instances
CN110851248A (en) Asynchronous task data processing method and device and computer readable storage medium
CN111538774A (en) Data storage and display method, system, equipment and storage medium
CN100542173C (en) A kind of method of transforming instant messaging group organizational structure
CN102098233A (en) Method and system for controlling communication window in instant messenger
CN109040300A (en) The method, apparatus and storage medium of PUSH message
CN108363787A (en) A kind of IFC file in parallel storage method, apparatus and system
CN114840608B (en) Distributed data access method, device and storage medium
CN111045928A (en) Interface data testing method, device, terminal and storage medium
CN115618032A (en) View generation method and device, electronic equipment and storage medium
JP4146101B2 (en) Knowledge accumulation support system and public summary providing method in the same system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant