CN104796326B - A kind of group creating method and device of enterprise IM - Google Patents

A kind of group creating method and device of enterprise IM Download PDF

Info

Publication number
CN104796326B
CN104796326B CN201510202750.1A CN201510202750A CN104796326B CN 104796326 B CN104796326 B CN 104796326B CN 201510202750 A CN201510202750 A CN 201510202750A CN 104796326 B CN104796326 B CN 104796326B
Authority
CN
China
Prior art keywords
group
higher level
subgroup
total
data
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
CN201510202750.1A
Other languages
Chinese (zh)
Other versions
CN104796326A (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.)
Guangzhou Duoyi Network Co Ltd
Original Assignee
Guangzhou Duoyi Network 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 Guangzhou Duoyi Network Co Ltd filed Critical Guangzhou Duoyi Network Co Ltd
Priority to CN201510202750.1A priority Critical patent/CN104796326B/en
Publication of CN104796326A publication Critical patent/CN104796326A/en
Application granted granted Critical
Publication of CN104796326B publication Critical patent/CN104796326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to group creating method, data load method and the devices of a kind of enterprise IM.The group creating method of the enterprise IM comprising following steps: step 1: creation group, and its group of attributes are set;The group includes a total group and multiple classification subgroups;Step 2: establishing group's data structure of group;Group's data structure are as follows: using total group as root node, divide into multiple level-one subgroups;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;It successively adds up, forms tree data structure.The data load method of the group of the enterprise IM, comprising the following steps: step 10: user logs in enterprise group IM client;Step 20: detecting the identity of user, carried out loading corresponding data according to the permission of the user;The user identity includes: group master, administrator, rank and file, visitor;Step 30: server sends corresponding message and records to client according to user right.

Description

A kind of group creating method and device of enterprise IM
Technical field
The present invention relates to a kind of creation method of group, data load method and devices, especially a kind of to be used for enterprise IM Group creating method, data load method and device.
Background technique
Network instant communication (IM, Instant Messenger) tool develops to today, by most of netizen institute Receive, is all widely used in a variety of applications in the amusement and recreation and work of IM user usually.IM user is carried out using IM tool During amusement or work, individual-to-individual exchange and resource-sharing is not only needed to experience, but also in need and tool The case where exchanges and communication for thering is the user of same feature or hobby to carry out more people together.For example, needing in enterprise to same The personnel of one department establish a group, facilitate the exchange and interdynamic between department internal staff.
It is all an independent object however, being not in contact between group and group for traditional group, group members only have Administrator and rank and file.The message of one mass-sending cloth, can only be seen and be received by the people of this group.
In view of the above-mentioned problems, to disclose a kind of group management, group's resource total for Publication No. (CN101163117A) Enjoy method.Referring to Fig. 1, it is the group management flow chart of steps of the prior art.
Wherein, the group management the following steps are included:
Step 301, the group list of the corresponding IM user is loaded in the group-list of IM instrument client terminal main panel, and Group corresponding with group list element object is generated in main panel.
Step 302, main panel management module detects total group and creates order, if detecting the order, inquires group's pipe Reason module is to determine whether the user needs to establish total group.
Step 303, prompt IM user does not need to establish total group.
Step 304, IM instrument client terminal side establishes total group and creates data packet.It is included at least in the data packet and creates total group Protocol command and the total group of title.
Step 305, IM instrument client terminal sends the total group of creations data packet to cluster server.
Step 306, the total group's information unit of server side is established.After cluster server receives data packet described in step 305, It is the total group of creations in cluster server in the data packet according to the protocol command for including by decryption and dissection process Memory space obtains the ID of the total group's information unit of the server side, the server side as the total group's information unit of server side The ID of total group's information unit is the ID of total group to be created as a kind of preferred mode, comprising total in the total group of data packets The total group of title and ID are written in the total group's information unit of the server side and deposit by the title of group, cluster server Storage.
Step 307, cluster server includes that the ID and total group create successful agreement to the transmission of IM instrument client terminal The total group's information unit of the server side of order is successfully established message.
Step 308, the total group's information unit of client-side is created.
Step 309, IM instrument client terminal sends the total group's information unit data packet of client-side to cluster server.The number According to total group's information such as ID in packet including the title of total group, total group and the title of subgroup, the ID of subgroup, subgroup the sons such as permission Group's information.
Step 310, the total group's information unit of server side is arranged in the data packet according to step 309.Cluster server connects After receiving data packet described in step 309, the total group of information and the subgroup are obtained after carrying out dissection process to the data packet Information, by the total group of information and subgroup information storage into the total group's information unit of server side.After completing the storage, Execute step 311.
Step 311, cluster server sends the total group's information unit setting success message of server side to IM instrument client terminal.
Step 312, after IM instrument client terminal receives message described in step 311, client-side described in step 308 is total Content in group's information unit, which is written in local file system, to be managed.
It is the step flow chart of the resource share method of the prior art please refer to Fig. 2.It is managed based on above-mentioned group Reason method, a kind of method that documents also proposed resource-sharing for above-mentioned management method comprising following steps:
Step 501, subgroup member logs in IM instrument client terminal.
Step 502, instant communication client sends the message for obtaining total group to cluster server.It include institute in the message It states the UIN number of subgroup user and obtains the agreement of total group.
Step 503, cluster server establishes total group's data packet.After cluster server receives message described in step 502, solution Analysis obtains the UIN number of subgroup user and obtains the agreement of total group, and the operation of total group's data packet is established according to agreement starting.
The operation for establishing total group's data packet includes: to obtain possessing this according to the UIN number inquiry group number list The information of group where the IM user of UIN number, such as the ID of the group inquire total group's information unit according to the information, Total group comprising the group is obtained, the information tissue for including by total group is into total group of data packets.The information includes: total group Title, total group ID belong to total group of subgroup title, subgroup ID, the subgroup authority information.
Step 504, cluster server sends total group's data packet to IM instrument client terminal.
Step 505, IM instrument client terminal receives the total group of data packets, and shows that total group believes according to the total group of data packets Breath.
After instant communication client receives the total group of data packets, the information that total group includes is parsed, main panel is utilized Management module the information that total group includes is loaded in local file system, and show total group according to total group of storage organization The subgroup and.
Step 506, the resource-sharing request of IM instrument client terminal detection subgroup member.
Step 507, after IM instrument client terminal detects sharing request described in step 506, member's group is inquired The permission possessed executes step 508 when the permission is read-only, no to then follow the steps 509.
Step 508, IM instrument client terminal mask the shared resource of total group can operation entry, and terminate this process.
Step 509, subgroup member checks or modifies the shared resource in total group, and terminates this process.
From scheme disclosed in the above-mentioned prior art, leading method to be used is based on existing group attribute and knot Other subgroups are associated, by creating a total group so as to realize the effect of resource-sharing by structure mode.Its essence Are as follows: by the total group of file storage areas as a center, all subgroup members under total group it is total can to obtain this by request The resource that group is stored.
However, scheme disclosed in the above-mentioned prior art, there is also following technological deficiencies:
1, based on the creation structure of this main group, the founder of the main group must create at least two son Group;In this way, must be requested that the artificial same person of the creation of subgroup.In this way, being realized if being difficult to set up association between distinct group Resource-sharing.
2, the frame mode of this main group can be only applied to simple or a small number of management and group.If being directed in enterprise Portion, it needs to carry out multi-layer management, multidisciplinary management, is then difficult to realize.Because the manager between each department is not Together, therefore, it is difficult to realize the different direct association and interactions of department.Moreover, common enterprise group is all thing for enterprise group It first sets, can not arbitrarily be created by member.Therefore, existing cluster structure specific aim is not strong, it is difficult to meet enterprise group Requirement.
3, in addition the frame mode of this main group mainly opens up a region in the server and saves transfer file; Other subgroups personnel have permission, then can request the transfer file.However, for common group's message, then subgroup It is difficult to receive for message between member.
In conclusion existing technology is difficult to meet the news release requirement of enterprise group, it is desirable to provide one kind is directed to enterprise The enterprise group of the structure feature of management.
Summary of the invention
The invention reside in, with deficiency, provide group creating method, the data of a kind of enterprise IM the shortcomings that overcoming the prior art Loading method and device.
The present invention is realized by following technical solution: a kind of group creating method of enterprise IM comprising following Step:
Step 1: creation group, and its group of attributes are set;The group includes a total group and multiple classification subgroups;
Step 2: establishing group's data structure of group;Group's data structure are as follows: using total group as root node, divide into multiple one Grade subgroup;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;It successively adds up, forms tree data structure.
Compared with the prior art, the present invention passes through for designed by corporate office: there are many departments in company, if institute Somebody is placed in a group, and the message of any one human hair can all issue owner, and it is unnecessary that people many in this way will receive Message, work is seriously affected, so needing many groups.And the people in order to allow in distinct group, corresponding message is received, is needed It to be optimized for enterprise's group structure.And tree group through the invention, the management structure with enterprise itself It is adapted, facilitates the management of the message of enterprises.
Further, in the step 1, described total group group's attribute includes: crowd ID, group's title, the group member list of this group With subordinate's group's ID list;Group's attribute of the subgroup include: crowd ID, group's title, higher level group ID, this group group member list and under Belong to group ID list.
Further, in the step 2, when establishing the structural relation between group, step is specifically included:
Step 21: establishing the index relative between group;
Step 22: establishing the index relative between group members and group.
Further by the index established between index and group members and group between group, make group and group, group and member it Between be mapped, prevent the situation that message is mistaken.
Further, in the step 21, specifically includes the following steps:
Step 211: all groups of information in reading database;
Step 212: successively obtaining one of group, and judge whether it has group data;If so, thening follow the steps 213;If Nothing then continues to obtain next group;
Step 213: judging whether there is higher level group ID in acquired group's data, if so, being then judged as subgroup, and execute step Rapid S214;If nothing, it is judged as total group, return step 212 obtains next group;
Step 214: searching corresponding higher level group in index mapping table according to higher level group ID, and added in higher level group Index is positioned to the subgroup;
Step 215: the subgroup being put into index mapping table and is managed, is directly positioned according to its higher level group ID to correspondence Higher level group.
Index relative between group and group can further be established automatically through the above steps.
Further, in the step 22, specifically:
Step 221: corresponding ID is arranged to group members;
Step 222: group ID corresponding to the ID of group members and its being subjected to corresponding association, and is stored in index mapping table In.
It is associated correspondence by group members ID and group ID, is recorded using member id and group ID as one, it can by group ID To be directly targeted to corresponding group;By that can be directly targeted to corresponding member in the group in member id, it is quickly fixed to realize Position.
A kind of data load method of the group of enterprise IM comprising following steps:
Step 10: user logs in enterprise group IM client;
Step 20: detecting the identity of user, carried out loading corresponding data according to the permission of the user;The user identity It include: group master, administrator, rank and file, visitor;
When the identity for detecting user is that group is main, the data of all groups of load;
When the identity for detecting user is administrator, the data of group, higher level group and subordinate group where load user;
When the identity for detecting user is rank and file, the data of group where load user and higher level group;
When the identity for detecting user is visitor, the data of group where load user;
Step 30: server sends corresponding message and records to client according to user right.
The present invention is directed to the cluster structure of above-mentioned enterprise IM, provides corresponding data load method.Pass through the number According to loading method, it can correspond to and distinguish the data of the member of different identity.
Further, in the step 20, when carrying out data load, specifically includes the following steps:
Step 201: after user logs in client, sending a local latest update time client_time to server;
Step 202: server receives renewal time client_time, and the minimum time with server record Sever_time compares;If client renewal time client_time, which is less than server, records minimum time sever_time, Then reload all data of the client account;If client renewal time client_time is greater than or equal to server Minimum time sever_time is recorded, then is loaded into the data that client needs to update.
Since user client is when different time is logged in, which may not be most in the data of local update New data, it is therefore desirable to the data of the client be reloaded or are updated judge.Therefore, by should Client is in local renewal time not compared with the minimum time that server is recorded;It is small when local client renewal time Minimum time is recorded in server, then shows the data of local client compared to the data that server is saved, is all not more New, therefore reloaded.When local client renewal time being greater than or equal to the minimum time of server record, then Show the data of local client it is at least a part of be overlapped with the data that server is saved, therefore only need for this not The partial data of update is updated.So, it is possible to reduce the time of data load when user logs in.
Further, in the step 30, specifically includes the following steps:
Step 301: client sends the ID number of affiliated group, login time start_time, downtime end_time With the local message ID number recorded of client to server;
Step 302: server inquires the chat record of this group preservation in the database;
Step 303: database being inquired according to client login time start_time and downtime end_time, and is obtained Take Message Record lacking in client;
Step 304: server filters the message that cannot currently issue client.
By detecting the parameters of client, the corresponding Message Record retrieving client and not updating, for non-update section Point, server is updated the non-update message record of client, it is possible to reduce the time of information updating.
A kind of group creating device of enterprise IM, it is characterised in that: including
Group creating module is used to create group, and its group of attributes are arranged;The group includes a total group and multiple It is classified subgroup;
Group data structure establishes module, is used to establish group's data structure of group;Group's data structure are as follows: with total Group is root node, divides into multiple level-one subgroups;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;Successively tire out Add, forms tree data structure.
A kind of data loading device of the group of enterprise IM, it is characterised in that: including
Identity detection module, for detecting the identity information of user;The user identity include: group master, administrator, Rank and file, visitor;
Data loading module carries out data load with according to the identity information of user;Wherein,
When the identity for detecting user is that group is main, the data of all groups of load;
When the identity for detecting user is administrator, the data of group, higher level group and subordinate group where load user;
When the identity for detecting user is rank and file, the data of group where load user and higher level group;
When the identity for detecting user is visitor, the data of group where load user;And
Message Record sending module is used to send corresponding message according to user right and record to client.
In conclusion the present invention is compared with the prior art, the specific following advantages of the present invention:
IM is directed to business administration internal structure by the present invention, is correspondingly configured to group's attribute and group members attribute;Its In, group's attribute includes: higher level group, place group, Xia Shuqun;Group members attribute includes: group master, administrator, rank and file, visitor. Meanwhile in order to facilitate the management of enterprises, correspondingly to inside group messaging and data access be arranged, specifically Are as follows: only one is total group founder to group master, other groups are all the subordinate group of total group, and group is main to see all groups;Only manage The subordinate group of group where member can see oneself, rank and file and visitor cannot see that;Visitor can only see the group oneself being added, Its higher level group only rank and file can see with administrator.
Secondly because IM of the invention is for designed by corporate office: there are many departments in company, if all People is placed in a group, and the message of any one human hair can all issue owner, and people many in this way will receive unnecessary disappear Breath, seriously affects work, so needing many groups.And the people in order to allow in distinct group, receive message, existing group structure Under, a piece of news needs to send once in different groups again.Tree group is just necessary in this way, is also good at effectively solving Certainly problem.So present invention employs tree groups.
Again, superior can see the number of members that this group is possessed in higher level group, that is, may know that this news release, who Member can receive message.Superior mass-sends the message of cloth in higher level, and the member of junior group can see higher level group, so can also receive The message that grade group is sent out.Member between different departments does not need communication, is placed in distinct group (not being the superior and the subordinate's group relation), The message of other departments transmission would not be received.So that information receiving and transmitting is benefited, object is more accurate, will not be by incoherent message It bothers, improves working efficiency.
In order to better understand and implement, the invention will now be described in detail with reference to the accompanying drawings.
Detailed description of the invention
Fig. 1 is the group management flow chart of steps of the prior art.
Fig. 2 is the step flow chart of the resource share method of the prior art.
Fig. 3 is the group creating method flow chart of enterprise IM of the invention.
Fig. 4 is the tree-shaped structural representation of the group of enterprise IM of the invention.
Fig. 5 is group data structure establishment step flow chart of the invention.
Fig. 6 is the establishment step flow chart of group's index relative of the invention.
Fig. 7 is the index relative schematic diagram of group members and group of the invention
Fig. 8 is the step flow chart of the data load method of the group of enterprise IM of the invention.
Fig. 9 is data load step flow chart of the invention.
Figure 10 is message load step flow chart of the present invention.
Specific embodiment
Please refer to Fig. 3 and Fig. 4, the group creating method flow chart and enterprise IM of enterprise IM of the invention are distinguished The tree-shaped structural representation of group.The group creating method of enterprise IM of the invention comprising following steps:
Step S1: creation group, and its group of attributes are set;The group includes a total group and multiple classification subgroups.
Specifically, in the step 1, described total group group's attribute include: crowd ID, group's title, this group group members column Table and subordinate's group's ID list;Group's attribute of the subgroup include: crowd ID, group's title, higher level group ID, this group group member list and Subordinate's group's ID list.
Step S2: group's data structure of group is established;Group's data structure are as follows: using total group as root node, divide into multiple Level-one subgroup;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;It successively adds up, forms tree data structure.
It is group data structure establishment step flow chart of the present invention please refer to Fig. 5.Further, the step S2 In, when establishing the structural relation between group, specifically include step:
Step S21: the index relative between group is established;
It is the establishment step flow chart of group's index relative of the invention please refer to Fig. 6.Further, the step In S21, specifically includes the following steps:
Step S211: all groups of information in reading database;
Step S212: successively obtaining one of group, and judges whether it has group data;If so, thening follow the steps 213; If nothing, continue to obtain next group;
Step S213: judge whether there is higher level group ID in acquired group's data, if so, being then judged as subgroup, and execute Step S214;If nothing, it is judged as total group, return step 212 obtains next group;Specifically, in the present embodiment, it will be upper Grade group ID be indicated by the field value of father_gid, therefore, judge whether there is higher level group ID when, directly pass through pair Judge the field value for whether having father_gid in this group of attribute datas.
Step S214: corresponding higher level group is searched in index mapping table according to higher level group ID, and is added in higher level group Positioning is indexed to the subgroup;In the present embodiment, the title for indexing mapping table is set to group_management.
Step S215: the subgroup being put into index mapping table and is managed, and is directly positioned according to its higher level group ID to right Answer higher level group.
Step S22: the index relative between group members and group is established.
It is the index relative schematic diagram of group members of the invention and group please refer to Fig. 7.Further, the step In S22, specifically:
Step S221: corresponding ID is arranged to group members;
Step S222: group ID corresponding to the ID of group members and its is subjected to corresponding association, and is stored in index mapping table In.
In the present embodiment, the ID of group members is defined as user_id, group ID is set to group_id, by user_id+ Group_id is recorded as one, can be directly targeted to corresponding group by group_id;By searching in group in user_ Id can be directly targeted to corresponding member in the group, realize quickly positioning.
Further, the present invention can also realize quick access, specific steps are as follows:
UserInfo can be searched according to user_id, group where it is saved in the field group_set in UserInfo Group ID number: group_id;
Corresponding group can be positioned according to group_id, it can be direct further according to father_gid in the information field of this group Position this crowd of father's group number id;
Member_set field in the information field of group saves the user_id directly in the group members;By this User_id can directly be set to corresponding group members, therefore may be implemented quickly to access.
Referring to Fig. 8, its step flow chart for the data load method of the group of enterprise IM of the invention.The present invention is also Provide a kind of data load method of the group of enterprise IM comprising following steps:
Step S10: user logs in enterprise group IM client;
Step S20: detecting the identity of user, is carried out loading corresponding data according to the permission of the user;User's body Part includes: group master, administrator, rank and file, visitor;
When the identity for detecting user is that group is main, the data of all groups of load;
When the identity for detecting user is administrator, the data of group, higher level group and subordinate group where load user;
When the identity for detecting user is rank and file, the data of group where load user and higher level group;
When the identity for detecting user is visitor, the data of group where load user.
It is data load step flow chart of the invention please refer to Fig. 9.Further, in the step S20, When carrying out data load, specifically includes the following steps:
Step S201: after user logs in client, local latest update time client_time is sent to service Device;
Step S202: server receives renewal time client_time, and the minimum time with server record Sever_time compares;If client renewal time client_time, which is less than server, records minimum time sever_time, Then reload all data of the client account;If client renewal time client_time is greater than or equal to server Minimum time sever_time is recorded, then is loaded into the data that client needs to update.
Since user client is when different time is logged in, which may not be most in the data of local update New data, it is therefore desirable to the data of the client be reloaded or are updated judge.Therefore, by should Client is in local renewal time not compared with the minimum time that server is recorded;It is small when local client renewal time Minimum time is recorded in server, then shows the data of local client compared to the data that server is saved, is all not more New, therefore reloaded.When local client renewal time being greater than or equal to the minimum time of server record, then Show the data of local client it is at least a part of be overlapped with the data that server is saved, therefore only need for this not The partial data of update is updated.So, it is possible to reduce the time of data load when user logs in.
Step S30: server sends corresponding message and records to client according to user right.
It is message load step flow chart of the present invention please refer to Figure 10.Further, in the step 30, specifically The following steps are included:
Step 301: client sends the ID number of affiliated group, login time start_time, downtime end_time With the local message ID number recorded of client to server;
Step 302: server inquires the chat record of this group preservation in the database;
Step 303: database being inquired according to client login time start_time and downtime end_time, and is obtained Take Message Record lacking in client;
Step 304: server filters the message that cannot currently issue client.
Correspondingly, the present invention also provides the devices of the group creating method for realizing enterprise IM comprising:
Group creating module is used to create group, and its group of attributes are arranged;The group includes a total group and multiple It is classified subgroup.
Group data structure establishes module, is used to establish group's data structure of group;Group's data structure are as follows: with total Group is root node, divides into multiple level-one subgroups;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;Successively tire out Add, forms tree data structure.
Correspondingly, the present invention also provides a kind of device of the data load method of group for realizing enterprise IM, Include:
Identity detection module, for detecting the identity information of user;The user identity include: group master, administrator, Rank and file, visitor;
Data loading module carries out data load with according to the identity information of user;Wherein,
When the identity for detecting user is that group is main, the data of all groups of load;
When the identity for detecting user is administrator, the data of group, higher level group and subordinate group where load user;
When the identity for detecting user is rank and file, the data of group where load user and higher level group;
When the identity for detecting user is visitor, the data of group where load user;And
Message Record sending module is used to send corresponding message according to user right and record to client.
In conclusion the present invention is compared with the prior art, the specific following advantages of the present invention:
IM is directed to business administration internal structure by the present invention, is correspondingly configured to group's attribute and group members attribute;Its In, group's attribute includes: higher level group, place group, Xia Shuqun;Group members attribute includes: group master, administrator, rank and file, visitor. Meanwhile in order to facilitate the management of enterprises, correspondingly to inside group messaging and data access be arranged, specifically Are as follows: only one is total group founder to group master, other groups are all the subordinate group of total group, and group is main to see all groups;Only manage The subordinate group of group where member can see oneself, rank and file and visitor cannot see that;Visitor can only see the group oneself being added, Its higher level group only rank and file can see with administrator.
Secondly because IM of the invention is for designed by corporate office: there are many departments in company, if all People is placed in a group, and the message of any one human hair can all issue owner, and people many in this way will receive unnecessary disappear Breath, seriously affects work, so needing many groups.And the people in order to allow in distinct group, receive message, existing group structure Under, a piece of news needs to send once in different groups again.Tree group is just necessary in this way, is also good at effectively solving Certainly problem.So present invention employs tree groups.
Again, superior can see the number of members that this group is possessed in higher level group, that is, may know that this news release, who Member can receive message.Superior mass-sends the message of cloth in higher level, and the member of junior group can see higher level group, so can also receive The message that grade group is sent out.Member between different departments does not need communication, is placed in distinct group (not being the superior and the subordinate's group relation), The message of other departments transmission would not be received.So that information receiving and transmitting is benefited, object is more accurate, will not be by incoherent message It bothers, improves working efficiency.
The invention is not limited to above embodiment, if not departing from the present invention to various changes or deformation of the invention Spirit and scope, if these changes and deformation belong within the scope of claim and equivalent technologies of the invention, then this hair It is bright to be also intended to encompass these changes and deformation.

Claims (4)

1. a kind of group creating method of enterprise IM comprising following steps:
Step 1: creation group, and its group of attributes are set;The group includes a total group and multiple classification subgroups;
Step 2: establishing group's data structure of group;Group's data structure are as follows: using total group as root node, divide into multiple level-one Group;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;It successively adds up, forms tree data structure;
When establishing the structural relation between group, step is specifically included:
Step 21: establishing the index relative between group;Specifically includes the following steps:
Step S211: all groups of information in reading database;
Step S212: successively obtaining one of group, and judges whether it has group data;If so, thening follow the steps 213;If nothing, Then continue to obtain next group;
Step S213: judge whether there is higher level group ID in acquired group's data, if so, being then judged as subgroup, and execute step S214;If nothing, it is judged as total group, return step 212 obtains next group;Wherein, higher level group ID is passed through into father_gid Field value be indicated, then when judging whether there is higher level group ID, directly by judge in this group of attribute datas whether There is the field value of father_gid;
Step S214: corresponding higher level group is searched in index mapping table according to higher level group ID, and adds rope in higher level group Draw positioning to the subgroup;
Step S215: the subgroup being put into index mapping table and is managed, and is directly positioned to correspondence according to its higher level group ID Grade group;
Step 22: establishing the index relative between group members and group.
2. the group creating method of enterprise IM according to claim 1, it is characterised in that: in the step 1, described total group Group's attribute includes: crowd ID, group's title, the group member list of this group and subordinate's group's ID list;Group's attribute of the subgroup includes: group ID, group's title, higher level group ID, the group member list of this group and subordinate's group's ID list.
3. the group creating method of enterprise IM according to claim 2, it is characterised in that: in the step 22, specifically:
Step 221: corresponding ID is arranged to group members;
Step 222: group ID corresponding to the ID of group members and its being subjected to corresponding association, and is stored in index mapping table.
4. a kind of group creating device of enterprise IM, it is characterised in that: including
Group creating module is used to create group, and its group of attributes are arranged;The group includes a total group and multiple classifications Subgroup;
Group data structure establishes module, is used to establish group's data structure of group;Group's data structure are as follows: be with total group Root node divides into multiple level-one subgroups;Again using level-one subgroup as level-one child node, multiple second level subgroups are divided into;Successively add up, shape At tree data structure;When establishing the structural relation between group, step is specifically included:
Step 21: establishing the index relative between group;Specifically includes the following steps:
Step S211: all groups of information in reading database;
Step S212: successively obtaining one of group, and judges whether it has group data;If so, thening follow the steps 213;If nothing, Then continue to obtain next group;
Step S213: judge whether there is higher level group ID in acquired group's data, if so, being then judged as subgroup, and execute step S214;If nothing, it is judged as total group, return step 212 obtains next group;Wherein, higher level group ID is passed through into father_gid Field value be indicated, then when judging whether there is higher level group ID, directly by judge in this group of attribute datas whether There is the field value of father_gid;
Step S214: corresponding higher level group is searched in index mapping table according to higher level group ID, and adds rope in higher level group Draw positioning to the subgroup;
Step S215: the subgroup being put into index mapping table and is managed, and is directly positioned to correspondence according to its higher level group ID Grade group;
Step 22: establishing the index relative between group members and group.
CN201510202750.1A 2015-04-24 2015-04-24 A kind of group creating method and device of enterprise IM Active CN104796326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510202750.1A CN104796326B (en) 2015-04-24 2015-04-24 A kind of group creating method and device of enterprise IM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510202750.1A CN104796326B (en) 2015-04-24 2015-04-24 A kind of group creating method and device of enterprise IM

Publications (2)

Publication Number Publication Date
CN104796326A CN104796326A (en) 2015-07-22
CN104796326B true CN104796326B (en) 2018-12-28

Family

ID=53560850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510202750.1A Active CN104796326B (en) 2015-04-24 2015-04-24 A kind of group creating method and device of enterprise IM

Country Status (1)

Country Link
CN (1) CN104796326B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187297B (en) * 2015-08-17 2019-04-16 李卫军 Multi-level groups control method based on instant messaging
EP3373529B1 (en) 2015-11-25 2020-01-08 Huawei Technologies Co., Ltd. Method, device and system for sending a message
CN105610589A (en) * 2015-12-11 2016-05-25 中青冠岳科技(北京)有限公司 Group organization structure-based hierarchical group organization constructing method
CN105634916A (en) * 2015-12-11 2016-06-01 中青冠岳科技(北京)有限公司 Management method based on tree chatting group organization
CN105681406B (en) * 2016-01-04 2018-10-02 北京众享比特科技有限公司 The instant messaging group information storage method and system of decentralization
CN105721175A (en) * 2016-01-21 2016-06-29 阿里巴巴集团控股有限公司 Group processing method, group file processing method, and group file processing device
CN108206776B (en) * 2016-12-20 2021-02-05 中移(杭州)信息技术有限公司 Group history message query method and device
CN107196847B (en) * 2017-04-28 2020-06-30 维沃移动通信有限公司 Group chat method and mobile terminal
CN106961342A (en) * 2017-04-28 2017-07-18 维沃移动通信有限公司 A kind of group chat method and mobile terminal
CN110034997A (en) * 2018-01-12 2019-07-19 王立红 A kind of method that instant network communication group establishes
CN110798430A (en) * 2018-08-02 2020-02-14 北京京东尚科信息技术有限公司 Account service management method and device, electronic equipment and computer readable medium
CN109582779A (en) * 2018-12-18 2019-04-05 深圳市沃特沃德股份有限公司 Communication management method and device based on telephone set
WO2020263210A1 (en) * 2019-06-28 2020-12-30 Turkcell Teknoloji Arastirma Ve Gelistirme Anonim Sirketi System and method for alerting a plurality of persons in group chats in instant messaging applications
CN112968824B (en) * 2019-11-27 2022-11-18 迅管(深圳)科技有限公司 Chat group establishing method and system with encrypted identity
CN111526027B (en) * 2020-04-17 2022-08-23 惠州市脉链科技有限公司 Group management method, device and equipment for instant messaging application and readable medium
CN111654826A (en) * 2020-06-01 2020-09-11 黎明职业大学 Data management method based on instant communication group
CN111901228B (en) * 2020-07-31 2022-08-12 广东佳米科技有限公司 User group communication method based on address book and electronic equipment
CN112235749A (en) * 2020-09-30 2021-01-15 上海博泰悦臻电子设备制造有限公司 Team traveling method and related equipment
CN113011842A (en) * 2021-03-17 2021-06-22 上海数喆数据科技有限公司 Bottom-up data progressive declaration management method
CN113315695B (en) * 2021-05-28 2022-08-23 在秀网络科技(深圳)有限公司 Multifunctional group chat level system and method
CN114039942B (en) * 2021-10-12 2023-09-05 浪潮软件科技有限公司 Tax enterprise management method and system based on instant messaging

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant messages in instant messaging system
CN1964349A (en) * 2005-11-11 2007-05-16 腾讯科技(深圳)有限公司 A method to alter organization structure of instant communication group
CN101719904A (en) * 2009-11-26 2010-06-02 上海华平信息技术股份有限公司 Method for reducing business communication volumes of server and client during Internet application
CN101753485A (en) * 2001-12-28 2010-06-23 西姆德斯克技术公司 The method of immediate news systems and this system of operation
CN103984887A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Method and device for controlling user permission
WO2014194647A1 (en) * 2013-06-08 2014-12-11 Tencent Technology (Shenzhen) Company Limited Data exchange method, device, and system for group communication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008036833A2 (en) * 2006-09-20 2008-03-27 Drive Sentry, Inc. Selective control of write access to a data storage medium
CN103268453B (en) * 2012-12-18 2016-01-13 北京奇虎科技有限公司 For the treatment of the method and system of data disclosed in user
CN103118101B (en) * 2013-01-25 2016-04-13 深圳清华大学研究院 A kind of information sharing method for mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753485A (en) * 2001-12-28 2010-06-23 西姆德斯克技术公司 The method of immediate news systems and this system of operation
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant messages in instant messaging system
CN1964349A (en) * 2005-11-11 2007-05-16 腾讯科技(深圳)有限公司 A method to alter organization structure of instant communication group
CN101719904A (en) * 2009-11-26 2010-06-02 上海华平信息技术股份有限公司 Method for reducing business communication volumes of server and client during Internet application
WO2014194647A1 (en) * 2013-06-08 2014-12-11 Tencent Technology (Shenzhen) Company Limited Data exchange method, device, and system for group communication
CN103984887A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Method and device for controlling user permission

Also Published As

Publication number Publication date
CN104796326A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104796326B (en) A kind of group creating method and device of enterprise IM
CN105808694B (en) Online customer service answering system and method
US8443424B2 (en) Method and system for reducing the proliferation of electronic messages
US9009232B2 (en) Method and apparatus for processing authentication request message in a social network
CN100488100C (en) Relation information publishing, fetching method and system
US20070124312A1 (en) Structured Communication System and Method
CN101163117B (en) Packet management method, packet resource sharing method and instant communication equipment
EP2178033A1 (en) Populating a multi-relational enterprise social network with disparate source data
CN107169025B (en) Sharing intelligent tracking method, device and system
CN101175051A (en) Instant communication system, method and apparatus
CN108881354A (en) A kind of pushed information storage method, device, server and computer storage medium
CN105593871A (en) Attribute information providing method, and attribute information providing system
US10462257B2 (en) Method and apparatus for obtaining user account
US9621494B2 (en) Generating instant messaging contacts for customer relationship management systems
CN104239403B (en) A kind of collaboration based on cloud computing is gathered and edited accessory system
CN108965107A (en) Good friend's adding method, device, system, client and server
CN112597511A (en) Remote government affair service cooperation method and device
CN105049322A (en) Control method for social network tool
CN103685421B (en) Across data submission system, the device and method of data source
CN109242064B (en) Stranger social activity organization method and system realized by code scanning
CN104901816A (en) Method and system for multi-user chatting
CN108156124A (en) A kind of secure data management system of layering
CN113194012A (en) Multi-agent management method, framework, equipment and storage medium based on Internet of things
CN110349040A (en) A kind of automatic management social platform
CN109842482A (en) A kind of information synchronization method, system and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510535 3, 1 building, 90 ho he road, Luogang District, Guangzhou, Guangdong.

Applicant after: Guangzhou Duoyi Network Co., Ltd.

Address before: 510535 3, 1 building, 90 ho he road, Luogang District, Guangzhou, Guangdong.

Applicant before: Guangzhou Baiyun Bio-Tech Co., Ltd.

GR01 Patent grant
GR01 Patent grant