[go: up one dir, main page]

CN113794619B - Group creation method, group personnel update method, device, equipment and medium - Google Patents

Group creation method, group personnel update method, device, equipment and medium Download PDF

Info

Publication number
CN113794619B
CN113794619B CN202110632830.6A CN202110632830A CN113794619B CN 113794619 B CN113794619 B CN 113794619B CN 202110632830 A CN202110632830 A CN 202110632830A CN 113794619 B CN113794619 B CN 113794619B
Authority
CN
China
Prior art keywords
group
information
organization
creation
node
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
CN202110632830.6A
Other languages
Chinese (zh)
Other versions
CN113794619A (en
Inventor
林皓
高曦
何明哲
朱建宇
宋萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN202110632830.6A priority Critical patent/CN113794619B/en
Publication of CN113794619A publication Critical patent/CN113794619A/en
Application granted granted Critical
Publication of CN113794619B publication Critical patent/CN113794619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1818Conference organisation arrangements, e.g. handling schedules, setting up parameters needed by nodes to attend a conference, booking network resources, notifying involved parties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a group creation method, a group personnel updating method, a device, equipment and a medium, wherein the group creation method comprises the following steps: responding to the received group creation request, displaying an organization mechanism interface, and displaying at least one node of the organization mechanism according to the authority of a user by the organization mechanism interface; in response to the received group information, a corresponding group is created, the group information being determined from the displayed organization, the group information including person information for the group. The invention realizes the organization management of the group.

Description

Group creation method, group personnel update method, device, equipment and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a group creation method, a group personnel update method, a device, equipment, and a medium.
Background
When the existing instant messaging software establishes the group chat, the initiator initiates the group chat and freely pulls the contacts to establish the group, and people in the group can pull the contacts into the group according to own needs to chat. This often has the following problems: (1) Group openness, anyone can apply to add groups to chat, so that group management is not standard; (2) The group owner/manager can only see the members in the group without knowing the composition of the group members; (3) The personnel update or cleaning is not timely, so that the group owner/manager cannot keep on line continuously, and the personnel update or deletion operation cannot be completed timely.
Disclosure of Invention
The invention provides a group creation method, a group personnel updating method, a device, equipment and a medium, which realize the organization management of groups and solve the problem of untimely updating of personnel in the groups.
In a first aspect, the present invention provides a group creation method, including: responsive to receiving a group creation request, displaying an organization interface, the organization interface displaying at least one node of an organization according to rights of a user; in response to receiving the group information, a corresponding group is created, the group information determined from the displayed organization, the group information including personnel information for the group.
According to the group creation method provided by the invention, if the group creation request is a gate group batch creation request, the corresponding group is created in response to the received group information, which comprises the following steps: receiving at least one node information selected in the organization interface, wherein the node information comprises the selected node and a lower node of the node; determining at least one corresponding group information according to the selected at least one node information, wherein the node information comprises personnel information of the node; and creating at least one corresponding department group according to the determined at least one group information.
According to the group creation method provided by the invention, if the group creation request is a group creation request, the response to the received group creation request displays an organization interface, including: responding to the received group creation request, and displaying a group basic information interface; receiving group basic information input in the group basic information interface; responding to the received information storage request, storing the group basic information, and displaying an organization interface; the creating a corresponding group in response to the received group information includes: receiving at least one node information selected in the organization mechanism interface; displaying personnel information of the corresponding at least one node in the organization interface according to the selected at least one node information; receiving at least one selected person information in the organization interface; determining group information according to the at least one selected person information and the saved group basic information; an organization group is created based on the determined group information.
According to the group creation method provided by the invention, the group basic information interface further comprises at least one group opening authority, receives the group basic information input in the group basic information interface, and further comprises: and receiving at least one selected group opening authority in the group basic information interface as the group basic information.
According to the group creation method provided by the invention, the group opening authority comprises at least one of the following: whether the group member is allowed to fall out of the group, whether the group owner can unbundle/transfer the group, whether the group owner/administrator is allowed to invite other people into the group, and whether the group member is allowed to invite other people into the group.
In a second aspect, the present invention provides a group personnel updating method, including: acquiring personnel information of a current organization according to preset time; updating the personnel information in at least one department group according to the personnel information of the current group loom mechanism; wherein the at least one department group is determined according to at least one node information of the organization, the node information includes a selected node and a node subordinate to the node, the group information includes personnel information of the group, and the node information includes personnel information of the node.
In a third aspect, the present invention also provides a group creation device, including: the information display module is used for responding to the received group creation request and displaying an organization interface, and the organization interface displays at least one node of the organization according to the authority of a user; and the group creation module is used for responding to the received group information, creating a corresponding group, wherein the group information is determined according to the displayed organization, and the group information comprises personnel information of the group.
In a fourth aspect, the present invention further provides a group personnel updating apparatus, including: the personnel acquisition module is used for acquiring personnel information of the current organization according to preset time; the personnel updating module is used for updating the personnel information in at least one department group according to the personnel information of the current organization; wherein the at least one department group is determined according to at least one node information of the organization, the node information includes a selected node and a node subordinate to the node, the group information includes personnel information of the group, and the node information includes personnel information of the node.
In a fifth aspect, the present invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the group creation method as described above or the steps of the group personnel update method as described above when executing the program.
In a sixth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a group creation method as described above, or of a group person update method as described above.
The invention provides a group creation method, a group personnel update method, a device, equipment and a medium, wherein the group creation method displays a group organization interface by responding to a received group creation request, and the organization interface displays at least one node of an organization according to the authority of a user; in response to receiving the group information, a corresponding group is created, the group information determined from the displayed organization, the group information including personnel information for the group. It can be seen that the manner in which the group information is obtained from the organization and the group is established from the group information is based on the organization. The group established based on the organization can display the members and the compositions thereof in the group according to the nodes contained in the organization, thereby improving the organization and the controllability of the group.
When updating personnel, the group personnel updating method acquires personnel information of the current organization according to preset time; and updating the personnel information in at least one department group according to the personnel information of the current organization. Because the basis for establishing the group is an organization mechanism, when the group personnel are updated, the personnel information of the current organization mechanism can be conveniently and quickly updated.
In addition, from the technical aspect, the invention effectively controls and optimizes and improves the group, so that the chat of the group is more convenient, the operation of a user is reduced, and the user experience is improved. From the economical aspect, the invention can be used as a good product selling point to promote enterprise level, and provides powerful support for the requirements of personalized management and control groups in units. From the social aspect, the invention provides effective security guarantee for social culture communication in the group, and can lead users to communicate more effectively and without worry.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the embodiments or the drawings needed in the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow diagram of some embodiments of a group creation method provided in accordance with the present invention;
FIG. 2 is a flow diagram of further embodiments of a group creation method provided in accordance with the present invention;
FIG. 3 is a flow diagram of some embodiments of a group personnel update method provided in accordance with the present invention;
FIG. 4 is a structural illustration of some embodiments of a group creation device provided in accordance with the present invention;
FIG. 5 is a schematic diagram of some embodiments of a group personnel update device provided in accordance with the present invention;
FIG. 6 is a flow chart of a method for department group creation provided in accordance with the present invention;
FIG. 7 is a flow chart of a method for creating an organization group according to the present invention;
FIG. 8 is a flowchart of a method for updating a group of departments according to the present invention;
FIG. 9 is a flow chart of an organization group update method according to the present invention;
fig. 10 is a schematic structural diagram of an electronic device provided according to the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, for convenience of description, only a portion related to Guan Fa is shown in the drawings. Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for defining the order or interdependence of the functions performed by such devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The invention will be described in detail below with reference to the drawings in connection with embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating some embodiments of a group creation method according to the present invention. As shown in fig. 1, the group creation method includes the steps of:
Step 101, responding to the received group creation request, displaying an organization interface, and displaying at least one node of the organization according to the authority of the user by the organization interface.
In some alternative embodiments, the group may be created according to the needs of the user, for example, the group may be created in a company unit, or a temporary group of several people, which is not limited by the present invention. The user authority may be set when registering the account number, or may be set by an administrator, which is not limited in the present invention. The organization may be a company, and as an example, the node of the organization may be each division of the company, or each branch, and accordingly, the node may include personnel information of each division, or may include division information of each branch. Sub-nodes may also be provided below the nodes, for example, sub-nodes include personnel information for each division, and so on. The setting of the nodes may be set by a specific case, which is not limited by the present invention.
Step 102, in response to the received group information, creating a corresponding group, the group information being determined according to the displayed organization, the group information including personnel information of the group.
In the embodiment of the present invention, as an example, the nodes of the organization may be various departments of the company, the group information may include personnel information and department information where the personnel are located, and creating the corresponding group may be creating the group of the corresponding department information.
According to the group creation method disclosed by some embodiments of the invention, an organization mechanism interface is displayed by responding to a received group creation request, and at least one node of an organization mechanism is displayed by the organization mechanism interface according to the authority of a user; in response to the received group information, a corresponding group is created, the group information being determined from the displayed organization, the group information including person information for the group. It can be seen that the manner in which the group information is obtained from the organization and the group is established from the group information is based on the organization. The group established based on the organization can display the members and the compositions thereof in the group according to the nodes contained in the organization, thereby improving the organization and the controllability of the group. In addition, from the technical aspect, the invention effectively controls and optimizes and improves the group, so that the chat of the group is more convenient, the operation of a user is reduced, and the user experience is also improved. From the economical aspect, the invention can be used as a good product selling point to carry out enterprise-level popularization, and provides powerful support for the requirements of personalized management and control groups in units. From the social aspect, the invention provides effective security guarantee for social culture communication in the group, and can lead users to communicate more effectively and without worry.
Referring to fig. 2, fig. 2 is a flowchart of further embodiments of a group creation method according to the present invention. As shown in fig. 2, the group creation method includes the steps of:
step 201, responding to the received group creation request, if the group creation request is a gate group batch creation request, displaying an organization interface, and displaying at least one node of the organization according to the user's right by the organization interface.
In some alternative embodiments, the group creation request is a group batch creation request of departments, and may be a creation request of a single department group, which is not limited by the type of the group in the present invention.
Step 202, receiving at least one node information selected in the organization interface, wherein the node information comprises the selected node and a node subordinate to the node.
In some embodiments, still taking as an example that the nodes of the organization may be respective departments of the company, the respective nodes may include personnel information of the respective departments. The nodes of the organization may include a department a and a department B, the lower nodes of the department a and the department B being a group a and a group B, respectively, the group a and the group B including person information a and person information B, respectively. At least one of the selected nodes may be a department a and a department B, and the node information includes the selected node and a node lower level node of the node, that is, the node information is the department a and the department B, and the group a and the group B.
Step 203, determining at least one corresponding group information according to the selected at least one node information, wherein the node information comprises personnel information of the node.
In some embodiments, the example in step 202 is still taken as an example, namely, the node information is gate a and gate B, and team a and team B. The node information includes the person information of the node, that is, the person information a and the person information B are also included in the node information. Corresponding at least one group information is determined, namely, the group information is determined according to the department A, the department B, the group a, the group B and corresponding personnel information thereof. That is, the at least one group information includes a department a, a department B, a group a, a group B, and corresponding person information thereof, respectively.
Step 204, creating at least one corresponding department group according to the determined at least one group information.
In some embodiments, taking the example in step 203 as an example, the at least one group information includes a department a, a department B, a group a, a group B and corresponding personnel information, and a department group is established for each group information, that is, a department group is established for the department a, the department B, the group a, and the group B, respectively.
As an example, an administrator may initiate a system for managing departments in the background, and the creation of a department group includes selecting an organization, creating a task for the group, traversing nodes of the organization to be created, determining whether the department group exists, obtaining a first choice user set as a group owner in the organization, obtaining a person set as a group member, determining whether the person exceeds a maximum 2000 limit, circularly increasing the group member and counting the number of failed persons, generating an EXCEL file from a data file, and uploading the result to a server. See fig. 6 for a specific flow.
The flow chart of the department group creation is shown in fig. 6, when the user clicks batch creation, the organization structure authority set (including organization node information, orgcrouped) can be queried according to the current user orgCode authority; the front page shows an organization tree, and a user selects and creates a department group (the organization node has the ash of orgGroupled and can not be clicked); the organization node data may be the orgGroupOrglds task id (type): a taskType; acquiring manager information and related data required by a task; creating a My task-department group task; judging whether the creation task is successful or not, if the creation task is failed, prompting the task to be created failed and ending, if the creation task is successful, returning to the page, displaying that the task is successfully created by the page, and executing the task asynchronously:
1. the front-end page displays that the task is successfully created and jumps to a 'My task' page;
2. the background continues to operate:
step a, segmenting an orgGroupOrglds character string, and circularly traversing the nodes of the organization to be created, wherein the orgGroupOrglds character string is the node information of the organization;
step b, inquiring whether the organization has a department group according to orgld, namely inquiring whether the organization has a department group according to orgld parameters, wherein the orgld parameters are the Spring Cache method which can ensure that the Cache method has the same return result for the same method parameters;
Step c, judging whether the node has a department group, if so, directly executing the step j, and if not, executing the step d to the step j;
step d, obtaining all the child nodes of the node, and inquiring the set of all the organization users according to the node and all the child nodes, wherein the inquired node does not comprise personnel information;
step e, judging whether the personnel set is empty, if so, directly executing the step j, and if not, executing the step f to the step j;
and f, acquiring a first user sequenced in the self node from the es as a group owner, and placing the first user in the first position of the set. The Elastic Search, abbreviated as es, is a Lucene-based Search server. The system provides a full text search engine with distributed multi-user capability, and is based on a RESTful web interface;
step g, judging whether the personnel of the department group exceeds the maximum department group limit (2000); if the maximum limit is exceeded, the collection is intercepted, the maximum number of people is reserved, the number of redundant people is counted, the number of people is recorded as the number of failed people, and a group is created according to the related default setting of the department group; if the number of the groups does not exceed the number of the groups, establishing the groups according to the related default settings of the department groups, wherein the maximum limit can be set according to specific requirements;
Judging whether the establishment is successful, if the establishment fails, directly executing the step j, and if the establishment is successful, executing the step h to the step j;
step h, circularly pulling the members of the increased group, and counting the number of failed people;
step i, associating organization according to group id;
step j, constructing an abnormal or successful data set of the created group according to internationalization parameters;
step k, judging whether other department groups are to be created currently, if not, executing the step l, and if so, executing the steps b to k;
and step l, organizing and loading the result data into an excel file, uploading the excel file to a server, and ending the task.
In an alternative implementation of some embodiments, if the group creation request is an organization group creation request, responsive to receiving the group creation request, presenting an organization interface comprising: responding to the received group creation request, and displaying a group basic information interface; receiving group basic information input in a group basic information interface; responding to the received information storage request, storing group basic information, and displaying an organization interface; in response to the received group information, creating a corresponding group, comprising: receiving at least one node information selected in the organization mechanism interface; displaying personnel information of the corresponding at least one node in the organization interface according to the selected at least one node information; receiving at least one piece of personnel information selected in the organization interface; determining group information according to the selected at least one piece of personnel information and the saved group basic information; an organization group is created based on the determined group information.
As an example, the group in the group creation request may be an organization group, and in response to receiving the group creation request, the presentation organization interface may be: and after the group basic information interface is displayed in response to the received group creation request, the group basic information interface can be used for displaying group member information, owner group information or group icons to be selected, receiving group basic information input in the group basic information interface, storing the group basic information in response to the received information storage request, and displaying the organization interface.
Taking the above example as an example, in response to the received group information, creating the corresponding group may be: and in response to the received group creation request, displaying a group basic information interface, receiving group basic information input in the group basic information interface, responding to the received information storage request, storing the group basic information, and displaying an organization interface, so as to obtain information required by the required creation of the group, namely, in an organization group diagram, calling group services according to the group information, creating the organization group, wherein the organization interface can be displayed according to the authority of a creator.
Aiming at the problem that the members in the group are unorganized and uncontrollable, an administrator initiates to create a group by picking up the personnel in the enterprise personnel according to the self requirements of the enterprise in a background management system, and chat is carried out, namely, group information is determined according to at least one selected personnel information and stored group basic information. The related organization architecture and personnel can be displayed according to the data authority owned by the current administrator, and the enterprise personnel which need to enter the group can be queried according to the query condition, so that the group members in the group can form clear.
In an alternative implementation of some embodiments, the group basic information interface further includes at least one group opening authority, receives the group basic information input in the group basic information interface, and further includes: and receiving at least one selected group open authority in the group basic information interface as the group basic information.
As an example, the group opening rights may be customized, and the present invention is not limited to how to set the group opening rights. Aiming at the problems that the group is open and anyone can apply for adding the group to chat, the group opening authority is set, the manager can intensively create the group through a background management system, the open range of the group is standardized according to related control items, and the manager can effectively control the development of the group according to the self unit requirement.
In an alternative implementation of some embodiments, the group opening rights include at least one of: whether group members are allowed to fall out of the group, whether the group owner can unbundle/transfer the group, whether the group owner/administrator is allowed to invite other people into the group, and whether the group member is allowed to invite other people into the group.
As an example, as shown in table 1, the creator fills out and selects the controlled range parameters in the group basic information.
TABLE 1 organization of parameters in group basic information
Parameters (parameters) Description of the invention Type(s)
grouplcon Group icons varchar
groupName Group name varchar
groupBrief Group introduction varchar
isAllowTransferOwner Whether or not the group owner can detach/transfer the group tinyint
isAllowAdminInvite Whether or not to allow a group owner/manager to invite others to the group tinyint
isAllow Whether or not to allow group members to invite others to enter the group tinyint
activeExit Whether or not to permit group members to leave the group tinyint
As an example, as shown in fig. 7, a specific operation of the flow of creating an organization group may be as follows, where the flow of creating an organization group is shown, and is initiated by an administrator (the identity of the creator of the organization group is not limited by the present invention), the organization group is created according to the requirements of the enterprise itself in a background management system, and at the beginning of creating the organization group, the group opening authority needs to be filled in, and may include a group name, a group announcement, whether to allow the group member to fall out of the group, whether to allow the group owner to dismiss/transfer the group, whether to allow the group owner to invite other people to enter the group, whether to allow the group member to invite other contacts to enter the group, etc. After the user selects the group members and the group owner, checking the group information, the group members and the group owner information, if the checking is not passed, returning page error information, prompting the user that the enterprise group creation fails, and ending the group establishment; if the verification is passed, calling the group service according to the group information, creating an organization group, if the creation fails, returning page error information, prompting the creation failure, ending the group, if the creation is not successful, prompting the user that the enterprise group is successfully created, and ending the group.
As can be seen from fig. 2, the group creation method in some embodiments corresponding to fig. 2 shows how to create a group of departments and an organization group, the group of departments is created according to node information of the organization, the organization group is created according to personnel information and group basic information, both of which are established depending on the organization, so that a group owner can see the formation of the members, i.e. the establishment of the group is organized and controllable, in comparison with the description of some embodiments corresponding to fig. 1. In addition, the relevant organization architecture and personnel are displayed according to the authority owned by the current administrator, and the enterprise personnel which need to enter the group can be queried according to the query condition, so that the group members in the group can be clearly formed. The group basic information is used for standardizing the open range of the group according to the related control items, so that the problem of the openness of the group, namely, the problem that any person can apply for adding the group to chat, is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating another embodiment of a group personnel update method according to the present invention. As shown in fig. 3, the group personnel updating method comprises the following steps:
step 301, acquiring personnel information of a current organization according to a preset time.
Step 302, updating the personnel information in at least one department group according to the personnel information of the current organization.
In some embodiments, pre-cached organization personnel information may also be obtained.
In some embodiments, the at least one department group is determined based on at least one node information of the organization, the node information including the selected node and a node subordinate to the node, the group information including personnel information of the group, the node information including personnel information of the node. As an example, the at least one department group may be group a or group B, the corresponding node information may be group a or group B, the personnel information may include a name, a position, a department to which the personnel belongs, and the department group may be a department group or an organization group.
In consideration of the problem that the members in the group join or clear up untimely, an administrator can initiate to create the group in batch according to at least one node information selected by the organization in the background management system. Because the group is created according to the organization, the update logic of the members in the group can adjust the personnel in the corresponding group in real time according to the change of the organization, and the group owner/manager is not required to perform member operation.
Specifically, taking the update of a department group as an example, since the department group is a group created according to the current organization and its nodes, when the current organization and its nodes under personnel change, the synchronization of group members is required for the department group, and the operation of organization change is divided into two types: 1. adding the tissue mechanism, and removing the tissue mechanism.
1. For the operation of joining the organization, if there is an affected group of departments, the operation of joining the group of departments may be performed directly.
As an example, the interface to add group members may be: addGroupMemberResult inviteAddGroupMembers (1:OperateGroupMemberBean addGroupMemberBean)
2. For the operation of moving out the organization, if the affected department group exists, the operation of moving out the department group can be directly performed, but compared with the operation of adding the department group, the situation of group member complement to the department group exists in the case of moving out the department group, the operation can be given to a timing task, namely, the operation of adding or removing personnel to the department group is performed according to the preset time, the specific operation can be that after one personnel is removed, one personnel is added immediately, or after all the personnel to be removed are removed, all the personnel are added.
As an example, finding the affected department groups may be according to the following steps: all nodes (including the nodes) related to the orgld are found in the organization according to the orgld, and then the department groups associated with the nodes are found, wherein the groups are the affected department groups.
As an example, the interface to remove group members may be: removeGroupMemberResult removeGroupMember (1: operateGroupMemberBean removeGroupMemberBean)
As an example, the above-described setting of the group member update task may be referred to as follows:
1. executing a strategy: executing once in 1 hour;
2. data sources: redis SET { orgld }, wherein Redis is completely open-source, complies with BSD protocol, and is a high-performance key-value database;
3. task logic: one hour of data is taken from redis, all the data are taken out, and then the synchronous operation of group members is carried out on the departments groups of the organizations.
4. Task details: when joining an organization, if the organization's department group is full, then no group is entered.
As an example, the update flow of the department group is shown in fig. 8.
Step 11, querying all the organization groups, which can be used as an example by calling a method to query all the internal groups;
Step 12, querying all corresponding group members according to the internal group id, and querying all group members according to the group id by a calling method as an example;
step 13, inquiring all organization personnel including all sub organization personnel according to the organization id, and inquiring all current and sub organization personnel according to the organization id from es as an example;
step 14, the organization personnel and the group members are compared, and deleted personnel set and newly added personnel set data are screened out;
step 15, deleting the group members of the current group according to the screened deleter set data, and removing the group members by a method calling as an example;
step 16, calculating the total number of group members (total group members=current total number of members-number of deleted group members);
step 17, adding the newly added personnel set data to the current group according to the screening, calculating the number, and adding 1 each time, wherein the group members can be added by a method calling way as an example;
step 18, judging whether the number of the group members is more than 2000, if so, generating task result data, and ending the task; otherwise, step 17 is circularly executed, wherein the maximum number of group members can be set according to specific situations.
If the organization group is updated, as an example, the update flow of the organization group is shown in fig. 9.
Step 21, clicking on the modified group member;
step 22, newly adding/deleting group members;
step 23, newly added member set newUserlds organization group id entGroupid, newUserlds is newly added member set, entGroupid is organization group id;
step 24, obtaining group information according to the organization group id;
step 25, whether the current administrator is a creator of the organization group, which can be specifically set according to the needs, or not;
step 26, inquiring all group member sets of the current group according to the group id, and circularly traversing the newly added/deleted personnel sets;
step 27, respectively calling group service, deleting personnel interface, deleting successfully, calling adding member interface, namely calling group service according to deleted personnel set, after deleting personnel, calling group service according to newly added personnel set, and the specific newly added/deleted personnel method is not limited by the invention;
step 28, the current administrator does not have permission to modify the group member operations;
step 29, update success/failure information is returned.
According to the group personnel updating method disclosed by some embodiments of the invention, when personnel are updated by the group personnel updating method, personnel information of a current organization is obtained according to preset time; and updating the personnel information in at least one department group according to the personnel information of the current organization. Because the basis for establishing the group is an organization, when the group personnel are updated, the personnel information of the current organization can be conveniently and quickly updated.
Referring to fig. 4, fig. 4 is a schematic structural diagram of some embodiments of a group creation device according to the present invention, and as a method for implementing the methods shown in the foregoing fig. s, some embodiments of a group creation device are provided, where the embodiments of the device correspond to the embodiments of the methods shown in fig. 1, and the device may be applied to various electronic apparatuses.
As shown in fig. 4, the group creation device 400 of some embodiments includes an information presentation module 401, a group creation module 402: an information display module 401, configured to respond to the received group creation request, and display an organization interface, where the organization interface displays at least one node of the organization according to the authority of the user; the group creation module 402 is configured to create a corresponding group in response to the received group information, where the group information is determined according to the displayed organization, and the group information includes personnel information of the group.
In an alternative implementation of some embodiments, if the group creation request is a department group batch creation request, the group creation module 402 includes: a first receiving unit (not shown in the figure) for receiving at least one node information selected in the organization interface, the node information including the selected node and a node lower level of the node; a first determining unit (not shown in the figure) for determining corresponding at least one group information according to the selected at least one node information, the node information including personnel information of the node; a first creation unit (not shown in the figure) for creating a corresponding at least one department group based on the determined at least one group information.
In an alternative implementation of some embodiments, if the group creation request is an organization group creation request, the information presentation module 401 includes: a group basic information unit (not shown) for displaying a group basic information interface in response to a received group creation request; a second receiving unit (not shown) for receiving the group basic information input in the group basic information interface; a processing unit (not shown in the figure) for storing the group basic information and displaying the organization interface in response to the received information storage request; the group creation module 402 includes: a third receiving unit (not shown in the figure) for receiving the selected at least one node information in the organization interface; for generating a selection of at least one node information based on the selected at least one node information, displaying personnel information of at least one corresponding node in the organization interface; a fourth receiving unit (not shown) for receiving the selected at least one person information in the organization interface; a second determining unit (not shown) for determining group information based on the selected at least one person information and the saved group basic information; a second creation unit (not shown in the figure) for creating an organization group based on the determined group information.
In an alternative implementation of some embodiments, the group basic information interface further includes at least one group opening authority, and displays a group basic information unit (not shown in the figure), and further includes: and the method is used for receiving at least one selected group open authority in the group basic information interface as the group basic information.
In an alternative implementation of some embodiments, the group opening rights include at least one of: whether group members are allowed to fall out of the group, whether the group owner can unbundle/transfer the group, whether the group owner/administrator is allowed to invite other people into the group, and whether the group member is allowed to invite other people into the group.
It will be appreciated that the modules described in the apparatus 400 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and advantages described above for the method are equally applicable to the apparatus 400 and the modules and units contained therein, and are not described here again.
As shown in fig. 5, the group personnel update apparatus 500 of some embodiments includes a personnel acquisition module 501, a personnel update module 502: a personnel acquisition module 501, configured to acquire personnel information of a current organization according to a preset time; a personnel update module 502, configured to update personnel information in at least one department group according to personnel information of a current organization; wherein the at least one department group is determined based on at least one node information of the organization, the node information including the selected node and a node subordinate to the node, the group information including group personnel information, the node information including node personnel information.
It will be appreciated that the modules described in the apparatus 500 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and advantages described above for the method are equally applicable to the apparatus 500 and the modules, units contained therein, and are not described here again.
Fig. 10 illustrates a physical structure diagram of an electronic device, as shown in fig. 10, which may include: a processor 1010, a communication interface (Communications Interface) 1020, a memory 1030, and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other via the communication bus 1040. Processor 1010 may invoke logic instructions in memory 1030 to perform a group creation method comprising: responding to the received group creation request, displaying an organization mechanism interface, and displaying at least one node of the organization mechanism according to the authority of a user by the organization mechanism interface; in response to the received group information, a corresponding group is created, the group information being determined from the displayed organization, the group information including person information for the group.
Further, the logic instructions in the memory 1030 described above may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing a group creation method provided by the methods described above, the method comprising: responding to the received group creation request, displaying an organization mechanism interface, and displaying at least one node of the organization mechanism according to the authority of a user by the organization mechanism interface; in response to the received group information, a corresponding group is created, the group information being determined from the displayed organization, the group information including person information for the group.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the group creation methods provided above, the method comprising: responding to the received group creation request, displaying an organization mechanism interface, and displaying at least one node of the organization mechanism according to the authority of a user by the organization mechanism interface; in response to the received group information, a corresponding group is created, the group information being determined from the displayed organization, the group information including person information for the group.
The apparatus embodiments described above are merely illustrative, wherein the elements described above as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A group creation method, comprising:
responding to a received group creation request, displaying an organization mechanism interface, wherein the organization mechanism interface displays at least one node of an organization mechanism according to the authority of a user, and the group creation request comprises a department group batch creation request and an organization group creation request;
creating a corresponding group in response to the received group information, the group information being determined from the displayed organization, the group information including person information for the group;
if the created group is a department group, the method includes: acquiring a group batch creation request of a user, and inquiring an organization structure authority set of the user according to the current user orgCode authority; the front page displays the organization tree and creates department groups; the organization node data is of the orgGroupOrglds task type: a taskType; acquiring manager information and data required by a task creation, and creating a task-department group task; judging whether the creation task is successful or not, if the creation task is failed, prompting that the creation of the task is failed and ending, if the creation task is successful, returning to the page, displaying that the creation of the task is successful by the page, and executing the task asynchronously;
If the created group is an organization group, the method comprises the following steps: acquiring an organization group creation request of a user, checking group information, group members and group main information after the user selects the group members and the group main, and if the group information, the group members and the group main information are not checked, returning page error information to prompt the user that enterprise group creation fails, and ending the group creation; if the verification is passed, calling a group service according to the group information, creating an organization group, if the creation fails, returning page error information, prompting the creation failure, and ending the group creation; if the establishment is successful, prompting the user that the enterprise group is successfully established, and ending the establishment.
2. The group creation method according to claim 1, wherein if the group creation request is a department group batch creation request, the creating a corresponding group in response to the received group information includes:
receiving at least one selected node information in the organization interface, wherein the node information comprises the selected node and a lower node of the node;
determining at least one corresponding group information according to the selected at least one node information, wherein the node information comprises personnel information of the node;
and creating at least one corresponding department group according to the determined at least one group information.
3. The group creation method of claim 1, wherein if the group creation request is an organization group creation request, the exposing an organization interface in response to the received group creation request comprises:
responding to the received group creation request, and displaying a group basic information interface;
receiving group basic information input in the group basic information interface;
responding to the received information storage request, storing the group basic information, and displaying an organization interface;
the creating a corresponding group in response to the received group information includes:
receiving at least one node information selected in the organization interface;
displaying personnel information of the corresponding at least one node in the organization interface according to the selected at least one node information;
receiving at least one selected person information in the organization interface;
determining group information according to the selected at least one piece of personnel information and the saved group basic information;
an organization group is created based on the determined group information.
4. The group creation method of claim 3, wherein the group basic information interface further comprises at least one group opening right, receiving group basic information input in the group basic information interface, further comprising:
And receiving at least one selected group opening authority in the group basic information interface as the group basic information.
5. The group creation method of claim 4, wherein the group opening rights include at least one of: whether group members are allowed to fall out of the group, whether the group owner can unbundle/transfer the group, whether the group owner/administrator is allowed to invite other people into the group, and whether the group member is allowed to invite other people into the group.
6. A method for group personnel update, comprising:
after creating a group by using the group creation method according to any one of claims 1 to 5, acquiring personnel information of the current organization according to a preset time;
updating the personnel information in at least one department group according to the personnel information of the current organization;
wherein the at least one department group is determined according to at least one node information of the organization, the node information includes a selected node and a node subordinate to the node, the group information includes personnel information of the group, and the node information includes personnel information of the node.
7. A group creation device, comprising:
The information display module is used for responding to the received group creation request, displaying an organization mechanism interface, and displaying at least one node of the organization mechanism according to the authority of a user by the organization mechanism interface, wherein the group creation request comprises a department group batch creation request and an organization group creation request;
the group creation module is used for responding to the received group information, creating a corresponding group, wherein the group information is determined according to the displayed organization, and the group information comprises personnel information of the group;
if the created group is a department group, the method includes: acquiring a group batch creation request of a user, and inquiring an organization structure authority set of the user according to the current user orgCode authority; the front page displays the organization tree and creates department groups; the organization node data is of the orgGroupOrglds task type: a taskType; acquiring manager information and data required by a task creation, and creating a task-department group task; judging whether the creation task is successful or not, if the creation task is failed, prompting that the creation of the task is failed and ending, if the creation task is successful, returning to the page, displaying that the creation of the task is successful by the page, and executing the task asynchronously;
If the created group is an organization group, the method comprises the following steps: acquiring an organization group creation request of a user, checking group information, group members and group main information after the user selects the group members and the group main, and if the group information, the group members and the group main information are not checked, returning page error information to prompt the user that enterprise group creation fails, and ending the group creation; if the verification is passed, calling a group service according to the group information, creating an organization group, if the creation fails, returning page error information, prompting the creation failure, and ending the group creation; if the establishment is successful, prompting the user that the enterprise group is successfully established, and ending the establishment.
8. A group personnel updating apparatus, comprising:
a personnel obtaining module, configured to obtain personnel information of a current organization according to a preset time after the group is created by using the group creation method according to any one of claims 1 to 5;
the personnel updating module is used for updating the personnel information in at least one department group according to the personnel information of the current organization;
wherein the at least one department group is determined according to at least one node information of the organization, the node information includes a selected node and a node subordinate to the node, the group information includes personnel information of the group, and the node information includes personnel information of the node.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the group creation method of any of claims 1 to 5 or the steps of the group person update method of claim 6 when the program is executed.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the group creation method according to any one of claims 1 to 5, or the steps of the group person update method according to claim 6.
CN202110632830.6A 2021-06-07 2021-06-07 Group creation method, group personnel update method, device, equipment and medium Active CN113794619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110632830.6A CN113794619B (en) 2021-06-07 2021-06-07 Group creation method, group personnel update method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110632830.6A CN113794619B (en) 2021-06-07 2021-06-07 Group creation method, group personnel update method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN113794619A CN113794619A (en) 2021-12-14
CN113794619B true CN113794619B (en) 2023-07-11

Family

ID=79181293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110632830.6A Active CN113794619B (en) 2021-06-07 2021-06-07 Group creation method, group personnel update method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113794619B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379274A (en) * 2018-10-29 2019-02-22 政采云有限公司 Method and device for sending information of instant messaging group
CN110890987A (en) * 2019-11-29 2020-03-17 北京首都在线科技股份有限公司 Method, device, equipment and system for automatically creating cluster

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9535804B2 (en) * 2012-05-21 2017-01-03 Cray Inc. Resiliency to memory failures in computer systems
CN106603391A (en) * 2016-12-30 2017-04-26 和创(北京)科技股份有限公司 Method for constructing instant messaging group automatically, server and terminal equipment
US10915866B2 (en) * 2017-03-08 2021-02-09 Workstorm.Com Llc Chat and email messaging integration
CN110417845B (en) * 2018-11-30 2021-08-03 腾讯科技(深圳)有限公司 Data synchronization method, device and storage medium
CN110766378A (en) * 2019-09-27 2020-02-07 北京字节跳动网络技术有限公司 Group construction method, device, medium and electronic equipment
CN111628876B (en) * 2020-05-22 2023-04-14 腾讯科技(深圳)有限公司 Method and device for establishing group and computer equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379274A (en) * 2018-10-29 2019-02-22 政采云有限公司 Method and device for sending information of instant messaging group
CN110890987A (en) * 2019-11-29 2020-03-17 北京首都在线科技股份有限公司 Method, device, equipment and system for automatically creating cluster

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Checking and Correcting the Source Code of Web Pages for Accessibility》;Thi-Huong-Giang Vu 等;《IEEE》;全文 *
《面向知识管理的社交网络应用的设计与实现》;迟爽;《中国优秀硕士学位论文全文数据库》;全文 *

Also Published As

Publication number Publication date
CN113794619A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
US8396932B2 (en) Apparatus and method for efficiently managing data in a social networking service
CN111092933A (en) Business process management method, system, medium and electronic device for micro-service architecture
JP3658422B2 (en) Electronic circulation system and electronic circulation method
US20080046828A1 (en) Collaboration framework
US20060062356A1 (en) Synchronization in unified messaging systems
US20020049786A1 (en) Collaboration framework
EP3410357A1 (en) Provisioning multiple network resources
US20140324872A1 (en) Address book maintenance method and group address book management platform
US6275846B1 (en) Multiserver workflow system
CN107276775A (en) A kind of enterprise group sets up cube method and device
CN106021370A (en) Memory database instance management method and device
CN113157980B (en) Data synchronization method, device, equipment and storage medium
US20190207878A1 (en) Managing context information between chatbot and user device
US11418464B2 (en) System and method for processing messages between organizations
US11544119B2 (en) Business rules processing framework for implementing new desired functionality in a telecommunication application
CN111224860B (en) Method and device for realizing communication session, electronic equipment and readable storage medium
CN105207885B (en) The method and device of user information is shown in session interface
EP4050850A1 (en) Service upgrading method, device and system
CN112800066A (en) Index management method, related device and storage medium
CN113794619B (en) Group creation method, group personnel update method, device, equipment and medium
CN105844171B (en) Method and device for file synchronization control
CN113509719B (en) Computer system, running method, device and medium for multi-version application
KR102078418B1 (en) Synchronization method of address book information, and address book synchronization device
CN111478782B (en) Chat room control method, server, electronic equipment and storage medium
CN116389385A (en) System resource processing method, device, storage medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant