CN111460432B - On-line document authority control method, device, equipment and computer readable medium - Google Patents

On-line document authority control method, device, equipment and computer readable medium Download PDF

Info

Publication number
CN111460432B
CN111460432B CN202010255507.7A CN202010255507A CN111460432B CN 111460432 B CN111460432 B CN 111460432B CN 202010255507 A CN202010255507 A CN 202010255507A CN 111460432 B CN111460432 B CN 111460432B
Authority
CN
China
Prior art keywords
authority
client
online document
server
changed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010255507.7A
Other languages
Chinese (zh)
Other versions
CN111460432A (en
Inventor
彭龙腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Original Assignee
Douyin Vision Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Douyin Vision Co Ltd filed Critical Douyin Vision Co Ltd
Priority to CN202010255507.7A priority Critical patent/CN111460432B/en
Publication of CN111460432A publication Critical patent/CN111460432A/en
Application granted granted Critical
Publication of CN111460432B publication Critical patent/CN111460432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the disclosure provides an online document authority control method, device and equipment and a computer readable medium, wherein the method comprises the following steps: receiving a first message sent by a first client for indicating permission change of an online document; according to the first message, sending the identification ID of the online document to a server; receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document; determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document; and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client. The method realizes that after the online document is opened by at least one second client, the second message of the permission change of the online document can be timely sent to the second client with the permission change of the online document.

Description

On-line document authority control method, device, equipment and computer readable medium
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to an online document authority control method, apparatus, device, and computer readable medium.
Background
At present, a user uses an online document to record work or write a document, the document has authority management, a user with viewing authority can only view the document content, a user with editing authority can edit the document, and a user without authority cannot compile or view the document content. When a user without authority wants to view the document, the user can actively apply, and the document owner can receive the notification of the authority application so as to open the authority to the user according to the situation, but the prior art cannot timely broadcast the notification of the authority change of the online document to the client where the user is located.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Only the independent scheme is described, and the slave scheme is not described.
Aiming at the defects of the existing mode, the present disclosure provides an online document authority control method, device, equipment and readable medium, which are used for solving the problem of how to timely broadcast the notification of the authority change of the online document to a client.
In a first aspect, the present disclosure provides an online document rights control method, including:
receiving a first message sent by a first client for indicating permission change of an online document;
according to the first message, sending the identification ID of the online document to a server;
receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document;
determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document;
and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client.
In a second aspect, the present disclosure provides an online document rights control apparatus, including:
the first processing module is used for receiving a first message sent by the first client and used for indicating the permission change of the online document;
the second processing module is used for sending the identification ID of the online document to the server according to the first message;
the third processing module is used for receiving the ID of at least one second client sent by the server, wherein the second client is a client for accessing the online document;
the fourth processing module is used for determining the second client with changed online document authority according to the ID of at least one second client and the ID of the online document;
and the fifth processing module is used for sending the ID of the second client with the changed online document authority to the server so that the server sends a second message for indicating the changed online document authority to the second client.
In a third aspect, the present disclosure provides an electronic device comprising: a processor, a memory, and a bus;
a bus for connecting the processor and the memory;
a memory for storing operation instructions;
and the processor is used for executing the online document authority control method of the first aspect of the disclosure by calling the operation instruction.
In a fourth aspect, the present disclosure provides a computer-readable medium storing a computer program for executing the online document rights control method of the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure has at least the following beneficial effects:
receiving a first message sent by a first client for indicating permission change of an online document; according to the first message, sending the identification ID of the online document to a server; receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document; determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document; and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client. Therefore, after the online document is opened by at least one second client, the second message of the permission change of the online document can be sent to the second client with the permission change of the online document in time.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings that are required to be used in the description of the embodiments of the present disclosure will be briefly introduced below.
FIG. 1 is a schematic flow chart of an online document rights control method provided in an embodiment of the disclosure;
FIG. 2 is a flowchart of another method for controlling rights in an online document according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an online document rights control device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are used merely to distinguish one device, module, or unit from another device, module, or unit, and are not intended to limit the order or interdependence of the functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Example 1
The embodiment of the disclosure provides an online document authority control method, a flow diagram of which is shown in fig. 1, and the method comprises the following steps:
s101, receiving a first message sent by a first client for indicating permission change of an online document.
In an embodiment of the disclosure, the user corresponding to the first client includes at least one of an owner of the online document and an editor of the online document.
S102, according to the first message, the identification ID of the online document is sent to a server.
In the embodiment of the disclosure, the identification ID of the online document is a unique identification of the online document and is equivalent to an identity card of the online document. One online document has only one ID, and the IDs of all online documents are different.
S103, receiving the ID of at least one second client sent by the server, wherein the second client is a client for accessing the online document.
In the embodiment of the disclosure, the ID of the second client is a user ID corresponding to the second client, and the user ID is a unique identity of the user.
S104, determining the second client with changed online document authority according to the ID of at least one second client and the ID of the online document.
S105, the ID of the second client with the changed online document authority is sent to the server, so that the server sends a second message for indicating the changed online document authority to the second client.
In the embodiment of the disclosure, the first client and the second client are various browsers, and the first client and the second client can open the online document.
In the embodiment of the disclosure, the websocket server of the long-chain server may actively broadcast a notification to the first client and the second client, and the first client and the second client may also actively send information to the websocket server of the long-chain server.
In the embodiment of the disclosure, a first message sent by a first client for indicating permission change of an online document is received; according to the first message, sending the identification ID of the online document to a server; receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document; determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document; and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client. Therefore, after the online document is opened by at least one second client, the second message of the permission change of the online document can be sent to the second client with the permission change of the online document in time.
In an embodiment of the present disclosure, the rights change of the online document includes at least one of:
the second client is endowed with a first authority, and the first authority comprises an access authority, an editing authority or a sharing authority;
the second client is cancelled with a first authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority;
the authority of the second client is updated from the first authority to the second authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority, and the second authority comprises the access authority, the editing authority or the sharing authority.
In the embodiment of the disclosure, the user corresponding to the first client includes at least one of an owner of the online document and an editor of the online document; the ID of the second client is the user ID corresponding to the second client.
In the embodiment of the disclosure, after the ID of the second client with the changed online document authority is sent to the server, confirmation information sent by the second client with the changed online document authority is received, where the confirmation information is used for confirming that the online document authority is changed by the second client with the changed online document authority.
In the embodiment of the disclosure, before the permission control system permission receives a first message sent by a first client and used for indicating permission change of an online document, the server is used for establishing a mapping relationship between an ID of the second client and an ID of the online document.
Another method for controlling authority of online document is provided in the embodiments of the present disclosure, and a flow chart of the method is shown in fig. 2, where the method includes:
step 1, a user opens an online document, a second client corresponding to the user sends a user ID (the ID of the second client) and the online document ID to a long-chain server websocket server, and the second client corresponding to the user and the long-chain server websocket server establish a long-chain relationship. The websocket server records a mapping relationship between a document ID and a user ID, so that the current online document can be known which user is opened. The client clients in fig. 2 include a first client and a second client.
In the embodiment of the present disclosure, the ID of the second client is a user ID corresponding to the second client.
And 2, the permission control system permission receives notification of permission change of the online document sent by the online document owner or a client corresponding to the online document editor.
In the embodiment of the disclosure, a client corresponding to an online document owner or an online document editor is a first client.
And 3, sending the online document ID to a websocket server by using the permission control system permission, and acquiring a set of user IDs of the online document currently opened by using the permission control system permission to call the websocket server. The permission control system permission logic calculates the change of the permission of the online document corresponding to the user ID. For example, if the current online document a is opened by user 1, user 2, user 3, user 4, user 5, user 6, user 7, and user 8 together, then websocket server would record that online document a was opened by 8 users; however, at this time, the rights of the user 6 and the user 7 are changed, so that after permission control system permission calls websocket server, it can be known that 8 users open the current online document a, and only the rights of the user 6 and the user 7 are changed.
And 4, transmitting the document ID and the user ID with the changed corresponding authority to the websocket server by the permission control system permission.
And 5, after the long-chain server websocket server receives the authority change message of the online document, the authority change message of the online document can be broadcasted only for specific users. For example, the current online document a is opened by the user 1, the user 2, the user 3, the user 4, the user 5, the user 6, the user 7 and the user 8 together, but at this time, the rights of the user 6 and the user 7 are changed, and only two clients corresponding to the user 6 and the user 7 receive a message that the rights of the online document a are changed.
In the embodiment of the present disclosure, both the clients corresponding to the user 6 and the user 7 are the second client.
And 6, completing broadcast notification, and acquiring the updated authority information of the online document by the authority control system permission.
In the embodiment of the disclosure, if the online document is opened by 10 thousands of people, after the online document authority is changed, the authority control system permasson sequentially transmits the information of the online document authority change to the client side of the online document authority change, so that the instant concurrent flow problem can not be generated. Meanwhile, the call of a request is reduced, so that the message of the right change can be perceived by the client with the right change faster. The client side with the changed online document authority is a second client side.
In the embodiment of the disclosure, after the authority of the user is recovered, the user cannot normally open the document; the user's rights change from editing to readable, then the user cannot continue editing the document; the user's rights change from reading to editable, and the user can edit the document.
The application of the embodiment of the disclosure has at least the following beneficial effects:
after the online document is opened by at least one second client, the second message of the permission change of the online document can be sent to the second client of which the permission of the online document is changed in at least one second client, so that information leakage can be prevented, and meanwhile, the stability of permission control system permission and long-chain server websocket server service is ensured.
Example two
Based on the same inventive concept, the embodiment of the present disclosure further provides an online document rights control apparatus, a schematic structural diagram of which is shown in fig. 3, where the online document rights control apparatus 30 includes a first processing module 301, a second processing module 302, a third processing module 303, a fourth processing module 304, and a fifth processing module 305.
A first processing module 301, configured to receive a first message sent by a first client and used to indicate permission change of an online document;
a second processing module 302, configured to send, according to the first message, an identification ID of the online document to the server;
a third processing module 303, configured to receive an ID of at least one second client sent by the server, where the second client is a client accessing the online document;
a fourth processing module 304, configured to determine, according to the ID of at least one second client and the ID of the online document, a second client whose online document authority is changed;
the fifth processing module 305 is configured to send the ID of the second client with the changed online document permission to the server, so that the server sends a second message to the second client, where the second message indicates that the online document permission is changed.
In an embodiment of the present disclosure, the rights change of the online document includes at least one of:
the second client is endowed with a first authority, and the first authority comprises an access authority, an editing authority or a sharing authority;
the second client is cancelled with a first authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority;
the authority of the second client is updated from the first authority to the second authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority, and the second authority comprises the access authority, the editing authority or the sharing authority.
In the embodiment of the disclosure, the user corresponding to the first client includes at least one of an owner of the online document and an editor of the online document; the ID of the second client is the user ID corresponding to the second client.
In this embodiment of the present disclosure, after sending the ID of the second client with the changed online document permission to the server, the fifth processing module 305 is specifically configured to receive the confirmation information sent by the second client with the changed online document permission, where the confirmation information is used for the second client with the changed online document permission to confirm that the online document permission is changed.
In the embodiment of the disclosure, before the permission control system permission receives the first message sent by the first client and used for indicating permission change of the online document, the server is used for establishing a mapping relationship between the ID of the second client and the ID of the online document.
The application of the embodiment of the disclosure has at least the following beneficial effects:
receiving a first message sent by a first client for indicating permission change of an online document; according to the first message, sending the identification ID of the online document to a server; receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document; determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document; and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client. Therefore, after the online document is opened by at least one second client, the second message of the permission change of the online document can be sent to the second client with the permission change of the online document in time.
The content of the online document permission control device provided in the embodiment of the present disclosure, which is not described in detail, may refer to the online document permission control method provided in the first embodiment, and the beneficial effects that the online document permission control device provided in the embodiment of the present disclosure can achieve are the same as those of the online document permission control method provided in the first embodiment, which is not described herein again.
Example III
Referring now to fig. 4, a schematic diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
An electronic device includes: a memory and a processor, where the processor may be referred to as a processing device 801 described below, the memory may include at least one of a Read Only Memory (ROM) 802, a Random Access Memory (RAM) 803, and a storage device 808 described below, as shown in fig. 4 in particular:
the electronic device 800 may include a processing means (e.g., a central processor, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with programs stored in a Read Only Memory (ROM) 802 or loaded from a storage 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
In general, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, etc.; storage 808 including, for example, magnetic tape, hard disk, etc.; communication means 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 shows an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 801.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a first message sent by a first client for indicating permission change of an online document; according to the first message, sending the identification ID of the online document to a server; receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document; determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document; and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the name of a module or unit does not in some cases constitute a limitation of the unit itself.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, an embodiment one provides an online document rights control method, including:
receiving a first message sent by a first client for indicating permission change of an online document;
according to the first message, sending the identification ID of the online document to a server;
receiving an ID of at least one second client sent by a server, wherein the second client is a client for accessing an online document;
determining a second client with changed online document authority according to the ID of at least one second client and the ID of the online document;
and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the changed online document authority to the second client.
In an embodiment of the present disclosure, the rights change of the online document includes at least one of:
the second client is endowed with a first authority, and the first authority comprises an access authority, an editing authority or a sharing authority;
the second client is cancelled with a first authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority;
the authority of the second client is updated from the first authority to the second authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority, and the second authority comprises the access authority, the editing authority or the sharing authority.
In the embodiment of the disclosure, the user corresponding to the first client includes at least one of an owner of the online document and an editor of the online document; the ID of the second client is the user ID corresponding to the second client.
In the embodiment of the disclosure, after the ID of the second client with the changed online document authority is sent to the server, confirmation information sent by the second client with the changed online document authority is received, where the confirmation information is used for confirming that the online document authority is changed by the second client with the changed online document authority.
In the embodiment of the disclosure, before the permission control system permission receives the first message sent by the first client and used for indicating permission change of the online document, the server is used for establishing a mapping relationship between the ID of the second client and the ID of the online document.
According to one or more embodiments of the present disclosure, a second embodiment provides an online document rights control apparatus, including:
the first processing module is used for receiving a first message sent by the first client and used for indicating the permission change of the online document;
the second processing module is used for sending the identification ID of the online document to the server according to the first message;
the third processing module is used for receiving the ID of at least one second client sent by the server, wherein the second client is a client for accessing the online document;
the fourth processing module is used for determining the second client with changed online document authority according to the ID of at least one second client and the ID of the online document;
and the fifth processing module is used for sending the ID of the second client with the changed online document authority to the server so that the server sends a second message for indicating the changed online document authority to the second client.
In an embodiment of the present disclosure, the rights change of the online document includes at least one of:
the second client is endowed with a first authority, and the first authority comprises an access authority, an editing authority or a sharing authority;
the second client is cancelled with a first authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority;
the authority of the second client is updated from the first authority to the second authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority, and the second authority comprises the access authority, the editing authority or the sharing authority.
In the embodiment of the disclosure, the user corresponding to the first client includes at least one of an owner of the online document and an editor of the online document; the ID of the second client is the user ID corresponding to the second client.
In the embodiment of the disclosure, after the ID of the second client with the changed online document authority is sent to the server, the fifth processing module is specifically configured to receive the confirmation information sent by the second client with the changed online document authority, where the confirmation information is used for confirming that the online document authority is changed by the second client with the changed online document authority.
In the embodiment of the disclosure, before the permission control system permission receives the first message sent by the first client and used for indicating permission change of the online document, the server is used for establishing a mapping relationship between the ID of the second client and the ID of the online document.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (10)

1. An online document authority control method applied to an authority control system is characterized by comprising the following steps:
receiving a first message sent by a first client for indicating permission change of an online document;
according to the first message, sending the identification ID of the online document to a server;
receiving an ID of at least one second client sent by the server, wherein the second client is a client accessing the online document;
determining a second client with changed online document authority according to the ID of the at least one second client and the ID of the online document;
and sending the ID of the second client with the changed online document authority to the server, so that the server sends a second message for indicating the change of the online document authority to the second client.
2. The method of claim 1, wherein the change in rights to the online document comprises at least one of:
the second client is endowed with a first authority, and the first authority comprises an access authority, an editing authority or a sharing authority;
the second client is cancelled with a first authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority;
the authority of the second client is updated from a first authority to a second authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority, and the second authority comprises an access authority, an editing authority or a sharing authority.
3. The method of claim 1, wherein the user to which the first client corresponds comprises at least one of an owner of the online document, an editor of the online document; the ID of the second client is the user ID corresponding to the second client.
4. The method according to claim 1, wherein after the ID of the second client that changes the online document authority is transmitted to the server, the method further comprises:
and receiving confirmation information sent by the second client side with the changed online document authority, wherein the confirmation information is used for confirming that the online document authority is changed by the second client side with the changed online document authority.
5. The method of claim 1, wherein the server is configured to establish a mapping relationship between the ID of the second client and the ID of the online document before the permission control system permission receives a first message sent by a first client to indicate a change in permission of the online document.
6. An online document rights control apparatus, applied to a rights control system, comprising:
the first processing module is used for receiving a first message sent by the first client and used for indicating the permission change of the online document;
the second processing module is used for sending the identification ID of the online document to a server according to the first message;
the third processing module is used for receiving the ID of at least one second client sent by the server, wherein the second client is a client for accessing the online document;
the fourth processing module is used for determining a second client with changed online document authority according to the ID of the at least one second client and the ID of the online document;
and the fifth processing module is used for sending the ID of the second client with the changed online document authority to the server so that the server sends a second message for indicating the change of the online document authority to the second client.
7. The apparatus of claim 6, wherein the change in rights to the online document comprises at least one of:
the second client is endowed with a first authority, and the first authority comprises an access authority, an editing authority or a sharing authority;
the second client is cancelled with a first authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority;
the authority of the second client is updated from a first authority to a second authority, wherein the first authority comprises an access authority, an editing authority or a sharing authority, and the second authority comprises an access authority, an editing authority or a sharing authority.
8. The apparatus of claim 6, wherein the user corresponding to the first client comprises at least one of an owner of the online document, an editor of the online document; the ID of the second client is the user ID corresponding to the second client.
9. An electronic device, comprising: a processor, a memory;
the memory is used for storing a computer program;
the processor is configured to execute the online document rights control method according to any one of claims 1 to 5 by calling the computer program.
10. A computer readable medium, characterized in that a computer program is stored for implementing the online document rights control method according to any one of claims 1-5 when executed by a processor.
CN202010255507.7A 2020-04-02 2020-04-02 On-line document authority control method, device, equipment and computer readable medium Active CN111460432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010255507.7A CN111460432B (en) 2020-04-02 2020-04-02 On-line document authority control method, device, equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010255507.7A CN111460432B (en) 2020-04-02 2020-04-02 On-line document authority control method, device, equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN111460432A CN111460432A (en) 2020-07-28
CN111460432B true CN111460432B (en) 2023-05-19

Family

ID=71681568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010255507.7A Active CN111460432B (en) 2020-04-02 2020-04-02 On-line document authority control method, device, equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN111460432B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204528A (en) * 2021-03-29 2021-08-03 北京意匠文枢科技有限公司 Method and device for sharing document
CN113407916B (en) * 2021-06-15 2023-04-21 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310481A (en) * 2006-05-16 2007-11-29 Canon Inc Document management method, its program, recording medium, document sharing server, and document sharing system
JP2008083960A (en) * 2006-09-27 2008-04-10 Canon Inc Event notification method in electronic document management system and program for notifying event
JP2008299395A (en) * 2007-05-29 2008-12-11 Fuji Xerox Co Ltd System, device, and program for managing document operation authority information
JP2011003131A (en) * 2009-06-22 2011-01-06 Fuji Xerox Co Ltd Access right management device, document management system, and access right management program
JP2011076378A (en) * 2009-09-30 2011-04-14 Hitachi Solutions Ltd System and method for managing document
CN102685142A (en) * 2012-05-23 2012-09-19 华为技术有限公司 File authority control method, device and system
CN103238150A (en) * 2010-11-02 2013-08-07 谷歌公司 Realtime synchronized document editing by multiple users for blogging
US8938669B1 (en) * 2011-03-15 2015-01-20 Google Inc. Inline user addressing in chat and document editing sessions
CN112784295A (en) * 2020-12-31 2021-05-11 北京字跳网络技术有限公司 Document authority processing method and device, electronic equipment and storage medium
CN113157193A (en) * 2020-01-22 2021-07-23 腾讯科技(深圳)有限公司 Online document change reminding method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310481A (en) * 2006-05-16 2007-11-29 Canon Inc Document management method, its program, recording medium, document sharing server, and document sharing system
JP2008083960A (en) * 2006-09-27 2008-04-10 Canon Inc Event notification method in electronic document management system and program for notifying event
JP2008299395A (en) * 2007-05-29 2008-12-11 Fuji Xerox Co Ltd System, device, and program for managing document operation authority information
JP2011003131A (en) * 2009-06-22 2011-01-06 Fuji Xerox Co Ltd Access right management device, document management system, and access right management program
JP2011076378A (en) * 2009-09-30 2011-04-14 Hitachi Solutions Ltd System and method for managing document
CN103238150A (en) * 2010-11-02 2013-08-07 谷歌公司 Realtime synchronized document editing by multiple users for blogging
US8938669B1 (en) * 2011-03-15 2015-01-20 Google Inc. Inline user addressing in chat and document editing sessions
CN102685142A (en) * 2012-05-23 2012-09-19 华为技术有限公司 File authority control method, device and system
CN113157193A (en) * 2020-01-22 2021-07-23 腾讯科技(深圳)有限公司 Online document change reminding method and device
CN112784295A (en) * 2020-12-31 2021-05-11 北京字跳网络技术有限公司 Document authority processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111460432A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN112784295B (en) Document authority processing method and device, electronic equipment and storage medium
CN111274503B (en) Data processing method, device, electronic equipment and computer readable medium
CN113741756A (en) Information processing method, device, terminal and storage medium
CN111460432B (en) On-line document authority control method, device, equipment and computer readable medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111309415B (en) User Interface (UI) information processing method and device of application program and electronic equipment
CN112261651B (en) Terminal control method, device, terminal and storage medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN115086305B (en) Information processing method, apparatus, electronic device and storage medium
CN111538717B (en) Data processing method, device, electronic equipment and computer readable medium
CN111444457B (en) Data release method and device, storage medium and electronic equipment
CN114089891A (en) Display control method and device and electronic equipment
CN111367590A (en) Interrupt event processing method and device
CN114356788B (en) Application program detection method, device, equipment and medium based on user information
CN112261659B (en) Control method and device for terminal and server, terminal and storage medium
CN111626787B (en) Resource issuing method, device, medium and equipment
CN117155994B (en) Service registration management method, device, equipment and readable storage medium
CN110099122B (en) Method and apparatus for sending network request
CN111262776B (en) Method, device, electronic equipment and computer readable medium for sending notification message
CN112311749B (en) Method and device for adding participating members and electronic equipment
CN111343149B (en) Comment method and device, electronic equipment and computer readable medium
CN114638197A (en) Information processing method, device, electronic equipment and storage medium
CN116701013A (en) Message consumption method, device, electronic equipment and computer readable medium
CN116702205A (en) Authentication method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant