CN109343980B - Cloud copying and cloud pasting method, device, system, equipment and storage medium - Google Patents
Cloud copying and cloud pasting method, device, system, equipment and storage medium Download PDFInfo
- Publication number
- CN109343980B CN109343980B CN201811150636.9A CN201811150636A CN109343980B CN 109343980 B CN109343980 B CN 109343980B CN 201811150636 A CN201811150636 A CN 201811150636A CN 109343980 B CN109343980 B CN 109343980B
- Authority
- CN
- China
- Prior art keywords
- content
- cloud
- instruction
- pasted
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000010076 replication Effects 0.000 claims abstract description 99
- 238000012986 modification Methods 0.000 claims description 19
- 230000004048 modification Effects 0.000 claims description 19
- 238000012790 confirmation Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000002829 reductive effect Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 15
- 238000012795 verification Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 11
- 238000011161 development Methods 0.000 description 9
- 238000012360 testing method Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 5
- 230000036961 partial effect Effects 0.000 description 3
- 238000012827 research and development Methods 0.000 description 3
- VOZKAJLKRJDJLL-UHFFFAOYSA-N 2,4-diaminotoluene Chemical compound CC1=CC=C(N)C=C1N VOZKAJLKRJDJLL-UHFFFAOYSA-N 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000000670 limiting effect Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a cloud copying/pasting method, a device, a system, equipment and a storage medium, wherein the cloud copying method comprises the following steps: responding to the cloud replication event, and generating a cloud replication instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content; sending the cloud replication instruction to a server; the cloud copy instruction is used for controlling the server side, calling the copy content corresponding to the content identification, converting the called copy content into the content to be pasted, and storing the content to be pasted corresponding to the user side. By implementing the embodiment of the invention, the complexity of the cloud copying/pasting operation can be reduced, and the cloud copying/pasting efficiency can be improved.
Description
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a cloud copy/paste method, apparatus, system, device, and storage medium.
Background
With the development of network technology, in addition to performing stand-alone operation on a single terminal device, a user needs to perform operation across terminal devices. For example, in online teaching, software development, and other scenes, a user needs to copy/paste contents such as teaching-related contents and software development-related contents on a terminal device, and most likely needs to copy/paste contents across terminal devices through a network between different terminal devices, which is generally referred to as cloud copy/paste.
In the related cloud copying/pasting technology, a user needs to log in a specific user side, obtain a specific verification code during copying, and upload copied contents to a server through the user side; when the user executes the pasting operation, the user still needs to log in the specific user end, input the verification code, and download the copied content from the server for pasting after the verification is passed. The whole operation process is complex, the cloud copying/pasting efficiency is greatly influenced, and the efficiency of the cloud copying/pasting technology is low.
Disclosure of Invention
In view of this, the present invention provides a cloud copy/paste method, apparatus, system, device and storage medium, so as to solve the problem of low efficiency of the related cloud copy/paste technology.
According to a first aspect of the present invention, there is provided a cloud replication method, applied to a user side, including:
responding to the cloud replication event, and generating a cloud replication instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content;
sending the cloud replication instruction to a server;
the cloud copy instruction is used for controlling the server side, calling the copy content corresponding to the content identification, converting the called copy content into the content to be pasted, and storing the content to be pasted corresponding to the user side.
In one embodiment, the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the user side;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the user side, corresponds to the user identification and the content type and/or the content identification.
In one embodiment, the copied content and the content to be pasted are both stored in a data server, and the data server is used for interacting the copied content and the content to be pasted with different servers.
According to a second aspect of the present invention, there is provided a cloud replication method applied to a server, including:
receiving a cloud replication instruction of a user side; the cloud replication instruction carries a content identifier corresponding to the replicated content;
responding to the cloud copy instruction, and calling copy content corresponding to the content identification;
converting the called copied content into a content to be pasted;
and storing the content to be pasted corresponding to the user side.
In one embodiment, the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the user side;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the user side, corresponds to the user identification and the content type and/or the content identification.
In one embodiment, the copied content and the content to be pasted are both stored in a data server, and the data server is used for interacting the copied content and the content to be pasted with different servers.
In one embodiment, the method further comprises the steps of:
and recording the cloud replication instruction corresponding to the user side.
According to a third aspect of the present invention, there is provided a cloud pasting method applied to a user side, including:
responding to the cloud pasting event, and generating a cloud pasting instruction;
sending the cloud pasting instruction to a server;
the cloud pasting instruction is used for controlling the server side, calling the content to be pasted stored by the corresponding related user side, and pasting the content to be pasted.
In one embodiment, the cloud paste instruction further carries a user identifier of the associated user side and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
In one embodiment, the content to be pasted is stored in a data server, and the data server is used for interacting the content to be pasted with different servers.
According to a fourth aspect of the present invention, there is provided a cloud pasting method applied to a server, including:
receiving a cloud pasting instruction of a user side;
responding to the cloud pasting instruction, and calling the content to be pasted, which is stored correspondingly to the associated user side;
and pasting the content to be pasted.
In one embodiment, the cloud paste instruction further carries a user identifier of the associated user side and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
In one embodiment, the content to be pasted is stored in a data server, and the data server is used for interacting the content to be pasted with different servers.
In one embodiment, the method further comprises the steps of:
and recording the cloud pasting instruction corresponding to the user side.
In one embodiment, before pasting the content to be pasted, the method further includes the following steps:
sending preview content containing the content to be pasted to the user side;
receiving a confirmation instruction or a modification instruction of the user side; the modification instruction comprises a content identifier of the content before modification and the modified content;
responding to the confirmation instruction to paste the content to be pasted; or the like, or, alternatively,
and after the content to be pasted is modified in response to the modification instruction, pasting the modified content to be pasted.
According to a fifth aspect of the present invention, there is provided a cloud replication system, comprising a server and a user terminal; wherein:
the user terminal is provided with a user side, and the user side is used for:
responding to the cloud replication event, and generating a cloud replication instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content;
sending the cloud replication instructions to the server;
the server is provided with a server side, and the server side is used for:
receiving the cloud replication instruction;
responding to the cloud copy instruction, and calling copy content corresponding to the content identification;
converting the called copied content into a content to be pasted;
and storing the content to be pasted corresponding to the user side.
According to a sixth aspect of the present invention, there is provided a cloud pasting system, comprising a server and a user terminal; wherein:
the user terminal is provided with a user side, and the user side is used for:
responding to the cloud pasting event, and generating a cloud pasting instruction;
sending the cloud paste instruction to the server;
the server is provided with a server side, and the server side is used for:
receiving the cloud pasting instruction;
responding to the cloud pasting instruction, and calling the content to be pasted, which is stored correspondingly to the associated user side;
and pasting the content to be pasted.
According to a seventh aspect of the present invention, there is provided a cloud replication device, applied to a user side, including:
the replication instruction generating module is used for responding to the cloud replication event and generating a cloud replication instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content;
the replication instruction sending module is used for sending the cloud replication instruction to a server;
the cloud copy instruction is used for controlling the server side, calling the copy content corresponding to the content identification, converting the called copy content into the content to be pasted, and storing the content to be pasted corresponding to the user side.
According to an eighth aspect of the present invention, there is provided a cloud replication apparatus, applied to a server, including:
the replication instruction receiving module is used for receiving a cloud replication instruction of a user side; the cloud replication instruction carries a content identifier corresponding to the replicated content;
the copied content calling module is used for responding to the cloud copying instruction and calling the copied content corresponding to the content identifier;
the content to be pasted conversion module is used for converting the called copied content into the content to be pasted;
and the content to be pasted storage module is used for storing the content to be pasted corresponding to the user side.
According to a ninth aspect of the present invention, there is provided a cloud pasting apparatus applied to a user side, comprising:
the cloud paste command generating module is used for responding to the cloud paste event and generating a cloud paste command;
the pasting instruction sending module is used for sending the cloud pasting instruction to a server;
the cloud pasting instruction is used for controlling the server side, calling the content to be pasted stored by the corresponding related user side, and pasting the content to be pasted.
According to a tenth aspect of the present invention, there is provided a cloud pasting apparatus applied to a server, including:
the system comprises a pasting instruction receiving module, a cloud pasting module and a cloud pasting module, wherein the pasting instruction receiving module is used for receiving a cloud pasting instruction of a user side;
the to-be-pasted content calling module is used for responding to the cloud pasting instruction and calling the to-be-pasted content stored correspondingly to the associated user side;
and the content pasting module to be pasted is used for pasting the content to be pasted.
According to an eleventh aspect of the invention, there is provided a computer device comprising a processor and a memory for storing processor-executable instructions; wherein the processor is configured to perform the operations of the method as described above.
According to a twelfth aspect of the invention, one or more machine-readable storage media are provided having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the operations in the methods as described above.
By implementing the embodiment provided by the invention, under the condition that cloud copying or cloud pasting is needed, the copied or pasted content does not need to be sent between the user side and the server, the user side only needs to respond to a cloud copying or cloud pasting event to generate a cloud copying or cloud pasting instruction, the cloud copying or cloud pasting instruction is sent to the server, and the copying or pasting operation is executed by the server. Therefore, compared with the related technology that the verification code is needed and the cloud copying or cloud pasting content is interacted between the user side and the server, the whole operation process is simple, the complexity of the cloud copying/pasting operation can be reduced, and the cloud copying/pasting efficiency is improved.
Drawings
FIG. 1 is an architectural diagram of a cloud copy/paste system shown in an exemplary embodiment of the present invention;
FIG. 2 is an architectural diagram of a cloud copy/paste system, shown in another exemplary embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method of cloud replication in accordance with an exemplary embodiment of the present invention;
fig. 4 is a flowchart illustrating a cloud replication method according to another exemplary embodiment of the present invention;
FIG. 5 is a flow diagram illustrating a cloud paste method in accordance with an exemplary embodiment of the present invention;
FIG. 6 is a flowchart illustrating a cloud paste method according to another exemplary embodiment of the invention;
fig. 7 is a block diagram illustrating a cloud replication apparatus according to an exemplary embodiment of the present invention;
fig. 8 is a block diagram illustrating a cloud replication apparatus according to another exemplary embodiment of the present invention;
fig. 9 is a block diagram illustrating a cloud paste apparatus according to an exemplary embodiment of the present invention;
fig. 10 is a block diagram illustrating a cloud paste apparatus according to another exemplary embodiment of the present invention;
fig. 11 is a hardware configuration diagram of a computer device according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In practical application, many scenarios involve cloud copy/cloud paste, for example, under scenarios such as online teaching and software development, the following description takes a software development scenario as an example, and involves cloud copy/cloud paste operations:
the development process of the software product relates to a development link, a testing link and a production link of the software, and some of the development process also relates to a gray level release link, wherein different links require different environments, so that different links are required to be operated on servers in different environments.
In each link of software development, research and development personnel are required to create a configuration file of the link on terminal equipment, then upload the configuration file to a server with an environment required by the link, and then correspondingly operate the server to complete tasks of the link.
Because the same software is involved, configuration files in different links have more same places, and if the configuration files in different links are created in a cloud copying and cloud pasting mode, manual input can be reduced, and further the error rate and time of the manual input are reduced.
However, the servers in each step of software development are independent of each other, and different developers create configuration files in the same terminal device. When the related cloud copying/cloud pasting technology is adopted, a specific user side needs to be logged in terminal equipment of research personnel, a specific verification code is obtained during copying, and copied contents are uploaded to a server corresponding to the user side through the user side; when the user executes the pasting operation, the user still needs to log in the specific user end, input the verification code, and download the copied content from the server corresponding to the user end for pasting after the verification is passed. The whole operation process needs verification of the verification code, and also needs the terminal device and the server to upload/download through the network, and the data volume of the uploaded and downloaded configuration file is larger. Both verification of the verification code and transmission of the configuration file consume more time, so that the cloud copying/pasting efficiency is greatly influenced, and the efficiency of the cloud copying/pasting technology is low. In order to solve the problem, designers of the invention provide a cloud copying/pasting method, a device, a system, equipment and a storage medium.
According to the cloud copying/pasting method provided by the embodiment of the invention, under the condition that cloud copying or cloud pasting is needed, cloud copying or cloud pasting content does not need to be sent between the user side and the server, the user side only needs to respond to a cloud copying or cloud pasting event to generate a cloud copying or cloud pasting instruction, the cloud copying or cloud pasting instruction is sent to the server, and copying or pasting operation is executed by the server. Therefore, compared with the related technology of needing verification codes and interacting cloud copy or cloud paste contents between the user side and the server, the whole operation process is simple, the complexity of cloud copy/paste operation can be reduced, and the cloud copy/paste efficiency is improved. The following first introduces a system for implementing the cloud copy/paste method of the embodiment of the present invention:
fig. 1 is an architecture diagram of a cloud copy/paste system according to an embodiment of the present invention, as shown in fig. 1, the cloud copy/paste system may include a user terminal 110, a user terminal 120, and a server 130, and the server 130 connects the user terminal 110 and the user terminal 120 via a wired or wireless network, respectively.
In addition, the number of the user terminals to which the server 130 can be connected in the embodiment of the present invention is not limited to two, and may be two or more, and all of them are not shown in fig. 1 for convenience of illustration.
The user terminal 110 and the user terminal 120 are different terminal devices connected through a network, where the terminal devices may be at least one of computer devices such as an intelligent interactive tablet, a smart phone, a laptop computer, a desktop computer, a tablet computer, and a Personal Digital Assistant (PDA).
To implement copying and pasting data content across a network, the user terminal 120 and the user terminal 110 may be equipped with the same user side and preset buttons, gestures, or other operational events for triggering cloud copy or cloud paste events.
The specific type of the user side can be determined by an application scenario or a user requirement, for example, in an online teaching scenario, the user side (or called client) in online teaching can be installed, so that the user can log in the user side through the same account at different times or different places, or the user can log in the user side through different accounts.
The server 130, which corresponds to the user terminal 120 and the user terminal in the user terminal 110, may be composed of one server or multiple servers, and is equipped with an application program for providing support for the user terminal 120 or the user terminal 110 to establish a network connection channel; a service program (server) for providing services to the user terminal corresponding to the user terminal 120 or the user terminal 110 is also installed; other applications may also be provided, such as a commercially available hypertext transfer protocol (HTTP) server application, or a secure socket layer hypertext transfer protocol (HTTPs) server application.
In addition, the server 130 may be configured with a storage area, such as a database, a file system, and the like, and the storage area mentioned herein may be disposed in the server 130, or disposed in the server 130 and other computer devices in the local area network.
In the embodiment of the present invention, in order to reduce transmission of cloud copy/paste content between the server 130 and the user terminal 110 or the user terminal 120, the content of the user terminal may be pre-stored in the storage area. The specific stored content depends on the specific application scenario and the user's requirements. For example, in a software development scenario, the stored content may include program codes of software to be developed, configuration files of related links, and the like; in an online teaching scenario, the stored content may include teaching course content, work-in-class content, examination test content, and the like.
In one example, different content identifiers may be allocated to different contents according to different contents, and each part of content is stored according to the content identifier corresponding to each part of content in the storing process.
In another example, the same content may appear in different types of documents, for example, in an online teaching scenario, the teaching course and the work-in-class may have the same content, in order to avoid confusing the teaching course and the work-in-class content. The embodiment of the invention can also allocate content identification and content type to the content to be stored, as mentioned above, the same content "the content of the ancient poetry of the quiet night thought" appears in the Chinese course, in the course of work, and in the examination test, if the content to be copied in the teaching course includes the content, the content to be copied in the Chinese course also includes the content, and for the convenience of distinguishing, the content identification of the quiet night thought "and the content types of the" course "," work "or" test "can be allocated to the content. When storing, the content identification and content type corresponding to each part of content are stored. It should be noted that, this is only an example of the content identifier and the content type, and in other embodiments, the content identifier and the content type may also be represented by data in other characters or formats, which is not limited in this embodiment of the present invention.
In a practical application scenario, for example, in an online teaching scenario, a teacher creates a part of teaching courses through the user terminal 110 while preparing a course at home, and then needs to create the remaining part of teaching courses through the user terminal 120 after going to school. The method comprises the following steps that a plurality of contents in the teaching course needing to be created subsequently are repeated with the created teaching course, a teacher can copy the possibly repeated contents in order to improve the efficiency of creating the teaching course subsequently, and the repeated contents are pasted in a cloud mode when the teaching course is created subsequently.
Before actual cloud replication, a user (e.g., a teacher in an online teaching scene) may log in a server of the server 130 through a user side in the user terminal 110, and establish a connection channel between the user terminal 110 and the server 130, such as a connection channel of TCP, UDP, HTTP, and the like.
In an actual cloud replication process, a user may trigger occurrence of a cloud replication event by clicking a replication button of the user terminal 110 or performing other predetermined operations, and the user terminal 110 responds to the cloud replication event through a user side therein, generates a cloud replication instruction, and sends the cloud replication instruction to the server 130. The cloud copy instruction mentioned here carries a content identifier corresponding to the copied content.
After receiving the cloud copy instruction, the server in the server 130 responds to the cloud copy instruction, calls copy content corresponding to the content identifier, converts the called copy content into content to be pasted, and stores the content to be pasted corresponding to the user side. Here, the retrieval of the copied content or the storage of the content to be pasted are both performed in a preset storage area, such as a database.
Thereafter, a user (e.g., a teacher in an online education scenario) can log in the server side of the server 130 through the user side in the user terminal 120, and establish a connection channel between the user terminal 120 and the server 130, such as a connection channel of TCP, UDP, HTTP, and the like.
A user clicks a paste button of the user terminal 120 or executes other predetermined operations to trigger the occurrence of a cloud paste event, and the user terminal 120 responds to the cloud paste event through a user side therein to generate a cloud paste instruction; the cloud paste instruction is sent to the server 130.
The server side in the server 130 responds to the cloud pasting instruction after receiving the cloud pasting instruction, and calls the content to be pasted, which is stored correspondingly to the associated user side; and pasting the content to be pasted. Here, the associated user side refers to that a predetermined association relationship exists with the user side that sends the cloud paste instruction, for example, the user identifications are the same, the user identifications are associated, I P addresses are in the same subnet, and the like.
In the system shown in fig. 1, the server 130 only allows the same type of user terminal to perform cloud copy and cloud paste, for example, in an online teaching scenario, the server 130 only allows the same type of online teaching user terminal to perform cloud copy and cloud paste.
However, in some scenarios, such as a software product development scenario, a software development link, a software testing link, and a software production link are independent of each other, and each of the scenarios has a different server, and cloud replication and cloud pasting are performed by the system shown in fig. 1, and a client and a server of the same type as an intermediate are required. The content identification of the content such as the configuration file, the software code and the like in the software development environment which is responsible for the content identification is transplanted to the user terminal which is used as the intermediate medium, and the content which may need cloud copy and cloud paste is uploaded to the storage area which is matched with the user terminal and has the right access to the server by the user terminal which is used as the intermediate medium. In order to solve the problem, the embodiment of the invention provides another cloud copying/pasting system.
Fig. 2 is an architecture diagram of a cloud copy/paste system according to an embodiment of the present invention, as shown in fig. 2, the cloud copy/paste system may include a user terminal 211, a user terminal 212, a server 213, a user terminal 221, a user terminal 222, a server 223, and a data server 230; the server 213 is connected with the user terminal 211 and the user terminal 212 through a wired or wireless network respectively; the server 223 is connected with the user terminal 221 and the user terminal 222 through a wired or wireless network respectively; the data server 230 connects the server 213 and the server 223 through a wired or wireless network, respectively.
In addition, the number of the user terminals connectable to the server 213 is not limited to two, and may be more than two; the number of user terminals to which the server 223 can be connected is not limited to two, and may be two or more; the number of servers to which the data server 230 can be connected is not limited to two or more, and all of them are not shown in fig. 2 for convenience of example.
The technical content related to this embodiment corresponds to the embodiment related to fig. 1, and is not described herein again.
One difference is that the data server 230 replaces the storage area of the server 130, and in order to reduce the transmission of the cloud copy/paste content between the server 213 and the user terminal 211 or the user terminal 212, and the transmission of the cloud copy/paste content between the server 223 and the user terminal 221 or the user terminal 222, the content of the user terminal, specifically the stored content, may be pre-stored in the storage area, depending on the specific application scenario and the user requirement. Reference may be made to the foregoing embodiments, which are not described in detail herein.
The difference is that the server 213 and the server 223 are independent from each other, and the installed servers are different in type and have no mutual access authority; the user terminals 211 and 212 are installed at different locations from the user terminals 221 and 222.
Another difference is that when the association relationship between the user side sending the cloud paste instruction and the user side corresponding to the content to be pasted is configured in advance, the association relationship between different types of user sides may be configured, for example: in a product development scene, the user terminal 211 and the user terminal 212 are provided with user terminals for creating the configuration file in a development link, the user terminal 221 and the user terminal 222 are provided with user terminals for creating the configuration file in a test link, the two are independent of each other, and the association relationship can mean that users represented by user identifiers belong to the same development team, the same company and the like, so that the user terminals in different development links can conveniently perform cloud copying and cloud pasting through the user terminals for creating the configuration file in each link.
In an actual application scenario, for example, in a software development scenario, a developer a creates a configuration file of a development link through a user terminal 211 in the development link, and a subsequent developer B needs to create a configuration file of a test link through a user crash 221 in a test link. In order to improve the efficiency of creating teaching courses subsequently, research and development personnel a can perform cloud copy on the contents which are possibly repeated through the user terminal 211, and when creating the configuration file of the testing link, the research and development personnel a can perform cloud paste on the repeated contents through the user terminal 221.
Before cloud replication, a user (e.g., a developer a in a software development scenario) may log in a server of the server 213 through a user side in the user terminal 211, and establish a connection channel between the user terminal 211 and the server 213, such as a connection channel of TCP, UDP, HTTP, and the like.
In an actual cloud replication process, a user may trigger occurrence of a cloud replication event by clicking a replication button of the user terminal 211 or performing other predetermined operations, and the user terminal 211 responds to the cloud replication event through a user side therein, generates a cloud replication instruction, and sends the cloud replication instruction to the server 213. The cloud copy instruction mentioned here carries a content identifier corresponding to the copied content.
After receiving the cloud copy instruction, the server in the server 213 responds to the cloud copy instruction, calls copy content corresponding to the content identifier, converts the called copy content into content to be pasted, and stores the content to be pasted corresponding to the user side. Here, the retrieval of the copied content or the storage of the content to be pasted is performed through the data server 230.
Thereafter, a user (e.g., a developer B in a software development scenario) can log in a server of the server 223 through a user end in the user terminal 221, and establish a connection channel between the user terminal 221 and the server 223, such as a connection channel of TCP, UDP, HTTP, and the like.
A user clicks a paste button of the user terminal 221 or executes other predetermined operations to trigger occurrence of a cloud paste event, and the user terminal 221 responds to the cloud paste event through a user side therein to generate a cloud paste instruction; the cloud paste instruction is sent to the server 223.
The server side in the server 223 responds to the cloud pasting instruction after receiving the cloud pasting instruction, and calls the content to be pasted, which is stored correspondingly to the associated user side; and pasting the content to be pasted. Here, the server 230 is required to call the content to be pasted, and the associated user end means that a predetermined association relationship exists with the user end that sends the cloud paste instruction, for example, the user identifiers are the same, the user identifiers are associated, the I P addresses are in the same subnet, and the like.
The following cloud replication process is described in detail in conjunction with the accompanying drawings:
first, a cloud replication process of a user side is introduced, specifically referring to fig. 3, fig. 3 is a flowchart of a cloud replication method according to an exemplary embodiment of the present invention, where the cloud replication method may be applied to the user side, and the user side may be a user side in any user terminal in fig. 1 to 2, and includes the following steps S301 to S302:
step S301, responding to a cloud copying event and generating a cloud copying instruction; the cloud copy instruction carries a content identifier corresponding to the copied content.
Step S302, sending the cloud replication instruction to a server; the cloud copy instruction is used for controlling the server side, calling the copy content corresponding to the content identification, converting the called copy content into the content to be pasted, and storing the content to be pasted corresponding to the user side.
The technical content related to the embodiment of the present invention corresponds to the technical content of the embodiment of the system described above, and is not described herein again.
The cloud copy event triggering the user side to generate the cloud copy instruction may occur after the user selects the content to be copied, clicks a copy button, inputs a predetermined fingerprint, executes a predetermined gesture, or executes other predetermined triggering operations, which is not described herein again.
The content identifier carried by the cloud copy instruction may be pre-stored in a storage area of the user side, and obtained according to the content to be copied.
In addition, the cloud copy instruction may also carry a content type corresponding to the copied content and/or a user identifier of the user side. Correspondingly, the called copy content corresponds to the content identification and the content type; the content to be pasted stored corresponding to the user side corresponds to the user identifier, or corresponds to the user identifier and the content type and/or the content identifier. Which data is specifically carried can be explained by referring to the following examples:
in an example, the multiple pieces of content to be copied include the same content, but the types are different, and the cloud copy instruction may also carry a content type corresponding to the copied content. As shown in fig. 1, in the online teaching scenario, a teacher creates a teaching course and a work in class through the user terminal 110 at home, and then needs to create the rest of the teaching course and the work in class through the user terminal 120 after going to school. And the created teaching course and the created work in class respectively have partial contents, and the teaching course and the work in class which are required to be created subsequently can be repeated, so that a teacher can perform cloud copy on the partial contents in order to improve the efficiency of the subsequent created work in class and the examination test, and the subsequent cloud paste is facilitated. However, the repeated content in the teaching course is the same as the repeated content in the work under class, but because the contents belong to the teaching course and the work under class respectively, the formats are different, in order to improve the efficiency, the repeated content in the teaching course and the work under class can be respectively cloud-copied, the repeated content with the same content identification needs to be distinguished, and the content type corresponding to the copied content can be carried in the cloud copy instruction.
In another example, considering that when the corresponding user side stores the content to be pasted, the user identifier of the corresponding user side may store the content to be pasted, the server side according to the embodiment of the present invention may obtain the user identifier of the user side according to the related information of the connection channel established between the server side and the user side, or according to the information such as the access token sent outside the cloud copy instruction. According to the embodiment of the invention, the efficiency of obtaining the user identification and further storing the content to be pasted can be improved in a mode of carrying the user identification in the cloud copying instruction. The user identifier mentioned here may be at least one of a login account number and a login password, or at least one of information such as a name, an age, an occupation, an identification number, a mobile phone number, and the like of the user, or a digital certificate generated by login information.
In another example, besides the user identifier, the embodiment of the present invention may also store other identification information, such as I P address, which can uniquely indicate the user side that initiates the cloud replication request.
In another example, different contents to be pasted need to be selectively cloud-pasted subsequently, and in order to distinguish different contents to be pasted, the contents to be pasted may be stored in correspondence to the user side and the user identifier, in addition to the contents to be pasted being stored in correspondence to the user side.
In another example, the multiple pieces of content that need to be cloud-pasted include the same content, but the types are different, and in order to distinguish different pieces of content to be pasted, the content to be pasted may be stored in correspondence with the user side, the user identifier, and the user type, in addition to the content to be pasted.
The content to be pasted stored in the above may be the same as the cloud copy content, and in some cases, in order to reduce the storage amount of the cloud copy content, a content identifier and a type identifier may be carried in a cloud copy instruction, a piece of content with the same content identifier is stored in a storage area, but attribute information of different types of content is stored, and when the content is subsequently converted into the content to be pasted, corresponding attribute information is called according to the content type carried in the cloud copy instruction, and attribute conversion is performed on the cloud copy content to obtain the content to be pasted.
The copied content and the content to be pasted may be stored in a storage area of the server 130 shown in fig. 1, or may be stored in the data server 230 shown in fig. 2, and when both the copied content and the content to be pasted are stored in the data server 230, the data server 230 is configured to interact with different servers. The embodiment of the present invention is not limited thereto.
Referring to fig. 4 in detail, fig. 4 is a flowchart illustrating a cloud replication method according to another exemplary embodiment of the present invention, where the cloud replication method may be applied to a server, and the server may be a server in any one of servers in fig. 1 to 2, and includes the following steps S401 to S404:
step S401, receiving a cloud replication instruction of a user side; the cloud copy instruction carries a content identifier corresponding to the copied content.
And S402, responding to the cloud replication instruction, and calling the replicated content corresponding to the content identification.
And step S403, converting the called copied content into the content to be pasted.
And S404, storing the content to be pasted corresponding to the user side.
The technical content of the embodiment of the present invention corresponds to the technical content related to the foregoing system and method, and is not described herein again.
In an example, the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the user side;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the user side, corresponds to the user identification and the content type and/or the content identification.
In another example, the copied content and the content to be pasted are both stored in a data server, and the data server is configured to interact with different servers to the copied content and the content to be pasted.
After the content to be pasted is stored, in order to facilitate subsequent auditing or checking whether the cloud copy process is incorrect, corresponding recording may be performed on the cloud copy process, for example, the cloud copy instruction is recorded corresponding to the user side, and during specific recording, the time when the cloud copy instruction is received, the user side that sends the cloud copy instruction, the content identifier and the content type of the cloud copy content, and the like may be recorded in other manners, which is not described herein again.
The following cloud paste process is described in detail with reference to the accompanying drawings:
first, a cloud pasting process of a user side is introduced, specifically referring to fig. 5, fig. 5 is a flowchart of a cloud pasting method according to an exemplary embodiment of the present invention, where the cloud pasting method may be applied to a user side, and the user side may be a user side in any user terminal in fig. 1 to 2, and includes the following steps S501 to S502:
step S501, responding to a cloud pasting event, and generating a cloud pasting instruction.
And step S502, sending the cloud paste instruction to a server. The cloud pasting instruction is used for controlling the server side, calling the content to be pasted stored by the corresponding related user side, and pasting the content to be pasted.
The technical content of the embodiment of the present invention corresponds to the technical content related to the foregoing system and method, and is not described herein again.
The cloud pasting event triggering the user side to generate the cloud pasting instruction can occur after the user clicks a pasting button, inputs a preset fingerprint, executes a preset gesture or executes other preset triggering operations when cloud pasting is needed, and details are not repeated herein.
The cloud pasting instruction may not carry the identifier of the content to be pasted, such as the case of cloud pasting all the content to be pasted stored at the user side corresponding to the cloud pasting instruction at one time.
In other cases, if the content to be pasted stored in the corresponding user side needs to be selectively cloud-pasted, the cloud pasting instruction may carry a content identifier of the content to be pasted, the content identifier may be pre-stored in a storage area of the user side, and the content to be pasted is obtained according to the content to be cloud-pasted.
In addition, the cloud copy instruction may also carry a content type corresponding to the content to be pasted, and/or a user identifier of the user side, and/or a user identifier of the associated user side. Correspondingly, the called content to be pasted corresponds to the user identifier, or corresponds to the user identifier and the content type and/or the content identifier. Which data is specifically carried can be explained by referring to the following examples:
in an example, the multiple pieces of content to be pasted that need cloud pasting include the same content, but the types are different, and the cloud pasting instruction may also carry the content type and the content identifier corresponding to the content to be pasted.
In another example, considering that when the corresponding user side stores the content to be pasted, the user identifier of the corresponding user side may store the content to be pasted, the server side according to the embodiment of the present invention may obtain the user identifier of the associated user side according to the pre-stored association relationship between the user sides, the related information of the connection channel established between the server side and the user side, or the information such as the access token sent outside the cloud copy instruction. The embodiment of the invention can also improve the efficiency of acquiring the user identifier and further calling the content to be pasted by a mode of carrying the user identifier of the user terminal or the associated user terminal in the cloud pasting instruction. The user identifier mentioned here can refer to the foregoing embodiments and will not be described herein.
In another example, besides the user identifier, the embodiment of the present invention may also use other data that can uniquely represent the user side that initiates the cloud paste request to identify the associated user side, such as I P address.
The content to be pasted may be stored in a storage area of the server 130 shown in fig. 1, or may be stored in the data server 230 shown in fig. 2, where when the content to be pasted is stored in the data server 230, the data server 230 is configured to interact with different servers. The embodiment of the present invention is not limited thereto.
Referring to fig. 6 in detail, fig. 6 is a flowchart illustrating a cloud pasting method according to another exemplary embodiment of the present invention, where the cloud copying method may be applied to a server, and the server may be a server in any one of servers in fig. 1 to 2, and includes the following steps S601 to S603:
step S601, receiving a cloud pasting instruction of a user side.
Step S602, responding to the cloud pasting instruction, and calling the content to be pasted, which is stored correspondingly to the associated user side.
And step S603, pasting the content to be pasted.
The technical content of the embodiment of the present invention corresponds to the technical content related to the foregoing system and method, and is not described herein again.
In an example, the cloud paste instruction further carries a user identifier of the associated user side and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
In another example, the content to be pasted is stored in a data server, and the data server is configured to interact with different servers for the content to be pasted.
After the content to be pasted is pasted, in order to facilitate subsequent auditing or checking whether the cloud pasting process is wrong, the cloud pasting process can be correspondingly recorded, for example, the cloud pasting instruction is recorded corresponding to the user side, when the cloud pasting instruction is recorded specifically, the time when the cloud pasting instruction is received, the user side which sends the cloud pasting instruction, the content identification and the content type of the cloud pasted content and the like can be recorded, and in other embodiments, other modes can be adopted for recording, which is not described herein again.
In addition, in order to avoid modification of the user side after pasting and repeated cloud copying and cloud pasting after modification, the embodiment of the invention can send preview content containing the content to be pasted to the user side before pasting the content to be pasted; receiving a confirmation instruction or a modification instruction of the user side; the modification instruction comprises a content identifier of the content before modification and the modified content; responding to the confirmation instruction to paste the content to be pasted; or, after the content to be pasted is modified in response to the modification instruction, pasting the modified content to be pasted.
The preview content may be description information of the content to be pasted, and the description information may be a thumbnail or a summary of the content to be pasted.
After confirming that the content to be pasted is pasted without errors, the embodiment of the invention can also wait for the user to browse the content request after pasting, and then respond to the request to send the content after pasting to the user side.
In other examples, if the request is not received within a predetermined time period, the pasted content may be stored in the storage area corresponding to the user terminal or the associated user terminal, and may further be stored corresponding to the content identifier, or may be stored corresponding to the content identifier and the content type, which is not limited in this embodiment of the present invention.
Corresponding to the embodiments of the method described above, the invention also provides embodiments of the apparatus.
Referring to fig. 7, fig. 7 is a block diagram of a cloud replication apparatus according to an exemplary embodiment of the present invention, where the cloud replication apparatus may be applied to a user side, where the user side may be a user side in any user terminal in fig. 1 or fig. 2, and may include: a copy command generating module 710 and a copy command sending module 720.
The replication instruction generating module 710 is configured to respond to a cloud replication event and generate a cloud replication instruction; the cloud copy instruction carries a content identifier corresponding to the copied content.
A copy instruction sending module 720, configured to send the cloud copy instruction to a server; the cloud copy instruction is used for controlling the server side, calling the copy content corresponding to the content identification, converting the called copy content into the content to be pasted, and storing the content to be pasted corresponding to the user side.
The technical content related to the embodiment of the present invention corresponds to the method embodiment and the system embodiment described above, and is not described herein again.
In an example, the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the user side;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the user side, corresponds to the user identification and the content type and/or the content identification.
In another example, the copied content and the content to be pasted are both stored in a data server, and the data server is configured to interact with different servers to the copied content and the content to be pasted.
Referring to fig. 8, fig. 8 is a block diagram of a cloud replication apparatus according to another exemplary embodiment of the present invention, where the cloud replication apparatus may be applied to a server, and the user side may be a server in any one of the servers in fig. 1 or fig. 2, and may include: a copy instruction receiving module 810, a copy content calling module 820, a to-be-pasted content conversion module 830 and a to-be-pasted content storage module 840.
The replication instruction receiving module 810 is configured to receive a cloud replication instruction of a user side; the cloud copy instruction carries a content identifier corresponding to the copied content.
And a copied content calling module 820, configured to respond to the cloud copy instruction, and call copied content corresponding to the content identifier.
And a to-be-pasted content conversion module 830, configured to convert the called copied content into to-be-pasted content.
And a to-be-pasted content storage module 840, configured to store the to-be-pasted content corresponding to the user side.
The technical content related to the embodiment of the present invention corresponds to the method embodiment and the system embodiment described above, and is not described herein again.
In an example, the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the user side;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the user side, corresponds to the user identification and the content type and/or the content identification.
In another example, the copied content and the content to be pasted are both stored in a data server, and the data server is configured to interact with different servers to the copied content and the content to be pasted.
In an embodiment, the cloud replication apparatus according to the embodiment of the present invention may further include:
and the copying and recording module is used for recording the cloud copying instruction corresponding to the user side.
Referring to fig. 9, fig. 9 is a block diagram of a cloud pasting apparatus according to an exemplary embodiment of the present invention, where the cloud pasting apparatus may be applied to a user side, where the user side may be a user side in any one of the user terminals in fig. 1 or fig. 2, and may include: a paste instruction generating module 910 and a paste instruction sending module 920.
The pasting instruction generating module 910 is configured to respond to a cloud pasting event and generate a cloud pasting instruction.
A paste instruction sending module 920, configured to send the cloud paste instruction to a server. The cloud pasting instruction is used for controlling the server side, calling the content to be pasted stored by the corresponding related user side, and pasting the content to be pasted.
The technical content related to the embodiment of the present invention corresponds to the method embodiment and the system embodiment described above, and is not described herein again.
In an example, the cloud paste instruction further carries a user identifier of the associated user side and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
In another example, the content to be pasted is stored in a data server, and the data server is configured to interact with different servers for the content to be pasted.
Referring to fig. 10, fig. 10 is a block diagram of a cloud pasting apparatus according to an exemplary embodiment of the present invention, where the cloud pasting apparatus may be applied to a server, and the user side may be a server of any one of the servers in fig. 1 or fig. 2, and may include: a pasting instruction receiving module 1010, a to-be-pasted content calling module 1020 and a to-be-pasted content pasting module 1030.
A pasting instruction receiving module 1010, configured to receive a cloud pasting instruction of a user side.
And a to-be-pasted content calling module 1020, configured to respond to the cloud pasting instruction, and call to-be-pasted content stored in correspondence with the associated user side.
And a to-be-pasted content pasting module 1030, configured to paste the to-be-pasted content.
The technical content related to the embodiment of the present invention corresponds to the method embodiment and the system embodiment described above, and is not described herein again.
In an example, the cloud paste instruction further carries a user identifier of the associated user side and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
In another example, the content to be pasted is stored in a data server, and the data server is configured to interact with different servers for the content to be pasted.
In another example, the cloud pasting apparatus according to the embodiment of the present invention may further include:
and the pasting recording module is used for recording the cloud pasting instruction corresponding to the user side.
In another example, the cloud pasting apparatus according to the embodiment of the present invention may further include:
the preview module is used for sending preview contents containing the contents to be pasted to the user side before the contents to be pasted are pasted;
the preview feedback module is used for receiving a confirmation instruction or a modification instruction of the user side; the modification instruction comprises a content identifier of the content before modification and the modified content;
the feedback response module is used for responding the confirmation instruction and pasting the content to be pasted; or, after the content to be pasted is modified in response to the modification instruction, pasting the modified content to be pasted.
The implementation process of the functions and actions of each unit (or module) in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units or modules described as separate parts may or may not be physically separate, and the parts displayed as the units or modules may or may not be physical units or modules, may be located in one place, or may be distributed on a plurality of network units or modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the cloud copying/pasting device can be applied to computer equipment. In particular, it may be implemented by a computer chip or entity, or by an article of manufacture having some functionality. In a typical implementation, the computer device is embodied as a computer, and the computer may be at least one or a combination of computer devices such as an intelligent interactive tablet, a personal computer, a laptop computer, a desktop computer, a tablet computer, a Personal Digital Assistant (PDA), a mobile terminal device, a game device, a mail receiving and sending device, a navigation device, and an intelligent home device.
The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in a readable storage medium such as a nonvolatile memory into a memory for running through a processor of a computer device in which the software implementation is located. From a hardware aspect, as shown in fig. 11, it is a hardware structure diagram of a computer device where the cloud copy/paste apparatus is located, and except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 11, the computer device where the apparatus is located in the embodiment may also include other hardware according to an actual function of the computer device, which is not described again. Wherein the memory and the non-volatile memory are computer-readable memory, the memory of the computer device may store program instructions executable by the processor; the processor may be coupled to the memory for reading the program instructions stored in the storage medium and in response, performing the operations in the cloud copy/paste method in any of the above embodiments.
In other embodiments, the operations performed by the processor may refer to the description related to the above embodiments of the cloud copy/paste method, which is not repeated herein.
In addition, an embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores program instructions, and the program instructions include instructions corresponding to the steps of the cloud copy/paste method described above. When executed by one or more processors, cause the processors to perform the operations of the cloud copy/paste method described above.
Embodiments of the invention may take the form of a computer program product embodied on one or more readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Computer-usable readable storage media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of machine-readable storage media include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (14)
1. A cloud copying and cloud pasting method is applied to a user side and comprises the following steps:
the first user side responds to the cloud copying event and generates a cloud copying instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content;
sending the cloud replication instruction to a first server;
the cloud replication instruction is used for controlling the first service end to call the replication content corresponding to the content identifier from a data server, convert the called replication content into the content to be pasted, and store the content to be pasted in the data server corresponding to the first user end;
the second user side responds to the cloud pasting event to generate a cloud pasting instruction;
sending the cloud pasting instruction to a second server;
the cloud pasting instruction is used for controlling the second server to call the content to be pasted stored in the corresponding associated user side from the data server, and pasting the content to be pasted on the second user side.
2. The method according to claim 1, wherein the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the first user end;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the first user end, corresponds to the user identification and the content type and/or the content identification.
3. The method according to claim 1, wherein the cloud paste instruction further carries a user identifier of the associated first user side, and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
4. A cloud copying and cloud pasting method is applied to a server and comprises the following steps:
the method comprises the steps that a first service end receives a cloud replication instruction of a first user end; the cloud replication instruction carries a content identifier corresponding to the replicated content;
responding to the cloud replication instruction, and calling the replicated content corresponding to the content identification from a data server;
converting the called copied content into a content to be pasted;
storing the content to be pasted in the data server corresponding to the first user terminal;
the second server receives a cloud pasting instruction of the second user end;
responding to the cloud pasting instruction, and calling the content to be pasted stored by the corresponding associated user side from the data server;
and pasting the content to be pasted at the second user terminal.
5. The method according to claim 4, wherein the cloud copy instruction further carries a content type corresponding to the copied content and a user identifier of the first user end;
the called copy content corresponds to the content identification and the content type;
and the content to be pasted, which is stored corresponding to the first user end, corresponds to the user identification and the content type and/or the content identification.
6. The method according to any one of claims 4 to 5, characterized in that it further comprises the steps of:
and recording the cloud replication instruction corresponding to the first user side.
7. The method according to claim 4, wherein the cloud paste instruction further carries a user identifier of the associated first user end and a content type and/or a content identifier corresponding to the content to be pasted;
and the called content to be pasted corresponds to the user identification and the content type and/or the content identification.
8. The method according to claim 4, characterized in that it further comprises the steps of:
and recording the cloud pasting instruction corresponding to the second user terminal.
9. The method according to any one of claims 4, 7 or 8, wherein before pasting the content to be pasted, the method further comprises the steps of:
sending preview content containing the content to be pasted to the second user end;
receiving a confirmation instruction or a modification instruction of the second user end; the modification instruction comprises a content identifier of the content before modification and the modified content;
responding to the confirmation instruction to paste the content to be pasted; or the like, or, alternatively,
and after the content to be pasted is modified in response to the modification instruction, pasting the modified content to be pasted.
10. A cloud replication and cloud paste system is characterized by comprising a first server, a second server, a first user side, a second user side and a data server; wherein:
the first user terminal is used for:
responding to the cloud replication event, and generating a cloud replication instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content;
sending the cloud replication instruction to a first server;
the first server is used for:
receiving the cloud replication instruction;
calling the copied content corresponding to the content identification from the data server in response to the cloud copying instruction;
converting the called copied content into a content to be pasted;
storing the content to be pasted in the data server corresponding to the first user terminal;
the second user terminal is used for:
responding to the cloud pasting event, and generating a cloud pasting instruction;
sending the cloud paste instruction to the second server;
the second server is configured to:
receiving the cloud pasting instruction;
responding to the cloud pasting instruction to call the content to be pasted stored in the corresponding associated user side from the data server;
and pasting the content to be pasted at the second user terminal.
11. The cloud copying and pasting device is applied to a first user side and a second user side, wherein the first user side comprises:
the replication instruction generating module is used for responding to the cloud replication event and generating a cloud replication instruction; the cloud replication instruction carries a content identifier corresponding to the replicated content;
the cloud replication instruction sending module is used for sending the cloud replication instruction to a first service end;
the cloud replication instruction is used for controlling the first service end to call the replication content corresponding to the content identifier from a data server, convert the called replication content into the content to be pasted, and store the content to be pasted in the data server corresponding to the first user end;
the second user terminal includes:
the cloud paste command generating module is used for responding to the cloud paste event and generating a cloud paste command;
the paste instruction sending module is used for sending the cloud paste instruction to a second server;
the cloud pasting instruction is used for controlling the second server to call the content to be pasted stored in the corresponding associated user side from the data server, and pasting the content to be pasted on the second user side.
12. The utility model provides a cloud duplicating and cloud pastes device which characterized in that is applied to first service end, second service end, wherein, first service end includes:
the system comprises a replication instruction receiving module, a replication instruction transmitting module and a replication instruction receiving module, wherein the replication instruction receiving module is used for receiving a cloud replication instruction of a first user end; the cloud replication instruction carries a content identifier corresponding to the replicated content;
the copied content calling module is used for responding to the cloud copying instruction and calling the copied content corresponding to the content identifier from the data server;
the content to be pasted conversion module is used for converting the called copied content into the content to be pasted;
a content to be pasted storage module, configured to store, in the data server, the content to be pasted corresponding to the first user end;
the second server includes:
the paste instruction receiving module is used for receiving a cloud paste instruction of a second user end;
the to-be-pasted content calling module is used for responding to the cloud pasting instruction and calling the to-be-pasted content stored in the corresponding associated user side from the data server;
and the content pasting module to be pasted is used for pasting the content to be pasted on the second user end.
13. A computer device comprising a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to perform operations in the method of any one of claims 1 to 9.
14. One or more machine-readable storage media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the operations of the method of any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811150636.9A CN109343980B (en) | 2018-09-29 | 2018-09-29 | Cloud copying and cloud pasting method, device, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811150636.9A CN109343980B (en) | 2018-09-29 | 2018-09-29 | Cloud copying and cloud pasting method, device, system, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109343980A CN109343980A (en) | 2019-02-15 |
CN109343980B true CN109343980B (en) | 2020-12-22 |
Family
ID=65307636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811150636.9A Active CN109343980B (en) | 2018-09-29 | 2018-09-29 | Cloud copying and cloud pasting method, device, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109343980B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112364608B (en) * | 2020-07-31 | 2021-08-24 | 北京东方通软件有限公司 | Session replication method and device supporting container cloud platform |
CN111814440B (en) * | 2020-08-31 | 2021-02-09 | 北京联想协同科技有限公司 | Cloud document processing method, device and system |
CN112099969B (en) * | 2020-09-03 | 2023-06-27 | 中国联合网络通信集团有限公司 | Text copying and pasting method, terminal equipment and edge server |
CN114301929B (en) * | 2021-12-10 | 2024-03-08 | 阿里巴巴(中国)有限公司 | Cloud clipboard data synchronization method and device, cloud server and system |
CN115936402B (en) * | 2023-01-09 | 2023-07-07 | 天津中新智冠信息技术有限公司 | Task replication method, device, electronic equipment and storage medium |
CN116504267B (en) * | 2023-04-25 | 2023-10-27 | 广州市迪士普音响科技有限公司 | Quick deployment device and method for audio signal channels |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997900A (en) * | 2009-08-26 | 2011-03-30 | 中国移动通信集团公司 | Cross-terminal copying and pasting system, device and method |
CN102882963A (en) * | 2012-09-25 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Data transmitting method, related terminals and system |
CN103118077A (en) * | 2013-01-15 | 2013-05-22 | 百度在线网络技术(北京)有限公司 | Cross equipment content transmission method, system and client-side |
CN103139244A (en) * | 2011-11-24 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Cloud copying and pasting method and system |
CN103618795A (en) * | 2013-11-29 | 2014-03-05 | 百度在线网络技术(北京)有限公司 | Cross-device file processing method, client sides and server |
CN103997730A (en) * | 2014-04-25 | 2014-08-20 | 长沙市梦马软件有限公司 | Method for decrypting, copying and pasting encrypted data |
US8849955B2 (en) * | 2009-06-30 | 2014-09-30 | Commvault Systems, Inc. | Cloud storage and networking agents, including agents for utilizing multiple, different cloud storage sites |
CN107770229A (en) * | 2016-08-23 | 2018-03-06 | 中国电信股份有限公司 | High in the clouds sharing files method, system and Cloud Server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140095673A1 (en) * | 2012-09-25 | 2014-04-03 | Tencent Technology (Shenzhen) Company Limited | Systems and methods for transmitting and receiving data |
-
2018
- 2018-09-29 CN CN201811150636.9A patent/CN109343980B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8849955B2 (en) * | 2009-06-30 | 2014-09-30 | Commvault Systems, Inc. | Cloud storage and networking agents, including agents for utilizing multiple, different cloud storage sites |
CN101997900A (en) * | 2009-08-26 | 2011-03-30 | 中国移动通信集团公司 | Cross-terminal copying and pasting system, device and method |
CN103139244A (en) * | 2011-11-24 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Cloud copying and pasting method and system |
CN102882963A (en) * | 2012-09-25 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Data transmitting method, related terminals and system |
CN103118077A (en) * | 2013-01-15 | 2013-05-22 | 百度在线网络技术(北京)有限公司 | Cross equipment content transmission method, system and client-side |
CN103618795A (en) * | 2013-11-29 | 2014-03-05 | 百度在线网络技术(北京)有限公司 | Cross-device file processing method, client sides and server |
CN103997730A (en) * | 2014-04-25 | 2014-08-20 | 长沙市梦马软件有限公司 | Method for decrypting, copying and pasting encrypted data |
CN107770229A (en) * | 2016-08-23 | 2018-03-06 | 中国电信股份有限公司 | High in the clouds sharing files method, system and Cloud Server |
Also Published As
Publication number | Publication date |
---|---|
CN109343980A (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109343980B (en) | Cloud copying and cloud pasting method, device, system, equipment and storage medium | |
US9959198B1 (en) | Simulated testing of API | |
US10659566B1 (en) | Demo recording utility | |
US9645910B1 (en) | Cross platform mobile HTML debugging | |
CN104823189B (en) | Frame is allocated for connect equipment | |
US9652364B1 (en) | Cloud service for mobile testing and debugging | |
CN107924411A (en) | The recovery of UI states in transaction system | |
JP2019012529A (en) | Document management and collaboration system | |
CN108897691A (en) | Data processing method, device, server and medium based on interface analog service | |
JP2014525092A (en) | Methods for associating third-party content with online document signatures | |
US20120233589A1 (en) | Software development kit for blended services | |
CN107431630A (en) | Highly expansible, fault-tolerant remote access framework and the method being attached thereto | |
CN109634607A (en) | A kind of method and device of Code automatic build | |
CN109074265A (en) | The preformed instruction of mobile cloud service | |
CN108415710A (en) | The method and system of API is issued, called in Intelligent dialogue development platform | |
CN110198351A (en) | Storage method, device, server-side and the readable storage medium storing program for executing of offline message | |
CN113485927B (en) | Test data generation method, device, equipment and storage medium | |
JP2016218994A (en) | Content providing method using messenger, system, and recording medium | |
CN108984202A (en) | A kind of e-sourcing sharing method, device and storage medium | |
CN109614271A (en) | Control method, device, equipment and the storage medium of multiple company-data consistency | |
US12019647B2 (en) | Accessing application services from forms | |
CN113515395A (en) | Application access method and device based on multi-cloud management platform | |
CN117032634A (en) | Component processing method and system | |
US9612805B2 (en) | Rapid mobile app generator | |
CN109672749A (en) | Heterogeneous system intercommunication can intercommunication application method and apparatus |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |