Document content copying method and apparatus, storage medium, and processor
By coordinating the copying of document content between cross-platform applications through the cloud-based business integration platform and utilizing virtual machines to transfer and paste document content between different platforms, the problem of being unable to copy between cross-platform applications is solved, and the copying effect of cross-platform document content is achieved.
Patent Information
- Application Number
- CN202011211112.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-03
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2040-11-03
AI Technical Summary
It is impossible to copy document content between cross-platform applications, and existing technologies have failed to effectively solve this problem.
Obtain keyboard and mouse messages through the cloud business integration platform, coordinate the copy and paste operations of document content between the first zero terminal and the second zero terminal, and use the first virtual machine and the second virtual machine to realize cross-platform document content transmission and paste with the support of the cloud business integration platform.
The document content replication between cross-platform applications is realized, the technical problem that the document content replication between cross-platform applications cannot be performed is solved, and the technical effect of performing document content replication between cross-platform applications is achieved.
Smart Images

Figure CN112306612B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of information interaction, and in particular, to a document content copying method and device, a storage medium and a processor. BACKGROUND
[0002] Currently, in the cloud system and the corresponding method for realizing cross-platform business integration, a user can run different versions of applications using a zero terminal, and different versions of applications run in cloud servers of different architectures. This method indeed brings a lot of convenience to the user, but since the cross-platform applications used by the user run in cloud servers of different architectures, and there is no communication between cloud servers of various architectures, the cross-platform applications cannot interact with each other, and thus the document content cannot be copied between the cross-platform applications.
[0003] Currently, there is no effective solution to the problem that the document content cannot be copied between the cross-platform applications. SUMMARY
[0004] The embodiments of the present application provide a document content copying method, device, storage medium and processor to at least solve the technical problem that the document content cannot be copied between cross-platform applications.
[0005] According to an aspect of the embodiments of the present application, a document content copying method is provided, including: a cloud business integration platform acquiring a first keyboard and mouse message, wherein the first keyboard and mouse message is sent by a first zero terminal and is used to request to copy document content; the cloud business integration platform sending the first keyboard and mouse message to a first virtual machine, wherein the first keyboard and mouse message is used to make the first virtual machine determine the document content to be copied from a target document; the cloud business integration platform receiving the document content to be copied sent by the first virtual machine; and the cloud business integration platform sending the document content to be copied to a second virtual machine in the case that a second keyboard and mouse message is acquired, wherein the second keyboard and mouse message is sent by a second zero terminal and is used to request to paste the document content to be copied, and the document content to be copied is pasted to a target position of the second zero terminal by the second virtual machine.
[0006] Optionally, after the cloud business integration platform receives the document content to be copied sent by the first virtual machine, the method further includes: the cloud business integration platform saving the document content to be copied into a local clipboard in the case that first identification information is received, wherein the first identification information is used to identify the first zero terminal.
[0007] Optionally, the cloud service integration platform, in a case where the second keyboard and mouse message is acquired, sends the to-be-copied document content to the second virtual machine, comprising: the cloud service integration platform acquires the to-be-copied document content from the clipboard in response to the second keyboard and mouse message; and the cloud service integration platform sends the to-be-copied document content to the second virtual machine.
[0008] Optionally, the cloud service integration platform acquires the to-be-copied document content from the clipboard in response to the second keyboard and mouse message, comprising: the cloud service integration platform sends the second keyboard and mouse message to the second virtual machine; and the cloud service integration platform receives a document content acquisition request sent by the second virtual machine according to the second keyboard and mouse message, and acquires the to-be-copied document content from the clipboard in response to the document content acquisition request.
[0009] Optionally, the cloud service integration platform acquires the to-be-copied document content from the clipboard in response to the document content acquisition request, comprising: the cloud service integration platform acquires the to-be-copied document content from the clipboard in a case where the second identification information exists in the document content acquisition request, wherein the second identification information is used to identify the second zero terminal.
[0010] Optionally, after the cloud service integration platform sends the to-be-copied document content to the second virtual machine, the method further comprises: the cloud service integration platform receives a notification message, wherein the notification message is sent by the second virtual machine and is used to indicate that the second virtual machine completes the pasting operation on the to-be-copied document content; and the cloud service integration platform closes the clipboard based on the notification message.
[0011] Optionally, after the cloud service integration platform, in a case where the second keyboard and mouse message is acquired, sends the to-be-copied document content to the second virtual machine, the method further comprises: the cloud service integration platform closes the clipboard.
[0012] Optionally, the cloud service integration platform sends the first keyboard and mouse message to the first virtual machine, comprising: the cloud service integration platform determines the application program corresponding to the first keyboard and mouse message according to the position on which the first keyboard and mouse message acts on the first zero terminal; and the cloud service integration platform determines the application program virtual machine used to run the application program based on the application program, and determines the application program virtual machine as the first virtual machine.
[0013] According to another aspect of the embodiments of the present application, a document content copying system is also provided, which comprises: a zero terminal module comprising a first zero terminal and a second zero terminal, wherein the first zero terminal is configured to send a first keyboard and mouse message, the first keyboard and mouse message being configured to request copying of to-be-copied document content, and the second zero terminal is configured to send a second keyboard and mouse message, the second keyboard and mouse message being configured to request pasting of the to-be-copied document content; a cloud service convergence platform module configured to acquire the keyboard and mouse message and send the keyboard and mouse message to a virtual machine module, wherein the keyboard and mouse message comprises the first keyboard and mouse message and the second keyboard and mouse message; and the virtual machine module comprising a first virtual machine and a second virtual machine, configured to receive the keyboard and mouse message, wherein the first virtual machine is configured to determine the to-be-copied document content from a target document according to the first keyboard and mouse message sent by the cloud service convergence platform and send the to-be-copied document content to the cloud service convergence platform, and the second virtual machine is configured to acquire the to-be-copied document content and paste the to-be-copied document content to a target position of the second zero terminal in a case where the cloud service convergence platform acquires the second keyboard and mouse message.
[0014] According to another aspect of the embodiments of the present application, a document content copying apparatus is also provided, which comprises: an acquisition unit configured to acquire, by a cloud service convergence platform, a first keyboard and mouse message, wherein the first keyboard and mouse message is sent by a first zero terminal and is configured to request copying of to-be-copied document content; a first sending unit configured to send, by the cloud service convergence platform, the first keyboard and mouse message to a first virtual machine, wherein the first keyboard and mouse message is configured to make the first virtual machine determine the to-be-copied document content from a target document; a receiving unit configured to receive, by the cloud service convergence platform, the to-be-copied document content sent by the first virtual machine; and a second sending unit configured to send, by the cloud service convergence platform, the to-be-copied document content to a second virtual machine in a case where a second keyboard and mouse message is acquired, wherein the second keyboard and mouse message is sent by a second zero terminal and is configured to request pasting of the to-be-copied document content, and the to-be-copied document content is pasted to a target position of the second zero terminal by the second virtual machine.
[0015] According to another aspect of the embodiments of the present application, a computer readable storage medium comprising a stored program is also provided, wherein the program, when executed by a device in which the computer readable storage medium is located, controls the device to perform the document content copying method according to the embodiments of the present application.
[0016] According to another aspect of the embodiments of the present application, a processor configured to execute a program is also provided, wherein the program, when executed, performs the document content copying method according to the embodiments of the present application.
[0017] In the embodiment of the present application, the cloud service fusion platform is adopted to acquire the first keyboard and mouse message, wherein the first keyboard and mouse message is sent by the first zero terminal and is used to request to copy the to-be-copied document content; the cloud service fusion platform sends the first keyboard and mouse message to the first virtual machine, wherein the first keyboard and mouse message is used to make the first virtual machine determine the to-be-copied document content from the target document; the cloud service fusion platform receives the to-be-copied document content sent by the first virtual machine; and the cloud service fusion platform sends the to-be-copied document content to the second virtual machine in the case that the second keyboard and mouse message is acquired, wherein the second keyboard and mouse message is sent by the second zero terminal and is used to request to paste the to-be-copied document content, and the to-be-copied document content is pasted to the target position of the second zero terminal by the second virtual machine. That is to say, the present application responds to the document content copy request through the cloud service fusion platform, then makes the first virtual machine acquire the to-be-copied document content, and sends the to-be-copied document content to the cloud service fusion platform. When the cloud service fusion platform acquires the paste request of the to-be-copied document content, the cloud service fusion platform sends the received to-be-copied document content to the second virtual machine, and completes the operation of pasting the to-be-copied document content to the target position of the second zero terminal through the second virtual machine, thereby solving the technical problem that the document content cannot be copied between cross-platform applications, and achieving the technical effect that the document content can be copied between cross-platform applications. BRIEF DESCRIPTION OF DRAWINGS
[0018] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
[0019] Figure 1 FIG. 1 is a schematic diagram of a document content copy system according to an embodiment of the present application;
[0020] Figure 2 FIG. 2 is a flow chart of a document content copy method according to an embodiment of the present application;
[0021] Figure 3 FIG. 3 is a schematic diagram of a cloud service fusion system according to the related art;
[0022] Figure 4 FIG. 4 is a schematic diagram of another cloud service fusion system according to the related art;
[0023] Figure 5 FIG. 5 is a schematic diagram of a document content copy device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative effort should belong to the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in other than the order illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a list of steps or units need not be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to such processes, methods, products or devices.
[0026] Embodiment 1
[0027] According to the embodiments of the present application, a document content copying system is provided.
[0028] Figure 1 is a schematic diagram of a document content copying system according to an embodiment of the present application. As shown in Figure 1 the document content copying system 10 includes a zero terminal module 11, a cloud service fusion platform module 12 and a virtual machine module 13.
[0029] The zero terminal module 11 includes a first zero terminal and a second zero terminal, wherein the first zero terminal is configured to send a first keyboard and mouse message, and the first keyboard and mouse message is configured to request to copy the document content to be copied; and the second zero terminal is configured to send a second keyboard and mouse message, and the second keyboard and mouse message is configured to request to paste the document content to be copied.
[0030] In this embodiment, the zero terminal module 11 can include a first zero terminal and a second zero terminal, the first zero terminal is configured to send a first keyboard and mouse message requesting to copy the document content to be copied, and the second zero terminal is configured to send a second keyboard and mouse message requesting to paste the document content to be copied.
[0031] Optionally, the zero terminal module 11 of this embodiment can also include other zero terminals, and each zero terminal can be configured to send a keyboard and mouse message, and each zero terminal can correspond to an identification information, and the identification information is configured to identify the corresponding zero terminal.
[0032] The cloud service integration platform module 12 is configured to acquire the keyboard and mouse message and send the keyboard and mouse message to the virtual machine module, wherein the keyboard and mouse message comprises a first keyboard and mouse message and a second keyboard and mouse message.
[0033] In this embodiment, the cloud service integration platform module 12 can receive the keyboard and mouse message sent by the zero terminal module 11, and determine the application corresponding to the current keyboard and mouse message on the locally generated desktop image according to the coordinate position of the received keyboard and mouse message, so as to determine the application virtual machine running the application, and send the keyboard and mouse message to the corresponding application virtual machine, so that the application virtual machine can execute the keyboard and mouse message on the local application interface, and realize the operation of the application. When the cloud service integration platform module 12 receives the request returned by the virtual machine module 13, the cloud service integration platform module 12 will respond to the request, so as to cooperate with the virtual machine module 13 to complete the entire cross-platform document copy and paste operation.
[0034] Optionally, when the cloud service integration platform module 12 receives the first keyboard and mouse message, the cloud service integration platform module 12 can send the first keyboard and mouse message to the first virtual machine, so that the first virtual machine can execute the first keyboard and mouse message, so that the first virtual machine can determine the to-be-copied document content in the target document. When the cloud service integration platform module 12 receives the second keyboard and mouse message, the cloud service integration platform module 12 can send the to-be-copied document content to the second virtual machine, and the second virtual machine can process the to-be-copied document content.
[0035] The virtual machine module 13 comprises a first virtual machine and a second virtual machine, and is configured to receive the keyboard and mouse message. The first virtual machine is configured to determine the to-be-copied document content from the target document according to the first keyboard and mouse message sent by the cloud service integration platform module 12, and send the to-be-copied document content to the cloud service integration platform module 12. The second virtual machine is configured to acquire the to-be-copied document content and paste the to-be-copied document content to the target position of the second zero terminal when the cloud service integration platform module 12 acquires the second keyboard and mouse message.
[0036] In this embodiment, after the cloud service convergence platform module 12 forwards the received keyboard and mouse message to the virtual machine module 13, the virtual machine module 13 responds to the received keyboard and mouse message, when the keyboard and mouse message received by the virtual machine module 13 is a first keyboard and mouse message requesting to copy the content of a document to be copied, the first virtual machine acquires the content of the document to be copied according to the indication of the first keyboard and mouse message, and then sends the content of the document to be copied to the cloud service convergence platform module 12, when the keyboard and mouse message received by the virtual machine module 13 is a second keyboard and mouse message requesting to paste the content of the document to be copied, the second virtual machine sends a document content acquisition request to the cloud service convergence platform module 12 according to the indication of the second keyboard and mouse message, and the cloud service convergence platform module 12 sends the content of the document to be copied to the second virtual machine, so that the second virtual machine pastes the content of the document to be copied to the paste position indicated by the second keyboard and mouse message.
[0037] The document content copying system of this embodiment responds to the request for copying the content of a document through the cloud service convergence platform, then makes the first virtual machine acquire the content of the document to be copied and send the content of the document to be copied to the cloud service convergence platform, and when the cloud service convergence platform receives a request for pasting the content of the document to be copied, sends the received content of the document to be copied to the second virtual machine and completes the operation of pasting the content of the document to be copied to the target position of the second terminal through the second virtual machine, thereby solving the technical problem that the content of a document cannot be copied between cross-platform applications and achieving the technical effect that the content of a document can be copied between cross-platform applications.
[0038] Embodiment 2
[0039] According to the embodiment of the present application, an embodiment of a document content copying method is provided. It should be noted that the document content copying method of this embodiment can be executed by the document content copying system in Embodiment 1 of the present application, the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] Figure 2 is a flowchart of a document content copying method according to an embodiment of the present application. As shown in Figure 2 the method includes the following steps:
[0041] Step S202, the cloud service convergence platform acquires a first keyboard and mouse message.
[0042] In the technical solution provided in the step S202 of the present application, the cloud service fusion platform undertakes the distribution of the keyboard and mouse message. When the cloud service fusion platform receives the first keyboard and mouse message, the cloud service fusion platform can determine that the content of the document to be copied needs to be copied, so that the first keyboard and mouse message can be a request for copying the content of the document to be copied.
[0043] Optionally, the first keyboard and mouse message in this embodiment can be sent by the first zero terminal.
[0044] Optionally, in order to distinguish from the normal local document content copy request, the first keyboard and mouse message in this embodiment can adopt any form recognizable by the virtual machine, so that the user can directly initiate the request for cross-platform document content copy by setting a special keyboard and mouse combination form. For example, the user initiates the request for cross-platform document content copy by a special combination key (Ctrl+F11 in the keyboard) combined with the single-click and drag action of the mouse when selecting the document content; or a button for directly initiating the request for cross-platform document content copy is set on a web page or an application interface, and the user initiates the request for cross-platform document content copy by clicking the button; or an option for cross-platform copy is added in the right mouse button, and the user initiates the request for cross-platform document content copy by selecting the document content to be copied and clicking the right mouse button.
[0045] In step S204, the cloud service fusion platform sends the first keyboard and mouse message to the first virtual machine, wherein the first keyboard and mouse message is used to make the first virtual machine determine the content of the document to be copied from the target document.
[0046] In the technical solution provided in the step S204 of the present application, after obtaining the first keyboard and mouse message, the cloud service fusion platform can send the first keyboard and mouse message to the first virtual machine, so that the first virtual machine executes the first keyboard and mouse message, and thus the content of the document to be copied can be determined in the target document.
[0047] In the above embodiment, after receiving the first keyboard and mouse message sent by the cloud service fusion platform, the first virtual machine can judge the received first keyboard and mouse message. If the currently received first keyboard and mouse message is a keyboard and mouse message for requesting cross-platform document content copy, the first virtual machine determines the content of the document to be copied from the local target document according to the instruction of the first keyboard and mouse message, and then places the content of the document to be copied in the document content copy notification information.
[0048] Optionally, the target document in this embodiment can be a text document, a table document, etc., and the content of the document to be copied can be text, table, code, picture, etc., which is not limited in detail.
[0049] Optionally, the document content copy notification information in the embodiment further comprises identification information of the first zero terminal.
[0050] In step S206, the cloud service integration platform receives the document content to be copied sent by the first virtual machine.
[0051] In the technical solution provided in the above step S206, after the first virtual machine determines the document content to be copied from the target document, the first virtual machine can send document content copy notification information containing the document content to be copied to the cloud service integration platform, and the cloud service integration platform receives the document content copy notification information.
[0052] Optionally, during the process of receiving the document content copy notification information, the cloud service integration platform in the embodiment can continue to receive the keyboard and mouse messages sent by the zero terminals and send the received keyboard and mouse messages to the virtual machines corresponding to the keyboard and mouse messages.
[0053] In step S208, the cloud service integration platform sends the document content to be copied to the second virtual machine in the case that the second keyboard and mouse message is obtained, wherein the document content to be copied is pasted to the target position of the second zero terminal by the second virtual machine.
[0054] In the technical solution provided in the above step S208, after receiving the document content copy notification information, the cloud service integration platform can extract the document content to be copied from the document content copy notification information, and in the case that the second keyboard and mouse message for requesting to paste the document content to be copied is obtained, the cloud service integration platform sends the document content to be copied to the second virtual machine, and the second virtual machine pastes the document content to be copied to the target position of the second zero terminal, which is also the paste position pointed by the second keyboard and mouse message.
[0055] Optionally, the second keyboard and mouse message in the embodiment can be sent by the second zero terminal.
[0056] Optionally, in order to distinguish from the normal local document content paste request, the second keyboard and mouse message in the embodiment can adopt any form recognizable by the virtual machine, so that the user can directly initiate the request for cross-platform document content paste by setting a special keyboard and mouse combination form, for example, the user initiates the request for cross-platform document content paste by a special combination key (Ctrl+F12, etc. in the keyboard) combined with the single-click action of the mouse when the user points to the paste position; or, a button for directly initiating the request for cross-platform document content paste is set on a web page or an application interface, and the user initiates the request for cross-platform document content paste by clicking the button; or, an option for cross-platform paste is added in the right-click option of the mouse, and the user initiates the request for cross-platform document content paste by clicking the option.
[0057] Through the steps S202 to S208, the cloud service fusion platform obtains the first keyboard and mouse message; the cloud service fusion platform sends the first keyboard and mouse message to the first virtual machine, wherein the first keyboard and mouse message is used to make the first virtual machine determine the to-be-copied document content from the target document; the cloud service fusion platform receives the to-be-copied document content sent by the first virtual machine; and the cloud service fusion platform sends the to-be-copied document content to the second virtual machine in the case that the second keyboard and mouse message is obtained, wherein the to-be-copied document content is pasted to the target position of the second zero terminal by the second virtual machine. That is to say, the embodiment responds to the document content copying request through the cloud service fusion platform, then makes the first virtual machine obtain the to-be-copied document content, and sends the to-be-copied document content to the cloud service fusion platform, the cloud service fusion platform sends the received to-be-copied document content to the second virtual machine when obtaining the pasting request of the to-be-copied document content, and completes the operation of pasting the to-be-copied document content to the target position of the second zero terminal through the second virtual machine, thereby solving the technical problem that the document content cannot be copied between cross-platform applications, and achieving the technical effect that the document content can be copied between cross-platform applications.
[0058] The above method of the embodiment is further introduced as follows.
[0059] As an optional implementation, after the cloud service fusion platform receives the to-be-copied document content sent by the first virtual machine in step S206, the method further includes: the cloud service fusion platform saves the to-be-copied document content into a local clipboard in the case that first identification information is received, wherein the first identification information is used to identify the first zero terminal.
[0060] In the embodiment, after the cloud service fusion platform receives the document content copying notification information containing the to-be-copied document content sent by the first virtual machine, whether the first identification information used to identify the first zero terminal is contained in the document content copying notification information can be determined, in the case that the first identification information is contained in the document content copying notification information, the cloud service fusion platform can start the clipboard for the first zero terminal in the local, and then extract the to-be-copied document content from the document content copying notification information, and save the to-be-copied document content in the clipboard.
[0061] Optionally, the first identification information in the embodiment is the identification information of the first zero terminal.
[0062] Optionally, the clipboard in the embodiment is a virtual clipboard.
[0063] Optionally, the cloud service fusion platform in the embodiment can record the identification information of the first virtual machine, and can correspond the identification information of the first virtual machine with the clipboard.
[0064] As an optional implementation, in step S208, the cloud service convergence platform, in response to the second keyboard and mouse message, sends the to-be-copied document content to the second virtual machine, including: the cloud service convergence platform, in response to the second keyboard and mouse message, acquires the to-be-copied document content from the clipboard; and the cloud service convergence platform sends the to-be-copied document content to the second virtual machine.
[0065] In this embodiment, after the cloud service convergence platform saves the to-be-copied document content in the clipboard, the cloud service convergence platform can respond to the acquired second keyboard and mouse message for requesting pasting of the to-be-copied document content, perform the operation of acquiring the to-be-copied document content from the clipboard, and after acquiring the to-be-copied document content, send the to-be-copied document content to the second virtual machine, so that the second virtual machine pastes the to-be-copied document content to the pasting position pointed to by the second keyboard and mouse message.
[0066] As an optional implementation, the cloud service convergence platform, in response to the second keyboard and mouse message, acquires the to-be-copied document content from the clipboard, including: the cloud service convergence platform sends the second keyboard and mouse message to the second virtual machine; and the cloud service convergence platform receives a document content acquisition request sent by the second virtual machine according to the second keyboard and mouse message, and in response to the document content acquisition request, acquires the to-be-copied document content from the clipboard.
[0067] In this embodiment, after responding to the second keyboard and mouse message for requesting pasting of the to-be-copied document content, the cloud service convergence platform can send the second keyboard and mouse message to the second virtual machine, the second virtual machine, after receiving the second keyboard and mouse message, can initiate a document content acquisition request to the cloud service convergence platform, and the cloud service convergence platform, after responding to the document content acquisition request, can acquire the to-be-copied document content from the clipboard where the to-be-copied document content is saved.
[0068] As an optional implementation, the cloud service convergence platform, in response to the document content acquisition request, acquires the to-be-copied document content from the clipboard, including: the cloud service convergence platform, in a case where the second identification information exists in the document content acquisition request, acquires the to-be-copied document content from the clipboard, where the second identification information is used to identify the second zero terminal.
[0069] In this embodiment, the document content acquisition request can include identification information of the second zero terminal, which is the second identification information, used to identify the second zero terminal, and after acquiring the document content acquisition request, the cloud service convergence platform can judge the document content acquisition request, and in a case where the second identification information exists in the document content acquisition request, the cloud service convergence platform can acquire the to-be-copied document content from the clipboard.
[0070] As an optional implementation, after the cloud service convergence platform sends the to-be-copied document content to the second virtual machine, the method further includes: the cloud service convergence platform receiving a notification message, wherein the notification message is sent by the second virtual machine and is used to indicate that the second virtual machine completes the paste operation on the to-be-copied document content; and the cloud service convergence platform closing the clipboard based on the notification message.
[0071] In this embodiment, after the second virtual machine completes the paste operation on the to-be-copied document content, the second virtual machine can send a notification message of completion of the paste of the document content to the cloud service convergence platform, and the cloud service convergence platform can respond to the notification message after receiving the notification message, so as to delete and close the clipboard locally.
[0072] As an optional implementation, after the cloud service convergence platform acquires the second keyboard and mouse message and sends the to-be-copied document content to the second virtual machine, the method further includes: the cloud service convergence platform closing the clipboard.
[0073] In this embodiment, after the cloud service convergence platform completes the operation of sending the to-be-copied document content to the second virtual machine, the cloud service convergence platform can directly close the clipboard locally.
[0074] As an optional implementation, in step S202, the cloud service convergence platform sends the first keyboard and mouse message to the first virtual machine, including: the cloud service convergence platform determining an application program corresponding to the first keyboard and mouse message according to a position on which the first keyboard and mouse message acts on the first zero terminal; and the cloud service convergence platform determining an application program virtual machine for running the application program based on the application program, and determining the application program virtual machine as the first virtual machine.
[0075] In this embodiment, after the cloud service convergence platform receives the first keyboard and mouse message sent by the first zero terminal, the cloud service convergence platform first needs to determine an application program corresponding to the current first keyboard and mouse message on the desktop image generated locally according to the coordinate position of the received first keyboard and mouse message, so as to determine an application program virtual machine running the application program and determine the application program virtual machine as the first virtual machine, and then send the first keyboard and mouse message to the first virtual machine, so that the first virtual machine can execute the first keyboard and mouse message on the local application program interface to implement the operation on the application program.
[0076] Optionally, the application interfaces sent by the various virtual machines of this embodiment are unified and displayed on a desktop, and therefore the cloud service integration platform needs to organize and layout the application interfaces sent by the various virtual machines, determine the arrangement and hierarchical relationship between the various application interfaces, and on this basis, when a user operates the desktop image seen through the zero terminal, the coordinate position carried by the keyboard and mouse message generated by the operation is the coordinate position on the desktop image, and when the keyboard and mouse message is sent to the corresponding virtual machine for processing, the virtual machine must be told the specific coordinate position of the current keyboard and mouse message on the application interface run by the virtual machine, and therefore, when the cloud service integration platform receives the keyboard and mouse message, it needs to determine which application the keyboard and mouse message is directed to, and also determine the relative coordinate position of the keyboard and mouse message on the corresponding application interface, and after determining which application the keyboard and mouse message is directed to and the coordinate position of the keyboard and mouse message on the corresponding application interface, the cloud service integration platform sends the keyboard and mouse message and the converted coordinate position information to the corresponding virtual machine, which in turn executes the keyboard and mouse message by the corresponding application.
[0077] It should be noted that in this embodiment, the normal native document content copy and the normal native document content paste are the copying of the document content position and the pasting of the document content position in the same virtual machine, i.e., the copying and pasting of the document content from one position to another position in the same virtual machine, while the cross-platform document content copy and the cross-platform document content paste are the copying of the document content position and the pasting of the document content position in two different virtual machines in two different cloud servers, i.e., the copying of the document content from one virtual machine and the pasting of the document content to another virtual machine, and the user's operation of copying and pasting the document content is performed in the zero terminal corresponding to the virtual machine.
[0078] Embodiment 3
[0079] Figure 3 is a schematic diagram of a cloud service integration system according to the related art. As Figure 3As shown, the cloud service fusion system 30 comprises a Microsoft WINDOWS architecture cloud server 31, an Android system architecture cloud server 32, an Apple mobile device operating system (IOS) architecture cloud server 33, and a cloud service fusion platform 34. In addition, the cloud service fusion platform 34 is further connected with a zero terminal 35. The WINDOWS architecture cloud server 31 is capable of running WINDOWS version application programs, the Android architecture cloud server 32 is capable of running Android version application programs, the IOS architecture cloud server 33 is capable of running IOS version application programs, and the cloud service fusion platform 34 is used to acquire pictures from the accessed cloud servers, to perform fusion processing on the pictures to generate a virtual desktop image corresponding to a current user, and to send the generated virtual desktop image to the zero terminal 35.
[0080] Figure 4 is a schematic view of another cloud service fusion system according to the related art. As shown, Figure 4 The cloud service fusion system 40 comprises a Microsoft WINDOWS architecture cloud server 41, an Android system architecture cloud server 42, an Apple mobile device operating system (IOS) architecture cloud server 43, and a cloud service fusion platform 44. In addition, the cloud service fusion platform 44 is further connected with a plurality of zero terminals 45 (45a, 45b, …, 45n are used to show in the figure). The WINDOWS architecture cloud server 41 comprises a plurality of first virtual machines 46 (46a, 46b, …, 46n are used to show in the figure), the Android architecture cloud server 42 comprises a plurality of second virtual machines 47 (47a, 47b, …, 47n are used to show in the figure), and the IOS architecture cloud server 43 comprises a plurality of third virtual machines 48 (48a, 48b, …, 48n are used to show in the figure).
[0081] In this embodiment, the basic principles of the cloud service fusion system 30 and the cloud service fusion system 40 are as follows: the cloud service fusion platform is mainly responsible for generating a personalized desktop corresponding to a user, and organizing different application pictures when the user performs application operation, so as to form a unified processing interface and send it to the corresponding zero terminal. The user requested application under different architectures is run in the virtual machine allocated to the user in the server under different architectures. The virtual machine sends the application picture to the cloud service fusion platform during the application running process. The cloud service fusion platform integrates all the application pictures into a unified processing interface, so that the user can run different versions of applications using the zero terminal.
[0082] However, in the above related technology, since the cross-platform applications used by the user are respectively running in cloud servers of different architectures, the cloud servers of different architectures do not communicate with each other, which makes the cross-platform applications run independently, and the applications cannot interact with each other, so that the user cannot perform cross-platform document content copy and paste operations.
[0083] The document content copy method and the document content copy system of the present application respond to a document content copy request through a cloud service integration platform, then make a first virtual machine obtain to-be-copied document content, and send the to-be-copied document content to the cloud service integration platform. When the cloud service integration platform obtains a paste request of the to-be-copied document content, the cloud service integration platform sends the received to-be-copied document content to a second virtual machine, and completes the operation of pasting the to-be-copied document content to a target position of a second zero terminal through the second virtual machine, thereby solving the technical problem that document content cannot be copied between cross-platform applications, and achieving the technical effect that document content can be copied between cross-platform applications.
[0084] Embodiment 4
[0085] The present application also provides a document content copy device. It should be noted that the document content copy device of this embodiment can be used to execute the document content copy method of the present application.
[0086] Figure 5 is a schematic diagram of a document content copy device according to an embodiment of the present application. As shown in Figure 5 the document content copy device 50 can include an obtaining unit 51, a first sending unit 52, a receiving unit 53, and a second sending unit 54.
[0087] The obtaining unit 51 is configured to make the cloud service integration platform obtain a first keyboard and mouse message, wherein the first keyboard and mouse message is sent by a first zero terminal and is used to request to copy to-be-copied document content;
[0088] The first sending unit 52 is configured to make the cloud service integration platform send the first keyboard and mouse message to a first virtual machine, wherein the first keyboard and mouse message is used to make the first virtual machine determine to-be-copied document content from a target document;
[0089] The receiving unit 53 is configured to make the cloud service integration platform receive to-be-copied document content sent by the first virtual machine;
[0090] The second sending unit 54 is configured to make the cloud service integration platform send the to-be-copied document content to a second virtual machine in the case that a second keyboard and mouse message is obtained, wherein the second keyboard and mouse message is sent by a second zero terminal and is used to request to paste the to-be-copied document content, and the to-be-copied document content is pasted to a target position of the second zero terminal by the second virtual machine.
[0091] In the document content copying apparatus of the embodiment, the cloud service fusion platform responds to the document content copying request, then the first virtual machine acquires the document content to be copied, and sends the document content to be copied to the cloud service fusion platform, when the cloud service fusion platform acquires the paste request of the document content to be copied, sends the received document content to be copied to the second virtual machine, and completes the operation of pasting the document content to be copied to the target position of the second zero terminal through the second virtual machine, thereby solving the technical problem that the document content cannot be copied between cross-platform applications, and achieving the technical effect that the document content can be copied between cross-platform applications.
[0092] Embodiment 5
[0093] According to the embodiment of the present application, a computer readable storage medium is also provided, which comprises a stored program, wherein the computer readable storage medium controls the device where the computer readable storage medium is located to execute the document content copying method in the embodiment 2 of the present application when the program is running.
[0094] Embodiment 6
[0095] According to the embodiment of the present application, a processor is also provided, which is used to run a program, wherein the processor executes the document content copying method in the embodiment 2 of the present application when the program is running.
[0096] The above-mentioned embodiment numbers of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0097] In the above-mentioned embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0098] In several embodiments provided in the present application, it should be understood that the disclosed technical contents can be implemented by other ways. Among them, the above-mentioned device embodiments are only schematic, for example, the division of units can be a logical function division, and actual implementation can have another division way, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between units or modules, which can be electrical or other forms.
[0099] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed to multiple units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0100] In addition, each function unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.
[0101] If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or the part that contributes to the related art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The foregoing storage medium includes a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0102] The above is only the preferred embodiment of the present application. It should be noted that for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should also be considered as the protection scope of the present application.
Claims
1. A method of copying contents of a document, characterized by, The method comprises the following steps: The cloud service fusion platform acquires a first keyboard and mouse message, wherein the first keyboard and mouse message is sent by a first zero terminal and is used for requesting to copy document content; The cloud service fusion platform sends the first keyboard and mouse message to a first virtual machine; The cloud service fusion platform receives the document content sent by the first virtual machine; The cloud service fusion platform sends the document content to a second virtual machine in the case that a second keyboard and mouse message is acquired, wherein the second keyboard and mouse message is sent by a second zero terminal and is used for requesting to paste the document content, the document content is pasted to a target position of the second zero terminal by the second virtual machine, and the cloud service fusion platform is used for determining an arrangement relationship and a hierarchical relationship between an application interface sent by the first virtual machine and an application interface sent by the second virtual machine which are fused on a same desktop; The cloud service fusion platform sends the first keyboard and mouse message to the first virtual machine, which comprises the following steps: the cloud service fusion platform determines an application corresponding to the first keyboard and mouse message according to a position on which the first keyboard and mouse message acts on the first zero terminal; the cloud service fusion platform determines a relative coordinate position of the first keyboard and mouse message on the corresponding application interface; the cloud service fusion platform determines an application virtual machine used for running the application according to the application, and determines the application virtual machine as the first virtual machine, wherein the first virtual machine is used for determining the document content from a target document according to the first keyboard and mouse message and the converted relative coordinate position sent by the cloud service fusion platform.
2. The method of claim 1, wherein, After the cloud service fusion platform receives the document content sent by the first virtual machine, the method further comprises the following steps: The cloud service fusion platform saves the document content into a local clipboard in the case that first identification information is received, wherein the first identification information is used for identifying the first zero terminal.
3. The method of claim 2, wherein, The cloud service fusion platform sends the document content to the second virtual machine in the case that a second keyboard and mouse message is acquired, which comprises the following steps: The cloud service fusion platform acquires the document content from the clipboard in response to the second keyboard and mouse message; The cloud service fusion platform sends the document content to the second virtual machine.
4. The method of claim 3, wherein, The cloud service fusion platform acquires the document content from the clipboard in response to the second keyboard and mouse message, which comprises the following steps: The cloud service fusion platform sends the second keyboard and mouse message to the second virtual machine; The cloud service fusion platform receives a document content acquisition request sent by the second virtual machine according to the second keyboard and mouse message, and acquires the document content from the clipboard in response to the document content acquisition request.
5. The method of claim 3, wherein, The cloud service fusion platform acquires the document content from the clipboard in response to the document content acquisition request, which comprises the following steps: The cloud service fusion platform acquires the to-be-copied document content from the clipboard in a case where second identification information exists in the document content acquisition request, where the second identification information is used to identify the second zero terminal.
6. The method of claim 3, wherein, After the cloud service fusion platform sends the to-be-copied document content to the second virtual machine, the method further comprises: The cloud service fusion platform receives a notification message, where the notification message is sent by the second virtual machine and is used to indicate that the second virtual machine completes the pasting operation on the to-be-copied document content; The cloud service fusion platform closes the clipboard based on the notification message.
7. The method of claim 2, wherein, After the cloud service fusion platform acquires the second keyboard and mouse message and sends the to-be-copied document content to the second virtual machine, the method further comprises: The cloud service fusion platform closes the clipboard.
8. A document content replication system characterized by, Comprise: The zero terminal module comprises a first zero terminal and a second zero terminal, where the first zero terminal is used to send a first keyboard and mouse message, the first keyboard and mouse message is used to request to copy to-be-copied document content, and the second zero terminal is used to send a second keyboard and mouse message, the second keyboard and mouse message is used to request to paste the to-be-copied document content; The cloud service fusion platform module is used to acquire a keyboard and mouse message and send the keyboard and mouse message to a virtual machine module, where the keyboard and mouse message comprises the first keyboard and mouse message and the second keyboard and mouse message, the cloud service fusion platform module is used to determine an arrangement relationship and a hierarchical relationship between an application program interface sent by a first virtual machine and an application program interface sent by a second virtual machine on a same desktop, the cloud service fusion platform module determines an application program corresponding to the first keyboard and mouse message according to a position on which the first keyboard and mouse message acts on the first zero terminal, the cloud service fusion platform determines a relative coordinate position of the first keyboard and mouse message on the corresponding application program interface, the cloud service fusion platform determines an application program virtual machine used to run the application program based on the application program, and determines the application program virtual machine as the first virtual machine, where the first virtual machine is used to determine the to-be-copied document content from a target document according to the first keyboard and mouse message sent by the cloud service fusion platform and the converted relative coordinate position; The virtual machine module comprises the first virtual machine and the second virtual machine and is used to receive the keyboard and mouse message, where the first virtual machine is further used to send the to-be-copied document content to the cloud service fusion platform, and the second virtual machine is used to acquire the to-be-copied document content and paste the to-be-copied document content to a target position of the second zero terminal in a case where the cloud service fusion platform acquires the second keyboard and mouse message.
9. A document content copying apparatus characterized by comprising: Comprise: An acquisition unit is used to acquire, by a cloud service fusion platform, a first keyboard and mouse message, where the first keyboard and mouse message is sent by a first zero terminal and is used to request to copy to-be-copied document content; The first sending unit is configured to send the first keyboard and mouse message to the first virtual machine by the cloud service integration platform. The receiving unit is configured to receive the to-be-copied document content sent by the first virtual machine by the cloud service integration platform. The second sending unit is configured to send the to-be-copied document content to the second virtual machine by the cloud service integration platform in the case that a second keyboard and mouse message is acquired, wherein the second keyboard and mouse message is sent by a second zero terminal and is used to request to paste the to-be-copied document content, the to-be-copied document content is pasted to a target position of the second zero terminal by the second virtual machine, and the cloud service integration platform is configured to determine an arrangement relationship and a hierarchical relationship between an application interface sent by the first virtual machine and an application interface sent by the second virtual machine integrated on a same desktop. The first sending unit is further configured to: determine an application corresponding to the first keyboard and mouse message according to a position on the first zero terminal on which the first keyboard and mouse message acts by the cloud service integration platform; determine a relative coordinate position of the first keyboard and mouse message on a corresponding application interface by the cloud service integration platform; determine an application virtual machine used to run the application based on the application by the cloud service integration platform, and determine the application virtual machine as the first virtual machine, wherein the first virtual machine is configured to determine the to-be-copied document content from a target document according to the first keyboard and mouse message and the converted relative coordinate position sent by the cloud service integration platform.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored program, wherein the program controls a device where the storage medium is located to execute the method in any one of claims 1 to 7 when the program is running.
11. A processor, comprising: The processor is configured to run a program, wherein the program executes the method in any one of claims 1 to 7 when the program is running.
Citation Information
Patent Citations
Method, device and system for data extraction and pasting processing
CN106302123A