A task list sharing method, device, equipment and medium
By determining access permissions when sharing task lists in collaborative scenarios and displaying preview data, the problem of inconvenient task management is solved and the user experience is improved.
Patent Information
- Application Number
- CN202211625213.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-12-16
AI Technical Summary
In collaborative scenarios, when users need to manage multiple tasks, the tasks are scattered and distributed, making management inconvenient and affecting the user experience.
A task list sharing method is provided. By responding to the user's sharing operation, the access rights of the shared user are determined, and the preview data of the task list is displayed in the display interface to ensure that the permissions match.
It enables convenient sharing and management of task lists, improves the user experience, and ensures that different users can view relevant information according to their permissions.
Smart Images

Figure CN116016420B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly to a task list sharing method, apparatus, device, and medium. Background Art
[0002] In collaborative scenarios, users often need to receive and process multiple tasks. These tasks are often scattered and fragmented, making them difficult to manage and impacting the user experience. Effective task management is a pressing technical challenge. Summary of the Invention
[0003] In view of this, embodiments of the present disclosure provide a task list sharing method, apparatus, device, and medium, so as to achieve rapid sharing of task lists with different users, making it easier for different users to view task lists and improving user experience.
[0004] To achieve the above objectives, the embodiments of the present disclosure provide the following technical solutions:
[0005] In a first aspect of an embodiment of the present disclosure, a task list sharing method is provided, the method comprising:
[0006] In response to a sharing operation triggered by a first user on the target task list, determining access permissions that a second user corresponding to the sharing operation has for the target task list;
[0007] Based on the access permission, preview data corresponding to the target task list is displayed in a display interface of the second user corresponding to the sharing operation.
[0008] In a second aspect of an embodiment of the present disclosure, a task list sharing device is provided, the device comprising:
[0009] a determining unit, configured to, in response to a sharing operation triggered by a first user on the target task list, determine the access rights that a second user corresponding to the sharing operation has with respect to the target task list;
[0010] A display unit is configured to display, based on the access permission, the preview data corresponding to the target task list in a display interface of the second user corresponding to the sharing operation.
[0011] In a third aspect of an embodiment of the present disclosure, an electronic device is provided, the device comprising: a processor and a memory;
[0012] The memory is used to store instructions or computer programs;
[0013] The processor is configured to execute the instructions or computer program in the memory so that the electronic device executes the method described in the first aspect.
[0014] In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a device, the device executes the method described in the first aspect.
[0015] In a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, wherein the computer program product includes a computer program / instructions, and when the computer program / instructions are executed by a processor, the method described in the first aspect is implemented.
[0016] It can be seen that the embodiments of the present disclosure have the following beneficial effects:
[0017] In an embodiment of the present disclosure, when a sharing operation triggered by a first user on a target task list is received, the access rights that the second user corresponding to the sharing operation has for the target task list are determined. The second user is the user being shared. After determining the access rights that the second user has for the target task list, the preview data corresponding to the target task list is displayed in the display interface corresponding to the sharing operation of the second user based on the access rights. That is, through the technical solution provided by the embodiment of the present disclosure, the task list can be shared, and when sharing, the access rights that the shared user has for the task list are first determined, and then the preview data of the task list is displayed on the display interface corresponding to the shared user according to the access rights, thereby facilitating different users to view the information of the task list and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1 A flowchart of a task list sharing method provided in an embodiment of the present disclosure;
[0020] Figure 2a A schematic diagram of trigger sharing provided in an embodiment of the present disclosure;
[0021] Figure 2b A schematic diagram of editing second user access rights provided by an embodiment of the present disclosure;
[0022] Figure 2c Another schematic diagram of editing second user access rights provided by an embodiment of the present disclosure;
[0023] Figure 3a A schematic diagram of displaying a task list preview card in a conversation provided by an embodiment of the present disclosure;
[0024] Figure 3b A schematic diagram of a preview card corresponding to a blank task list provided in an embodiment of the present disclosure;
[0025] Figure 3c A schematic diagram of a card preview after a task list is deleted provided by an embodiment of the present disclosure;
[0026] Figure 3d A schematic diagram of a preview card corresponding to a non-access permission provided in an embodiment of the present disclosure;
[0027] Figure 4a A schematic diagram of an interface for applying for access rights provided in an embodiment of the present disclosure;
[0028] Figure 4b A schematic diagram of a notification message sent to an owner provided by an embodiment of the present disclosure;
[0029] Figure 4c A schematic diagram of a notification message sent to an applicant provided in an embodiment of the present disclosure;
[0030] Figure 4d Another schematic diagram of displaying a task list preview card in a conversation provided by an embodiment of the present disclosure;
[0031] Figure 5 A structural diagram of a task list sharing device provided in an embodiment of the present disclosure;
[0032] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the embodiments of the present invention.
[0034] In the embodiments of the present disclosure, to facilitate task management, multiple tasks are managed by creating a task list. Considering that most collaboration currently occurs in conversations or cloud documents, to facilitate collaboration, the task list can be shared so that it can be browsed in different collaboration scenarios, facilitating user collaboration.
[0035] Based on this, an embodiment of the present disclosure provides a task list sharing method. First, in response to a sharing operation triggered by a first user on a target task list, the access rights of a second user corresponding to the sharing operation to the target task list are determined. After determining the access rights of the second user to the target task list, the preview data corresponding to the target task list is displayed on the display interface corresponding to the sharing operation of the second user according to the access rights, so that the second user can directly browse the relevant information of the target task list through the display interface, thereby improving the user experience.
[0036] To facilitate understanding of the technical solutions provided by the embodiments of the present disclosure, they will be described below with reference to the accompanying drawings.
[0037] See also Figure 1 , this figure is a flow chart of a task list sharing method provided by an embodiment of the present disclosure. The method can be executed by a client, which can have the function of creating and / or sharing a task list and is installed in an electronic device. The electronic device can include a mobile phone, tablet computer, laptop computer, desktop computer, vehicle-mounted terminal, wearable electronic device, all-in-one machine, smart home device and other devices with communication functions, and can also be a device simulated by a virtual machine or simulator. Figure 1 As shown, the method may include the following steps:
[0038] S101: In response to a sharing operation triggered by a first user on a target task list, determining access rights that a second user corresponding to the sharing operation has on the target task list.
[0039] In this embodiment, when a first user triggers a sharing operation on a target task list, the access rights of the user (second user) to the target task list are determined. The first user can trigger the sharing operation on any client interface that includes the target task list, such as the task center interface, instant messaging session interface, collaboration space interface, cloud document interface, etc.
[0040] In one embodiment of the present disclosure, in response to a sharing operation triggered by a first user on a target task list, determining the access rights that a second user corresponding to the sharing operation has for the target task list includes: obtaining the link to the target task list in response to an operation triggered by the first user to copy a link to the target task list; and determining the access rights that the second user corresponding to the sharing operation has for the target task list in response to a sharing operation triggered by the first user on the link to the target task list. That is, the first user can share the target task list by copying the link to the target task list.
[0041] Among them, the access rights that the second user has to the target task list are not higher than the access rights that the first user has to the target task list. That is, when the first user shares the target task list, the access rights spread by the first user cannot exceed the access rights that the first user has. For example, when the first user has read permission on the target task list, the second user can have read permission on the target task list; when the first user has edit permission on the target task list, the second user can have read permission or edit permission on the target task list; when the first user has no access permission to the target task list, the third user also has no access permission to the target task list.
[0042] Among them, access rights include editing rights and reading rights. Editing rights mean that you can not only read the target task list, but also edit the configuration information of the target task list and edit the tasks included in the target task list. Among them, editing the configuration information corresponding to the target task list may include editing the title of the target task list, the members corresponding to the target task list, etc. Among them, reading rights mean that you can only read and / or comment on the target task list, read and / or comment on the tasks included in the target task list, but cannot edit the configuration information of the target task list, cannot create or add tasks in the target task list, and cannot edit the tasks included in the target task list. Among them, editing rights include reading rights.
[0043] In some embodiments, if the first user has editing permissions for the target task list, before sharing the target task list with the second user, an editing interface is displayed for editing the second user's access permissions to the target task list. That is, before sharing the target task list with the second user, the first user can edit the second user's access permissions to the target task list.
[0044] If the first user has edit permissions for the target task list, after sharing the target task list with the second user, the first user can modify the second user's access permissions to the target task list in response to the edit operation triggered by the first user. In other words, after sharing the target task list with the second user, the first user can modify the second user's access permissions to the target task list.
[0045] That is, when sharing the target task list with the second user, or after sharing, the first user can modify the second user's access rights to the target task list, thereby providing users with different operation methods and improving operational convenience.
[0046] Specifically, when the first user triggers a sharing operation for a target task list, the user to be shared (the second user) can be selected in the sharing interface and the access rights of the second user to the target task list can be edited. For ease of understanding, the following example uses the first user triggering a sharing operation in the task center interface as an example.
[0047] See also Figure 2a As shown, a target task list titled "Innovation-related Special Project" is displayed on the task center interface. The first user triggers the share control to display the sharing interface 300. In this sharing interface 300, the first user can search for the user, group, and other information to be shared, or trigger the "+" control to enter the selection interface 400. Through the selection interface 400, a single user or group in the organizational structure can be selected.
[0048] After the user determines the user to share with through the sharing interface 300 or the selection interface 400, the user ID of the selected second user can be displayed in the sharing interface 300. The user ID can include a user avatar and a user name. Among them, for the selected second user, the second user can be given default access rights to the target task list, such as reading rights. Or, during the sharing operation, the second user's access rights to the target task list can be set. For example Figure 2b As shown, the user IDs of the selected multiple second users are displayed in the invitation box, and the access rights of the multiple second users to the target task list can be set. In this case, the access rights corresponding to the multiple second users are the same, specifically, they can be read permissions or edit permissions. Or, as Figure 2c As shown, the user identifications of the selected multiple second users are displayed in separate rows, and the first user can set the access rights for the multiple second users respectively, thereby setting different access rights for different second users.
[0049] After setting the access rights corresponding to each second user through the above-mentioned sharing interface 300, triggering the sending control, the target task list is shared to the display interface corresponding to each second user.
[0050] Among them, after the first user shares the target task list with the second user through the task center interface, the second user can view the target task list in the corresponding task center interface, and / or the second user can view the target task list in the conversation interface established between him and the first user.
[0051] S102: Displaying preview data corresponding to the target task list in a display interface corresponding to the sharing operation of the second user based on the access permission.
[0052] After the sharing operation is completed, the client will display the preview data corresponding to the target task list in the display interface corresponding to the sharing operation of the second user based on the access rights. That is, when the second user has access rights to the target task list or does not have access rights, the preview data they can see on the display interface is different.
[0053] In the scenario where the first user shares the target task list to the first session, the second user's display interface corresponding to the sharing operation is the interface of the first session, and the first user and the second user are both members of the first session. Alternatively, in the scenario where the first user shares the target task list to the first cloud document, the second user's display interface corresponding to the sharing operation is the cloud document interface of the first cloud document, and the first user and the second user are both collaborators of the first cloud document. Specifically, when sharing the target task list, the first user can select all or some members of the first session to share, or select all or some collaborators in the first cloud document to share, which is not limited in this embodiment.
[0054] In this embodiment, the task list is a task container for accommodating tasks. The task list may include one or more tasks. In some embodiments, the task list may also have a state containing 0 tasks. In some embodiments, tasks can be created in the task list, and existing tasks can be added to the task list. The tasks therein can be managed and operated based on the task list. In some embodiments, the task list does not depend on other entities in the client and can exist independently. For example, the task list does not depend on entities such as groups, teams, documents, meetings, collaborative spaces, departments, and projects. The client can be an application for collaborative office work, such as an application with IM functions as the main function, an application with task functions as the main function, or an office suite application that integrates IM, tasks, documents and other functions.
[0055] In some implementations, a user can trigger the action of adding a target task list as a session tab in the session interface. Specifically, a user can add the same task list as a session tab to multiple unrelated sessions, or add the same task list as a session tab to multiple sessions with specific associations.
[0056] The absence of association between multiple sessions may mean that there is no affiliation between the multiple sessions, and that the multiple sessions do not belong to the same other entity (such as a group, team, workspace, department, project, etc.). For example, the first session and the second session are not sessions in the same team or workspace. Thus, in these embodiments, task lists can be flexibly and freely added to the session tag of any session. The presence of a specific association between multiple sessions may mean that the multiple sessions belong to the same other entity (such as a group, team, workspace, department, project, etc.).
[0057] It can be seen that when a sharing operation triggered by the first user on the target task list is received, it is determined that the sharing operation corresponds to the access rights that the second user has for the target task list. Among them, the second user is the shared user. After determining the access rights that the second user has for the target task list, the preview data corresponding to the target task list is displayed in the display interface corresponding to the sharing operation of the second user based on the access rights. That is, through the technical solution provided by the embodiment of the present disclosure, the task list can be shared, and when sharing, the access rights that the shared user has for the task list are first determined, and then the preview data of the task list is displayed on the display interface corresponding to the shared user according to the access rights, thereby facilitating different users to view the information of the task list and improving the user experience.
[0058] In some implementations, in response to a triggering operation of the second user on the target task list in the display interface, an independent window is displayed, and information in the target task list is presented in the independent window.
[0059] Among them, if the second user has access rights to the target task list, the preview data includes at least one or more of the following: the title of the target task list, the owner identifier of the target task list, the collaborator identifier of the target task list, and the access rights information of the second user. Among them, the collaborators of the target task list, that is, the members of the target task list, can read or edit the target task list. If the second user does not have access rights to the target task list, the preview data includes a first prompt message and a first control. Among them, the first prompt message is used to prompt that the user does not have access rights to the target task list, and the first control is used to apply for access rights.
[0060] In some embodiments, if the second user has access rights to the target task list and the target task list includes overdue tasks, the preview data may include relevant information about the overdue tasks, and in some embodiments the relevant information about the overdue tasks may include the number of overdue tasks; and / or, the preview data includes relevant information about at least some of the tasks in the target task list, and the relevant information about at least some of the tasks may include the task title, creator, deadline, and the number of subtasks included in the parent task, etc.
[0061] In some embodiments, if the second user has access rights to the target task list, the preview data includes one or more of the following controls: a second control for opening the target task list in the task center interface; a third control for adding the target task list as a session tag of the session interface if the display interface corresponding to the second user is a session interface; and a fourth control for copying a link to the target task list.
[0062] Since the link of the target task list can be copied through the fourth control, the sharing operation triggered by the first user on the target task list can be shared by triggering the fourth control. Specifically, in response to the first user's triggering operation on the fourth control, the link of the target task list is obtained; in response to the sharing operation triggered by the first user on the link of the target task list, the access rights of the second user corresponding to the sharing operation to the target task list are determined. Specifically, the first user can copy the link of the target task list to send the link of the target task list to the same session in which the first user and the second user are both in, or paste the link of the target task list into the same cloud document in which the first user and the second user are both collaborators.
[0063] Specifically, when the client displays the preview data corresponding to the target task list in the second user's interface corresponding to the sharing operation based on the access rights, the preview data can be displayed in the form of a preview card. Specifically, a preview card of the target task list is displayed in the second user's display interface corresponding to the sharing operation, and the preview data is carried by the preview card.
[0064] For example, Figure 3a As shown, a target task list is shared in the conversation interface corresponding to the second user, and the corresponding preview data of the target task list is displayed in preview card 300. Specifically, the target task list includes the title "Go, Go, Go", the creator, the number of overdue tasks, the collaborator ID, and related information about the included tasks. Because the second user has read permission for the target task list, the second control 301, the third control 302, and the fourth control 303 can be displayed in preview card 300.
[0065] In some embodiments, if the target task list is a blank task list (a task list that does not include any tasks), the preview card is displayed in the following manner: Figure 3b As shown, the target task list has a title "Go Go Go", a creator, a collaborator identifier, and a blank document icon. Since the second user has read permission for the target task list, the second control, the third control, and the fourth control can be displayed in the preview card.
[0066] In some embodiments, if the target task list is deleted, a second prompt message may be displayed in the preview card, and the second prompt message is used to prompt that the target task list is deleted. Figure 3c As shown, the reading permission of the second user and the fourth control can still be displayed.
[0067] If the second user does not have access rights to the target task list, the preview card will be displayed as follows: Figure 3dAs shown, the first prompt message "You do not have access rights", the first control 304 and the fourth control 303 are displayed. Among them, through the first control 304, you can apply for access rights to the owner of the target task list. When the user triggers the first control 304, the permission application interface can be displayed, such as Figure 4a As shown, in the permission application interface 400 , the user can modify the application for reading permission or editing permission, and can also make remarks in the input box displayed in the interface 400 .
[0068] When a user sends a permission request to the owner of a target task list, the client can send a notification message to the owner to inform the owner that the user has requested permission to access the target task list. For example, Figure 4b As shown in the figure, the task assistant can automatically send a notification message, which can display the applicant's user ID, the title of the target task list, notes, consent controls, and rejection controls. No matter which control the owner triggers, a notification message will be sent to the applicant to inform him of the application result. When the owner triggers the consent control, the notification message sent to the applicant is as follows: Figure 4c As shown in the figure above; when the owner triggers the rejection control, the notification message sent to the applicant is as follows Figure 4c As shown in the figure below.
[0069] In some embodiments, when the first user views the task list preview card, a preview card of the target task list is displayed in the first user's interface corresponding to the sharing operation, and the preview card includes a fifth control for modifying the second user's access rights to the target task list. For example, Figure 4d As shown, when the user who shared the target task list views the preview card of the target task list through the conversation interface, the fifth control 305 can be displayed to modify the access rights of the members in the conversation to the target task list through the fifth control 305.
[0070] In this embodiment, the second user can also obtain a link to the target task list by triggering the fourth control displayed in the preview card of the target task list, and then share the target task list again, so that more users can view the relevant information of the target task list.
[0071] Based on the above method embodiment, the embodiment of the present disclosure further provides a task list sharing device and an electronic device, which will be described below with reference to the accompanying drawings.
[0072] See also Figure 5 , which is a structural diagram of a task list sharing device provided by an embodiment of the present disclosure, such as Figure 5 As shown, the sharing device 500 may include: a determining unit 501 and a display unit 502 .
[0073] A determining unit 501 is configured to determine, in response to a sharing operation triggered by a first user on a target task list, access permissions that a second user corresponding to the sharing operation has for the target task list;
[0074] The display unit 502 is configured to display the preview data corresponding to the target task list in the display interface of the second user corresponding to the sharing operation based on the access permission.
[0075] In some embodiments, the display unit 502 is further configured to display an independent window in response to a triggering operation of the second user on the target task list in the display interface, and to present the information in the target task list in the independent window.
[0076] In some embodiments, if the second user has access rights to the target task list, the preview data includes at least one or more of the following: the title of the target task list, the owner identifier of the target task list, the collaborator identifier of the target task list, and the access rights information of the second user; or, if the second user does not have access rights to the target task list, the preview data includes a first prompt message and a first control, the first prompt message is used to prompt that the user does not have access rights to the target task list, and the first control is used to apply for access rights.
[0077] In some implementations, the access permission includes editing permission or reading permission.
[0078] In some embodiments, if the second user has access rights to the target task list and the target task list includes overdue tasks, the preview data includes relevant information of the overdue tasks; or, the preview data includes relevant information of at least some tasks in the target task list.
[0079] In some implementations, if the second user has access rights to the target task list, the preview data includes one or more of the following controls:
[0080] A second control is used to open the target task list in the task center interface;
[0081] a third control, configured to add the target task list as a conversation tag of the conversation interface if the display interface corresponding to the second user is a conversation interface;
[0082] The fourth control is used to copy the link of the target task list.
[0083] In some embodiments, the determination unit 501 is specifically used to obtain a link to the target task list in response to an operation of copying the link to the target task list triggered by the first user; and in response to a sharing operation triggered by the first user on the link to the target task list, determine the access rights that the second user corresponding to the sharing operation has for the target task list.
[0084] In some implementations, the second user has no greater access rights to the target task list than the first user has to the target task list.
[0085] In some embodiments, the apparatus further comprises: a modification unit;
[0086] The display unit 501 is further configured to, if the first user has editing authority for the target task list, display an editing interface before sharing the target task list with the second user, the editing interface being used to edit the access authority that the second user has for the target task list;
[0087] The modification unit is configured to modify the access rights of the second user to the target task list in response to an editing operation triggered by the first user after the target task list is shared with the second user, if the first user has editing rights to the target task list.
[0088] In some implementations, the display unit 502 is specifically configured to display a preview card of the target task list in a display interface of the second user corresponding to the sharing operation.
[0089] In some embodiments, the display unit 502 is also used to display a preview card of the target task list in the first user's interface corresponding to the sharing operation, and the preview card includes a fifth control, and the fifth control is used to modify the second user's access rights to the target task list.
[0090] In some implementations, the display unit 502 is further configured to display a second prompt message in the preview card if the target task list is deleted, where the second prompt message is configured to prompt that the target task list is deleted.
[0091] In some embodiments, the display interface of the second user corresponding to the sharing operation is the session interface of the first session, and the first user and the second user are both members of the first session; or, the display interface of the second user corresponding to the sharing operation is the cloud document interface of the first cloud document, and the first user and the second user are both collaborators of the first cloud document.
[0092] It should be noted that the specific implementation of each unit in this embodiment can refer to the relevant description in the above-mentioned method embodiment. The division of units in the embodiment of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. The functional units in the embodiment of the present disclosure can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. For example, in the above-mentioned embodiment, the processing unit and the sending unit can be the same unit or different units. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0093] See also Figure 6 , which shows a schematic structural diagram of an electronic device 600 suitable for implementing the embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0094] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0095] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.
[0096] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0097] The electronic device provided by the embodiment of the present disclosure and the method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0098] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the method provided in the above embodiment is implemented.
[0099] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0100] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0101] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0102] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device can perform the method.
[0103] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the first user computer, partially on the first user computer, as a stand-alone software package, partially on the first user computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the first user computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit / module does not, in some cases, limit the unit itself.
[0106] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0107] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0108] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems or devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0109] It should be understood that in the embodiments of the present disclosure, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0110] It should also be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0111] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0112] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the embodiments of the present disclosure. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the embodiments of the present disclosure. Therefore, the embodiments of the present disclosure are not limited to the embodiments shown herein, but are intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A task list sharing method, characterized in that: The method comprises: In response to a sharing operation triggered by a first user on a target task list, determining access permissions that a second user corresponding to the sharing operation has for the target task list, where the target task list is a task container for managing tasks; displaying, based on the access permission, preview data corresponding to the target task list in a display interface corresponding to the sharing operation of the second user; If the second user has access rights to the target task list, the preview data includes one or more of the following: the title of the target task list, the owner identifier of the target task list, the collaborator identifier of the target task list, and access rights information of the second user; If the second user does not have access rights to the target task list, the preview data includes first prompt information and a first control, wherein the first prompt information is used to prompt that the second user does not have access rights to the target task list, and the first control is used to apply for access rights.
2. The method according to claim 1, characterized in that The method further comprises: In response to the second user's triggering operation on the target task list in the display interface, an independent window is displayed, and the information in the target task list is presented in the independent window.
3. The method according to claim 1, characterized in that The access permission includes editing permission or reading permission.
4. The method according to claim 1, wherein If the second user has access rights to the target task list and the target task list includes overdue tasks, the preview data includes relevant information of the overdue tasks; and / or, The preview data includes relevant information of at least some tasks in the target task list.
5. The method according to claim 1, wherein If the second user has access rights to the target task list, the preview data includes one or more of the following controls: A second control is used to open the target task list in the task center interface; a third control, configured to add the target task list as a conversation tag of the conversation interface if the display interface corresponding to the second user is a conversation interface; The fourth control is used to copy the link of the target task list.
6. The method according to claim 1, characterized in that In response to a sharing operation triggered by a first user on a target task list, determining access rights that a second user corresponding to the sharing operation has for the target task list includes: In response to an operation of copying the link of the target task list triggered by the first user, obtaining the link of the target task list; In response to a sharing operation triggered by the first user on the link of the target task list, access rights of a second user corresponding to the sharing operation with respect to the target task list are determined.
7. The method according to claim 1, characterized in that The access permission that the second user has to the target task list is no higher than the access permission that the first user has to the target task list.
8. The method according to claim 1, characterized in that The method further comprises one or more of the following: If the first user has editing authority for the target task list, before sharing the target task list with the second user, an editing interface is displayed, wherein the editing interface is used to edit the access authority that the second user has for the target task list; If the first user has editing permission for the target task list, after the target task list is shared with the second user, in response to an editing operation triggered by the first user, the access permission of the second user to the target task list is modified.
9. The method according to any one of claims 1 to 8, characterized in that The displaying, based on the access permission, of the preview data corresponding to the target task list in the display interface corresponding to the sharing operation of the second user includes: A preview card of the target task list is displayed in the display interface of the second user corresponding to the sharing operation.
10. The method according to claim 9, characterized in that The method further includes: A preview card of the target task list is displayed in the first user's interface corresponding to the sharing operation, where the preview card includes a fifth control, and the fifth control is used to modify the second user's access rights to the target task list.
11. The method according to claim 9, characterized in that The method further comprises: If the target task list is deleted, a second prompt message is displayed in the preview card, and the second prompt message is used to prompt that the target task list is deleted.
12. The method according to claim 1, characterized in that The display interface of the second user corresponding to the sharing operation is a session interface of the first session, and the first user and the second user are both members of the first session; or The display interface of the second user corresponding to the sharing operation is the cloud document interface of the first cloud document, and the first user and the second user are both collaborators of the first cloud document.
13. A task list sharing device, characterized in that: The device comprises: a determining unit configured to, in response to a sharing operation triggered by a first user on a target task list, determine access permissions that a second user corresponding to the sharing operation has for the target task list, where the target task list is a task container for managing tasks; a display unit, configured to display, based on the access permission, preview data corresponding to the target task list in a display interface corresponding to the sharing operation of the second user; If the second user has access rights to the target task list, the preview data includes one or more of the following: the title of the target task list, the owner identifier of the target task list, the collaborator identifier of the target task list, and access rights information of the second user; If the second user does not have access rights to the target task list, the preview data includes first prompt information and a first control, wherein the first prompt information is used to prompt that the second user does not have access rights to the target task list, and the first control is used to apply for access rights.
14. An electronic device, characterized in that: The device includes: a processor and a memory; The memory is used to store instructions or computer programs; The processor is configured to execute the instructions or computer program in the memory, so that the electronic device executes the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a device, the device is caused to execute the method according to any one of claims 1 to 12.