CN107733662A - Group's restoration methods and device - Google Patents

Group's restoration methods and device Download PDF

Info

Publication number
CN107733662A
CN107733662A CN201610651978.3A CN201610651978A CN107733662A CN 107733662 A CN107733662 A CN 107733662A CN 201610651978 A CN201610651978 A CN 201610651978A CN 107733662 A CN107733662 A CN 107733662A
Authority
CN
China
Prior art keywords
group
groups operation
groups
identification
recovery
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.)
Granted
Application number
CN201610651978.3A
Other languages
Chinese (zh)
Other versions
CN107733662B (en
Inventor
赵文
何伟泉
席志方
张津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610651978.3A priority Critical patent/CN107733662B/en
Priority to PCT/CN2017/095549 priority patent/WO2018028484A1/en
Publication of CN107733662A publication Critical patent/CN107733662A/en
Application granted granted Critical
Publication of CN107733662B publication Critical patent/CN107733662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • 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
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of group's restoration methods, including:Receive group and obtain request, the group, which obtains, to be asked to carry user's mark, and the groups operation record for obtaining user is identified according to the user;Group list can be recovered by recording return according to the groups operation;Group's recovery request is received, group's recovery request carries the group identification that request recovers, and obtains corresponding groups operation record and group data according to the group identification, recovery operation is carried out to group according to groups operation record and group data.Using this method, can recover to dismiss, transfer the possession of or removing members after group.In addition, additionally provide a kind of group's recovery device.

Description

Group's restoration methods and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of group's restoration methods and device.
Background technology
The form such as group, including but not limited to group, discussion group, multi-conference, the more people for being widely used in instant messaging chat Its session.In conventional art, group is Yi Dan dismissing, can not recover after transfer or removing members, unless group master re-establishes Member is added group by group again.Under some scenes, user is likely due to maloperation or caused by steal-number Group dismiss, transfer the possession of or removing members, and group can not be dismissed in conventional art, transfer the possession of or removing members etc. carry out it is extensive Multiple operation.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of group's restoration methods and device, can recover to solve Dissipate, the group after transfer or removing members.
A kind of group's restoration methods, including:
Receive group and obtain request, the group obtains request and carries user's mark, is identified to obtain according to the user and used The groups operation record at family;
Group list can be recovered by recording return according to the groups operation;
Group's recovery request is received, group's recovery request carries the group identification that request recovers, according to the group Mark obtains corresponding groups operation record and group data, and group is carried out according to groups operation record and group data Recovery operation.
A kind of group's recovery device, described device include:
Operation note acquisition module, request is obtained for receiving group, the group obtains request and carries user's mark, root The groups operation record for obtaining user is identified according to the user;
Group returns to module, can recover group list for recording return according to the groups operation;
Group's recovery module, for receiving group's recovery request, group's recovery request carries the group that request recovers Mark, corresponding groups operation record and group data are obtained according to the group identification, according to groups operation record and Group data carries out recovery operation to group.
Above-mentioned group's restoration methods and device, request is obtained by receiving group, obtains what is carried in request according to group User identifies the groups operation record for obtaining user, and group list can be recovered by recording return according to groups operation, receive group During group recovery request, corresponding groups operation record and group data can be got according to the group identification that request recovers, and then Recovery operation is carried out to group according to groups operation record and group data.Because the groups operation that can get user records And then recovery operation can be carried out to recoverable group, therefore, it can still pass through recovery after group's dismission, transfer or removing members Operation recovery group.
Brief description of the drawings
Fig. 1 is the applied environment figure of group's restoration methods in one embodiment;
Fig. 2 is the cut-away view of server in one embodiment;
Fig. 3 is the flow chart of group's restoration methods in one embodiment;
Fig. 4 is the flow chart of group's restoration methods in another embodiment;
Fig. 5 is the displaying schematic diagram that can recover group list in one embodiment;
Fig. 6 is that displaying can recover the interface schematic diagram of member in one embodiment;
Fig. 7 is to show the interface schematic diagram being successfully recovered in one embodiment;
Fig. 8 is group's message interface schematic diagram after being successfully recovered in one embodiment;
Fig. 9 is to recover to transfer the possession of the successful interface schematic diagram of group in one embodiment;
Figure 10 A are one of interface schematic diagram that group's system message is prompted in one embodiment;
Figure 10 B are the two of the interface schematic diagram that group's system message is prompted in one embodiment;
Figure 10 C are the three of the interface schematic diagram that group's system message is prompted in one embodiment;
Figure 11 is the Organization Chart of the server under a concrete application scene;
Figure 12 is the timing diagram of group's restoration methods in one embodiment;
Figure 13 is the structured flowchart of group's recovery device in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Group's restoration methods that the embodiment of the present invention is provided can be applied in environment as shown in Figure 1, with reference to the institute of figure 1 Show, instant messaging application can be run in terminal 102, group, including group, discussion group and more people's meetings are created by instant messaging application Words etc..Terminal 102 can operate to group, such as create group, addition member, modification group advertisement, modification group's business card etc., Group can also be transferred the possession of, the operation such as removing members or dismission.Terminal 102 is communicated with server 104 by network, Terminal 102 is sent to server 104 by network to the operation requests of group and handled.Group is stored in server 104 Data, including but not limited to group identification, group member mark, group creating time, group advertisement etc..Terminal 102 is to group Any operation all will update into server 104.Specifically, terminal 102 is dismissed to group, transferred the possession of or removing members etc. After operation, server 104 receives operation requests, and generation groups operation is recorded and preserved.When terminal 102 needs to recover group When, send group to server 104 and obtain request, server 104 receives group and obtains request, according to the user carried in request Mark obtains the groups operation record of user, and group list, terminal can be recovered by being recorded to return to terminal 102 according to groups operation 102 can be selected to need the group recovered in it can recover group list, and group's recovery request, the group are sent to server 104 The group identification that request recovers is carried in recovery request, server 104 obtains corresponding groups operation according to group identification and recorded And group data, recovery operation is carried out to group according to groups operation record and group data.For example, user deletes some group Member in group, the member of deletion can be returned in the group.
Wherein, terminal 102 includes but is not limited to the various personal computers that can run instant messaging application, notebook electricity Brain, tablet personal computer, smart mobile phone, personal digital assistant, portable intelligent wearable device etc..Server 104 includes but is not limited to Single server, the server cluster being made up of multiple servers etc..
In one embodiment, as shown in Fig. 2 additionally providing a kind of server, the server includes passing through system bus Processor, non-volatile memory medium, built-in storage and the network interface of link, wherein, stored in non-volatile memory medium There are operating system and a kind of group's recovery device, group's recovery device is used to perform a kind of group's restoration methods.The processor For improving calculating and control ability, the operation of whole server is supported.Built-in storage is used to be in non-volatile memory medium Group's recovery device operation provide environment.The built-in storage can be stored with computer-readable instruction, the computer-readable finger When order is executed by processor, a kind of group's restoration methods of the computing device are may be such that.Network interface is used to carry out net with terminal Network communicates, and receives or send data, for example, the group that receiving terminal is sent obtains request and group's recovery request etc., to terminal Transmission can recover group list and group's restoration result etc..
As shown in figure 3, in one embodiment, there is provided a kind of group's restoration methods, this method is with applied to such as Fig. 1 institutes It is illustrated in the server shown, including:
Step 302, receive group and obtain request, the group obtains request and carries user's mark, identified and obtained according to user The groups operation record of user.
Groups operation record refers to that group master, keeper or member in group carry out operating caused flowing water to group Data, operation here, including but not limited to group master to such as dismissed caused by group, transfer the possession of, change group's data, upload data File etc. operates, and group master or keeper are to the behaviour such as removing members, modification group data, upload data file caused by group Make, and member's operation such as caused modification group business card, upload data file in group.
The groups operation record of user is stored in the present embodiment, in server.When user's using terminal is carried out to group During operation, operation requests are sent to server by terminal, and server first verifies that the user that operation requests carry has identified whether Authority, if so, corresponding logical process is then carried out to group after verification passes through, generation groups operation record.Groups operation is remembered The pipelined data to groups operation, including groups operation time, groups operation type, group information etc. are have recorded in record.Wherein, The groups operation time refers to the time operated to group, such as dismisses or transfer the possession of the time of group, deletes some member's Time etc..Groups operation type includes but is not limited to dismiss group, transfers the possession of the operation such as group and removing members.Group information includes The main information of group, group member information etc..Further, the corresponding user of groups operation record of user identifies progress in the server Storage, server is when receiving group's acquisition request, the group behaviour according to corresponding to can inquiring the user of its carrying mark Note down.
Step 304, group list can be recovered by recording return according to groups operation.
Meet that the group of certain predetermined condition can just recover in the groups operation record of user.Specifically, can be according to user Mark identification user identity, group list can be recovered by being got according to user identity.Such as group master or keeper, can The groups operation record with authority limitation is obtained, and record acquisition according to groups operation to recover group list.Getting After the groups operation record of user, judge whether user has permission according to user's mark and groups operation type and recover group, if Have, then group list can be recovered by recording return according to groups operation, otherwise, prompt user not have authority to recover group.For general Logical group member user, its corresponding groups operation record can be obtained, group list can be recovered by being obtained according to groups operation type. For example getting the groups operation type in the groups operation record of user to exit group, then the group exited can be used as can Recover group.
Specifically, in one embodiment, server receives group and obtains request, is existed according to user label detection user Identity in group, when identity of the user in group meets default identity condition, the group is just that can recover group.For example, Former group in group is main can just to recover the group after transferring the possession of, the group master in group or the member after keeper's ability recoverable deletion. In the present embodiment or another embodiment, the groups operation time during server can also record according to groups operation can be extensive to screen Complex group group, such as it can just recover in the group for meeting certain operating time condition, such as, the time of group is dismissed not less than one Month, the time of group is transferred the possession of not less than one month etc..
Further, server is got according to groups operation record can recover group list, can recover group list Terminal is back to, terminal, which is shown, can recover group list, including the letter such as group identification, groups operation time, groups operation type Breath.Meanwhile terminal can provide for recovering the interface alternation element of group in the interface that display can recover group list, such as Request recovers group's button.
Step 306, group's recovery request is received, group's recovery request carries the group identification that request recovers, according to group Group mark obtains corresponding groups operation record and group data, group is carried out according to groups operation record and group data extensive Multiple operation.
In the present embodiment, group's recovery request of server receiving terminal transmission, looked into according to the group identification wherein carried Look for corresponding groups operation to record and group data, so can be recorded according to groups operation and group data group is carried out it is extensive It is multiple.For example, the group after dismission is recovered, the group transferred the possession of away is withdrawn, the member deleted in group is re-added to In group.
Specifically, carrying out recovery operation to group according to groups operation record and group data, can be remembered according to groups operation The groups operation time in record, the group data recorded before the groups operation time is obtained, current group data is reverted into group The group data recorded before the operation operating time.Wherein, the group recovered includes recovering the group after dismission, will transfer the possession of out The group gone is withdrawn, and the member deleted in group is re-added in group, recovers group's data, recovers member's data, extensive Complex group group associated data files etc..In a preferred embodiment, it is after having carried out authority limitation operation that can recover group Group, such as recover the group dismissed, recover the group transferred the possession of away, the member deleted in recovery group etc..In another reality Apply in example, the group that group can need to recover for rank and file can be recovered, such as member exits after group the group that can be will move out Recovered, then the group having dropped out, after server receives group's recovery request, root can be selected in it can recover group list The group that the request of the addition of the application again group of member is sent to the group according to group's recovery request advocates peace keeper place eventually End, and rejoin the member in group after the terminal check.
In the present embodiment, request is obtained by receiving group, the user's mark carried in request is obtained according to group and is obtained The groups operation record of user, group list can be recovered by recording return according to groups operation, when receiving group's recovery request, Corresponding groups operation record and group data can be got according to the group identification that request recovers, and then is remembered according to groups operation Record and group data carry out recovery operation to group.Groups operation due to that can get user records and then energy pair can recover Group carry out recovery operation, therefore, dismiss in group, transfer the possession of or the operation such as removing members after can still be recovered by recovery operation Group.
In one embodiment, groups operation record includes groups operation time and groups operation type;Grasped according to group Return of noting down can recover group list, including:Group column can be recovered by being returned according to groups operation time and groups operation type Table, wherein, the groups operation time for recovering group that can recover to include in group list and the time difference of current time are in group Corresponding to group action type in the range of time threshold.
In the present embodiment, groups operation time and groups operation type, groups operation are comprised at least in groups operation record Type includes dismissing group, transfer the possession of group and deleting the operations such as the member in group.The group that different groups operations is preserved The content of operation note can be different.Specifically, for dismissing groups operation, the groups operation record preserved in server includes group Group mark, groups operation time, groups operation type and the main information of group etc..For transferring the possession of groups operation, preserved in server Groups operation record includes group identification, groups operation time, groups operation type, the main information of former group and the main information of new group etc.. Operated for removing members, the groups operation record preserved in server may include group identification, groups operation time, group behaviour Make type, the information about firms deleted etc..
Further, different types of groups operation can be set in advance has different time thresholds.Server is got The groups operation record of user, further obtains time difference of the groups operation apart from current time, if the time difference is not super Corresponding time threshold scope is crossed, then the groups operation can be recovered.If for example, it can recover not less than 1 month after dismissing group The group;If not less than 2 months after transferring the possession of group, group can be recovered etc..
In the present embodiment, due to group of the recoverable operation not less than certain time threshold range so that group recovers more With hommization, the data volume for the group that it also avoid needing to recover is more and more and causes server resource to waste.
In one embodiment, recovery operation is carried out to group according to groups operation record and group data, including:If Groups operation type corresponding to group identification is removing members, then deleted group member list is returned according to group identification; The group member that selection recovers is obtained, the group member for selecting to recover is added in group data corresponding to group identification.
In the present embodiment, when terminal initiates the operation requests of removing members, the operation requests are sent to server, service Device receives the operation requests, and whether the user's identity verification user carried first according to operation requests, which has permission, is initiated the behaviour Make, such as, pre-set administrator or the main operation that could initiate removing members of group.Being verified rear server can be to group Group data corresponding to group mark is updated, and corresponding information about firms is deleted in group data.Server record user's This groups operation record, including user's mark, group identification, groups operation type, groups operation time and deletion into Member's information etc..
When terminal initiates group's recovery request, if groups operation type corresponding to group identification is removing members, Server inquires about groups operation record according to group identification, and the time difference for obtaining groups operation time gap current time is no more than The groups operation record of preset time threshold, the deleted information about firms composition obtained in groups operation record are recoverable Group member list, and be back to terminal and shown.The group that terminal selects to recover by recoverable group member list Member, server then can will select that recovers to be added in the group data of the group.
In one embodiment, recovery operation is carried out to group according to groups operation record and group data, including:If Groups operation type corresponding to group identification is dismisses group, then by group data corresponding to group identification labeled as available.
In the present embodiment, when terminal initiates to dismiss the operation requests of group, the request is sent to server, and server connects The operation requests are received, whether the user's identity verification user carried first according to operation requests, which has permission, is initiated the operation, than Such as, the main operation that could initiate to dismiss group of only group is pre-set.After being verified, server keeps the group number of storage According to constant, and by group labeled as unavailable, and the group data of the group is preserved into certain time, the certain time is as pre- If time threshold.Meanwhile this groups operation record of server generation user, including user's mark, group identification, group behaviour Make type, groups operation time etc..
When terminal initiates group's recovery request, if groups operation type corresponding to the group identification that request recovers is solution Group is dissipated, then server inquires about groups operation record according to group identification, extensive according to whether user's identity verification user has permission Multiple group, for example, there is provided the main group that could recover to dismiss of only group.If the verification passes, server marks the group It is designated as can use, meanwhile, the information about firms in group data is obtained, information about firms is returned in group.
In one embodiment, recovery operation is carried out to group according to groups operation record and group data, including:If Groups operation type corresponding to group identification is transfers the possession of group, then by the current founder in group data corresponding to group identification Revert to former founder.
In the present embodiment, when terminal initiates to transfer the possession of the operation requests of group, the request is sent to server, and server connects The operation requests are received, initiate the operation according to whether the user's identity verification user carried in operation requests has permission first, For example, only group is main could transfer the possession of group.Rear server modification group data is verified, the former group master in group data is turned The group master moved after being transferred the possession of for user, generally, user can only transfer group the administrator of group.Meanwhile server is remembered This groups operation record is recorded, including user identifies (former group's master user identification), group identification, groups operation type, group behaviour Make time, the knowledge of new group's principal mark etc..
Further, when terminal initiates group's recovery request, if group behaviour corresponding to the group identification that request recovers Make type to transfer the possession of group, then server inquires about groups operation record according to group identification, according to user's identity verification number of users It no can have permission and withdraw group, only have former group is main just to have permission the group for recovering to transfer the possession of away for example, setting.If checking is logical Cross, the current founder in the group data can be reverted to former founder by server, that is, revert to former group master.
In one embodiment, recovery operation is carried out to group according to groups operation record and group data, including:If Groups operation type corresponding to group identification is removing members or dismisses group, then inquires about recoverable group according to group identification Member, return to the period where recoverable group member;The period that selection recovers is obtained, if corresponding to group identification Groups operation type is removing members, then it is corresponding that the group member deleted in the period that will select to recover is added to group identification Group data in, if groups operation type corresponding to group identification for dismiss group, by select recover period in The group identification of dismission is available.
In the present embodiment, due to the group after the group for the member that undeletes or dismission, be required for recovering in group into Member, the present embodiment can distinguish period recovery member.Specifically, server receives the group identification that request recovers, according to group Group identifier lookup is recorded to corresponding groups operation and group data, obtains the groups operation type in groups operation record, such as Fruit is to dismiss group, then obtains the information about firms in group data, if removing members, then obtains and is deleted in groups operation record The information about firms removed, further obtain recoverable group member.For example, if dismissing group, then obtain and dismiss the time not More than the information about firms in the group of preset time threshold, if removing members, then obtain time of removing members not less than The information about firms of preset time threshold.
Further, the period where server returns to recoverable group member to terminal, wherein, the period is Apart from the period residing for the time difference of current time when referring to group member generation groups operation.For example, 1 week in delete group into Group members deleted in member, or 2 weeks etc..Terminal shows the recoverable group member list of different time sections, and server obtains Terminal selection recovers the period of group members, if removing members, then the member deleted in the period is added into group In data, if dismissing group, then by the group labeled as can use, then the member in the period has returned to group data In.In the present embodiment, time segment recovers group member so that recovering group member more has flexibility.
In one embodiment, as shown in Figure 4, there is provided a kind of group's restoration methods, this method is with applied to such as Fig. 1 institutes It is illustrated in the server shown, including:
Step 402, receive group and obtain request, the group obtains request and carries user's mark, identified and obtained according to user Groups operation records.
The groups operation record of user is stored in the present embodiment, in server.When user's using terminal is carried out to group During the operations such as dismission, transfer or removing members, operation requests are sent to server by terminal, and server first verifies that operation requests The user of carrying identifies whether to have permission, if so, then carrying out corresponding logical process to group after verification passes through, generates group Operation note.Groups operation record includes groups operation time, groups operation type and group information etc..Wherein, groups operation Type includes dismissing group, transfers the possession of group, removing members etc..The groups operation record that different groups operation types is preserved is not Together.For dismissing group, being saved in groups operation record includes group identification, groups operation time, groups operation type and group Main information etc..For transferring the possession of groups operation, when the groups operation record preserved in server includes group identification, groups operation Between, groups operation type, the main information of former group and the main information of new group etc..Operated for removing members, the group preserved in server Operation note may include group identification, groups operation time, groups operation type, the information about firms etc. deleted.
Step 404, group list can be recovered by recording return according to groups operation.
Specifically, server can record according to groups operation obtains the group for meeting certain recovery time condition, these groups Group is recoverable group, and generation can recover group list and be back to terminal to be shown.Further, different groups behaviour Different recovery time conditions can be correspondingly arranged by making type, such as, the time of group is dismissed not less than 1 month, transfers the possession of group Time, the group not less than 1 month was just that can recover group.
As shown in figure 5, terminal logs in corresponding website, produce group and obtain request Concurrency and be sent to server, server according to Group obtains acquisition request groups operation record, including dismisses group, transfer the possession of group, delete member in group, exit group etc. Recorded caused by operation, group list can be recovered by recording return according to groups operation.With reference to shown in figure 5, terminal is in corresponding page Face, which is shown, can recover group list 502, also show group on this page and recover explanation 504, and provides link 506 and supply user Check that rule is recovered by group.Specifically, it can recover in group list 502 comprising recoverable group name, group identification, group Action type, groups operation time etc., and for each can recover group provide respective interface element such as button 502a for Family application recovers the group.In addition, the group list exited is may also display in the page, including group name, group identification With the information such as post-set time.
Step 406, group's recovery request is received, group's recovery request carries the group identification that request recovers.
As shown in figure 5, terminal can obtain group's recovery request that user inputs, group's recovery request by button 502a The group identification that request recovers is carried, group's recovery request is sent to server.
Step 408, groups operation type is detected, if dismissing group or removing members, then into step 410, if It is to transfer the possession of group, then into step 414.
In the present embodiment, server obtains the group identification of request recovery according to group's recovery request is received, according to this Group identification obtains corresponding groups operation record, and then gets the groups operation type of the group.If dismiss group Or removing members, it is required for recovering the member in group due to recovering both types group, therefore can return to recoverable group Group membership.If transferring the possession of group, then it can directly recover the group transferred the possession of away.
Step 410, recoverable group member is inquired about according to group identification, return where recoverable group member when Between section.
Step 412, the period that selection recovers is obtained, recovers the group member in the period.
In the present embodiment, the period where recoverable group member refers to that distance during groups operation occurs for group member Period residing for the time difference of current time.For example, group members deleted in the group members deleted in 1 week, or 2 weeks etc.. After server receives group's recovery request, the groups operation record according to corresponding to group identification gets groups operation type and is Group or removing members are dismissed, then return to the period where recoverable group member.As shown in fig. 6, terminal can pass through phase Prompting frame is answered to show recoverable group member in different time sections, the prompting frame also shows group identification.Pass through the prompting Frame obtains the period that user selects to recover, for example, the group members that user may be selected to be deleted in 3 days are 2 people.
Further, recovery request is sent to server by terminal, if removing members, then server by deletion into Member is added in corresponding group data.If dismissing group, then the group data of the group is labeled as available by server, And return to corresponding prompt message and shown to terminal.As shown in fig. 7, group data is labeled as can use by server, then service The group data of the group preserved in device reverts to available.It can show that corresponding prompting frame is used to prompt group to revert in terminal Member, wherein including group identification, the number of members of recovery etc..As shown in figure 8, after due to recovering the group after dismissing, server The group data of the group of middle storage reverts to available, and group information, including group name, group are stored in group data Information about firms, chat record etc. all revert to available, and the chat interface of the group can be shown in terminal, can be extensive in chat interface Information about firms and chat record of the multiple group etc..Gone through as shown in figure 8, can still be viewed in the chat interface of the group History chat record.
Step 414, the current founder in group data corresponding to group identification is reverted into former founder.
In the present embodiment, if group corresponding to the group identification carried in group's recovery request that server receives grasps Make type to transfer the possession of group, then the current founder in the group data of the group can be revised as former founder by server, i.e., By the group master that user's identification recovery is the group.Server notifies terminal after recovering group's success, and terminal display recovers to transfer the possession of group Group successful information.It is successfully recovered as shown in figure 9, terminal can eject prompting frame prompting, user has turned into the group master of the group.
Further, after server recovers group's success, generation system message can be separately sent to former group and advocated peace new group Main place terminal.For example, group transfers user B by user A, generally, the keeper that group can only transfer group uses Family.After server receives the recovery request of the group, group master is reverted into user A by user B, and generates system message difference Terminal where being sent to user A and user B.As shown in Figure 10 A, terminal where user A receives what prompting group was successfully recovered System message.As shown in Figure 10 B, terminal where user B receives group by the system message of the main withdrawal of former group.Such as Figure 10 C institutes Show, terminal where other administrators of group receives the system message that group have changed group master.
In order that the principle for obtaining group's restoration methods that the embodiment of the present invention provided is clearer, with reference to one Specific example illustrates.In the example, as shown in figure 11, the inside structure of server includes Web server, recovers clothes Business device, group's background server, pipelined data storage server and flowing water server.It should be noted that the server internal Framework is applied to terminal asks to recover the situation of group by Web page form, it is to be understood that, terminal can also pass through other shapes Application in formula such as computer client or intelligent terminal is asked to ask to recover group using client or application It is that server internal framework can omit Web server to recover group.It will also be appreciated that the inside structure of server is not The framework shown in Figure 11 is confined to, in other embodiments, the function of certain server can be also integrated in same server.
As shown in figure 11, Web server is the entrance with user mutual, is interacted by outer net and user terminal, is connect Receive the various of user terminal transmission and ask summed data.Web server is carried out data transmission by Intranet and various servers, will be used What family terminal was sent, which ask summed data to be forwarded to each server, is handled.Group's background server is responsible for storing group data, It can be stored according to the dimension of group identification in shared drive, and using group identification as index, therefore group identification can be passed through Quickly find corresponding group data.Pipelined data storage server is used to store groups operation record, and flowing water server is used In processing groups operation, after groups operation is received, groups operation content is parsed, phase is gone out according to groups operation type-collection The groups operation record answered, and store into pipelined data storage server.For example, flowing water server process dismisses group Operation, extract groups operation time, groups operation type, group identification, user's mark, group information etc., and by the group Group operation note is identified as dimension storage into pipelined data storage server with user.Pipelined data storage server provides fast Quick checking is looked for, filtered and according to functions such as groups operation time-sequencings, is used during for recovering, while the pipelined data storage charges is military Device also has multicopy deployment disaster tolerance function.Recover the logical process that server is used for recovery process, when receiving Web server During group's recovery request of transmission, according to the group identification carried in group's recovery request from pipelined data storage server and group Groups operation record and group data are got in group background server respectively, analyzes the action type of user, and according to group Group operation note and group data return to corresponding data and shown to terminal.
In order to which the interaction between each server is more clearly understood, the present invention is implemented with reference to timing diagram Group's restoration methods that example is provided are described in detail.As shown in figure 12, based on the server internal framework shown in Figure 11, group The detailed process of group restoration methods is as follows:
1) terminal produces operation requests, the requests such as the member dismissed in group, transfer group, deletion group and is sent to group Group background server, group's background server receives these operation requests, according to the user label detection user carried in request Whether having permission execution, these are operated, and generally only group is main could dismiss group or transfer the possession of group, and the keeper in group has the right Limit deletes the member in group.If dismissing group, the group data list that group's background server then still preserves the group will The group data is labeled as unavailable;If transferring the possession of group, the group in group data is majored in and is changed to by group's background server New group;If removing members, group's background server then deletes the corresponding information about firms in group data.Group backstage takes After business device has been handled, operating result is returned to terminal.
2) group's background server makes a copy for groups operation and recorded flowing water service after the operation requests of terminal have been handled Device, after flowing water server receives groups operation record, groups operation is recorded as index using group identification and preserves band flowing water number Success notification is successfully returned later to flowing water server according in storage server, pipelined data processing server preserves.
3) terminal can ask to show recoverable group list, recover server and receive the request, carried according in request User identify from pipelined data storage server read user groups operation record, pipelined data server return group Operation note to recover server.Recover server and group number is read from group's background server according to groups operation record According to, according to groups operation record and group data, business logic processing is carried out, extracts recoverable group list, can be extensive Multiple group list is sent to terminal and is shown, and can show recoverable group list in terminal, including dismiss, transfer the possession of, delete Except member and the group list exited and point of corresponding operating time.
4) user can select a recoverable group by terminal, and group's recovery request is sent into recovery server, Search the number that some group can recover within a certain period of time.Recover server and receive group's recovery request, according to the request The group identification of carrying read from pipelined data storage server groups operation record, and according to group identification from group backstage Group is inquired about in server and dismisses the information such as state, group member number, the group information inquired.Recover server pair Than operating front and rear data, the group member number that can recover is returned to terminal after carrying out logical process.
5) terminal selection recovers member, and terminal is sent to recovery server to be recovered group, recovers group member and withdrawal Group appeal, recover server and read groups operation record from pipelined data storage server.And identified according to user and judge to use Whether family, which has permission, is recovered group, if so, then reading group data from group's background server, contrasts group data and group Operation note, for the group after dismission, then by group data labeled as can use, for the group after transfer, then by group Current founder reverts to former founder, for removing members, then the information about firms of deletion is added in group data, is then returned Operating result is returned to terminal.
As shown in figure 13, in one embodiment, a kind of group's recovery device is additionally provided, the device includes:
Operation note acquisition module 1302, request being obtained for receiving group, the group obtains request and carries user's mark, The groups operation record for obtaining user is identified according to user.
Group returns to module 1304, can recover group list for recording return according to groups operation.
Group's recovery module 1306, for receiving group's recovery request, group's recovery request carries the group that request recovers Group mark, corresponding groups operation record and group data are obtained according to group identification, according to groups operation record and group number Recovery operation is carried out according to group.
In the present embodiment, pipelined data to groups operation have recorded in groups operation record, including the groups operation time, Groups operation type, group information etc..Wherein, the groups operation time refers to the time operated to group, for example, dismiss or Transfer the possession of the time of group, the time for deleting some member etc..Groups operation type includes but is not limited to dismiss group, transfers the possession of group Operated with removing members etc..Group information includes the main information of group, group member information etc..Further, group returns to module 1306 can be used for the group of graceful degree certain predetermined condition during groups operation is recorded as can recover group.For example, one will be met The group's conduct for condition of fixing time can recover group.
In one embodiment, groups operation record includes groups operation time and groups operation type;Group returns to mould Block 1304, which is used to be returned according to groups operation time and groups operation type, can recover group list, wherein, group column can be recovered The time difference of the groups operation time for recovering group included in table and current time is in groups operation type corresponding time In threshold range.
Groups operation time and groups operation type are comprised at least in groups operation record, groups operation type includes dismissing The operations such as the member in group, transfer group and deletion group.The groups operation that different groups operations is preserved records interior Holding can be different.Specifically, for dismiss groups operation, preservation groups operation record include group identification, the groups operation time, Groups operation type and the main information of group etc..For transferring the possession of groups operation, the groups operation record of preservation includes group identification, group Operating time, groups operation type, the main information of former group and the main information of new group etc..Operated for removing members, the group behaviour of preservation Noting down may include group identification, groups operation time, groups operation type, the information about firms etc. deleted.Further, group Return module 1304 be used for using after operation not less than the group of certain time threshold range as group can be recovered.
In one embodiment, if group's recovery module 1306 is used for groups operation type corresponding to group identification to delete Except member, then deleted group member list is returned to according to group identification;The group member that selection recovers is obtained, will be selected extensive Multiple group member is added in group data corresponding to group identification.
In the present embodiment, when terminal initiates group's recovery request, if groups operation type is corresponding to group identification Removing members, then group's recovery module 1306 is according to group identification inquiry groups operation record, acquisition groups operation time gap The groups operation that the time difference of current time is no more than preset time threshold records, and obtains being deleted in groups operation record Information about firms form recoverable group member list, and be back to terminal and shown.Terminal passes through recoverable group Members list selects the group member recovered, and group's recovery module 1306 then can be used for that the group that is added to recovered will be selected In group data.
In one embodiment, if group's recovery module 1306 is used for groups operation type corresponding to group identification for solution Group is dissipated, then is identified as group data corresponding to group identification available.
In the present embodiment, when terminal initiates group's recovery request, if group corresponding to the group identification that request recovers Action type for dismiss group, then group's recovery module 1306 be used for according to group identification inquire about groups operation record, according to Whether family identity verification user, which has permission, is recovered the group, for example, there is provided the main group that could recover to dismiss of only group.If It is verified, the group is labeled as can use by group's recovery module 1306, meanwhile, the information about firms in group data is obtained, will Information about firms is returned in group.
In one embodiment, if group's recovery module 1306 is used for groups operation type corresponding to group identification to turn Allow group, then the current founder in group data corresponding to group identification is reverted into former founder.
In the present embodiment, when terminal initiates group's recovery request, if group corresponding to the group identification that request recovers Action type for transfer the possession of group, then group's recovery module 1306 be used for according to group identification inquire about groups operation record, according to Family identity verification number of users, which no can have permission, withdraws group, only has main just have permission of former group to recover what is transferred the possession of away for example, setting Group.If the verification passes, group's recovery module 1306 is original available for the current founder in the group data is reverted to The person of building, that is, revert to former group master.
In one embodiment, it is if group's recovery module 1306 is additionally operable to groups operation type corresponding to group identification Removing members dismiss group, then inquire about recoverable group member according to group identification, return to recoverable group member institute Period;The period that selection recovers is obtained, will if groups operation type corresponding to group identification is removing members The group member deleted in the period for selecting to recover is added in group data corresponding to group identification, if group identification pair The groups operation type answered is dismisses group, then the group that will select to dismiss in the period of recovery is labeled as available.
Due to the group after the group for the member that undeletes or dismission, it is required for recovering the member in group, the present embodiment Period recovery member can be distinguished.Specifically, group's recovery module 1306 is used to receive the group identification that request recovers, according to Group identification finds corresponding groups operation record and group data, obtains the groups operation type in groups operation record, If dismissing group, then the information about firms in group data is obtained, if removing members, then obtained in groups operation record The information about firms of deletion, further obtain recoverable group member.For example, if dismissing group, then obtain and dismiss the time Not less than the information about firms in the group of preset time threshold, if removing members, then the time for obtaining removing members does not surpass Cross the information about firms of preset time threshold.
Further, the period that group's recovery module 1306 is used for where returning to recoverable group member to terminal, Wherein, the period refer to group member occur groups operation when apart from the period residing for the time difference of current time.For example, Group members deleted in the group members deleted in 1 week, or 2 weeks etc..Terminal shows the recoverable group member of different time sections List, group's recovery module 1306 obtains the period that terminal selection recovers group members, if removing members, then by the time The member deleted in section is added in group data, if dismissing group, then is labeled as can use by the group, then the period Interior member has been returned in group data.In the present embodiment, time segment recovers group member so that recovers group member more Add with flexibility.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (12)

