CN113688110A - Shared file management method and device, electronic equipment and storage medium - Google Patents

Shared file management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113688110A
CN113688110A CN202110810694.5A CN202110810694A CN113688110A CN 113688110 A CN113688110 A CN 113688110A CN 202110810694 A CN202110810694 A CN 202110810694A CN 113688110 A CN113688110 A CN 113688110A
Authority
CN
China
Prior art keywords
user
operation data
shared file
instruction
users
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.)
Pending
Application number
CN202110810694.5A
Other languages
Chinese (zh)
Inventor
晁云曈
陈波
王婷
佘庆斌
陈嘉丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Publication of CN113688110A publication Critical patent/CN113688110A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F16/1767Concurrency control, e.g. optimistic or pessimistic approaches

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and a device for managing shared files, electronic equipment and a storage medium, wherein the method comprises the following steps: in the process of sharing files by multiple users, if a first user needs to execute an operation of not performing synchronous display, the first user sends a synchronization closing instruction to the service electronic device, and the service electronic device determines a user identifier of the first user as the first user identifier. The service electronic equipment acquires operation data of the first user on the shared file, and then correspondingly stores the operation data and the first user identification. The first user identification is an identification assigned to the first user. Under the condition that the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the correspondingly stored operation data based on the first user identification, so that under the condition that multiple users cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved.

Description

Shared file management method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of automated office technologies, and in particular, to a method and an apparatus for managing shared files, an electronic device, and a storage medium.
Background
Currently, multiple users can process files synchronously through a server/browser, for example, multiple users can access and edit the same text file, the same table file, the same presentation file, and the like simultaneously. Therefore, the same file can be processed in a multi-user cooperation mode, operations such as editing processing of file contents by each user can be synchronously displayed on the terminal where each user is located, and convenience is brought to the user.
However, in the process of processing files synchronously by multiple users, some operations are not suitable for synchronous presentation to each user. For example, in the process of sharing a table by a plurality of users, a user performs a filtering operation on the table, and the content of a file displayed by a terminal is changed by the filtering operation, which interferes with operations such as editing the content of the file by other users.
In order to avoid unnecessary interference to the user, in the related art, a selection button is provided for the user, and the user can select a cooperation mode for turning on the synchronization processing file or a cooperation mode for turning off the synchronization processing file by clicking the selection button. In this way, the user can select the cooperation mode for closing the synchronous processing file under the condition of executing some operations which are not suitable for synchronous display, so as to reduce the interference to other users. And if the synchronous processing file is selected to be closed, the data content obtained by the user through operations such as editing processing and the like is only effective during the opening period of the synchronous processing file, and once the synchronous processing file is closed, the data content obtained through operations such as editing processing and the like cannot be acquired again. Therefore, by adopting the scheme, great inconvenience is brought to users.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for managing a shared file, an electronic device, and a storage medium, so as to meet personalized requirements of operations such as editing processing of each user and improve a user experience when multiple users collaboratively process the same file.
To achieve the above object, an embodiment of the present invention provides a method for managing shared files, including:
in the process of file sharing by a plurality of users, after receiving a synchronization closing instruction of a first user, determining a user identifier of the first user as a first user identifier; wherein the plurality of users includes the first user and other users;
acquiring operation data of the first user on the shared file;
and correspondingly storing the operation data and the first user identification.
Optionally, the obtaining operation data of the first user on the shared file includes:
obtaining a table screening result of the first user;
the correspondingly storing the operation data and the first user identifier comprises:
and correspondingly storing the screening result and the first user identification.
Optionally, after the correspondingly storing the operation data and the first user identifier, the method further includes:
and after receiving a synchronization starting instruction of a first user, sending the operation data to other users and displaying the operation data.
Optionally, the sending the operation data to the other users and displaying the operation data includes:
determining a user for starting a synchronization instruction in the other users as a user to be synchronized;
and synchronously displaying the operation data between the first user and the user to be synchronized.
Optionally, after receiving the synchronization starting instruction of the first user, the method further includes:
and if the operation data corresponding to the plurality of user identifications are stored, deleting the operation data corresponding to the user identifications except the first user identification.
Optionally, the storing the operation data corresponding to the first user identifier includes:
after receiving a shared file closing instruction of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and closing the shared file;
and/or after receiving a shared file refreshing instruction of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and refreshing the shared file.
Optionally, after receiving an instruction of closing the shared file from the first user, storing the acquired latest operation data of the first user and the first user identifier correspondingly, and closing the shared file, the method further includes:
after receiving an opening instruction of the first user to the shared file, searching operation data stored corresponding to the first user identification as data to be displayed;
and displaying the data to be displayed to the first user.
In order to achieve the above object, an embodiment of the present invention further provides a method for managing shared files, including:
sending a synchronization closing instruction initiated by a first user;
and processing the data of the shared file at the first user operation in a cooperation mode of closing the synchronous processing shared file, wherein the cooperation mode of closing the synchronous processing shared file is started according to the response to the synchronous closing instruction.
Optionally, the processing the data of the shared file at the first user operation in the collaboration mode of closing the synchronous processing shared file includes:
receiving a screening instruction;
and screening the data of the shared file according to the screening instruction.
Optionally, the method further includes:
sending a start synchronization instruction initiated by a first user;
and keeping the operation data displayed by the first user consistent with the operation data displayed by other users by starting a cooperation mode for synchronously processing the shared files.
In order to achieve the above object, an embodiment of the present invention further provides a device for managing shared files, including:
the determining module is used for determining a user identifier of a first user as a first user identifier after receiving a synchronization closing instruction of the first user in the process of file sharing by a plurality of users; wherein the plurality of users includes the first user and other users;
the acquisition module is used for acquiring the operation data of the first user on the shared file;
and the storage module is used for correspondingly storing the operation data and the first user identification.
Optionally, the apparatus further comprises:
and the synchronization module is used for sending the operation data to other users and displaying the operation data after receiving a synchronization starting instruction of the first user.
In order to achieve the above object, an embodiment of the present invention further provides an electronic device, including a processor and a memory;
a memory for storing a computer program;
and the processor is used for realizing any one of the management methods of the shared files when executing the program stored in the memory.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the above methods for managing shared files.
By applying the embodiment of the invention, in the process of simultaneously accessing and editing the same file (namely, shared file) by a plurality of users, if the first user needs to execute the operation of not carrying out synchronous display, the first user sends the synchronous closing instruction to the service electronic equipment, and the service electronic equipment determines the user identifier of the first user as the first user identifier. And then the service electronic equipment sets the first user as a cooperation mode for closing synchronous processing of the shared file, and under the cooperation mode, the service electronic equipment acquires operation data of the first user on the shared file and correspondingly stores the operation data and the first user identification. The first user identification is an identification which is distributed for the first user and has uniqueness and invariability. In this way, when the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the operation data stored corresponding to the first user identifier based on the first user identifier. Therefore, under the condition that multiple persons cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for managing shared files according to an embodiment of the present invention;
fig. 2 is a schematic view of a display interface of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic view of a display interface of another electronic device according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another shared file management method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a further method for managing shared files according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a shared file management apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to achieve the above object, embodiments of the present invention provide a method and an apparatus for managing a shared file, an electronic device, and a storage medium, where the method and the apparatus can be applied to various electronic devices such as a mobile phone, a tablet Computer, and a PC (Personal Computer), and are not limited in particular. The method for managing the shared file will be described first.
Fig. 1 is a schematic flowchart of a method for managing shared files according to an embodiment of the present invention, where the method for managing shared files is applied to a server, and specifically includes:
s101: in the process of file sharing by a plurality of users, after receiving a synchronization closing instruction of a first user, determining a user identifier of the first user as a first user identifier.
Wherein the plurality of users includes the first user and other users.
In the embodiment of the present invention, in order to distinguish descriptions, a user who needs to perform a synchronization exhibition operation during a file sharing process (i.e., during a process in which a plurality of users simultaneously access and edit the same file) is referred to as a first user. Assuming that a user A, a user B and a user C share the same file, and the user A needs to execute operations which are not suitable for synchronous display in the shared file, the user A is called a first user, and the user B and the user C are called other users. It should be noted that: the first user, other users, user a, user B, user C all refer to clients.
The service electronic device receives a closing synchronization instruction sent by the first user, that is, the first user sends the closing synchronization instruction to the service electronic device. For example, referring to fig. 2, a selection button of "multi-person synchronization" may be displayed to the user, and in the case that the user clicks to turn off the "multi-person synchronization", the service electronic device receives a turn-off synchronization instruction of the user. It should be noted that: the service electronic device refers to a server.
After receiving the synchronization closing instruction, the service electronic device can determine a first user sending the instruction according to a sending end of the synchronization closing instruction, and further determine a user identifier of the first user. For example, a multi-user sharing software may be installed in a user, the user may register in the software, and a user identifier may be assigned to the user based on registration information of the user. Alternatively, the user identification may be assigned to the user based on the user's device identification, such as a product serial number. The specific user identifier is not limited, but the user identifier can uniquely identify the user and does not change with the network connection condition or other environmental factors. In other words, the user identification has a unique, unchangeable nature.
For the purpose of distinguishing from the user identities of other users, the user identity of the first user is referred to herein as the first user identity.
S102: and acquiring the operation data of the first user on the shared file.
The operation data here may be understood as a file obtained by operating the shared file. For example, the shared file may be a text file, a table file, a presentation file, and the like, which is not limited in particular. The operation on the shared file may be various operations such as editing, screening, enlarging, reducing, and the like, and is not particularly limited.
For example, when the shared file is a table file and the operation performed on the shared file is a filtering operation, the operation data of the first user on the shared file is obtained, that is, the filtering result of the first user on the table file is obtained.
S103: and correspondingly storing the operation data and the first user identification.
In one embodiment, when the table file is subjected to the screening operation, the screening result and the first user identifier are correspondingly stored. The corresponding storage means that the corresponding relation between the operation data and the first user identifier is established, and the corresponding operation data can be determined as long as the first user identifier is obtained.
By applying the embodiment of the invention, in the process of simultaneously accessing and editing the same file (namely, shared file) by a plurality of users, if the first user needs to execute the operation of not carrying out synchronous display, the first user sends the synchronous closing instruction to the service electronic equipment, and the service electronic equipment determines the user identifier of the first user as the first user identifier. And then the service electronic equipment sets the first user as a cooperation mode for closing synchronous processing of the shared file, and under the cooperation mode, the service electronic equipment acquires operation data of the first user on the shared file and correspondingly stores the operation data and the first user identification. The first user identification is an identification which is distributed for the first user and has uniqueness and invariability. In this way, when the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the operation data stored corresponding to the first user identifier based on the first user identifier. Therefore, under the condition that multiple persons cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved.
Specifically, referring to fig. 2, the content may be used as a filtering condition, and filtering may be performed according to the content; the color can also be used as a screening condition to screen according to the color. The screening method shown in fig. 2 is merely an example and is not limited thereto. The items shown in fig. 2 are the items to be screened, and the items to be shown are double-clicked, that is, the screening operation is performed. In addition, the options can be subjected to ascending and descending operations, which are not described herein again. Assuming that the user a selects four options with 0, 1, 2, and 3 contents in the cell in fig. 2, the filtering result presentation interface of the user a may be as shown in fig. 3. In fig. 3, four rows of data contents and one column of data contents having 0, 1, 2, and 3 contents in the cell screened by the user a are shown for the user a. Wherein, the row refers to the data content in the cells arranged along the horizontal direction; the columns refer to the data content in the cells laid out in the vertical direction. The horizontal direction refers to a direction parallel to the horizontal ground based on normal display of data contents; the vertical direction refers to a direction perpendicular to the horizontal ground with reference to normal display of data contents. In this embodiment, the screening result is stored in correspondence with the user identifier of the user who performs the screening operation.
In one embodiment, after the operation data and the first user identifier are correspondingly stored, the method for managing shared files further includes sending the operation data to other users and displaying the operation data after receiving a synchronization starting instruction of the first user.
In the present embodiment, after the first user transmits the synchronization closing instruction, the first user performs operations such as editing on the shared file in the cooperation mode of closing the synchronization processed file. And then, the first user sends a synchronization starting instruction to the service electronic equipment, and in this case, the service electronic equipment synchronizes the acquired operation data to other users for displaying. I.e. the users participating in the file sharing see the same file content.
In addition to synchronously displaying the operation data of the first user and other users, synchronous operation data of other users to the shared file can be determined; judging the operation sequence of the synchronous operation data and the operation data of the first user, namely judging whether the synchronous operation data can be obtained by screening the operation data or the operation data can be obtained by screening the synchronous operation data; under the condition that the synchronous operation data are obtained by processing the operation data, synchronously displaying the synchronous operation data on the first user and other users; and in the case that the operation data is judged to be obtained by processing the synchronous operation data, synchronously displaying the operation data between the first user and other users.
In some cases, the intermediate process of the operation of the first user on the shared file is not synchronously displayed to other users, but the operation result of the shared file can be synchronously displayed to other users. In addition, after the first user performs the independent operation processing on the shared file, the first user needs to return to the synchronous collaboration interface of the other user again, in this case, the present embodiment may be adopted, and after the operation is completed, the first user sends a synchronization start instruction to the service electronic device, and the interface data content synchronized with the other user is displayed on the first user.
The following explanation is provided for "synchronously presenting operation results to other users":
in one example, sending and presenting operational data to other users includes: determining a user for starting a synchronization instruction from other users as a user to be synchronized; and synchronously displaying the operation data between the first user and the user to be synchronized.
In the process of file sharing, some users open the synchronization instruction, and some users close the synchronization instruction, in this example, only the operation data is sent to the user who opens the synchronization instruction, that is, only the user who opens the synchronization instruction and the first user watch the same display content, so that interference to the user who closes the synchronization instruction is reduced.
In one embodiment, after receiving a synchronization start instruction from a first user, the method for managing shared files provided by the present invention further includes: and if the operation data corresponding to the plurality of user identifications are stored, deleting the operation data corresponding to the user identifications except the first user identification after receiving the synchronization starting instruction of the first user. That is, only the operation data of the first user is retained, and the relevant operation data corresponding to any other user identifier is deleted.
For example, suppose that a user a, a user B and a user C share the same file, the user a performs the filtering operation after sending the close synchronization instruction, for example, the user a selects four options with contents of 0, 1, 2 and 3 in the cell shown in fig. 2, the user B also performs the filtering operation after sending the close synchronization instruction, the user B selects three options with contents of 4, 5 and 6 in the cell shown in fig. 2, the user C also performs the filtering operation after sending the close synchronization instruction, and the user C selects two options with contents of 7 and 8 in the cell shown in fig. 2. In this case, the above-described embodiment is applied to store the user id of the user a and the filtering result of " show 0, 1, 2, and 3 cell contents", the user id of the user B and the filtering result of " show 4, 5, and 6 cell contents", and the user id of the user C and the filtering result of " show 7, and 8 cell contents" in correspondence.
Then, the user a sends an opening synchronization instruction to the service electronic device, in this case, only the user identifier of the user a and the screening result of " show 0, 1, 2, 3 cell content" are retained, and the screening results respectively stored corresponding to the user identifier of the user B and the user identifier of the user C are deleted. Thus, orderly synchronization can be realized, and logic errors are reduced.
In an example, a user who starts a synchronization instruction among other users may be determined as a user to be synchronized; and then deleting the operation data corresponding to the user identification of the user to be synchronized.
In the process of file sharing, some users open the synchronization instruction, and some users close the synchronization instruction, in this example, only for the user who opens the synchronization instruction, after receiving the synchronization instruction that opens by the first user, the operation data corresponding to the user identifiers of these users (the users who open the synchronization instruction) are deleted, that is, only these users and the first user watch the same display content, so that the interference to the user who closes the synchronization instruction is reduced.
In one embodiment, the storing the operation data corresponding to the first user identifier includes: and after receiving a command of closing the shared file of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and closing the shared file.
In another embodiment, the storing the operation data in correspondence with the first user identifier includes: and after receiving a shared file refreshing instruction of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and refreshing the shared file.
For example, the first user may perform multiple operations on the shared file, and after each operation, the data of the current operation on the shared file by the first user is obtained. In this embodiment, only when the first user closes or refreshes the shared file, the first user identifier is stored in association with the operation data (i.e., the latest operation data) that was last operated by the first user.
As can be seen, in this embodiment, the closing or refreshing action of the first user on the shared file is determined to be that data that needs to be used is obtained after the screening operation. And the data needing to be used is likely to be data needing to be accessed again, so that the latest operation data is stored for the first user to access again. In addition, only the latest operation data is stored, and the storage space is saved.
In one embodiment, after receiving an instruction of a first user to close a shared file, storing the acquired latest operation data of the first user and a first user identifier in a corresponding manner, and after closing the shared file, the method further includes: if an opening instruction of a first user to the shared file is received, searching operation data stored corresponding to the first user identification as data to be displayed; and displaying the data to be displayed to the first user.
Continuing with the above example, when the first user closes the shared file, the first user identifier is stored in association with the latest operation data. And if the subsequent first user reopens the shared file, the operation data stored corresponding to the first user identification is displayed to the first user.
Illustratively, assume that user A, user B, and user C share the same file. After sending the synchronization closing instruction, the user a performs a screening operation, for example, the user a screens out four options, which have contents of 0, 1, 2, and 3 respectively, in a cell in the table file shown in fig. 2, and then the user a closes the shared file; the user B also performs a screening operation after sending the synchronization closing instruction, the user B screens three options, each having contents of 4, 5, and 6, in the cell in the table file shown in fig. 2, and then the user B closes the shared file; the user C also performs a screening operation after sending the synchronization closing instruction, the user C screens two options, which have contents of 7 and 8 respectively, in the cell in the table file shown in fig. 2, and then the user C closes the shared file. In this case, the above-described embodiment is applied to store the user id of the user a and the filtering result of " show 0, 1, 2, and 3 cell contents", the user id of the user B and the filtering result of " show 4, 5, and 6 cell contents", and the user id of the user C and the filtering result of " show 7, and 8 cell contents" in correspondence.
Assuming that the user A sends an opening instruction of the shared file to the service electronic equipment, searching operation data stored corresponding to the user identifier of the user A, searching a screening result of 'displaying 0, 1, 2 and 3 cell contents', and displaying the cell contents of 0, 1, 2 and 3 to the user A respectively. Assuming that the user B sends an opening instruction of the shared file to the service electronic equipment, searching operation data stored corresponding to the user identifier of the user B, searching screening results of displaying the contents of the cells 4, 5 and 6, and displaying the contents of the cells 4, 5 and 6 to the user B respectively. Assuming that the user C sends an open instruction for the shared file to the service electronic device, the operation data stored corresponding to the user identifier of the user C is searched, the screening result of "displaying the contents of 7 and 8 cells" is searched, and the contents of 7 and 8 are respectively displayed in the cells to the user C.
In the embodiment, the operation data stored corresponding to the first user identifier is only displayed for the first user, so that interference to other users is avoided, and user experience is improved.
By applying the embodiment of the invention, in the process of sharing files by a plurality of users (namely, the process of simultaneously accessing and editing the same file), if the first user needs to execute the operation of not performing synchronous display, the first user sends a synchronization closing instruction to the service electronic equipment, and the service electronic equipment determines the user identifier of the first user as the first user identifier. And then the service electronic equipment sets the first user as a cooperation mode for closing synchronous processing of the shared file, and under the cooperation mode, the service electronic equipment acquires operation data of the first user on the shared file and correspondingly stores the operation data and the first user identification. The first user identification is an identification distributed for the first user, and is not a temporary identification distributed based on the current network connection condition, the identification is unique and unchangeable, and even if the first user closes a file or refreshes the file, the first user identification cannot be changed. In this way, when the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the operation data stored corresponding to the first user identifier based on the first user identifier. Therefore, under the condition that multiple persons cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved. In addition, the operation data stored corresponding to the first user identification is only displayed for the first user, interference to other users is avoided, and user experience is further improved.
An embodiment of the present invention further provides a method for managing shared files, and fig. 4 is a schematic flowchart of another method for managing shared files provided in an embodiment of the present invention, where the method for managing shared files is applied to a client, and referring to fig. 4, the method specifically includes:
s401, sending a synchronization closing instruction initiated by a first user.
S402, processing the data of the shared file in the first user operation in a cooperation mode of closing the synchronous processing shared file, wherein the cooperation mode of closing the synchronous processing shared file is started according to the response to the synchronous closing instruction.
And the service electronic equipment sets the first user as a cooperation mode for closing the synchronous processing shared file after receiving the synchronization closing instruction. In this case, the first user operates to process the data of the shared file separately. The "separate operation" means that the interface for the first user to perform data processing on the shared file is only displayable by the first user.
In this embodiment, the first user may send a close synchronization instruction to the service electronic device, where the close synchronization instruction indicates that the first user enters a collaboration mode for closing and synchronizing the shared file, and after the first user sends the close synchronization instruction, the first user may perform a separate processing operation on the data of the shared file, specifically, the operation on the data of the shared file may include various operations such as editing, screening, amplifying, and reducing the shared file, and is not limited specifically. For example, in the case that the shared file is a table file, the operation of the first user on the shared file may be a filtering operation, and as shown in fig. 2, the first user may filter out three options having contents of 0, 1, and 2 in the cells of the table file, respectively. After the first user performs various operations such as editing, screening, enlarging, reducing and the like on the shared file, the obtained data can be used as operation data of the first user on the shared file alone.
Specifically, in the present embodiment, in the collaboration mode of closing the synchronous processing shared file, the step of processing the data of the shared file in the first user operation may include steps a1-a 2:
step A1: receiving a screening instruction;
step A2: and screening the data of the shared file according to the screening instruction.
Illustratively, in the case that the user a selects the filtering control, the first user receives a filtering instruction to trigger the filtering of the content in the shared file. As shown in fig. 2, if the user a selects the contents 0, 1, and 2 in fig. 2, it indicates that the first user receives the filtering instruction, and the user a triggers the operation of filtering the shared file. The first user can perform screening operation on the data of the shared file according to the screening instruction. For example, the first user may display the content having 0, 1, 2 in the cell accordingly, based on user A selecting three options having 0, 1, 2 content in the cell in FIG. 2.
In this embodiment, after the first user performs operation processing on the data of the shared file, the first user may send the operation data obtained by processing the shared file to the service electronic device. After acquiring the operation data of the first user on the shared file, the service electronic device may store the operation data and the first user identifier correspondingly.
Fig. 5 is a schematic flowchart of another management method for shared files according to an embodiment of the present invention, where the management method for shared files is applied to a client, and referring to fig. 5, the method specifically includes:
s501, sending a synchronization closing instruction initiated by a first user.
S502, processing the data of the shared file in the first user operation in a cooperation mode of closing the synchronous processing shared file, wherein the cooperation mode of closing the synchronous processing shared file is started according to the response to the synchronous closing instruction.
S503, sending a synchronization starting instruction initiated by the first user.
S504, a cooperation mode of synchronous processing shared files is started, and operation data displayed by the first user is kept consistent with operation data displayed by other users.
S501-S502 correspond to S401-S402 respectively and are the same, and are not described again here.
The first user synchronization starting instruction represents that a cooperation mode for starting synchronous processing shared files is entered. In the present embodiment, after sending the close synchronization command, the first user performs operations such as editing on the shared file in the collaboration mode for closing the synchronization processing shared file. And then, the first user can send a synchronization starting instruction to the service electronic device, and in this case, the service electronic device can synchronize the operation data of the first user after operating the shared file to other users for display. I.e. the users participating in the file sharing see the same file content. The operation data displayed by the first user is kept consistent with the operation data displayed by other users.
According to the technical scheme, the method and the device for displaying the shared file synchronously can achieve the effect that the middle process of the first user for operating the shared file is displayed to other users asynchronously, but the operation result of the shared file is displayed to other users synchronously. Specifically, after the first user performs operation processing on data in the shared file, a synchronization starting instruction may be sent to the service electronic device, so as to synchronously display an operation result to other users. In addition, after the first user performs the independent operation processing on the shared file, the first user needs to return to the synchronous collaboration interface of the other user again, in this case, the present embodiment may also be adopted, where after the operation is completed, the first user sends a synchronization start instruction to the service electronic device, and the interface data content synchronized with the other user is displayed on the first user.
By applying the embodiment of the invention, in the process of simultaneously accessing and editing the same file (namely the shared file) by a plurality of users, if the first user needs to execute the operation of not carrying out synchronous display, the first user sends the synchronous closing instruction to the service electronic equipment, and then the first user independently operates and processes the data of the shared file in the cooperation mode of synchronously closing the shared file. In the cooperation mode, the first user performs operation processing on the shared file and sends operation data of the shared file after the operation processing to the service electronic device. And the service electronic equipment correspondingly stores the operation data of the first user on the shared file and the first user identification. The first user identification is an identification which is distributed for the first user and has uniqueness and invariability. In this way, when the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the operation data stored corresponding to the first user identifier based on the first user identifier. Therefore, under the condition that multiple persons cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a device for managing shared files, and as shown in fig. 6, the device is applied to a server, and the device includes:
a determining module 601, configured to determine, after receiving a synchronization closing instruction of a first user in a process of file sharing by multiple users, a user identifier of the first user to serve as the first user identifier; wherein the plurality of users includes the first user and other users;
an obtaining module 602, configured to obtain operation data of the first user on a shared file;
the storage module 603 is configured to correspondingly store the operation data and the first user identifier.
In an embodiment, the obtaining module 602 is specifically configured to: obtaining a table screening result of the first user;
the storage module 603 is specifically configured to: and correspondingly storing the screening result and the first user identification.
In one embodiment, the apparatus further comprises:
and a synchronization module (not shown in the figure) configured to send the operation data to other users for display after receiving a synchronization start instruction of the first user.
In one embodiment, the synchronization module is specifically configured to:
after receiving a synchronization starting instruction of a first user, determining users starting synchronization instructions from other users as users to be synchronized; and sending the operation data result of the first user on the shared file to the user to be synchronized, and synchronously displaying the operation data result on the first user and the user to be synchronized.
In one embodiment, the apparatus further comprises:
and a deleting module (not shown in the figure) configured to, after receiving a synchronization start instruction from a first user when operation data corresponding to a plurality of user identifiers is stored, delete operation data corresponding to other user identifiers except the first user identifier.
In one embodiment, the deleting module is specifically configured to:
under the condition that operation data corresponding to a plurality of user identifications are stored, after a synchronization starting instruction of a first user is received, determining users starting synchronization instructions in other users as users to be synchronized; and deleting the operation data corresponding to the user identification of the user to be synchronized.
In one embodiment, the storage module 603 is specifically configured to:
after receiving a shared file closing instruction of a first user, correspondingly storing the acquired latest operation data of the first user and a first user identifier, and closing a shared file;
and/or after receiving a shared file refreshing instruction of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and refreshing the shared file.
In one embodiment, the apparatus further comprises: a search module and a presentation module (not shown), wherein,
the searching module is used for searching the operation data stored corresponding to the first user identification after receiving an opening instruction of the first user to the shared file, and taking the operation data as the data to be displayed;
and the display module is used for displaying the data to be displayed to the first user.
By applying the embodiment of the invention, in the process of simultaneously accessing and editing the same file (namely, shared file) by a plurality of users, if the first user needs to execute the operation of not carrying out synchronous display, the first user sends the synchronous closing instruction to the service electronic equipment, and the service electronic equipment determines the user identifier of the first user as the first user identifier. And then the service electronic equipment sets the first user as a cooperation mode for closing synchronous processing of the shared file, and under the cooperation mode, the service electronic equipment acquires operation data of the first user on the shared file and correspondingly stores the operation data and the first user identification. The first user identification is an identification which is distributed for the first user and has uniqueness and invariability. In this way, when the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the operation data stored corresponding to the first user identifier based on the first user identifier. Therefore, under the condition that multiple persons cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a device for managing shared files (not shown in the figure), where the device is applied to a client, and the device includes:
the first sending module is used for sending a synchronization closing instruction initiated by a first user;
and the first operation module is used for operating and processing the data of the shared file at the first user in a cooperation mode of closing the synchronous processing shared file, wherein the cooperation mode of closing the synchronous processing shared file is started according to the response to the synchronous closing instruction.
In one embodiment, the first operation module is specifically configured to receive a screening instruction; and screening the data of the shared file according to the screening instruction.
In one embodiment, the apparatus further comprises:
the second sending module is used for sending an opening synchronization instruction initiated by the first user;
and the second operation module is used for keeping the operation data displayed by the first user consistent with the operation data displayed by other users in a cooperation mode of starting synchronous processing shared files.
By applying the embodiment of the invention, in the process of simultaneously accessing and editing the same file (namely the shared file) by a plurality of users, if the first user needs to execute the operation of not carrying out synchronous display, the first user sends the synchronous closing instruction to the service electronic equipment, and then the data of the shared file is processed by the first user operation in the cooperation mode of closing synchronous processing of the shared file. In the cooperation mode, the first user performs operation processing on the shared file and sends operation data of the shared file after the operation processing to the service electronic device. And the service electronic equipment correspondingly stores the operation data of the first user on the shared file and the first user identification. The first user identification is an identification which is distributed for the first user and has uniqueness and invariability. In this way, when the first user closes the shared file of the cooperative processing and then opens the shared file again, the first user can still obtain the operation data stored corresponding to the first user identifier based on the first user identifier. Therefore, under the condition that multiple persons cooperatively process the same shared file, the personalized requirements of operations such as editing processing and the like of each user are met, and the use convenience feeling is improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701 and a memory 702,
a memory 702 for storing a computer program;
the processor 701 is configured to implement any one of the above-described methods for managing shared files when executing a program stored in the memory 702.
The Memory mentioned in the above electronic device may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In still another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements any one of the above-mentioned shared file management methods.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any one of the above-mentioned methods of managing shared files.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, apparatus embodiments, device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are described for simplicity as they are substantially similar to method embodiments, where relevant, reference may be made to some descriptions of method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. A method for managing shared files, comprising:
in the process of file sharing by a plurality of users, after receiving a synchronization closing instruction of a first user, determining a user identifier of the first user as a first user identifier; wherein the plurality of users includes the first user and other users;
acquiring operation data of the first user on the shared file;
and correspondingly storing the operation data and the first user identification.
2. The method according to claim 1, wherein the obtaining of the operation data of the first user on the shared file comprises:
obtaining a table screening result of the first user;
the correspondingly storing the operation data and the first user identifier comprises:
and correspondingly storing the screening result and the first user identification.
3. The method of claim 1, wherein after storing the operation data corresponding to the first user identifier, further comprising:
and after receiving a synchronization starting instruction of a first user, sending the operation data to other users and displaying the operation data.
4. The method of claim 3, wherein sending and presenting the operational data to the other users comprises:
determining a user for starting a synchronization instruction in the other users as a user to be synchronized;
and synchronously displaying the operation data between the first user and the user to be synchronized.
5. The method according to claim 3, further comprising, after receiving the start synchronization command from the first user:
and if the operation data corresponding to the plurality of user identifications are stored, deleting the operation data corresponding to the user identifications except the first user identification.
6. The method of claim 1, wherein storing the operation data corresponding to the first subscriber identity comprises:
after receiving a shared file closing instruction of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and closing the shared file;
and/or after receiving a shared file refreshing instruction of the first user, correspondingly storing the acquired latest operation data of the first user and the first user identifier, and refreshing the shared file.
7. The method according to claim 6, wherein after receiving an instruction of the first user to close the shared file, the method further includes, after correspondingly storing the acquired latest operation data of the first user and the first user identifier and closing the shared file:
after receiving an opening instruction of the first user to the shared file, searching operation data stored corresponding to the first user identification as data to be displayed;
and displaying the data to be displayed to the first user.
8. A method for managing shared files, comprising:
sending a synchronization closing instruction initiated by a first user;
and processing the data of the shared file at the first user operation in a cooperation mode of closing the synchronous processing shared file, wherein the cooperation mode of closing the synchronous processing shared file is started according to the response to the synchronous closing instruction.
9. The method of claim 8, wherein processing the data of the shared file at the first user operation in the collaboration mode for closing synchronous processing of the shared file comprises:
receiving a screening instruction;
and screening the data of the shared file according to the screening instruction.
10. The method of claim 8, further comprising:
sending a start synchronization instruction initiated by a first user;
and keeping the operation data displayed by the first user consistent with the operation data displayed by other users by starting a cooperation mode for synchronously processing the shared files.
11. A shared file management apparatus, comprising:
the determining module is used for determining a user identifier of a first user as a first user identifier after receiving a synchronization closing instruction of the first user in the process of file sharing by a plurality of users; wherein the plurality of users includes the first user and other users;
the acquisition module is used for acquiring the operation data of the first user on the shared file;
and the storage module is used for correspondingly storing the operation data and the first user identification.
12. The apparatus of claim 11, further comprising:
and the synchronization module is used for sending the operation data to other users and displaying the operation data after receiving a synchronization starting instruction of the first user.
13. An electronic device comprising a processor and a memory;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 7 or claims 8 to 10 when executing a program stored in a memory.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any of claims 1 to 7 or claims 8 to 10.
CN202110810694.5A 2020-08-06 2021-07-16 Shared file management method and device, electronic equipment and storage medium Pending CN113688110A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010785812 2020-08-06
CN2020107858127 2020-08-06

Publications (1)

Publication Number Publication Date
CN113688110A true CN113688110A (en) 2021-11-23

Family

ID=78577348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110810694.5A Pending CN113688110A (en) 2020-08-06 2021-07-16 Shared file management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113688110A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595760A (en) * 2013-10-15 2014-02-19 北京航空航天大学 File picture sharing method based on cloud
CN104182397A (en) * 2013-05-21 2014-12-03 北大方正集团有限公司 Method, system and equipment for document co-processing
US20170149906A1 (en) * 2015-11-19 2017-05-25 Microsoft Technology Licensing, Llc Private editing of shared files
CN110191131A (en) * 2019-05-31 2019-08-30 北京金山云网络技术有限公司 A kind of file sharing method, device, system, server and storage medium
CN111083421A (en) * 2018-10-19 2020-04-28 珠海金山办公软件有限公司 Table document display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182397A (en) * 2013-05-21 2014-12-03 北大方正集团有限公司 Method, system and equipment for document co-processing
CN103595760A (en) * 2013-10-15 2014-02-19 北京航空航天大学 File picture sharing method based on cloud
US20170149906A1 (en) * 2015-11-19 2017-05-25 Microsoft Technology Licensing, Llc Private editing of shared files
CN111083421A (en) * 2018-10-19 2020-04-28 珠海金山办公软件有限公司 Table document display method and device
CN110191131A (en) * 2019-05-31 2019-08-30 北京金山云网络技术有限公司 A kind of file sharing method, device, system, server and storage medium

