CN110928946A - Document editing method and device and terminal equipment - Google Patents

Document editing method and device and terminal equipment Download PDF

Info

Publication number
CN110928946A
CN110928946A CN201811094458.2A CN201811094458A CN110928946A CN 110928946 A CN110928946 A CN 110928946A CN 201811094458 A CN201811094458 A CN 201811094458A CN 110928946 A CN110928946 A CN 110928946A
Authority
CN
China
Prior art keywords
document
editing
edited
information
cloud server
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
CN201811094458.2A
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
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology 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, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201811094458.2A priority Critical patent/CN110928946A/en
Publication of CN110928946A publication Critical patent/CN110928946A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a document editing method, which can acquire a document to be edited and pop up a dialog selection box, wherein the dialog selection box is used for displaying prompt information, the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server, if a confirmation operation is received, a user identification is acquired, the user identification is used as an access permission code of the document corresponding to the user identification, the document to be edited and the user identification are correspondingly uploaded to the cloud server, after the editing operation of the document to be edited is received, the document to be edited is edited based on the editing operation, an editing result is generated, the editing result and the user identification are correspondingly uploaded to the cloud server, the process of checking or editing the document on a plurality of terminal devices can be simplified, and the efficiency is improved.

Description

Document editing method and device and terminal equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for editing a document, and a terminal device.
Background
Along with the development of science and technology, the variety of personal terminal equipment is continuously enriched, and in daily life work, aiming at different work scenes or different work requirements, the same document needs to be checked or edited on different terminal equipment at different time periods.
With the development of cloud service technology, in the prior art, a user may select to upload a local document to a cloud disk provided by each cloud service provider, when the document needs to be viewed or edited on another terminal device, the document to be edited needs to be downloaded from the cloud disk to the terminal device for storage, and then the document editor is used to view or edit the document, and when the editing is completed, the document may be uploaded to the cloud disk again.
The inventor finds that the prior art at least has the following problems in the process of implementing the invention:
the cloud storage of the document is separated from the viewing or editing of the document, the process of viewing or editing the document by a plurality of terminal devices is complicated, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention aims to provide a cloud-based document editing method, a cloud-based document editing device and terminal equipment, so that the process of checking or editing a document in a plurality of terminal equipment is simplified, and the efficiency is improved. The specific technical scheme is as follows:
the embodiment of the invention provides a document editing method, which is applied to terminal equipment and comprises the following steps:
acquiring a document to be edited;
popping up a dialog selection box, wherein the dialog selection box is used for displaying prompt information, and the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server;
if receiving the confirmation operation, acquiring a user identifier, wherein the user identifier is used as an access permission code of the document corresponding to the user identifier;
correspondingly uploading the document to be edited and the user identification to the cloud server;
after receiving the editing operation on the document to be edited, editing the document to be edited based on the editing operation, and generating an editing result;
and correspondingly uploading the editing result and the user identification to the cloud server.
Further, the editing the document to be edited based on the editing operation and generating an editing result includes:
editing the document to be edited based on the editing operation, and generating an edited document;
correspondingly uploading the editing result and the user identification to the cloud server, including:
and correspondingly uploading the edited document and the user identification to the cloud server.
Further, the editing the document to be edited based on the editing operation and generating an edited document includes:
editing the document to be edited based on the editing operation, and generating an edited document after receiving an operation indicating that the editing is completed; and/or the presence of a gas in the gas,
and editing the document to be edited based on the editing operation, and generating the edited document after the editing time of the document to be edited reaches the preset time.
Further, the editing the document to be edited based on the editing operation and generating an editing result includes:
editing the document to be edited based on the editing operation, and generating editing information representing the editing operation;
correspondingly uploading the editing result and the user identification to the cloud server, including:
and correspondingly uploading the editing information and the user identification to the cloud server.
The embodiment of the invention also provides a document editing method, which is characterized in that the document editing method is applied to a cloud server, and the method comprises the following steps:
receiving a document to be edited and a user identification which are uploaded correspondingly by a terminal device;
storing the document to be edited corresponding to the user identification;
and receiving the editing result of the document to be edited and the user identification which are uploaded correspondingly by the terminal equipment.
Further, the receiving the editing result of the document to be edited and the user identifier uploaded by the terminal device correspondingly includes:
receiving the edited document and the user identification of the document to be edited uploaded by the terminal equipment correspondingly;
the method further comprises the following steps:
and storing the edited document corresponding to the user identification.
Further, the receiving the editing result of the document to be edited and the user identifier uploaded by the terminal device correspondingly includes:
receiving the editing information of the document to be edited and the user identification uploaded by the terminal equipment correspondingly, wherein the editing information represents the executed editing operation of the document to be edited;
the method further comprises the following steps:
editing the document to be edited according to the editing operation represented by the editing information to obtain an edited document;
and storing the edited document corresponding to the user identification.
Further, the method further comprises:
generating an information record table corresponding to the user identifier, wherein the information record table is used for recording document information of the editing result, and the document information comprises a storage address of the editing result;
when a downloading request of the information recording list sent by the terminal equipment is received, the information recording list is sent to the terminal equipment;
and when a downloading request of the editing result sent by the terminal equipment is received, sending the editing result to the terminal equipment.
The embodiment of the invention also provides a document downloading method, which is applied to terminal equipment and comprises the following steps:
sending a request for downloading a document information table to a cloud server, wherein the information recording table is used for recording document information of an editing result stored in the cloud server, and the document information comprises a storage address of the editing result;
receiving the document information table sent by the cloud server;
generating a document icon associated with the storage address based on the storage address recorded in the document information table;
when the document icon is triggered to operate, sending a downloading request of the editing result to a cloud server based on a pre-established association relation between the document icon and the storage address;
and receiving the editing result sent by the cloud server.
The embodiment of the invention also provides a document editing device, which is positioned on the terminal equipment, and the device comprises:
the document acquisition module is used for acquiring a document to be edited;
the dialog box popup module is used for popping up a dialog selection box, the dialog selection box is used for displaying prompt information, and the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server or not;
the identification acquisition module is used for acquiring a user identification if the confirmation operation is received, wherein the user identification is used as an access permission code of the document corresponding to the user identification;
the document uploading module is used for correspondingly uploading the document to be edited and the user identification to the cloud server;
the result generation module is used for editing the document to be edited based on the editing operation after the editing operation on the document to be edited is received, and generating an editing result;
and the result uploading module is used for correspondingly uploading the editing result and the user identification to the cloud server.
Further, the result generating module is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate an edited document;
the result uploading module is specifically configured to correspondingly upload the edited document and the user identifier to the cloud server.
Further, the result generating module is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate an edited document after receiving an operation indicating that editing is completed; and/or the presence of a gas in the gas,
and editing the document to be edited based on the editing operation, and generating the edited document after the editing time of the document to be edited reaches the preset time.
Further, the result generating module is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate editing information representing the editing operation;
the result uploading module is specifically configured to correspondingly upload the editing information and the user identifier to the cloud server.
The embodiment of the present invention further provides a document editing apparatus, which is located in a cloud server, and the apparatus includes:
the first receiving module is used for receiving the document to be edited and the user identification uploaded correspondingly by the terminal equipment;
the first storage module is used for storing the document to be edited corresponding to the user identifier;
and the second receiving module is used for receiving the editing result of the document to be edited and the user identification uploaded correspondingly by the terminal equipment.
Further, the second receiving module is specifically configured to receive an edited document of the document to be edited and the user identifier, which are uploaded by the terminal device correspondingly;
the document editing apparatus further includes:
and the second storage module is used for storing the edited document corresponding to the user identifier.
Further, the second receiving module is specifically configured to receive edit information and the user identifier of the document to be edited, which are uploaded by the terminal device correspondingly, where the edit information represents an edit operation performed on the document to be edited;
the document editing apparatus further includes:
the document editing module is used for editing the document to be edited according to the editing operation represented by the editing information to obtain an edited document;
and the third storage module is used for storing the edited document corresponding to the user identifier.
Further, the document editing apparatus further includes:
a record table generating module, configured to generate an information record table corresponding to the user identifier, where the information record table is used to record document information of the editing result, and the document information includes a storage address of the editing result;
the recording list sending module is used for sending the information recording list to the terminal equipment when receiving a downloading request of the information recording list sent by the terminal equipment;
and the result sending module is used for sending the editing result to the terminal equipment when receiving the downloading request of the editing result sent by the terminal equipment.
The embodiment of the invention also provides a document downloading device, which is characterized in that the device is positioned at a terminal device, and the device comprises:
the system comprises a first request sending module, a first storage module and a second storage module, wherein the first request sending module is used for sending a request for downloading a document information table to a cloud server, the information recording table is used for recording document information of an editing result stored in the cloud server, and the document information comprises a storage address of the editing result;
the information table receiving module is used for receiving the document information table sent by the cloud server;
the icon generating module is used for generating a document icon associated with the storage address based on the storage address recorded in the document information table;
the second request sending module is used for sending a downloading request of the editing result to a cloud server based on a pre-established association relation between the document icon and the storage address when the document icon is triggered to operate;
and the result receiving module is used for receiving the editing result sent by the cloud server.
An embodiment of the present invention is also a terminal device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions executable by the processor, and the processor is caused by the machine-executable instructions to: and implementing any one of the steps of the document editing method applied to the terminal equipment.
The embodiment of the present invention also provides a cloud server, which includes a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions executable by the processor, and the processor is caused by the machine-executable instructions to: and implementing any one of the steps of the document editing method applied to the cloud server.
An embodiment of the present invention further provides a terminal device, which includes a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions executable by the processor, and the processor is caused by the machine-executable instructions to: and implementing the steps of any document downloading method.
The present invention also provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the steps of the above-mentioned document editing method applied to a terminal device.
The implementation of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements any of the steps of the above-mentioned document editing method applied to the cloud server.
The invention also provides a computer readable storage medium, in which a computer program is stored, and the computer program realizes the steps of any one of the above document downloading methods when executed by a processor.
Embodiments of the present invention further provide a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the above-mentioned document editing methods applied to a terminal device.
The embodiment of the invention also provides a computer program product containing instructions, which when running on a computer, enables the computer to execute any one of the above document editing methods applied to the cloud server.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute any of the above document downloading methods.
The document editing method based on the cloud terminal provided by the embodiment of the invention can acquire a document to be edited and pop up a dialog selection box, wherein the dialog selection box is used for displaying prompt information which is used for prompting whether the document to be edited is uploaded to a cloud terminal server or not, and if a confirmation operation is received, a user identification is acquired, the user identification is used as an access permission code of the document corresponding to the user identification, the document to be edited and the user identification are correspondingly uploaded to the cloud terminal server, after the editing operation of the document to be edited is received, the document to be edited is edited based on the editing operation, an editing result is generated, the editing result and the user identification are correspondingly uploaded to the cloud terminal server, and after the document is edited, the local editing result is directly synchronized with the cloud terminal server without editing the document, and then, the operation of searching the cloud disk for storage is carried out, so that the process of checking or editing the document at a plurality of terminal devices is simplified, and the efficiency 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.
Fig. 1 is a flowchart of a document editing method applied to a terminal device according to an embodiment of the present invention;
fig. 2 is a flowchart of a document editing method applied to a cloud server according to an embodiment of the present invention;
FIG. 3 is a flowchart of a document downloading method applied to a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a document editing apparatus located in a terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a document editing apparatus located in a cloud server according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a document downloading device located in a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a cloud server according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to provide an implementation scheme for simplifying the process of viewing or editing a document at a plurality of terminal devices and improving the efficiency, the embodiments of the present invention provide a document editing method, apparatus and terminal device. And the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In an embodiment of the present invention, a document editing method is provided, which is applied to a terminal device, where the terminal device may be a smart phone, a tablet computer, or a notebook computer, as shown in fig. 1, and the method includes the following steps:
s101: and acquiring a document to be edited.
In this step, the document to be edited may be various documents, for example, a Word, PPT, Excel, or PDF document, according to different requirements.
S102: and popping up a dialog selection box, wherein the dialog selection box is used for displaying prompt information, and the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server.
In this step, after a document to be edited is acquired, a dialog selection box pops up, which may be generated based on a control operation, or may be automatically generated after the document to be edited is acquired, where the dialog selection box may have prompt information and yes and no selection buttons, where the prompt information is used to prompt a user whether to determine to upload the document to be edited to a cloud server, where if the yes button is selected, step S103 is entered, and if the no button is selected, only the document content of the document to be edited is displayed.
S103: and if the confirmation operation is received, acquiring the user identification, wherein the user identification is used as the access permission code of the document corresponding to the user identification.
In this step, after receiving the confirmation operation, the user identifier may be obtained, where the user identifier may be a user ID or a user-defined identifier, and when it is detected that the user does not log in or set the user-defined identifier, the user may be prompted to log in the ID or set the user-defined identifier, and when the user completes logging in or sets the user-defined identifier, the user ID or the user-defined identifier is obtained.
S104: and correspondingly uploading the document to be edited and the user identification to a cloud server.
In this step, the document to be edited and the user identifier obtained in step S103 are sent to the cloud server together.
S105: and after receiving the editing operation of the document to be edited, performing editing processing on the document to be edited based on the editing operation, and generating an editing result.
In this step, after receiving the editing operation of the document to be edited, the document to be edited may be specifically processed in the following two ways, and an editing result is generated:
the first mode is as follows: the method includes the steps that editing processing can be conducted on a document to be edited based on editing operation, and the edited document can be generated, specifically, editing processing can be conducted on the document to be edited based on the editing operation, and the edited document is generated after the operation indicating that editing is completed is received, for example, after a section of characters are inserted into the document to be edited or a section of characters are deleted, and a storage operation selected by a user is received, the document to be edited after editing is completed is stored as the edited document; and/or the presence of a gas in the gas,
the document to be edited is edited based on the editing operation, and the edited document is generated after the editing time of the document to be edited reaches the preset time, for example, when the preset time is 300s, and in the editing process of the document to be edited, when the document to be edited continues to be edited for 300s, the current document to be edited is automatically saved as the edited document.
The saved edited document serves as a generated editing result.
The second mode is as follows: specifically, when the document to be edited is edited, for example, when a segment of characters is inserted, an editing message indicating that the segment of characters is inserted is generated, where the editing message includes the character content of the segment of characters, the character format, the insertion position of the segment of characters, and the code number indicating that the insertion operation is performed, and other related information, where the editing message is the editing result.
S106: and correspondingly uploading the editing result and the user identification to a cloud server.
In this step, specifically, if the editing result is the edited content, the edited document and the user identifier are uploaded to the cloud server correspondingly, and if the editing result is the editing information, the editing information and the user identifier are uploaded to the cloud server correspondingly.
The embodiment of the present invention provides the above document editing method, which can acquire a document to be edited and pop up a dialog selection box, wherein the dialog selection box is used to display prompt information for prompting whether to upload the document to be edited to a cloud server, and if a confirmation operation is received, acquire a user identifier as an access permission code of the document corresponding to the user identifier, and correspondingly upload the document to be edited and the user identifier to the cloud server, and after receiving the editing operation of the document to be edited, edit the document to be edited based on the editing operation, generate an editing result, and correspondingly upload the editing result and the user identifier to the cloud server, and since the document is edited, the local editing result is directly synchronized with the cloud server, and after the document editing is completed, and then, the operation of searching the cloud disk for storage is carried out, so that the process of checking or editing the document at a plurality of terminal devices is simplified, and the efficiency is improved.
An embodiment of the present invention further provides a document editing method, which is applied to a cloud server, and as shown in fig. 2, the method includes:
s201: and receiving the document to be edited and the user identification which are uploaded correspondingly by the terminal equipment.
In this step, specifically, the document to be edited and the user identifier uploaded by the terminal device correspondingly are received.
S202: and storing the document to be edited corresponding to the user identification.
In this step, the received document to be edited is stored in correspondence with the user identifier, specifically, a folder can be established based on the user identifier, only relevant documents of the corresponding user identifier are stored in the folder, when the user identifier is received, the folder corresponding to the user identifier is searched, the document to be edited is stored in the folder, when the folder corresponding to the user identifier cannot be found in the cloud server, a folder can be newly established based on the user identifier, and the document to be edited is stored in the folder.
S203: and receiving the editing result and the user identification of the document to be edited, which are uploaded correspondingly by the terminal equipment.
In this step, specifically, when the editing result sent by the terminal device is an edited document, the edited document and the user identifier of the document to be edited that are uploaded by the terminal device correspondingly are received, and the edited document can be stored in correspondence to the user identifier, for example, when the edited document and the user identifier are received, the edited document is stored in a folder corresponding to the user identifier, and preferably, the edited document can replace the document to be edited that is stored in the folder before;
when the editing result sent by the terminal device is editing information, receiving the editing information and the user identifier of the document to be edited uploaded by the terminal device correspondingly, wherein the editing information represents the editing operation executed on the document to be edited, and can edit and process the document to be edited according to the editing operation represented by the editing information to obtain the edited document, and store the edited document corresponding to the user identifier, for example, when receiving the editing information and the user identifier representing that a segment of characters is inserted, the editing operation of inserting characters into the document to be edited is performed according to the editing information, specifically, the insertion position of the characters to be inserted in the document to be edited can be positioned based on the editing position information in the editing information, the content of the characters to be inserted is written into the document to be edited from the insertion position, and format adjustment is performed according to the character content written by the format information in the editing information, and obtaining the edited document.
After the cloud server executes the steps from S201 to S203, the embodiment of the present invention may further execute the following steps:
s204: and generating an information record table corresponding to the user identification, wherein the information record table is used for recording the document information of the editing result, and the document information comprises the storage address of the editing result.
In this step, an information recording table is generated in the folder corresponding to the user identifier, where the information recording table may be used to record document related information of the document stored in the folder, and preferably, the document related information may be a document name, a document storage time, a document size, or a document storage address.
S205: and when a downloading request of the information recording list sent by the terminal equipment is received, sending the information recording list to the terminal equipment.
In this step, when a download request of the information record table sent by the terminal device is received, the information record table generated in step S204 is sent to the terminal device.
S206: and when a downloading request of the editing result sent by the terminal equipment is received, sending the editing result to the terminal equipment.
In this step, when a download request of the editing result sent by the terminal device is received, the editing result is sent to the terminal device.
The embodiment of the invention provides the document editing method applied to the cloud server, which can receive the document to be edited and the user identification uploaded correspondingly by the terminal equipment, store the document to be edited correspondingly to the user identification, and receive the editing result and the user identification of the document to be edited uploaded correspondingly by the terminal equipment.
An embodiment of the present invention further provides a document downloading method, which is applied to a device terminal, and as shown in fig. 3, the method includes:
s301: and sending a request for downloading a document information table to the cloud server, wherein the information recording table is used for recording document information of the editing result stored in the cloud server, and the document information comprises a storage address of the editing result.
In this step, when the user needs to obtain the editing result saved in the cloud server on the terminal device, a request for downloading a document information table may be sent to the cloud server, and the document information of the editing result stored in the cloud server is recorded in the information recording table, where the document information may include document related information of a document name, a document storage time, a document size, and a document storage address.
S302: and receiving a document information table sent by the cloud server.
In this step, the terminal device receives the document information table sent by the cloud server.
S303: based on the storage address recorded in the document information table, a document icon associated with the storage address is generated.
In this step, the document information recorded in the document information table and stored in the corresponding user identification folder of the cloud server can be obtained, and a document icon is generated corresponding to each document information, wherein the document icon is associated with the storage address.
S304: and when the document icon is triggered to operate, sending a downloading request of an editing result to the cloud server based on the pre-established association relationship between the document icon and the storage address.
In this step, when the document icon generated in step S303 is triggered to operate, for example, the document icon corresponding to the editing result is clicked, a preferred selection box may be popped up for the user to select the next operation to be performed on the document icon, and when the user selects "open" operation, a request for downloading the editing result is sent to the cloud server, where the request includes the storage address of the editing result.
S305: and receiving an editing result sent by the cloud server.
In this step, an editing result issued by the cloud server according to the download request sent in step S304 and the storage address included in the download request is received.
The embodiment of the invention provides the document downloading method, which can realize the synchronization of the editing results of the terminal equipment and the cloud server and simplify the process of checking or editing the document in a plurality of terminal equipment by directly receiving the editing results sent by the cloud server through sending a request for downloading a document information table to the cloud server, wherein the information table is used for recording the document information of the editing results stored in the cloud server, the document information comprises the storage address of the editing results, receiving the document information table sent by the cloud server, generating a document icon associated with the storage address based on the storage address recorded in the document information table, sending a downloading request of the editing results to the cloud server based on the pre-established association relationship between the document icon and the storage address when the document icon is triggered to operate, the efficiency is improved.
Based on the same inventive concept, according to the document editing method applied to the terminal device provided by the embodiment of the present invention, the embodiment of the present invention further provides a document editing apparatus, which is located at the terminal device, as shown in fig. 4, the apparatus includes:
a document obtaining module 401, configured to obtain a document to be edited;
a dialog box popup module 402, configured to popup a dialog selection box, where the dialog selection box is used to display prompt information, and the prompt information is used to prompt whether to upload a document to be edited to a cloud server;
an identifier obtaining module 403, configured to obtain a user identifier if the confirmation operation is received, where the user identifier is used as an access permission code of a document corresponding to the user identifier;
a document uploading module 404, configured to correspondingly upload a document to be edited and a user identifier to a cloud server;
a result generating module 405, configured to, after receiving an editing operation on a document to be edited, perform editing processing on the document to be edited based on the editing operation, and generate an editing result;
and the result uploading module 406 is configured to correspondingly upload the editing result and the user identifier to the cloud server.
Further, the result generating module 405 is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate an edited document;
the result uploading module 406 is specifically configured to correspondingly upload the edited document and the user identifier to the cloud server.
Further, the result generating module 405 is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate an edited document after receiving an operation indicating that the editing is completed; and/or the presence of a gas in the gas,
and editing the document to be edited based on the editing operation, and generating the edited document after the editing time of the document to be edited reaches the preset time.
Further, the result generating module 405 is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate editing information representing the editing operation;
the result uploading module 406 is specifically configured to correspondingly upload the editing information and the user identifier to the cloud server.
Based on the same inventive concept, a document editing method applied to a cloud server is provided according to an embodiment of the present invention, and a document editing apparatus is further provided in an embodiment of the present invention, and is located at the cloud server, as shown in fig. 5, the apparatus includes:
a first receiving module 501, configured to receive a document to be edited and a user identifier that are uploaded by a terminal device correspondingly;
a first storage module 502, configured to store a document to be edited corresponding to a user identifier;
the second receiving module 503 receives the editing result and the user identifier of the document to be edited, which are uploaded by the terminal device correspondingly.
Further, the second receiving module 503 is specifically configured to receive an edited document and a user identifier of the document to be edited, which are uploaded by the terminal device correspondingly;
the document editing apparatus may further include:
and a second storage module 504, configured to store the edited document corresponding to the user identifier.
Further, the second receiving module 503 is specifically configured to receive editing information and a user identifier of the document to be edited, which are uploaded by the terminal device correspondingly, where the editing information represents an editing operation executed on the document to be edited;
the document editing apparatus may further include:
the document editing module 505 is configured to perform editing processing on the document to be edited according to the editing operation indicated by the editing information, so as to obtain an edited document;
and a third storage module 506, configured to store the edited document corresponding to the user identifier.
Further, the document editing apparatus may further include:
a record table generating module 507, configured to generate an information record table corresponding to the user identifier, where the information record table is used to record document information of the editing result, and the document information includes a storage address of the editing result;
a record table sending module 508, configured to send the information record table to the terminal device when receiving a download request of the information record table sent by the terminal device;
a result sending module 509, configured to send the editing result to the terminal device when receiving a download request of the editing result sent by the terminal device.
Based on the same inventive concept, a document downloading method applied to a terminal device is provided according to an embodiment of the present invention, and a document downloading apparatus is provided in the terminal device, as shown in fig. 6, and includes:
a first request sending module 601, configured to send a request for downloading a document information table to a cloud server, where the information recording table is used to record document information of an editing result stored in the cloud server, and the document information includes a storage address of the editing result;
an information table receiving module 602, configured to receive a document information table sent by a cloud server;
an icon generating module 603, configured to generate a document icon associated with a storage address based on the storage address recorded in the document information table;
a second request sending module 604, configured to send a download request of an editing result to the cloud server based on a pre-established association relationship between the document icon and the storage address when the document icon is triggered to operate;
the result receiving module 605 is configured to receive an editing result sent by the cloud server.
An embodiment of the present invention further provides a terminal device, as shown in fig. 7, including a processor 701, and a machine-readable storage medium 702, where the machine-readable storage medium 702 stores machine-executable instructions capable of being executed by the processor 701,
a machine-readable storage medium 702 for storing machine-executable instructions;
a processor 701 configured to execute machine-executable instructions stored on a machine-readable storage medium 902, implementing the steps of:
acquiring a document to be edited;
popping up a dialog selection box, wherein the dialog selection box is used for displaying prompt information, and the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server or not;
if the confirmation operation is received, acquiring a user identifier, wherein the user identifier is used as an access permission code of the document corresponding to the user identifier;
correspondingly uploading the document to be edited and the user identification to a cloud server;
after receiving the editing operation of the document to be edited, editing the document to be edited based on the editing operation, and generating an editing result;
and correspondingly uploading the editing result and the user identification to a cloud server.
An embodiment of the present invention further provides a cloud server, as shown in fig. 8, including a processor 801 and a machine-readable storage medium 802, where the machine-readable storage medium 802 stores machine-executable instructions capable of being executed by the processor 801,
a machine-readable storage medium 802 for storing machine-executable instructions;
the processor 801, configured to execute the machine executable instructions stored on the machine-readable storage medium 902, implements the following steps:
receiving a document to be edited and a user identification which are uploaded correspondingly by a terminal device;
storing a document to be edited corresponding to the user identifier;
and receiving the editing result and the user identification of the document to be edited, which are uploaded correspondingly by the terminal equipment.
An embodiment of the present invention further provides a terminal device, as shown in fig. 9, including a processor 901 and a machine-readable storage medium 902, where the machine-readable storage medium 902 stores machine-executable instructions capable of being executed by the processor 901,
a machine-readable storage medium 902 for storing machine-executable instructions;
a processor 901 configured to execute machine executable instructions stored on a machine readable storage medium 902, implementing the steps of:
sending a request for downloading a document information table to a cloud server, wherein the information recording table is used for recording document information of an editing result stored in the cloud server, and the document information comprises a storage address of the editing result;
receiving a document information table sent by a cloud server;
generating a document icon associated with the storage address based on the storage address recorded in the document information table;
when the document icon is triggered to operate, sending a downloading request of an editing result to a cloud server based on a pre-established association relation between the document icon and a storage address;
and receiving an editing result sent by the cloud server.
The machine-readable storage medium may include Random Access Memory (RAM) and may also include 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 may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
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 the steps of any of the above-mentioned document editing methods applied to a terminal device.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and when executed by a processor, the computer program implements any of the above steps of the document editing method applied to the cloud server.
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 the steps of any of the above document downloading methods.
In a further 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 of the above-described document editing methods applied to a terminal device.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute any one of the above-mentioned document editing methods applied to a cloud server.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer, causes the computer to perform any of the document downloading methods of the above embodiments.
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, as for the embodiments of the apparatus, the terminal device, the cloud server, the computer-readable storage medium, and the computer program product, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the partial description of the embodiments of the method.
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 (21)

1. A document editing method is applied to a terminal device, and the method comprises the following steps:
acquiring a document to be edited;
popping up a dialog selection box, wherein the dialog selection box is used for displaying prompt information, and the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server;
if receiving the confirmation operation, acquiring a user identifier, wherein the user identifier is used as an access permission code of the document corresponding to the user identifier;
correspondingly uploading the to-be-edited user identification and the user identification to the cloud server;
after receiving the editing operation on the document to be edited, editing the document to be edited based on the editing operation, and generating an editing result;
and correspondingly uploading the editing result and the user identification to the cloud server.
2. The method according to claim 1, wherein the performing editing processing on the document to be edited based on the editing operation and generating an editing result comprises:
editing the document to be edited based on the editing operation, and generating an edited document;
correspondingly uploading the editing result and the user identification to the cloud server, including:
and correspondingly uploading the edited document and the user identification to the cloud server.
3. The method according to claim 2, wherein the performing editing processing on the document to be edited based on the editing operation and generating an edited document comprises:
editing the document to be edited based on the editing operation, and generating an edited document after receiving an operation indicating that the editing is completed; and/or the presence of a gas in the gas,
and editing the document to be edited based on the editing operation, and generating the edited document after the editing time of the document to be edited reaches the preset time.
4. The method according to claim 1, wherein the performing editing processing on the document to be edited based on the editing operation and generating an editing result comprises:
editing the document to be edited based on the editing operation, and generating editing information representing the editing operation;
correspondingly uploading the editing result and the user identification to the cloud server, including:
and correspondingly uploading the editing information and the user identification to the cloud server.
5. A document editing method is applied to a cloud server, and the method comprises the following steps:
receiving a document to be edited and a user identification which are uploaded correspondingly by a terminal device;
storing the document to be edited corresponding to the user identification;
and receiving the editing result of the document to be edited and the user identification which are uploaded correspondingly by the terminal equipment.
6. The method according to claim 5, wherein the receiving the editing result and the user identifier of the document to be edited, which are uploaded by the terminal device correspondingly, comprises:
receiving the edited document and the user identification of the document to be edited uploaded by the terminal equipment correspondingly;
the method further comprises the following steps:
and storing the edited document corresponding to the user identification.
7. The method according to claim 5, wherein the receiving the editing result and the user identifier of the document to be edited, which are uploaded by the terminal device correspondingly, comprises:
receiving the editing information of the document to be edited and the user identification uploaded by the terminal equipment correspondingly, wherein the editing information represents the executed editing operation of the document to be edited;
the method further comprises the following steps:
editing the document to be edited according to the editing operation represented by the editing information to obtain an edited document;
and storing the edited document corresponding to the user identification.
8. The method of claim 5, further comprising:
generating an information recording table corresponding to the editing result, wherein the information recording table is used for recording document information of the editing result, and the document information comprises a storage address of the editing result;
when a downloading request of the information recording list sent by the terminal equipment is received, the information recording list is sent to the terminal equipment;
and when a downloading request of the editing result sent by the terminal equipment is received, sending the editing result to the terminal equipment.
9. A document downloading method is applied to terminal equipment, and the method comprises the following steps:
sending a request for downloading a document information table to a cloud server, wherein the information recording table is used for recording document information of an editing result stored in the cloud server, and the document information comprises a storage address of the editing result;
receiving the document information table sent by the cloud server;
generating a document icon associated with the storage address based on the storage address recorded in the document information table;
when the document icon is triggered to operate, sending a downloading request of the editing result to a cloud server based on a pre-established association relation between the document icon and the storage address;
and receiving the editing result issued by the cloud server.
10. A document editing apparatus, located in a terminal device, the apparatus comprising:
the document acquisition module is used for acquiring a document to be edited;
the dialog box popup module is used for popping up a dialog selection box, the dialog selection box is used for displaying prompt information, and the prompt information is used for prompting whether the document to be edited is uploaded to a cloud server or not;
the identification acquisition module is used for acquiring a user identification if the confirmation operation is received, wherein the user identification is used as an access permission code of the document corresponding to the user identification;
the document uploading module is used for correspondingly uploading the document to be edited and the user identification to the cloud server;
the result generation module is used for editing the document to be edited based on the editing operation after the editing operation on the document to be edited is received, and generating an editing result;
and the result uploading module is used for correspondingly uploading the editing result and the user identification to the cloud server.
11. The apparatus according to claim 10, wherein the result generation module is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate an edited document;
the result uploading module is specifically configured to correspondingly upload the edited document and the user identifier to the cloud server.
12. The apparatus according to claim 11, wherein the result generating module is specifically configured to perform editing processing on the document to be edited based on the editing operation, and generate an edited document after receiving an operation indicating that editing is completed; and/or the presence of a gas in the gas,
and editing the document to be edited based on the editing operation, and generating the edited document after the editing time of the document to be edited reaches the preset time.
13. The method according to claim 10, wherein the result generation module is specifically configured to perform editing processing on the document to be edited based on the editing operation and generate editing information representing the editing operation;
the result uploading module is specifically configured to correspondingly upload the editing information and the user identifier to the cloud server.
14. A document editing apparatus, located on a cloud server, the apparatus comprising:
the first receiving module is used for receiving the document to be edited and the user identification uploaded correspondingly by the terminal equipment;
the first storage module is used for storing the document to be edited corresponding to the user identifier;
and the second receiving module is used for receiving the editing result of the document to be edited and the user identification uploaded correspondingly by the terminal equipment.
15. The apparatus according to claim 14, wherein the second receiving module is specifically configured to receive an edited document of the document to be edited and the user identifier, which are uploaded by the terminal device correspondingly;
the device, still include:
and the second storage module is used for storing the edited document corresponding to the user identifier.
16. The apparatus according to claim 14, wherein the second receiving module is specifically configured to receive, by the terminal device, edit information and the user identifier of the document to be edited that are uploaded correspondingly, where the edit information represents an editing operation performed on the document to be edited;
the device, still include:
the document editing module is used for editing the document to be edited according to the editing operation represented by the editing information to obtain an edited document;
and the third storage module is used for storing the edited document corresponding to the user identifier.
17. The apparatus of claim 14, further comprising:
a record table generating module, configured to generate an information record table corresponding to the user identifier, where the information record table is used to record document information of the editing result, and the document information includes a storage address of the editing result;
the recording list sending module is used for sending the information recording list to the terminal equipment when receiving a downloading request of the information recording list sent by the terminal equipment;
and the result sending module is used for sending the editing result to the terminal equipment when receiving the downloading request of the editing result sent by the terminal equipment.
18. A document downloading apparatus, located at a terminal device, the apparatus comprising:
the system comprises a first request sending module, a first storage module and a second storage module, wherein the first request sending module is used for sending a request for downloading a document information table to a cloud server, the information recording table is used for recording document information of an editing result stored in the cloud server, and the document information comprises a storage address of the editing result;
the information table receiving module is used for receiving the document information table sent by the cloud server;
the icon generating module is used for generating a document icon associated with the storage address based on the storage address recorded in the document information table;
the second request sending module is used for sending a downloading request of the editing result to a cloud server based on a pre-established association relation between the document icon and the storage address when the document icon is triggered to operate;
and the result receiving module is used for receiving the editing result sent by the cloud server.
19. A terminal device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 4.
20. A cloud server comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: -carrying out the method steps of any one of claims 5 to 8.
21. A terminal device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing the method steps of claim 9.
CN201811094458.2A 2018-09-19 2018-09-19 Document editing method and device and terminal equipment Pending CN110928946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811094458.2A CN110928946A (en) 2018-09-19 2018-09-19 Document editing method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811094458.2A CN110928946A (en) 2018-09-19 2018-09-19 Document editing method and device and terminal equipment

Publications (1)

Publication Number Publication Date
CN110928946A true CN110928946A (en) 2020-03-27

Family

ID=69856045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811094458.2A Pending CN110928946A (en) 2018-09-19 2018-09-19 Document editing method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN110928946A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765640A (en) * 2021-01-04 2022-07-19 腾讯科技(深圳)有限公司 To-do-list display method, related device, equipment and storage medium
CN115374760A (en) * 2022-10-25 2022-11-22 北京国电通网络技术有限公司 Document editing method, device, equipment, computer readable medium and program product
CN114765640B (en) * 2021-01-04 2024-04-23 腾讯科技(深圳)有限公司 To-do display method, related device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546836A (en) * 2012-03-09 2012-07-04 腾讯科技(深圳)有限公司 Method, terminal, server and system for uploading files
CN104615586A (en) * 2015-01-21 2015-05-13 上海理工大学 Real-time cooperative editing system
US20150200832A1 (en) * 2012-02-17 2015-07-16 Andrian Kurniady Adaptive Document Autosaving Rate Based on Different Conditions
CN106776511A (en) * 2016-11-11 2017-05-31 郑州云海信息技术有限公司 One kind editor document storage method and device
CN107656988A (en) * 2017-09-12 2018-02-02 北京北信源软件股份有限公司 Document edit method and system
CN107943772A (en) * 2017-11-15 2018-04-20 江苏神州信源系统工程有限公司 Document remote editing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150200832A1 (en) * 2012-02-17 2015-07-16 Andrian Kurniady Adaptive Document Autosaving Rate Based on Different Conditions
CN102546836A (en) * 2012-03-09 2012-07-04 腾讯科技(深圳)有限公司 Method, terminal, server and system for uploading files
CN104615586A (en) * 2015-01-21 2015-05-13 上海理工大学 Real-time cooperative editing system
CN106776511A (en) * 2016-11-11 2017-05-31 郑州云海信息技术有限公司 One kind editor document storage method and device
CN107656988A (en) * 2017-09-12 2018-02-02 北京北信源软件股份有限公司 Document edit method and system
CN107943772A (en) * 2017-11-15 2018-04-20 江苏神州信源系统工程有限公司 Document remote editing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114765640A (en) * 2021-01-04 2022-07-19 腾讯科技(深圳)有限公司 To-do-list display method, related device, equipment and storage medium
CN114765640B (en) * 2021-01-04 2024-04-23 腾讯科技(深圳)有限公司 To-do display method, related device, equipment and storage medium
CN115374760A (en) * 2022-10-25 2022-11-22 北京国电通网络技术有限公司 Document editing method, device, equipment, computer readable medium and program product

Similar Documents

Publication Publication Date Title
CN109739934B (en) Difference set account checking method, medium, computer equipment and system
US9936022B2 (en) Computer device for reading e-book and server for being connected with the same
CN109471738B (en) Method for identifying application program downloading channel and related equipment
US9864736B2 (en) Information processing apparatus, control method, and recording medium
CN110941500B (en) Interface display method and device
US20170270106A1 (en) Methods and apparatuses for storing file path and accessing local file
CN110955428A (en) Page display method and device, electronic equipment and medium
US20150007328A1 (en) Method and System for Quickly Scanning Files
CN105446572A (en) Text-editing method and device used for screen display device
CN110019067B (en) Log analysis method and system
CN109710286B (en) System upgrading method, device, equipment and storage medium
CN103841464A (en) Video information pushing method and device
CN105512294A (en) Multi-media file update prompting method and device
CN111782728B (en) Data synchronization method, device, electronic equipment and medium
CN105515935A (en) Interaction information DOI processing method and device
CN108292411A (en) Video content item is generated using subject property
CN107590162A (en) The storage method and device of journal file
CN108196902A (en) For showing the method and apparatus for advertisement of spreading its tail
CN114095755A (en) Video processing method, device and system, electronic equipment and storage medium
CN112788090B (en) Network resource transmission method, device and system
CN110928946A (en) Document editing method and device and terminal equipment
CN111090623B (en) Data auditing method and device, electronic equipment and storage medium
CN110201397B (en) Game resource allocation method and device and electronic equipment
CN104462210A (en) Audio file prompting method and device
CN109672608B (en) Method for transmitting messages according to time

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327

RJ01 Rejection of invention patent application after publication