1. a kind of group's restoration methods, including:
Receive group and obtain request, the group obtains request and carries user's mark, identified according to the user and obtain user's Groups operation records;
Group list can be recovered by recording return according to the groups operation;
Group's recovery request is received, group's recovery request carries the group identification that request recovers, according to the group identification Corresponding groups operation record and group data are obtained, group is recovered according to groups operation record and group data Operation.
2. group's restoration methods according to claim 1, it is characterised in that the groups operation record includes groups operation Time and groups operation type;It is described that group list can be recovered according to groups operation record return, including:
Group list can be recovered by being returned according to the groups operation time and groups operation type, wherein, it is described to recover group The groups operation time for recovering group included in list is corresponding in the groups operation type with the time difference of current time Time threshold in the range of.
3. group's restoration methods according to claim 1, it is characterised in that described according to groups operation record and group number Recovery operation is carried out according to group, including:
If groups operation type corresponding to the group identification is removing members, is returned and be deleted according to the group identification Group member list;
The group member that selection recovers is obtained, the group member that the selection recovers is added to group corresponding to the group identification In group data.
4. group's restoration methods according to claim 1, it is characterised in that described according to groups operation record and group number Recovery operation is carried out according to group, including:
If groups operation type corresponding to the group identification is dismisses group, by group number corresponding to the group identification According to labeled as available.
5. group's restoration methods according to claim 1, it is characterised in that described according to groups operation record and group number Recovery operation is carried out according to group, including:
If groups operation type corresponding to the group identification is transfers the possession of group, by group number corresponding to the group identification Current founder in reverts to former founder.
6. group's restoration methods according to claim 1, it is characterised in that described according to groups operation record and group number Recovery operation is carried out according to group, including:
If groups operation type corresponding to the group identification is removing members or dismisses group, inquired about according to group identification Recoverable group member, return to the period where the recoverable group member;
The period that selection recovers is obtained, if groups operation type corresponding to the group identification is removing members, by institute State the group member deleted in the period that selection recovers to be added in group data corresponding to the group identification, if described Groups operation type corresponding to group identification then marks the group dismissed in the period of the selection recovery to dismiss group It is available.
7. a kind of group's recovery device, it is characterised in that described device includes:
Operation note acquisition module, request is obtained for receiving group, the group obtains request and carries user's mark, according to institute State user and identify the groups operation record for obtaining user;
Group returns to module, can recover group list for recording return according to the groups operation;
Group's recovery module, for receiving group's recovery request, group's recovery request carries the group identification that request recovers, Corresponding groups operation record and group data are obtained according to the group identification, according to groups operation record and group number Recovery operation is carried out according to group.
8. device according to claim 7, it is characterised in that the groups operation record includes groups operation time and group Group action type;The group returns to module and is used to that according to the groups operation time and the return of groups operation type group can be recovered Groups List, wherein, the groups operation time for recovering group for recovering to include in group list and current time when Between difference corresponding to the groups operation type in the range of time threshold.
9. device according to claim 7, it is characterised in that if group's recovery module is used for the group identification Corresponding groups operation type is removing members, then deleted group member list is returned according to the group identification;Obtain The group member recovered is selected, the group member that the selection recovers is added to group data corresponding to the group identification In.
10. device according to claim 7, it is characterised in that if group's recovery module is marked for the group Groups operation type corresponding to knowledge is dismisses group, then by group data corresponding to the group identification labeled as available.
11. device according to claim 7, it is characterised in that if group's recovery module is marked for the group Groups operation type corresponding to knowledge is to transfer the possession of group, then extensive by the current founder in group data corresponding to the group identification It is former founder again.
12. device according to claim 7, it is characterised in that if group's recovery module is additionally operable to the group Groups operation type corresponding to mark is removing members or dismisses group, then inquiring about recoverable group according to group identification forms Member, return to the period where the recoverable group member;The period that selection recovers is obtained, if the group identification Corresponding groups operation type is removing members, then the group member deleted in the period of the selection recovery is added into institute State in group data corresponding to group identification, will if groups operation type corresponding to the group identification is dismission group The group dismissed in the period that the selection recovers is labeled as available.
CN201610651978.3A 2016-08-10 2016-08-10 Group recovery method and device Active CN107733662B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610651978.3A CN107733662B (en) 2016-08-10 2016-08-10 Group recovery method and device
PCT/CN2017/095549 WO2018028484A1 (en) 2016-08-10 2017-08-02 Group restoration method, server, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610651978.3A CN107733662B (en) 2016-08-10 2016-08-10 Group recovery method and device