Similar Documents

Publication Publication Date Title
US20200311342A1 (en) Populating values in a spreadsheet using semantic cues
US20210319049A1 (en) Secure bubble content recommendation based on a calendar invite
US9710526B2 (en) Data set preview technology
CN102368262B (en) Method and equipment for providing searching suggestions corresponding to query sequence
US20150186478A1 (en) Method and System for Tree Representation of Search Results
US20190310764A1 (en) Information display method, device, apparatus and storage medium
US11797258B2 (en) Conversational analytics with data visualization snapshots
US20090037449A1 (en) User configurable quick groups
US20200195594A1 (en) Method and system for dynamically generating a card
US9690838B2 (en) Master data management
WO2017062256A1 (en) Method and system for generating a card based on intent
CN109445668B (en) Screen-locked magazine display method and device, storage medium and mobile terminal
CN105912586B (en) Information searching method and electronic equipment
WO2018073649A1 (en) Desktop management and data transfer in a multi-computer environment
US10887551B2 (en) Information processing apparatus, information processing system and information processing method
US11914612B2 (en) Selective synchronization of linked records
CN113688110A (en) Shared file management method and device, electronic equipment and storage medium
WO2023037325A2 (en) Make automatically workable or generating code for service worker, replication and rules based web app and suggesting, installing, invoking & managing progressive web apps (pwas)
CN114741594A (en) Information pushing method and device, computer equipment and storage medium
US10929351B2 (en) Determining document libraries to sync to a local computing device
US8520242B2 (en) Management system of technical literature data and method thereof
US11494504B2 (en) Access to data in multiple instances through a single record
US11507992B1 (en) Systems and methods for displaying filters and intercepts leveraging a predictive analytics architecture
US11175799B1 (en) Inspirational quote generation, categorization, and presentation system
CN103106567B (en) The information system management control method of a kind of compact shelving and intelligence control system thereof

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