WO2015096599A1 - Method and apparatus for implementing document sharing between user groups - Google Patents

Method and apparatus for implementing document sharing between user groups Download PDF

Info

Publication number
WO2015096599A1
WO2015096599A1 PCT/CN2014/092792 CN2014092792W WO2015096599A1 WO 2015096599 A1 WO2015096599 A1 WO 2015096599A1 CN 2014092792 W CN2014092792 W CN 2014092792W WO 2015096599 A1 WO2015096599 A1 WO 2015096599A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
document
shared document
user group
identifier
Prior art date
Application number
PCT/CN2014/092792
Other languages
French (fr)
Chinese (zh)
Inventor
晁云瞳
黄传通
赵孔胜
刘欢
郞启旭
李亚飞
方婷
Original Assignee
北京金山办公软件有限公司
珠海金山办公软件有限公司
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 北京金山办公软件有限公司, 珠海金山办公软件有限公司 filed Critical 北京金山办公软件有限公司
Priority to JP2016542707A priority Critical patent/JP6289642B2/en
Priority to US15/107,843 priority patent/US10129264B2/en
Publication of WO2015096599A1 publication Critical patent/WO2015096599A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/104Grouping of entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/457Network directories; Name-to-address mapping containing identifiers of data entities on a computer, e.g. file names
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Definitions

  • the present application relates to the field of network communication technologies, and in particular, to a method and apparatus for implementing sharing of documents between user groups.
  • the embodiment of the present application discloses a method and apparatus for implementing sharing of documents between user groups, so that documents shared between different user groups are edited in one user group, and other user groups sharing the document are Can be updated synchronously.
  • the embodiment of the present application discloses a method for implementing sharing of documents between user groups, and the method includes:
  • a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  • the sharing document instruction includes:
  • the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
  • the step of sending a shared document instruction to the second user group includes:
  • Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
  • the step of sending the information providing the user operation interface to the user having the right to receive the shared document information in the second user group before the step of sending the information providing the user operation interface to the user having the right to receive the shared document information in the second user group, the step of implementing sharing the document between the user groups is performed.
  • the method also includes:
  • a user having the right to receive the shared document information is selected from the user list.
  • the method for implementing sharing a document between user groups further includes: pushing a newly added shared document notification message to all users in the second user group;
  • the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
  • the embodiment of the present application discloses an apparatus for implementing sharing of documents between user groups, and the apparatus includes:
  • the information receiving module is configured to receive the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
  • An instruction sending module configured to send, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate the
  • the second user group creates a shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  • the instruction sending module In a specific implementation manner of the application, the instruction sending module,
  • the information about the user operation interface is sent to the second user group according to the identifier of the second user group, and the second user group creates the shared document to be created according to the operation of the user in the interface in the second user group.
  • the instruction sending module is specifically configured to send, according to the identifier of the second user group, a user having the right to receive the shared document information in the second user group, to provide a user operation interface. information.
  • the apparatus for implementing sharing a document between user groups further includes:
  • a user list obtaining module configured to obtain a user list in the second user group before transmitting the information providing the user operation interface to the user having the right to receive the shared document information in the second user group;
  • a user selection module is configured to select a user having the right to receive the shared document information from the user list.
  • the apparatus for implementing sharing a document between user groups further includes:
  • a notification message pushing module configured to push a newly added shared document notification message to all users in the second user group; the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the shared document is newly added The identifier of the shared document to be created.
  • an electronic device including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor by reading executable program code stored in the memory, runs a program corresponding to the executable program code, and is used to execute any one of the user groups provided by the embodiments of the present application.
  • the method of sharing documents by reading executable program code stored in the memory, runs a program corresponding to the executable program code, and is used to execute any one of the user groups provided by the embodiments of the present application.
  • the embodiment of the present application discloses a storage medium for storing an application, and the application is used to execute any method for sharing a document between user groups provided by the embodiments of the present application. .
  • the embodiment of the present application discloses an application program for performing any method for sharing a document between user groups provided by the embodiments of the present application.
  • the server side pushes the shared document instruction to the second user group according to the second user group identifier in the received document sharing request information sent by the user in the first user group. Since the index of the shared document to be created in the shared document instruction is associated with the identifier of the target shared document, when the user in the second user group browses the shared document created according to the shared document instruction, the browsing is actually performed through the association relationship.
  • the target in a user group shares the document, so that after the user in the first user group edits the target shared document, the shared document can be updated synchronously in the second user group.
  • FIG. 1 is a schematic structural diagram of a system for implementing a shared document between user groups according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for implementing sharing of documents between user groups according to an embodiment of the present application
  • FIG. 3 is another method for implementing sharing documents between user groups according to an embodiment of the present application. Schematic diagram of the process;
  • FIG. 4 is a schematic structural diagram of an apparatus for implementing sharing of documents between user groups according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of an apparatus for implementing sharing of documents between user groups according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a method and apparatus for implementing sharing of documents between user groups.
  • the following is a description of a method for implementing a shared document between user groups according to an embodiment of the present application.
  • the method may include the following steps:
  • the execution body of the above steps may be a server, and of course, other devices having similar functions.
  • the first user group and the second user group are two user groups existing on the server side.
  • the first user group and the second user group may store the shared document in the corresponding location on the server side, and the user in the first user group and the second user group may log in to the server through a terminal such as a computer, a tablet computer, or a mobile phone, and browse and store the server.
  • the shared document in the corresponding workgroup in the user, but the user in the second user group cannot browse the shared document of the first user group. If the user in the second user group can browse a shared document of the first user group, the file sharing method can be implemented. Specifically, referring to FIG. 1 , FIG.
  • FIG. 1 is a schematic structural diagram of a system for implementing a shared document between user groups according to an embodiment of the present application.
  • the server 101 parses the document sharing request information, and sends the identifier to the second user group 103 according to the identifier of the second user group 103 obtained by the parsing.
  • Share document instructions After receiving the shared document instruction, the second user group 103 creates a shared document in the second user group 103, and the user in the second user group 103 can browse the corresponding document in the first user group 102 through the shared document.
  • FIG. 2 is a schematic flowchart of a method for implementing a shared document between user groups according to an embodiment of the present disclosure, where the method includes the following steps:
  • Step 201 Receive document sharing request information sent by a user in the first user group.
  • the document sharing request information may carry the identifier of the target shared document, the identifier of the second user group, and the like.
  • user groups can share information by sharing documents, which facilitates collaborative office work.
  • the shared document of user group A includes document X
  • all users in user group A can browse document X, but users in user group B cannot browse document X. If you want to enable all users in user group B to also browse document X, you can do so by sharing documents between user groups.
  • the user group may be a work group, a conversation group, a collaborative relationship in a collaborative office, and the like.
  • the present application does not limit the specific manifestation of the user group.
  • the target shared document can be any document in a workgroup, which can be a text document, an image document, a video document, an audio document, and the like.
  • one or more documents in the first user group shared document may be shared with other user groups.
  • the document sharing request information needs to be simultaneously An ID that carries multiple target shared documents.
  • the user in the first user group can also share the shared document in the first user group to multiple user groups.
  • the document sharing request information needs to carry the identifier of the second user group in addition to the identifier of the second user group.
  • the ID of the user group is the ID of the user group.
  • the document sharing request information may further carry the identifier of the user who receives the information in the second user group, and the information carried in the document sharing request information in the actual application may be based on actual information.
  • this application does not limit the information carried in the document sharing request information.
  • a user group can include more than two users, and you can set the permissions of each user. For example, you can set whether the user has the right to send document sharing information. Only users with this permission can send to the server.
  • Document sharing request information In a specific application, some users or all users in the user group may have the right to send document sharing information, that is, the document sharing request information sent by the user in the first user group received by the server is The first user group has document sharing request information sent by a user who transmits the document sharing request information authority.
  • Step 202 Send a shared document instruction to the second user group according to the identifier of the second user group.
  • the shared document instruction may carry an identifier of the shared document to be created, an index of the shared document to be created, and the like, and the shared document instruction is used to instruct the second user group to create a shared document corresponding to the target shared document, where The index of the created document is the same as the ID of the target shared document, and is used to associate the document to be created with the target shared document.
  • the server After receiving the document sharing request information sent by the user in the first user group, the server parses the information, obtains the identifier of the second user group, and sends a shared document instruction to the second user group according to the identifier.
  • the target shared document should be visible to the user in the second user group and should be browsable, so a second user group needs to create a The document corresponding to the target document, so as to achieve the purpose that the user in the second user group can browse the target document. It will be understood by those skilled in the art that the identification of the document created in the second user group and the identification of the target document need to be different to distinguish the two documents.
  • step 201 Taking the example in step 201 as an example, if the user in the user group A shares the document X to the user group B, the user group B needs to create a pair in the user group B after receiving the shared document instruction sent by the server.
  • Document X corresponds to the document, assuming that the document is represented by X'.
  • the shared document instruction may be an instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created, that is, after the second user group receives the shared document instruction, according to the instruction
  • the identifier of the shared document to be created carried in the instruction and the index of the shared document to be created create a shared document corresponding to the target document in the first user group, for example, the shared document X'.
  • the shared document command may also be information for providing a user operation interface, and the second user group creates a shared document to be created according to the operation of the user in the interface in the second user group. For example, the information of the user operation interface may be included.
  • the shared document to be created can be created.
  • the user in the second user group can also select the reject operation on the dialog box, thereby rejecting the second user group.
  • Create a shared document to be created that is, refuse to receive the shared document.
  • the document must have the identification information of the document.
  • the document can be determined by the identification information of the document and browsed.
  • the document in this embodiment must have index information of the document.
  • the index information of the document is mainly used to associate the current document with other documents.
  • the document to be created in the second user group is mainly associated with the target document in the first user group.
  • the user in the second user group browses the created document, and actually links to the target document of the first user group through the index information of the document, and browses the target document. Therefore, after the user in the first user group edits and saves the target document, the document in the second user group can synchronize the associated update.
  • the index information of the current document is set to be empty; when the current document is associated with a certain document, the index information of the current document is set as the identifier of the associated document.
  • the identifier of the document X in the user group A is: xxxx
  • the identifier of the document X' in the user group B is: yyyy
  • xxxx is different from yyyy
  • the document X is not associated with other documents
  • the index of the document X is empty.
  • the index of the document X' is xxxx.
  • the newly added shared document notification message may also be pushed to all users in the second user group, so that all users in the second user group are informed.
  • a message for the new shared document has been added to this user group.
  • the newly added shared document notification message carries the identifier of the newly added shared document, and the newly added shared document identifier is the identifier of the created shared document.
  • the present application is only used as an example for description.
  • the message carried in the newly added shared document notification message in the actual application is not limited thereto.
  • the working group that shares the shared document and the second working group may receive the shared document. Users and so on.
  • the user in the second user group can edit the created shared document and save the document on the server side.
  • the server may also send a shared document update notification message to the user in the first user group, so that the user in the first user group knows the update dynamic of the shared document in time.
  • the user may also set the permission of the shared document enjoyed by the user in the second user group, for example, sharing the document editing permission, and only the user having the shared document editing permission can access the shared document. Edit to prevent shared documents from being updated casually, not easy to version control, and more.
  • the server pushes the shared document instruction to the second user group according to the second user group identifier in the received document sharing request information sent by the user in the first user group. Since the index of the shared document to be created in the shared document instruction is associated with the identifier of the target shared document, when the user in the second user group browses the shared document created according to the shared document instruction, the browsing is actually performed through the association relationship.
  • the target in a user group shares the document, so that after the user in the first user group edits the target shared document, the shared document can be updated synchronously in the second user group.
  • FIG. 3 is a schematic flowchart of another method for implementing a document sharing between user groups according to an embodiment of the present disclosure. Compared with the embodiment shown in FIG. 2, step 205 in the embodiment is an embodiment shown in FIG. 2 . The specific execution form, at the same time, step 203 and step 204 are also added in this embodiment.
  • Step 203 Obtain a user list in the second user group.
  • Step 204 Select a user having the right to receive the shared document information from the user list.
  • obtaining user information having the right to receive the shared document information may also be implemented in other manners, for example, by a user-specified manner of transmitting the document sharing request information in the first user group, etc., the application does not have the receiving The way to share user information for document information permissions is limited.
  • Step 205 Send, according to the identifier of the second user group, information for providing the user operation interface to the user having the right to receive the shared document information in the second user group.
  • the newly added shared document notification message may also be pushed to all users in the second user group, so that all users in the second user group,
  • a user having the right to receive information of a shared document knows that a message of a new shared document is added to the user group.
  • the newly added shared document notification message carries the identifier of the newly added shared document, and the newly added shared document identifier is the identifier of the created shared document.
  • the present application is only used as an example for description.
  • the message carried in the newly added shared document notification message in the actual application is not limited thereto.
  • the working group that shares the shared document and the second working group may receive the shared document. Users and so on.
  • the information transmission is more targeted; obtaining the shared document information by obtaining the user list.
  • the user information of the authority enables the document sharing request information sent by the user in the first user group to carry less information.
  • FIG. 4 is a schematic structural diagram of an apparatus for implementing a shared document between user groups according to an embodiment of the present disclosure.
  • the apparatus includes: an information receiving module 401 and an instruction sending module 402.
  • the information receiving module 401 is configured to receive the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group.
  • the instruction sending module 402 is configured to send, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate the location
  • the second user group creates a shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  • the instruction sending module 402 the instruction sending module 402
  • the information about the user operation interface is sent to the second user group according to the identifier of the second user group, where the second user group is created according to the operation of the user in the interface in the second user group.
  • the shared document is to be created.
  • the apparatus further includes: a notification message pushing module (not shown).
  • the notification message pushing module is configured to push a newly added shared document notification message to all users in the second user group; the newly added shared document notification message carries an identifier of the newly added shared document, wherein the newly added shared document is added
  • the identifier is the identifier of the shared document to be created.
  • the server pushes the shared document instruction to the second user group according to the second user group identifier in the received document sharing request information sent by the user in the first user group. Since the index of the shared document to be created in the shared document instruction is associated with the identifier of the target shared document, when the user in the second user group browses the shared document created according to the shared document instruction, the browsing is actually performed through the association relationship.
  • the target in a user group shares the document, so that after the user in the first user group edits the target shared document, the shared document can be updated synchronously in the second user group.
  • FIG. 5 is a schematic structural diagram of an apparatus for implementing a shared document between user groups according to an embodiment of the present disclosure. Compared with the embodiment shown in FIG. 4, a user list obtaining module 403 and a user selection are added in this embodiment. Module 404.
  • the instruction sending module 402 is specifically configured to send, according to the identifier of the second user group, information for providing the user operation interface to the user having the right to receive the shared document information in the second user group.
  • the user list obtaining module 403 is configured to obtain a user list in the second user group before transmitting the information providing the user operation interface to the user having the right to receive the shared document information in the second user group.
  • the user selection module 404 is configured to select, from the user list, a user having the right to receive the shared document information.
  • the information transmission is more targeted; obtaining the shared document information by obtaining the user list.
  • the user information of the authority enables the document sharing request information sent by the user in the first user group to carry less information.
  • an electronic device which may include:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor by reading the executable program code stored in the memory, to run a program corresponding to the executable program code, for performing the sharing of the document between the user groups provided by the embodiments of the present application.
  • the method for implementing sharing of documents between user groups provided by the embodiments of the present application may include:
  • a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  • the shared document instruction includes:
  • the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
  • the step of sending a shared document instruction to the second user group includes:
  • Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
  • the method further includes:
  • a user having the right to receive the shared document information is selected from the user list.
  • the method for implementing sharing documents between user groups further includes: pushing a new shared document notification message to all users in the second user group;
  • the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
  • the embodiment of the present application further provides a storage medium for storing an application, where the application is used to implement a method for implementing sharing of documents between user groups provided by the embodiments of the present application;
  • the embodiments provided by the embodiment for implementing sharing of documents between user groups may include:
  • a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  • the shared document instruction includes:
  • the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
  • the step of sending a shared document instruction to the second user group includes:
  • Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
  • the method further includes:
  • a user having the right to receive the shared document information is selected from the user list.
  • the method for implementing sharing documents between user groups further includes: pushing a new shared document notification message to all users in the second user group;
  • the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
  • the embodiment of the present application further provides an application program, which is used to implement a method for sharing a document between user groups, which is provided by the embodiment of the present application. Ways to share documents between them can include:
  • a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  • the shared document instruction includes:
  • the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
  • the step of sending a shared document instruction to the second user group includes:
  • Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
  • the method further includes:
  • a user having the right to receive the shared document information is selected from the user list.
  • the method for implementing sharing documents between user groups further includes: pushing a new shared document notification message to all users in the second user group;
  • the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.

Abstract

Disclosed are a method and an apparatus for implementing document sharing between user groups. The method comprises: receiving document sharing request information sent by a user in a first user group, the document sharing request information carrying an identifier of a target shared document and an identifier of a second user group; sending a shared document instruction to the second user group according to the identifier of the second user group, the shared document instruction carrying an identifier of a to-be-created shared document and an index of the to-be-created shared document and being used for instructing the second user group to create a shared document corresponding to the target shared document, the index of the to-be-created document being the same as the identifier of the target shared document, for associating the to-be-created document with the target shared document. A document is shared by applying the solutions provided by embodiments of this application, and after a user in a first user group edits a target document, the shared document can be synchronously updated in a second user group.

Description

一种用于实现用户组之间共享文档的方法及装置Method and device for realizing sharing documents between user groups
本申请要求于2013年12月27日提交中国专利局、申请号为201310747046.5发明名称为“一种用于实现用户组之间共享文档的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201310747046.5, entitled "A Method and Apparatus for Sharing Documents Between User Groups", filed on December 27, 2013, the entire contents of which is hereby incorporated by reference. This is incorporated herein by reference.
技术领域Technical field
本申请涉及网络通信技术领域,特别涉及一种用于实现用户组之间共享文档的方法及装置。The present application relates to the field of network communication technologies, and in particular, to a method and apparatus for implementing sharing of documents between user groups.
背景技术Background technique
随着网络通信技术的快速发展,多个用户共享服务器端的同一个文档可以给办公带来极大方便。但是,通常情况下,只有处于同一个用户组内的各个用户才能共享该用户组内的共享文档。With the rapid development of network communication technology, sharing the same document on the server side by multiple users can bring great convenience to the office. However, in general, only users in the same user group can share shared documents within that user group.
假设,当前服务器端存在两个用户组,用户组A和用户组B,文档X是用户组A中的一个共享文档,则用户组A中的所有用户均可以浏览文档X,而用户组B中的所有用户均无法浏览文档X。实际应用中,存在以下需求:将文档X共享给用户组B,以使得用户组B中的所有用户能够浏览文档X。为实现上述需求,现有技术中,通常是将用户组A中的文档X复制到用户组B中,复制到用户组B中的文档以文档X’表示,用户组B中的各个用户可以通过浏览文档X’达到浏览文档X的目的。但是,这种情况下文档X’和文档X是相互独立的两个文档,当用户组A中的用户对文档X进行编辑后,用户组B无法同步更新文档X’。Assume that there are two user groups on the server side, user group A and user group B, and document X is a shared document in user group A, then all users in user group A can browse document X, and user group B All users cannot view document X. In practical applications, there is a need to share document X to user group B so that all users in user group B can browse document X. In order to achieve the above requirements, in the prior art, the document X in the user group A is usually copied into the user group B, and the documents copied into the user group B are represented by the document X', and each user in the user group B can pass Browse the document X' to achieve the purpose of browsing the document X. However, in this case, the document X' and the document X are two documents independent of each other. When the user in the user group A edits the document X, the user group B cannot synchronously update the document X'.
发明内容Summary of the invention
本申请实施例公开了一种用于实现用户组之间共享文档的方法及装置,以使得在不同用户组之间共享的文档在一个用户组中被编辑后,在其他共享该文档的用户组中能够同步更新。The embodiment of the present application discloses a method and apparatus for implementing sharing of documents between user groups, so that documents shared between different user groups are edited in one user group, and other user groups sharing the document are Can be updated synchronously.
为达到上述目的,本申请实施例公开了一种用于实现用户组之间共享文档的方法,所述方法包括:To achieve the above objective, the embodiment of the present application discloses a method for implementing sharing of documents between user groups, and the method includes:
接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识; Receiving the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。Sending, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
在本申请的一种具体实现方式中,所述共享文档指令,包括:In a specific implementation manner of the application, the sharing document instruction includes:
用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或An instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Information for providing a user operation interface, the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
在本申请的一种具体实现方式中,所述向第二用户组发送共享文档指令的步骤,包括:In a specific implementation manner of the application, the step of sending a shared document instruction to the second user group includes:
向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
在本申请的一种具体实现方式中,在所述向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息步骤之前,所述用于实现用户组之间共享文档的方法还包括:In a specific implementation manner of the present application, before the step of sending the information providing the user operation interface to the user having the right to receive the shared document information in the second user group, the step of implementing sharing the document between the user groups is performed. The method also includes:
获得第二用户组中的用户列表;Obtaining a list of users in the second user group;
从所述用户列表中选取具有接收共享文档信息权限的用户。A user having the right to receive the shared document information is selected from the user list.
在本申请的一种具体实现方式中,所述用于实现用户组之间共享文档的方法还包括:向第二用户组中的所有用户推送新增共享文档通知消息;In a specific implementation manner of the present application, the method for implementing sharing a document between user groups further includes: pushing a newly added shared document notification message to all users in the second user group;
所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。The newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
为达到上述目的,本申请实施例公开了一种用于实现用户组之间共享文档的装置,所述装置包括:To achieve the above objective, the embodiment of the present application discloses an apparatus for implementing sharing of documents between user groups, and the apparatus includes:
信息接收模块,用于接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识; The information receiving module is configured to receive the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
指令发送模块,用于根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。An instruction sending module, configured to send, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate the The second user group creates a shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
在本申请的一种具体实现方式中,所述指令发送模块,In a specific implementation manner of the application, the instruction sending module,
具体用于根据第二用户组的标识,向第二用户组发送用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或Specifically, according to the identifier of the second user group, sending, to the second user group, an instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
具体用于根据第二用户组的标识,向第二用户组发送用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Specifically, the information about the user operation interface is sent to the second user group according to the identifier of the second user group, and the second user group creates the shared document to be created according to the operation of the user in the interface in the second user group. .
在本申请的一种具体实现方式中,所述指令发送模块,具体用于根据第二用户组的标识,向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。In a specific implementation manner of the present application, the instruction sending module is specifically configured to send, according to the identifier of the second user group, a user having the right to receive the shared document information in the second user group, to provide a user operation interface. information.
在本申请的一种具体实现方式中,所述用于实现用户组之间共享文档的装置还包括:In a specific implementation manner of the application, the apparatus for implementing sharing a document between user groups further includes:
用户列表获得模块,用于在向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息之前,获得第二用户组中的用户列表;a user list obtaining module, configured to obtain a user list in the second user group before transmitting the information providing the user operation interface to the user having the right to receive the shared document information in the second user group;
用户选取模块,用于从所述用户列表中选取具有接收共享文档信息权限的用户。A user selection module is configured to select a user having the right to receive the shared document information from the user list.
在本申请的一种具体实现方式中,所述用于实现用户组之间共享文档的装置还包括:In a specific implementation manner of the application, the apparatus for implementing sharing a document between user groups further includes:
通知消息推送模块,用于向第二用户组中的所有用户推送新增共享文档通知消息;所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。a notification message pushing module, configured to push a newly added shared document notification message to all users in the second user group; the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the shared document is newly added The identifier of the shared document to be created.
为达到上述目的,本申请实施例公开了一种电子设备,包括: To achieve the above objective, an embodiment of the present application discloses an electronic device, including:
处理器、存储器、通信接口和总线;a processor, a memory, a communication interface, and a bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行本申请实施例所提供的任意一种用于实现用户组之间共享文档的方法。The processor, by reading executable program code stored in the memory, runs a program corresponding to the executable program code, and is used to execute any one of the user groups provided by the embodiments of the present application. The method of sharing documents.
为达到上述目的,本申请实施例公开了一种存储介质,用于存储应用程序,所述应用程序用于执行本申请实施例所提供的任意一种用于实现用户组之间共享文档的方法。To achieve the above objective, the embodiment of the present application discloses a storage medium for storing an application, and the application is used to execute any method for sharing a document between user groups provided by the embodiments of the present application. .
为达到上述目的,本申请实施例公开了一种应用程序,用于执行本申请实施例所提供的任意一种用于实现用户组之间共享文档的方法。To achieve the above objective, the embodiment of the present application discloses an application program for performing any method for sharing a document between user groups provided by the embodiments of the present application.
由以上可见,本申请实施例提供的方案中,服务器端根据接收到的第一用户组中用户发送的文档共享请求信息中的第二用户组标识,向第二用户组推送共享文档指令。由于共享文档指令中的待创建共享文档的索引与目标共享文档的标识相关联,当第二用户组中的用户浏览该根据共享文档指令创建的共享文档时,实际上是通过关联关系浏览的第一用户组中的目标共享文档,因此,第一用户组中的用户编辑目标共享文档后,在第二用户组中能够同步更新该共享文档。It can be seen from the above that, in the solution provided by the embodiment of the present application, the server side pushes the shared document instruction to the second user group according to the second user group identifier in the received document sharing request information sent by the user in the first user group. Since the index of the shared document to be created in the shared document instruction is associated with the identifier of the target shared document, when the user in the second user group browses the shared document created according to the shared document instruction, the browsing is actually performed through the association relationship. The target in a user group shares the document, so that after the user in the first user group edits the target shared document, the shared document can be updated synchronously in the second user group.
附图说明DRAWINGS
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application and the technical solutions of the prior art, the following description of the embodiments and the drawings used in the prior art will be briefly introduced. Obviously, the drawings in the following description are only Some embodiments of the application may also be used to obtain other figures from those of ordinary skill in the art without departing from the scope of the invention.
图1为本申请实施例提供的一种用于实现用户组之间共享文档的系统的结构示意图;FIG. 1 is a schematic structural diagram of a system for implementing a shared document between user groups according to an embodiment of the present application;
图2为本申请实施例提供的一种用于实现用户组之间共享文档的方法的流程示意图;2 is a schematic flowchart of a method for implementing sharing of documents between user groups according to an embodiment of the present application;
图3为本申请实施例提供的另一种用于实现用户组之间共享文档的方法 的流程示意图;FIG. 3 is another method for implementing sharing documents between user groups according to an embodiment of the present application; Schematic diagram of the process;
图4为本申请实施例提供的一种用于实现用户组之间共享文档的装置的结构示意图;FIG. 4 is a schematic structural diagram of an apparatus for implementing sharing of documents between user groups according to an embodiment of the present disclosure;
图5为本申请实施例提供的一种用于实现用户组之间共享文档的装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for implementing sharing of documents between user groups according to an embodiment of the present disclosure.
具体实施方式detailed description
由于现有技术中,将当前用户组中的某一文档共享给另一用户组时,只能通过复制文档的方式将该文档共享给另一用户组,这种情况下,当当前用户组中用户对该文档编辑后,在另一用户组中无法实现同步更新,为此,本申请实施例提供了一种用于实现用户组之间共享文档的方法及装置。In the prior art, when a certain document in the current user group is shared to another user group, the document can only be shared to another user group by copying the document. In this case, when the current user group is in the current user group. After the user edits the document, the synchronization update cannot be implemented in another user group. To this end, the embodiment of the present application provides a method and apparatus for implementing sharing of documents between user groups.
下面首先对本申请实施例提供的一种用于实现用户组之间共享文档的方法进行说明,该方法可以包括以下步骤:The following is a description of a method for implementing a shared document between user groups according to an embodiment of the present application. The method may include the following steps:
接收第一用户组中用户发送的文档共享请求信息;Receiving document sharing request information sent by the user in the first user group;
根据第二用户组的标识,向第二用户组发送共享文档指令。Sending a shared document instruction to the second user group according to the identity of the second user group.
上述步骤的执行主体可以是服务器,当然也可以是具有类似功能的其他设备,第一用户组和第二用户组是存在于服务器端的两个用户组。其中,第一用户组和第二用户组可以在服务器端相应位置存储共享文档,第一用户组和第二用户组中的用户可以通过计算机、平板电脑、手机等终端登录服务器,浏览存储于服务器中的相应工作组的共享文档,但是第二用户组中用户不能浏览第一用户组的共享文档。若欲使得第二用户组中用户可以浏览第一用户组的某一共享文档时,可以通过文档共享的方式实现。具体的,参见图1,图1为本申请实施例提供的一种用于实现用户组之间共享文档的系统的结构示意图。其中,服务器101在接收到第一用户组102中用户发送的文档共享请求信息后,对该文档共享请求信息进行解析,根据解析得到的第二用户组103的标识,向第二用户组103发送共享文档指令。第二用户组103接收到共享文档指令后,在第二用户组103中创建共享文档,第二用户组103中用户可以通过该共享文档浏览第一用户组102中相应的文档。The execution body of the above steps may be a server, and of course, other devices having similar functions. The first user group and the second user group are two user groups existing on the server side. The first user group and the second user group may store the shared document in the corresponding location on the server side, and the user in the first user group and the second user group may log in to the server through a terminal such as a computer, a tablet computer, or a mobile phone, and browse and store the server. The shared document in the corresponding workgroup in the user, but the user in the second user group cannot browse the shared document of the first user group. If the user in the second user group can browse a shared document of the first user group, the file sharing method can be implemented. Specifically, referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a system for implementing a shared document between user groups according to an embodiment of the present application. After receiving the document sharing request information sent by the user in the first user group 102, the server 101 parses the document sharing request information, and sends the identifier to the second user group 103 according to the identifier of the second user group 103 obtained by the parsing. Share document instructions. After receiving the shared document instruction, the second user group 103 creates a shared document in the second user group 103, and the user in the second user group 103 can browse the corresponding document in the first user group 102 through the shared document.
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并 举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more clear, the following The present application will be further described in detail by way of examples. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
下面通过具体实施例,对本申请进行详细说明。The present application will be described in detail below through specific embodiments.
图2为本申请实施例提供的一种用于实现用户组之间共享文档的方法的流程示意图,该方法包括以下步骤:FIG. 2 is a schematic flowchart of a method for implementing a shared document between user groups according to an embodiment of the present disclosure, where the method includes the following steps:
步骤201:接收第一用户组中用户发送的文档共享请求信息。Step 201: Receive document sharing request information sent by a user in the first user group.
本步骤中,文档共享请求信息中可以携带目标共享文档的标识、第二用户组的标识等等。In this step, the document sharing request information may carry the identifier of the target shared document, the identifier of the second user group, and the like.
实际应用中,用户组之间可以通过共享文档的方式分享信息,为协同办公等提供便利。例如,服务器端存在用户组A和用户组B,其中,用户组A的共享文档中包括文档X,则用户组A中的所有用户可以浏览文档X,但是用户组B中的用户不能浏览文档X,若想使得用户组B中的所有用户也能够浏览文档X,可以通过在用户组之间共享文档的方式实现。In practical applications, user groups can share information by sharing documents, which facilitates collaborative office work. For example, there are user group A and user group B on the server side. Where the shared document of user group A includes document X, all users in user group A can browse document X, but users in user group B cannot browse document X. If you want to enable all users in user group B to also browse document X, you can do so by sharing documents between user groups.
其中,用户组可以是工作组、对话组、协同办公中的协同关系等等,当然,本申请不对用户组的具体表现形式进行限定。The user group may be a work group, a conversation group, a collaborative relationship in a collaborative office, and the like. Of course, the present application does not limit the specific manifestation of the user group.
目标共享文档可以是工作组中的任一文档,该文档可以是文本文档、图像文档、视频文档、音频文档等等。The target shared document can be any document in a workgroup, which can be a text document, an image document, a video document, an audio document, and the like.
当第一用户组中用户发起文档共享请求时,可以将第一用户组共享文档中的一个或多个文档共享给其它用户组,在共享多个文档的情况下,文档共享请求信息中需同时携带多个目标共享文档的标识。When a user initiates a document sharing request in the first user group, one or more documents in the first user group shared document may be shared with other user groups. In the case of sharing multiple documents, the document sharing request information needs to be simultaneously An ID that carries multiple target shared documents.
另外,第一用户组中用户还可以将第一用户组中的共享文档共享给多个用户组,这种情况下,文档共享请求信息中除了需携带第二用户组的标识外还需携带其它用户组的标识。In addition, the user in the first user group can also share the shared document in the first user group to multiple user groups. In this case, the document sharing request information needs to carry the identifier of the second user group in addition to the identifier of the second user group. The ID of the user group.
进一步的,文档共享请求信息中还可以携带第二用户组中接收该信息的用户的标识等等,实际应用中文档共享请求信息中携带的信息可以根据实际 情况调整,本申请并不对文档共享请求信息中携带的信息进行限定。Further, the document sharing request information may further carry the identifier of the user who receives the information in the second user group, and the information carried in the document sharing request information in the actual application may be based on actual information. Condition adjustment, this application does not limit the information carried in the document sharing request information.
通常情况下,一个用户组中可以包括两个以上用户,且可以设置其中每个用户的权限,例如,可以设置用户是否具有发送文档共享信息的权限,只有具有该权限的用户才能向服务器端发送文档共享请求信息,具体应用中,可以设置用户组中的部分用户或全部用户具有发送文档共享信息的权限,也就是说,服务器端接收的第一用户组中用户发送的文档共享请求信息为,第一用户组中具有发送文档共享请求信息权限的用户发送的文档共享请求信息。Generally, a user group can include more than two users, and you can set the permissions of each user. For example, you can set whether the user has the right to send document sharing information. Only users with this permission can send to the server. Document sharing request information. In a specific application, some users or all users in the user group may have the right to send document sharing information, that is, the document sharing request information sent by the user in the first user group received by the server is The first user group has document sharing request information sent by a user who transmits the document sharing request information authority.
步骤202:根据第二用户组的标识,向第二用户组发送共享文档指令。Step 202: Send a shared document instruction to the second user group according to the identifier of the second user group.
本步骤中,共享文档指令中可以携带待创建共享文档的标识和待创建共享文档的索引等等,该共享文档指令用于指示第二用户组创建与目标共享文档对应的共享文档,其中,待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。In this step, the shared document instruction may carry an identifier of the shared document to be created, an index of the shared document to be created, and the like, and the shared document instruction is used to instruct the second user group to create a shared document corresponding to the target shared document, where The index of the created document is the same as the ID of the target shared document, and is used to associate the document to be created with the target shared document.
当服务器端接收到第一用户组中用户发送的文档共享请求信息后,对该信息进行解析,从中获得第二用户组的标识,再根据该标识向第二用户组发送共享文档指令。当第一用户组将目标文档共享给第二用户组之后,目标共享文档对第二用户组中的用户应该是可见的,并且应该是可浏览的,所以在第二用户组中需创建一个与目标文档相对应的文档,以实现第二用户组中的用户可以浏览目标文档的目的。本领域内的技术人员可以理解的是,在第二用户组中创建的文档的标识与目标文档的标识需不相同,以区分两个文档。以步骤201中的举例为例,若用户组A中的用户将文档X共享给用户组B,则用户组B在接收到服务器端发送的共享文档指令后,需在用户组B中创建一个与文档X相对应的文档,假设该文档以X’表示。After receiving the document sharing request information sent by the user in the first user group, the server parses the information, obtains the identifier of the second user group, and sends a shared document instruction to the second user group according to the identifier. After the first user group shares the target document to the second user group, the target shared document should be visible to the user in the second user group and should be browsable, so a second user group needs to create a The document corresponding to the target document, so as to achieve the purpose that the user in the second user group can browse the target document. It will be understood by those skilled in the art that the identification of the document created in the second user group and the identification of the target document need to be different to distinguish the two documents. Taking the example in step 201 as an example, if the user in the user group A shares the document X to the user group B, the user group B needs to create a pair in the user group B after receiving the shared document instruction sent by the server. Document X corresponds to the document, assuming that the document is represented by X'.
其中,共享文档指令可以是用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令,即第二用户组接收到该共享文档指令后,根据该指令中携带的待创建共享文档的标识和待创建共享文档的索引创建与第一用户组中目标文档相对应的共享文档,例如,共享文档X’。共享文档指令还可以是用于提供用户操作接口的信息,第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档,例如,该用户操作接口的信息可以是包含待创建文档信息的对话框信息,第二用户组 可以通过该用户组中用户在该对话框上选择接受操作后,创建待创建的共享文档,当然,第二用户组中用户也可以在该对话框上选择拒绝操作,从而拒绝在第二用户组创建待创建的共享文档,即拒绝接收共享文档。The shared document instruction may be an instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created, that is, after the second user group receives the shared document instruction, according to the instruction The identifier of the shared document to be created carried in the instruction and the index of the shared document to be created create a shared document corresponding to the target document in the first user group, for example, the shared document X'. The shared document command may also be information for providing a user operation interface, and the second user group creates a shared document to be created according to the operation of the user in the interface in the second user group. For example, the information of the user operation interface may be included. Create dialog information for document information, second user group After the user in the user group selects an accept operation on the dialog box, the shared document to be created can be created. Of course, the user in the second user group can also select the reject operation on the dialog box, thereby rejecting the second user group. Create a shared document to be created, that is, refuse to receive the shared document.
通常情况下,文档须具有文档的标识信息,当工作组中用户欲浏览该工作组中共享的某一文档时,可以通过该文档的标识信息确定该文档,并进行浏览。而本实施例中的文档,除了须具有文档的标识信息外,还须具有文档的索引信息。其中,文档的索引信息主要用于将当前文档与其它文档相关联,本实施例中主要是用于将第二用户组中待创建文档与第一用户组中的目标文档相关联。当用户通过当前文档的标识确定当前文档,并进行浏览时,实际上是浏览的当前文档的索引对应的文档,具体的,第二用户组中的待创建文档与第一用户组中的目标文档相关联,且创建该待创建文档后,第二用户组中用户浏览该创建后的文档时,实际上是通过该文档的索引信息链接到了第一用户组的目标文档,并浏览该目标文档,因此,当第一用户组中的用户对目标文档进行编辑并保存后,第二用户组中的该文档可以同步关联更新。Generally, the document must have the identification information of the document. When the user in the working group wants to browse a certain document shared by the working group, the document can be determined by the identification information of the document and browsed. In addition to the identification information of the document, the document in this embodiment must have index information of the document. The index information of the document is mainly used to associate the current document with other documents. In this embodiment, the document to be created in the second user group is mainly associated with the target document in the first user group. When the user determines the current document by using the identifier of the current document and browses, it is actually the document corresponding to the index of the current document of the browsing, specifically, the document to be created in the second user group and the target document in the first user group. After the document is created, the user in the second user group browses the created document, and actually links to the target document of the first user group through the index information of the document, and browses the target document. Therefore, after the user in the first user group edits and saves the target document, the document in the second user group can synchronize the associated update.
需要说明的是,当当前文档不与其它文档相关联时,当前文档的索引信息设置为空;当当前文档与某一文档相关联时,当前文档的索引信息设置为该相关联文档的标识。It should be noted that when the current document is not associated with other documents, the index information of the current document is set to be empty; when the current document is associated with a certain document, the index information of the current document is set as the identifier of the associated document.
例如,假设用户组A中文档X的标识为:xxxx,用户组B中文档X’的标识为:yyyy,xxxx与yyyy不相同,文档X不与其它文档相关联,则文档X的索引为空,文档X’的索引为xxxx。当用户组B中用户浏览文档X’时,通过标识yyyy确定该文档,进而浏览该文档,实际上是通过文档X’的索引xxxx链接到了用户组A中文档的标识为xxxx的文档X,并对文档X进行的浏览。For example, suppose the identifier of the document X in the user group A is: xxxx, the identifier of the document X' in the user group B is: yyyy, xxxx is different from yyyy, and the document X is not associated with other documents, and the index of the document X is empty. The index of the document X' is xxxx. When the user in the user group B browses the document X', the document is determined by the identifier yyyy, and then the document is browsed, and actually the document X of the document X' is linked to the document X of the document in the user group A by the index xxxx of the document X', and Browse for document X.
本申请的另一个具体实施例中,在第二用户组中创建共享文档之后,还可以向第二用户组中的所有用户推送新增共享文档通知消息,以使得第二用户组中所有用户获知该用户组中增加了新共享文档的消息。其中,新增共享文档通知消息中,携带新增共享文档的标识,新增共享文档的标识为已创建共享文档的标识。当然,本申请只是以此为例进行说明,实际应用中新增共享文档通知消息中携带的消息不仅限于此,例如还可以携带分享该共享文档的工作组、第二工作组中接收该共享文档的用户等等。 In another specific embodiment of the present application, after the shared document is created in the second user group, the newly added shared document notification message may also be pushed to all users in the second user group, so that all users in the second user group are informed. A message for the new shared document has been added to this user group. The newly added shared document notification message carries the identifier of the newly added shared document, and the newly added shared document identifier is the identifier of the created shared document. Of course, the present application is only used as an example for description. The message carried in the newly added shared document notification message in the actual application is not limited thereto. For example, the working group that shares the shared document and the second working group may receive the shared document. Users and so on.
本领域内的技术人员可以理解的是,第二用户组中的用户在浏览创建的共享文档的同时,还可以对该文档进行编辑,并在服务器端进行保存。当第二用户组的用户对该文档进行编辑后,服务器端还可以对第一用户组中的用户发送共享文档更新通知消息,以使得第一用户组中用户及时了解共享文档的更新动态。当然,第一用户组在共享文档时,还可以设定第二用户组中用户享有的该共享文档的权限,例如,共享文档编辑权限,只有具有共享文档编辑权限的用户才能够对该共享文档进行编辑,以防止共享文档被随便更新,不易进行版本控制等等。It can be understood by those skilled in the art that the user in the second user group can edit the created shared document and save the document on the server side. After the user of the second user group edits the document, the server may also send a shared document update notification message to the user in the first user group, so that the user in the first user group knows the update dynamic of the shared document in time. Certainly, when the first user group shares the document, the user may also set the permission of the shared document enjoyed by the user in the second user group, for example, sharing the document editing permission, and only the user having the shared document editing permission can access the shared document. Edit to prevent shared documents from being updated casually, not easy to version control, and more.
由以上可见,本方案中,服务器端根据接收到的第一用户组中用户发送的文档共享请求信息中的第二用户组标识,向第二用户组推送共享文档指令。由于共享文档指令中的待创建共享文档的索引与目标共享文档的标识相关联,当第二用户组中的用户浏览该根据共享文档指令创建的共享文档时,实际上是通过关联关系浏览的第一用户组中的目标共享文档,因此,第一用户组中的用户编辑目标共享文档后,在第二用户组中能够同步更新该共享文档。It can be seen from the above that in the solution, the server pushes the shared document instruction to the second user group according to the second user group identifier in the received document sharing request information sent by the user in the first user group. Since the index of the shared document to be created in the shared document instruction is associated with the identifier of the target shared document, when the user in the second user group browses the shared document created according to the shared document instruction, the browsing is actually performed through the association relationship. The target in a user group shares the document, so that after the user in the first user group edits the target shared document, the shared document can be updated synchronously in the second user group.
由于服务器端向第二用户组发送的共享文档指令可以是用于提供用户操作接口的信息,且该操作接口信息可以只向具有一定权限的用户发送,为此本申请提供了另一个实施例,图3为本申请实施例提供的另一种用于实现用户组之间共享文档的方法的流程示意图,与图2所示实施例相比,本实施例中步骤205是图2所示实施例的具体执行形式,同时,本实施例中还增加了步骤203和步骤204。The shared document command sent by the server to the second user group may be information for providing a user operation interface, and the operation interface information may be sent only to users with certain rights. For this reason, the present application provides another embodiment. FIG. 3 is a schematic flowchart of another method for implementing a document sharing between user groups according to an embodiment of the present disclosure. Compared with the embodiment shown in FIG. 2, step 205 in the embodiment is an embodiment shown in FIG. 2 . The specific execution form, at the same time, step 203 and step 204 are also added in this embodiment.
步骤203:获得第二用户组中的用户列表。Step 203: Obtain a user list in the second user group.
步骤204:从用户列表中选取具有接收共享文档信息权限的用户。Step 204: Select a user having the right to receive the shared document information from the user list.
实际应用中,获得具有接收共享文档信息权限的用户信息,还可以通过其它方式实现,例如:通过第一用户组中发送文档共享请求信息的用户指定的方式等等,本申请并不对获得具有接收共享文档信息权限的用户信息的方式进行限定。In an actual application, obtaining user information having the right to receive the shared document information may also be implemented in other manners, for example, by a user-specified manner of transmitting the document sharing request information in the first user group, etc., the application does not have the receiving The way to share user information for document information permissions is limited.
步骤205:根据第二用户组的标识,向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。 Step 205: Send, according to the identifier of the second user group, information for providing the user operation interface to the user having the right to receive the shared document information in the second user group.
本申请的另一个具体实施例中,在第二用户组中创建共享文档之后,还可以向第二用户组中的所有用户推送新增共享文档通知消息,以使得第二用户组中所有用户,尤其是具有接收共享文档信息权限的用户,获知该用户组中增加了新共享文档的消息。其中,新增共享文档通知消息中,携带新增共享文档的标识,新增共享文档的标识为已创建共享文档的标识。当然,本申请只是以此为例进行说明,实际应用中新增共享文档通知消息中携带的消息不仅限于此,例如还可以携带分享该共享文档的工作组、第二工作组中接收该共享文档的用户等等。In another specific embodiment of the present application, after the shared document is created in the second user group, the newly added shared document notification message may also be pushed to all users in the second user group, so that all users in the second user group, In particular, a user having the right to receive information of a shared document knows that a message of a new shared document is added to the user group. The newly added shared document notification message carries the identifier of the newly added shared document, and the newly added shared document identifier is the identifier of the created shared document. Of course, the present application is only used as an example for description. The message carried in the newly added shared document notification message in the actual application is not limited thereto. For example, the working group that shares the shared document and the second working group may receive the shared document. Users and so on.
由以上可见,本方案中,通过向具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息,使得信息发送具有更强的针对性;通过获得用户列表的方式获得具有接收共享文档信息权限的用户信息,使得第一用户组中用户发送的文档共享请求信息可以携带较少信息。It can be seen from the above that in the solution, by sending information for providing a user operation interface to a user having the right to receive the shared document information, the information transmission is more targeted; obtaining the shared document information by obtaining the user list. The user information of the authority enables the document sharing request information sent by the user in the first user group to carry less information.
图4为本申请实施例提供的一种用于实现用户组之间共享文档的装置的结构示意图,该装置包括:信息接收模块401和指令发送模块402。FIG. 4 is a schematic structural diagram of an apparatus for implementing a shared document between user groups according to an embodiment of the present disclosure. The apparatus includes: an information receiving module 401 and an instruction sending module 402.
其中,信息接收模块401,用于接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识;The information receiving module 401 is configured to receive the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group.
指令发送模块402,用于根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。The instruction sending module 402 is configured to send, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate the location The second user group creates a shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
本实施例中,所述指令发送模块402,In this embodiment, the instruction sending module 402,
具体用于根据第二用户组的标识,向第二用户组发送用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或Specifically, according to the identifier of the second user group, sending, to the second user group, an instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
具体用于根据第二用户组的标识,向第二用户组发送用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建 待创建共享文档。Specifically, the information about the user operation interface is sent to the second user group according to the identifier of the second user group, where the second user group is created according to the operation of the user in the interface in the second user group. The shared document is to be created.
在本申请的另一个具体实施例中,该装置还包括:通知消息推送模块(图中未示出)。In another specific embodiment of the present application, the apparatus further includes: a notification message pushing module (not shown).
其中,通知消息推送模块,用于向第二用户组中的所有用户推送新增共享文档通知消息;所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。The notification message pushing module is configured to push a newly added shared document notification message to all users in the second user group; the newly added shared document notification message carries an identifier of the newly added shared document, wherein the newly added shared document is added The identifier is the identifier of the shared document to be created.
由以上可见,本方案中,服务器端根据接收到的第一用户组中用户发送的文档共享请求信息中的第二用户组标识,向第二用户组推送共享文档指令。由于共享文档指令中的待创建共享文档的索引与目标共享文档的标识相关联,当第二用户组中的用户浏览该根据共享文档指令创建的共享文档时,实际上是通过关联关系浏览的第一用户组中的目标共享文档,因此,第一用户组中的用户编辑目标共享文档后,在第二用户组中能够同步更新该共享文档。It can be seen from the above that in the solution, the server pushes the shared document instruction to the second user group according to the second user group identifier in the received document sharing request information sent by the user in the first user group. Since the index of the shared document to be created in the shared document instruction is associated with the identifier of the target shared document, when the user in the second user group browses the shared document created according to the shared document instruction, the browsing is actually performed through the association relationship. The target in a user group shares the document, so that after the user in the first user group edits the target shared document, the shared document can be updated synchronously in the second user group.
由于服务器端向第二用户组发送的共享文档指令可以是用于提供用户操作接口的信息,且该操作接口信息可以只向具有一定权限的用户发送,为此本申请提供了另一个实施例,图5为本申请实施例提供的一种用于实现用户组之间共享文档的装置的结构示意图,与图4所示实施例相比,本实施例中增加了用户列表获得模块403和用户选取模块404。The shared document command sent by the server to the second user group may be information for providing a user operation interface, and the operation interface information may be sent only to users with certain rights. For this reason, the present application provides another embodiment. FIG. 5 is a schematic structural diagram of an apparatus for implementing a shared document between user groups according to an embodiment of the present disclosure. Compared with the embodiment shown in FIG. 4, a user list obtaining module 403 and a user selection are added in this embodiment. Module 404.
其中,指令发送模块402,具体用于根据第二用户组的标识,向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。The instruction sending module 402 is specifically configured to send, according to the identifier of the second user group, information for providing the user operation interface to the user having the right to receive the shared document information in the second user group.
用户列表获得模块403,用于在向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息之前,获得第二用户组中的用户列表。The user list obtaining module 403 is configured to obtain a user list in the second user group before transmitting the information providing the user operation interface to the user having the right to receive the shared document information in the second user group.
用户选取模块404,用于从所述用户列表中选取具有接收共享文档信息权限的用户。The user selection module 404 is configured to select, from the user list, a user having the right to receive the shared document information.
由以上可见,本方案中,通过向具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息,使得信息发送具有更强的针对性;通过获得用户列表的方式获得具有接收共享文档信息权限的用户信息,使得第一用户组中用户发送的文档共享请求信息可以携带较少信息。 It can be seen from the above that in the solution, by sending information for providing a user operation interface to a user having the right to receive the shared document information, the information transmission is more targeted; obtaining the shared document information by obtaining the user list. The user information of the authority enables the document sharing request information sent by the user in the first user group to carry less information.
另外,本申请实施例还提供了一种电子设备,可以包括:In addition, the embodiment of the present application further provides an electronic device, which may include:
处理器、存储器、通信接口和总线;a processor, a memory, a communication interface, and a bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行本申请实施例所提供的用于实现用户组之间共享文档的方法;其中,本申请实施例所提供的用于实现用户组之间共享文档的可以包括:The processor, by reading the executable program code stored in the memory, to run a program corresponding to the executable program code, for performing the sharing of the document between the user groups provided by the embodiments of the present application. The method for implementing sharing of documents between user groups provided by the embodiments of the present application may include:
接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识;Receiving the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。Sending, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
其中,所述共享文档指令,包括:The shared document instruction includes:
用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或An instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Information for providing a user operation interface, the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
其中,所述向第二用户组发送共享文档指令的步骤,包括:The step of sending a shared document instruction to the second user group includes:
向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
其中,在所述向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息步骤之前,还包括:Before the step of sending the information for providing the user operation interface to the user having the right to receive the shared document information in the second user group, the method further includes:
获得第二用户组中的用户列表;Obtaining a list of users in the second user group;
从所述用户列表中选取具有接收共享文档信息权限的用户。A user having the right to receive the shared document information is selected from the user list.
其中,所述用于实现用户组之间共享文档的方法还包括:向第二用户组中的所有用户推送新增共享文档通知消息; The method for implementing sharing documents between user groups further includes: pushing a new shared document notification message to all users in the second user group;
所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。The newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
另外,本申请实施例还提供了一种存储介质,用于存储应用程序,所述应用程序用于执行本申请实施例所提供的用于实现用户组之间共享文档的方法;其中,本申请实施例所提供的用于实现用户组之间共享文档的可以包括:In addition, the embodiment of the present application further provides a storage medium for storing an application, where the application is used to implement a method for implementing sharing of documents between user groups provided by the embodiments of the present application; The embodiments provided by the embodiment for implementing sharing of documents between user groups may include:
接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识;Receiving the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。Sending, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
其中,所述共享文档指令,包括:The shared document instruction includes:
用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或An instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Information for providing a user operation interface, the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
其中,所述向第二用户组发送共享文档指令的步骤,包括:The step of sending a shared document instruction to the second user group includes:
向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
其中,在所述向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息步骤之前,还包括:Before the step of sending the information for providing the user operation interface to the user having the right to receive the shared document information in the second user group, the method further includes:
获得第二用户组中的用户列表;Obtaining a list of users in the second user group;
从所述用户列表中选取具有接收共享文档信息权限的用户。A user having the right to receive the shared document information is selected from the user list.
其中,所述用于实现用户组之间共享文档的方法还包括:向第二用户组中的所有用户推送新增共享文档通知消息;The method for implementing sharing documents between user groups further includes: pushing a new shared document notification message to all users in the second user group;
所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。 The newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
另外,本申请实施例还提供了一种应用程序,用于执行本申请实施例所提供的用于实现用户组之间共享文档的方法;其中,本申请实施例所提供的用于实现用户组之间共享文档的方法可以包括:In addition, the embodiment of the present application further provides an application program, which is used to implement a method for sharing a document between user groups, which is provided by the embodiment of the present application. Ways to share documents between them can include:
接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识;Receiving the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。Sending, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
其中,所述共享文档指令,包括:The shared document instruction includes:
用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或An instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Information for providing a user operation interface, the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
其中,所述向第二用户组发送共享文档指令的步骤,包括:The step of sending a shared document instruction to the second user group includes:
向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
其中,在所述向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息步骤之前,还包括:Before the step of sending the information for providing the user operation interface to the user having the right to receive the shared document information in the second user group, the method further includes:
获得第二用户组中的用户列表;Obtaining a list of users in the second user group;
从所述用户列表中选取具有接收共享文档信息权限的用户。A user having the right to receive the shared document information is selected from the user list.
其中,所述用于实现用户组之间共享文档的方法还包括:向第二用户组中的所有用户推送新增共享文档通知消息;The method for implementing sharing documents between user groups further includes: pushing a new shared document notification message to all users in the second user group;
所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。The newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示 这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying There is any such actual relationship or order between these entities or operations. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。One of ordinary skill in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, which is referred to herein. Storage media such as ROM/RAM, disk, CD, etc.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。 The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present application, should be included in the present application. Within the scope of protection.

Claims (13)

  1. 一种用于实现用户组之间共享文档的方法,其特征在于,所述方法包括:A method for implementing a shared document between groups of users, the method comprising:
    接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识;Receiving the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
    根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。Sending, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate that the second user group is created and The shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  2. 根据权利要求1所述的方法,其特征在于,所述共享文档指令,包括:The method of claim 1, wherein the sharing document instructions comprises:
    用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或An instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
    用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Information for providing a user operation interface, the second user group creating a shared document to be created according to an operation of the user in the interface in the second user group.
  3. 根据权利要求2所述的方法,其特征在于,所述向第二用户组发送共享文档指令的步骤,包括:The method according to claim 2, wherein the step of transmitting a shared document instruction to the second group of users comprises:
    向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。Information for providing a user operation interface is transmitted to a user having permission to receive shared document information in the second user group.
  4. 根据权利要求3所述的方法,其特征在于,在所述向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息步骤之前,还包括:The method according to claim 3, further comprising: before the step of transmitting the information providing the user operation interface to the user having the right to receive the shared document information in the second user group, further comprising:
    获得第二用户组中的用户列表;Obtaining a list of users in the second user group;
    从所述用户列表中选取具有接收共享文档信息权限的用户。A user having the right to receive the shared document information is selected from the user list.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述方法还包括:向第二用户组中的所有用户推送新增共享文档通知消息;The method according to any one of claims 1 to 4, further comprising: pushing a new shared document notification message to all users in the second user group;
    所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。The newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the newly added shared document is the identifier of the shared document to be created.
  6. 一种用于实现用户组之间共享文档的装置,其特征在于,所述装置包括: An apparatus for implementing a shared document between groups of users, wherein the apparatus comprises:
    信息接收模块,用于接收第一用户组中用户发送的文档共享请求信息,所述文档共享请求信息中,携带目标共享文档的标识、第二用户组的标识;The information receiving module is configured to receive the document sharing request information sent by the user in the first user group, where the document sharing request information carries the identifier of the target shared document and the identifier of the second user group;
    指令发送模块,用于根据第二用户组的标识,向第二用户组发送共享文档指令,所述共享文档指令中携带待创建共享文档的标识和待创建共享文档的索引,用于指示所述第二用户组创建与目标共享文档对应的共享文档,其中,所述待创建文档的索引与目标共享文档的标识相同,用于将待创建文档与目标共享文档关联。An instruction sending module, configured to send, according to the identifier of the second user group, a shared document instruction to the second user group, where the shared document instruction carries an identifier of the shared document to be created and an index of the shared document to be created, and is used to indicate the The second user group creates a shared document corresponding to the target shared document, wherein the index of the document to be created is the same as the identifier of the target shared document, and is used to associate the document to be created with the target shared document.
  7. 根据权利要求1所述的装置,其特征在于,所述指令发送模块,The apparatus according to claim 1, wherein said instruction transmitting module,
    具体用于根据第二用户组的标识,向第二用户组发送用于触发第二用户组自动根据待创建共享文档的标识和待创建共享文档的索引创建共享文档的指令;或Specifically, according to the identifier of the second user group, sending, to the second user group, an instruction for triggering the second user group to automatically create a shared document according to the identifier of the shared document to be created and the index of the shared document to be created; or
    具体用于根据第二用户组的标识,向第二用户组发送用于提供用户操作接口的信息,所述第二用户组根据第二用户组中用户在该接口的操作,创建待创建共享文档。Specifically, the information about the user operation interface is sent to the second user group according to the identifier of the second user group, and the second user group creates the shared document to be created according to the operation of the user in the interface in the second user group. .
  8. 根据权利要求7所述的装置,其特征在于,所述指令发送模块,具体用于根据第二用户组的标识,向第二用户组中具有接收共享文档信息权限的用户发送用于提供用户操作接口的信息。The device according to claim 7, wherein the instruction sending module is configured to send, according to the identifier of the second user group, a user having the right to receive the shared document information in the second user group, to provide a user operation. Interface information.
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    用户列表获得模块,用于在向第二用户组中具有接收共享文档信息权限的用户发送提供用户操作接口的信息之前,获得第二用户组中的用户列表;a user list obtaining module, configured to obtain a user list in the second user group before transmitting the information providing the user operation interface to the user having the right to receive the shared document information in the second user group;
    用户选取模块,用于从所述用户列表中选取具有接收共享文档信息权限的用户。A user selection module is configured to select a user having the right to receive the shared document information from the user list.
  10. 根据权利要求6-9中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6-9, wherein the device further comprises:
    通知消息推送模块,用于向第二用户组中的所有用户推送新增共享文档通知消息;所述新增共享文档通知消息中,携带新增共享文档的标识,其中,新增共享文档的标识为所述待创建共享文档的标识。a notification message pushing module, configured to push a newly added shared document notification message to all users in the second user group; the newly added shared document notification message carries an identifier of the newly added shared document, where the identifier of the shared document is newly added The identifier of the shared document to be created.
  11. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    处理器、存储器、通信接口和总线; a processor, a memory, a communication interface, and a bus;
    所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
    所述存储器存储可执行程序代码;The memory stores executable program code;
    所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行权利要求1-5中任意一项所述的用于实现用户组之间共享文档的方法。The processor, by reading executable program code stored in the memory, executing a program corresponding to the executable program code for performing the user for implementing the user of any one of claims 1-5 The method of sharing documents between groups.
  12. 一种存储介质,其特征在于,用于存储应用程序,所述应用程序用于执行权利要求1-5中任意一项所述的用于实现用户组之间共享文档的方法。A storage medium, configured to store an application, the application for performing the method for implementing sharing of documents between groups of users according to any one of claims 1-5.
  13. 一种应用程序,其特征在于,用于执行权利要求1-5中任意一项所述的用于实现用户组之间共享文档的方法。 An application for performing the method for implementing sharing of documents between user groups according to any one of claims 1-5.
PCT/CN2014/092792 2013-12-27 2014-12-02 Method and apparatus for implementing document sharing between user groups WO2015096599A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016542707A JP6289642B2 (en) 2013-12-27 2014-12-02 Method and apparatus for document sharing between user groups
US15/107,843 US10129264B2 (en) 2013-12-27 2014-12-02 Method and apparatus for implementing document sharing between user groups

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310747046.5 2013-12-27
CN201310747046.5A CN104750739A (en) 2013-12-27 2013-12-27 Method and device for document sharing between user groups

Publications (1)

Publication Number Publication Date
WO2015096599A1 true WO2015096599A1 (en) 2015-07-02

Family

ID=53477516

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092792 WO2015096599A1 (en) 2013-12-27 2014-12-02 Method and apparatus for implementing document sharing between user groups

Country Status (4)

Country Link
US (1) US10129264B2 (en)
JP (1) JP6289642B2 (en)
CN (1) CN104750739A (en)
WO (1) WO2015096599A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357106B (en) * 2015-11-09 2019-07-23 形山科技(深圳)有限公司 A kind of content displaying method, terminal device and system
US11030390B2 (en) * 2016-01-11 2021-06-08 Microsoft Technology Licensing, Llc Sharing content between electronic documents
JP6668943B2 (en) * 2016-05-24 2020-03-18 株式会社リコー Information processing apparatus, information processing program, and information processing system
US10230731B2 (en) * 2016-06-02 2019-03-12 Microsoft Technology Licensing, Llc. Automatically sharing a document with user access permissions
CN107784013B (en) * 2016-08-30 2021-08-27 福建福昕软件开发股份有限公司 Method for interconnecting dispersed documents for distributed management
CN106781723A (en) * 2016-11-16 2017-05-31 深圳市异度信息产业有限公司 The sharing method and device of document
CN108289056B (en) * 2018-02-07 2020-11-17 北京三快在线科技有限公司 Method and device for sharing dynamic chart and computing equipment
CN110609844B (en) * 2018-05-29 2022-05-13 优信拍(北京)信息科技有限公司 Data updating method, device and system
CN109067866A (en) * 2018-07-27 2018-12-21 北京金山云网络技术有限公司 A kind of resource share method, device, electronic equipment and storage medium
CN109767191B (en) * 2019-01-03 2021-10-26 苏州达家迎信息技术有限公司 Data sharing method and device among registered users, server, equipment and medium
CN109918345B (en) * 2019-02-22 2023-11-03 腾讯科技(深圳)有限公司 Document processing method, device, terminal and storage medium
CN111177734A (en) * 2019-07-16 2020-05-19 腾讯科技(深圳)有限公司 Document operation authority setting and document operation method, device, terminal and medium
CN110598381B (en) * 2019-09-16 2022-04-05 北京字节跳动网络技术有限公司 Data access method, device, equipment and storage medium
CN110765744B (en) * 2019-10-22 2024-01-30 思必驰科技股份有限公司 Multi-user collaborative document editing method and system
CN110888853A (en) * 2019-11-26 2020-03-17 廊坊新奥燃气有限公司 Data management system and method
US11265282B2 (en) * 2020-03-17 2022-03-01 Slack Technologies, Llc Methods and apparatuses for managing external approval provisioning and external messaging communication requests in a group-based communication system
WO2021218944A1 (en) * 2020-04-30 2021-11-04 北京字节跳动网络技术有限公司 Information interaction method and apparatus, device, and medium
CN112632919B (en) * 2020-09-28 2022-03-08 腾讯科技(深圳)有限公司 Document editing method and device, computer equipment and storage medium
CN112953815B (en) * 2021-02-08 2022-07-15 北京字跳网络技术有限公司 Information access control method, device, equipment and storage medium
JP7154641B1 (en) * 2021-04-06 2022-10-18 株式会社アジャイルHr Information processing device, information processing system and information processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999968A (en) * 1996-10-24 1999-12-07 Fujitsu Limited System and method for presenting shared information to network user in specific order
CN1928861A (en) * 2005-09-09 2007-03-14 国际商业机器公司 Immediate communication client machine for project share and method thereof
CN101764726A (en) * 2008-12-23 2010-06-30 埃森哲环球服务有限公司 Enhanced content sharing framework
CN102946404A (en) * 2012-07-20 2013-02-27 珠海金山办公软件有限公司 Method for displaying selectively-synchronized file folders at user terminal and cloud storage system
US8417225B2 (en) * 2006-12-19 2013-04-09 Motorola Mobility Llc Method for coordinating the sharing of contact information between a directory terminal and a portable communication device, as well as providing enhanced user interface context features

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719325B2 (en) * 2003-02-28 2014-05-06 Microsoft Corporation Method to initiate server based collaboration on e-mail attachments
JP4241200B2 (en) * 2003-06-06 2009-03-18 日本電気株式会社 Data sharing system and method, and data sharing program
US20050021938A1 (en) * 2003-06-10 2005-01-27 Kabushiki Kaisha Toshiba Document access control system and method
US7567987B2 (en) * 2003-10-24 2009-07-28 Microsoft Corporation File sharing in P2P group shared spaces
JP2005267266A (en) * 2004-03-18 2005-09-29 Nec Corp Information sharing system among groups
US7313580B2 (en) * 2005-02-08 2007-12-25 Domenico Vellante Systems and methods for sharing information between a user group and associated document
JP2007058595A (en) 2005-08-24 2007-03-08 Ricoh Co Ltd Data sharing device, shared data management device, shared data management system, shared data update program, shared data cooperation program, shared data management program and computer-readable recording medium
JP4697468B2 (en) * 2007-01-31 2011-06-08 日本電気株式会社 Usage authority management apparatus, content sharing system, content sharing method, and content sharing program
JP4929142B2 (en) * 2007-12-07 2012-05-09 キヤノン株式会社 Data processing apparatus, control method therefor, and computer program
EP2310958B1 (en) * 2008-06-19 2015-02-25 Andrew Liebman A novel media file access and storage solution for multi-workstation/multi-platform non-linear video editing systems
CN101655845A (en) * 2008-08-21 2010-02-24 北京亿企通信息技术有限公司 Method for processing documents in multi-person collaboration working environment
US20100064004A1 (en) * 2008-09-10 2010-03-11 International Business Machines Corporation Synchronizing documents by designating a local server
CN103108009B (en) * 2011-11-14 2016-12-21 腾讯科技(深圳)有限公司 File sharing method based on off-line space and device
US9396156B2 (en) * 2012-04-26 2016-07-19 Connected Data, Inc. System and method for socially organized storage and shared access to storage appliances
US20140143434A1 (en) * 2012-11-12 2014-05-22 Calgary Scientific Inc. Framework to notify and invite users to join a collaborative session
US9378386B1 (en) * 2013-03-15 2016-06-28 Microstrategy Incorporated Content sharing technology
US20150312331A1 (en) * 2014-04-25 2015-10-29 Shinkuro, Inc. System and Method for Group Collaboration Using a Distributed Network File Repository

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999968A (en) * 1996-10-24 1999-12-07 Fujitsu Limited System and method for presenting shared information to network user in specific order
CN1928861A (en) * 2005-09-09 2007-03-14 国际商业机器公司 Immediate communication client machine for project share and method thereof
US8417225B2 (en) * 2006-12-19 2013-04-09 Motorola Mobility Llc Method for coordinating the sharing of contact information between a directory terminal and a portable communication device, as well as providing enhanced user interface context features
CN101764726A (en) * 2008-12-23 2010-06-30 埃森哲环球服务有限公司 Enhanced content sharing framework
CN102946404A (en) * 2012-07-20 2013-02-27 珠海金山办公软件有限公司 Method for displaying selectively-synchronized file folders at user terminal and cloud storage system

Also Published As

Publication number Publication date
JP2017502415A (en) 2017-01-19
CN104750739A (en) 2015-07-01
US20160330208A1 (en) 2016-11-10
US10129264B2 (en) 2018-11-13
JP6289642B2 (en) 2018-03-07

Similar Documents

Publication Publication Date Title
WO2015096599A1 (en) Method and apparatus for implementing document sharing between user groups
CN107735807B (en) Intelligent deletion of revoked data
AU2022201538B2 (en) Control transfer of shared content
JP6795684B2 (en) Malware detection and content item restoration
US9628563B2 (en) Sharing and synchronizing data across users of cloud computing systems
US9311326B2 (en) Virtual file system for automated data replication and review
US9021136B2 (en) Data synchronisation
US11799810B2 (en) Managing message attachments
JP2020537212A (en) Workflow function of the content management system implemented by the client device
JP6869193B2 (en) Access method and equipment
WO2015096597A1 (en) Method and device for browsing document by multiple devices
US20140304384A1 (en) Uploading large content items
KR20150032152A (en) Method and apparatus for performing edit operations between electronic devices
US9930063B2 (en) Random identifier generation for offline database
US20140164534A1 (en) System for sending a content item through an online content management system
US20150215399A1 (en) Terminal and server performing data synchronization
JP2013210912A (en) Data processing device, data processing system and program
US20150082157A1 (en) Method and device for realizing operations between devices
KR102097931B1 (en) Forwarding activity-related information from source electronic devices to companion electronic devices
WO2023246031A1 (en) Data sharing method, system and apparatus, terminal device and storage medium
TW201500933A (en) Method for sharing and synchronizing data in local area network
EP2687999A1 (en) Method and terminal for automatic data replication
US10412586B2 (en) Limited-functionality accounts
WO2021055078A1 (en) Applying rules to client updates on shared records to trigger system-generated updates
JP6750347B2 (en) Document browsing control device, document browsing control system and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14873224

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016542707

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15107843

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14873224

Country of ref document: EP

Kind code of ref document: A1