Publications (2)

Publication Number Publication Date
CN107733662A true CN107733662A (en) 2018-02-23
CN107733662B CN107733662B (en) 2020-04-03

Family

ID=61162682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610651978.3A Active CN107733662B (en) 2016-08-10 2016-08-10 Group recovery method and device

Country Status (2)

Country Link
CN (1) CN107733662B (en)
WO (1) WO2018028484A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365931A (en) * 2019-07-05 2019-10-22 聚好看科技股份有限公司 The control method and device of multi-party call, electronic equipment, storage medium
CN112748851A (en) * 2019-10-30 2021-05-04 北京白山耘科技有限公司 Data reading method, device and system
CN112835658A (en) * 2019-11-22 2021-05-25 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN113595857A (en) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 Group operation method, device, equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970133B (en) * 2019-05-20 2023-07-14 广州腾讯科技有限公司 Group processing method, group processing device, computer readable storage medium and computer equipment
CN114401160B (en) * 2022-01-19 2022-12-02 腾讯科技(深圳)有限公司 Data processing method, device, server, terminal and storage medium
CN117914844A (en) * 2022-10-17 2024-04-19 华为技术有限公司 Data processing method, readable storage medium, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009670A (en) * 2007-01-22 2007-08-01 阿里巴巴公司 A method and system for implementing the group communication based on the instant communication
US20100174792A1 (en) * 2007-05-29 2010-07-08 Panasonic Corporation Group forming system
CN103984887A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Method and device for controlling user permission
CN104598324A (en) * 2014-10-13 2015-05-06 腾讯科技(深圳)有限公司 Method and device for recovering deleted information
CN105024838A (en) * 2014-04-15 2015-11-04 腾讯科技(深圳)有限公司 State recovery method of multi-user communication platform and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009670A (en) * 2007-01-22 2007-08-01 阿里巴巴公司 A method and system for implementing the group communication based on the instant communication
US20100174792A1 (en) * 2007-05-29 2010-07-08 Panasonic Corporation Group forming system
CN105024838A (en) * 2014-04-15 2015-11-04 腾讯科技(深圳)有限公司 State recovery method of multi-user communication platform and system thereof
CN103984887A (en) * 2014-05-30 2014-08-13 小米科技有限责任公司 Method and device for controlling user permission
CN104598324A (en) * 2014-10-13 2015-05-06 腾讯科技(深圳)有限公司 Method and device for recovering deleted information

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365931A (en) * 2019-07-05 2019-10-22 聚好看科技股份有限公司 The control method and device of multi-party call, electronic equipment, storage medium
CN110365931B (en) * 2019-07-05 2021-07-30 聚好看科技股份有限公司 Multi-party call control method and device, electronic equipment and storage medium
CN112748851A (en) * 2019-10-30 2021-05-04 北京白山耘科技有限公司 Data reading method, device and system
CN112835658A (en) * 2019-11-22 2021-05-25 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN112835658B (en) * 2019-11-22 2023-10-27 腾讯科技(深圳)有限公司 Conversation room processing method and device
CN113595857A (en) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 Group operation method, device, equipment and storage medium
CN113595857B (en) * 2020-04-30 2022-10-14 北京字节跳动网络技术有限公司 Group operation method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2018028484A1 (en) 2018-02-15
CN107733662B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN107733662A (en) Group's restoration methods and device
US11562021B2 (en) Coordinating communication and/or storage based on image analysis
CN107733771B (en) Cross-group management method and device
TW201931229A (en) Access method for shared space, and permission management method and apparatus
KR101247859B1 (en) Dynamic content preference and behavior sharing between computing devices
CN110598441B (en) User privacy protection method and device
CN105049336A (en) Method and system for processing instant communication messages, server and client
CN105847130A (en) Instant messaging application chatting record processing method and device
JP2018517197A (en) How to capture layered screen content
CN108353018A (en) Send the method, apparatus and system of message
CN106796534A (en) The service quality provided by application is provided based on mandatory system support
CN105933495A (en) Address book contact person managing method and device, and mobile terminal
CN106803032A (en) Realize method, device and client device that website fingerprint is logged in
US10133639B2 (en) Privacy protection of media files for automatic cloud backup systems
US20170228292A1 (en) Privacy Protection of Media Files For Automatic Cloud Backup Systems
Messier Collaboration with cloud computing: Security, social media, and unified communications
CN113010255B (en) Interaction method and device based on binding session group and computer equipment
CN106254364A (en) Computer desktop service access apparatus under a kind of Multi net voting isolation environment and method
CN104463014B (en) A kind of oracle database guard method based on snapshot
CN107547471A (en) The method and apparatus for realizing task follow-up
CN102750198B (en) A kind of backup method of social network sites content and system
CN111639316A (en) Information processing method and device for WEB page
CN104486487B (en) A kind of contact head image edit methods and terminal
CN106250274A (en) The backup method of a kind of virtual machine and device
US11556498B2 (en) Longevity management of social network data

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