A cloud clipboard implementation method, device, system and storage medium
Through the synergy between the global transit center and the cloud clipboard control center, efficient clipping in the cloud office scenario is achieved, and the problem of low data copying efficiency in cloud office is solved, and barrier-free data interaction is achieved across the end, across ecology, across cloud instances, and across regions.
Patent Information
- Application Number
- CN202211143844.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-09-20
AI Technical Summary
Data copying efficiency is low in cloud office scenarios. There are limitations in existing traditional data copying methods such as Bluetooth face-to-face transmission and third-party storage product transit, resulting in low cloud office efficiency.
The global transit center is used to connect multiple workers in the user's workspace, and the cloud clipboard control center realizes cross-end, cross-ecology, cross-video and real, cross-cloud instances, and cross-regional global clipping, and uses distributed message processing and high-speed data transmission services to support the global interaction of messages and data.
It realizes barrier-free information and data interaction in a cloud office environment, provides efficient cross-end, cross-ecology, cross-cloud instances, and cross-regional clipping experience, and improves the overall efficiency of cloud office.
Smart Images

Figure CN115617540B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud computing technology, and in particular to a method, device, system and storage medium for implementing a cloud clipboard. Background Art
[0002] With the continuous enrichment of cloud resources, more and more companies are choosing to join the cloud office scene.
[0003] Cloud-based office scenarios require a large amount of data copying. However, currently, these methods rely solely on traditional methods such as "face-to-face Bluetooth transmission," "transfer via third-party storage products," and "data redirection." These methods are inefficient and have their own limitations. For example, "face-to-face Bluetooth transmission" requires both communicating devices to be terminals and have Bluetooth enabled, resulting in extremely low data copy efficiency in cloud-based office scenarios. Summary of the Invention
[0004] Multiple aspects of the present application provide a cloud clipboard implementation method, device, system and storage medium to improve the clipping efficiency in cloud office scenarios.
[0005] The embodiment of the present application provides a cloud clipboard system, including a cloud clipboard control center and multiple work parties in a user workspace, wherein the multiple work parties communicate with each other through a global transit center;
[0006] A first working party among the multiple working parties is configured to send first event information to the cloud clipboard control center through the global transfer center when monitoring a cut / copy event occurring in itself;
[0007] The second working party among the multiple working parties is configured to send second event information to the cloud clipboard control center through the global transit center when monitoring that a paste event occurs after the second working party receives the first event information;
[0008] The cloud clipboard control center is configured to push the received first event information to other work parties in the user workspace except the first work party through the global transfer center; when receiving the second event information, the cloud clipboard control center uses the global transfer center to copy the relevant data in the first work party to the second work party so that the second work party can complete the pasting;
[0009] The types of the working parties include physical terminals and / or cloud instances.
[0010] An embodiment of the present application further provides a cloud clipboard implementation method applicable to a cloud clipboard management device in a cloud clipboard system, wherein the cloud clipboard system further includes multiple work parties in a user workspace, and the multiple work parties communicate with each other through a global transit center; the method includes:
[0011] receiving first event information sent by a first working party among the multiple working parties through the global transfer center, where the first event information is sent by the first working party when monitoring a cut / copy event occurring in the first working party;
[0012] Pushing the received first event information to other work parties except the first work party in the user workspace through the global transfer center;
[0013] receiving second event information sent by a second working party among the multiple working parties through the global transfer center, where the second event information is sent by the second working party when monitoring a paste event occurring in the second working party;
[0014] Upon receiving the second event information, copy the relevant data in the first work party to the second work party using the global transfer center, so that the second work party can complete the pasting;
[0015] The types of the working parties include physical terminals and / or cloud instances.
[0016] The present application also provides a method for implementing a cloud clipboard, which is applicable to multiple work parties in a user workspace in a cloud clipboard system, wherein the multiple work parties communicate with each other through a global transit center. The cloud clipboard system also includes a cloud clipboard management and control device. The method includes:
[0017] When a cut / copy event is detected, the first event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can push the received first event information to other work parties in the user workspace through the global transfer center;
[0018] Using the cloud clipboard control center and the global transfer center, providing relevant data corresponding to the first event information to the work party where the paste event occurs in the user workspace, so that the work party can complete the paste;
[0019] When a paste event is detected, the second event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can copy the relevant data in the work party where the cut / copy event occurred in the user workspace to the local work party to complete the paste;
[0020] The types of the working parties include physical terminals and / or cloud instances.
[0021] The embodiment of the present application also provides a cloud clipboard management and control device, including a memory, a processor, and a communication component;
[0022] The memory is used to store one or more computer instructions;
[0023] The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for:
[0024] Receiving, by the communication component, first event information sent by a first worker in a user workspace of the cloud clipboard system through the global transfer center, the first event information being sent by the first worker when monitoring a cut / copy event occurring to the first worker;
[0025] Pushing the received first event information to other work parties except the first work party in the user workspace through the global transfer center;
[0026] Receiving, by the communication component, second event information sent by a second work party in the user workspace through the global transfer center, the second event information being sent by the second work party when monitoring a paste event occurring in itself;
[0027] Upon receiving the second event information, copy the relevant data in the first work party to the second work party using the global transfer center, so that the second work party can complete the pasting;
[0028] Among them, multiple work parties in the user workspace are connected through a global transit center, and the types of the work parties include physical terminals and / or cloud instances.
[0029] An embodiment of the present application further provides a computing device, including a memory, a processor, and a communication component;
[0030] The memory is used to store one or more computer instructions;
[0031] The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for:
[0032] When a cut / copy event is detected, the first event information is sent to a cloud clipboard control center in the cloud clipboard system through the global transfer center, so that the cloud clipboard control center pushes the received first event information to other computing devices in the user workspace in the cloud clipboard system through the global transfer center;
[0033] Using the cloud clipboard control center and the global transfer center, providing relevant data corresponding to the first event information to the computing device where the paste event occurred in the user workspace, so that the computing device can complete the paste;
[0034] When a paste event is detected, the second event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can copy the relevant data in the computing device where the cut / copy event occurred in the user workspace to the local computing device to complete the paste;
[0035] Among them, multiple computing devices in the user workspace are connected through a global transit center, and the types of the computing devices include physical terminals and / or cloud instances.
[0036] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the aforementioned cloud clipboard implementation method.
[0037] In an embodiment of the present application, a global transit center is used to connect multiple work parties in a user's workspace, which can achieve global accessibility in a cloud office environment. Users can interact with information and data across terminals, ecosystems, and virtual and real entities in their workspaces, which enables barrier-free access between diverse work parties in the user's workspace. A centrally deployed cloud clipboard control center is also provided, which is responsible for broadcasting the first event information provided by the work party where a cut / copy event has occurred to other work parties in the user's workspace through the global transit center, and is responsible for coordinating the copying of relevant data through the global transit center when triggered by the work party where a paste event has occurred. Accordingly, in an embodiment of the present application, global clipping across terminals, ecosystems, cloud instances, virtual and real entities, and regions can be achieved in the user's workspace, and the entire cloud clipboard system can help users in the enterprise achieve a global and efficient clipping experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0039] Figure 1A schematic diagram of the structure of a cloud clipboard system provided by an exemplary embodiment of the present application;
[0040] Figure 2 An exemplary implementation principle diagram of a global transit center provided by an exemplary embodiment of the present application;
[0041] Figure 3 A schematic diagram of working logic in an exemplary application scenario provided for an exemplary embodiment of the present application;
[0042] Figure 4 A flowchart of a method for implementing a cloud clipboard provided in another exemplary embodiment of the present application;
[0043] Figure 5 A flowchart of another method for implementing a cloud clipboard provided in another exemplary embodiment of the present application;
[0044] Figure 6 A schematic structural diagram of a cloud clipboard management and control device provided as another exemplary embodiment of the present application;
[0045] Figure 7 A schematic structural diagram of a computing device is provided as another exemplary embodiment of the present application. DETAILED DESCRIPTION
[0046] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0047] At present, the efficiency of data copying in cloud office scenarios is too low. To this end, in some embodiments of the present application: a global transit center is used to connect multiple work parties in the user's workspace, which can achieve global accessibility in the cloud office environment, and users can interact with information and data across terminals, regions, virtual and real, ecological, and cloud instances in their workspace, which makes it possible for diverse work parties in the user's workspace to communicate with each other without obstacles; a centrally deployed cloud clipboard control center is also provided, which is responsible for broadcasting the first event information provided by the work party where a cut / copy event has occurred to other work parties in the user's workspace through the global transit center, and is responsible for coordinating the copying of relevant data through the global transit center when triggered by the work party where a paste event has occurred. Accordingly, in the embodiments of the present application, global clipping across terminals, ecosystems, cloud instances, virtual and real, and regions can be achieved in the user's workspace, and the entire cloud clipboard system can help users in the enterprise achieve a global and efficient clipping experience.
[0048] The following describes in detail the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings.
[0049] Figure 1 This is a schematic diagram of the structure of a cloud clipboard system provided by an exemplary embodiment of the present application. Figure 1 As shown, the system includes: a cloud clipboard control center and multiple work parties in the user workspace, wherein the multiple work parties communicate with each other through a global transit center, and the cloud clipboard control center also communicates with the multiple work parties through the global transit center.
[0050] The cloud clipboard system provided in this embodiment can be applied to cloud office scenarios to provide global and efficient clipping services for cloud office scenarios.
[0051] The global transit center in this embodiment can be implemented in the form of a data bus service, and may include a distributed message processing service and a high-speed data transmission service, wherein the distributed message processing service can support the global interaction of messages and / or data, and the high-speed data transmission service can support the global interaction of data. Distributed message processing services may include but are not limited to message queue MQ (Message Queue) services, etc. High-speed data transmission services may include but are not limited to object storage OSS (Object Storage Service) services, network attached storage NAS (Network Attached Storage) services, etc. In this way, the global transit center in this embodiment can support the global interaction of messages and data, thereby enabling communication between multiple work parties in the user workspace, and enabling communication between the cloud clipboard control center and multiple work parties.
[0052] Figure 2 This is an exemplary implementation diagram of a global transit center provided by an exemplary embodiment of the present application. Figure 2In the exemplary implementation principle: exclusive message topics can be deployed in each regional region in the cloud, and the workers can associate and use the message queues under the message topics in the regional region to which they belong; and the global transit center can subscribe to the message topics corresponding to each region. In this way, the global transit center can promptly obtain the messages written by the workers under their associated message topics, and perform message routing on demand, thereby supporting global message interaction. In addition, exclusive storage service areas can be deployed in each regional region in the cloud, such as object storage OSS areas. In this way, the global transit center can support global data interaction with the cross-regional backup capabilities of the storage service. Among them, the regional regions mentioned in this embodiment can be understood as physical data centers in the cloud, and each regional region is completely independent. In addition, multiple workers in the user workspace may be distributed in different regional regions.
[0053] The user workspace in this embodiment refers to the workspace of a single user in the enterprise. It should be understood that the user workspace in this embodiment is a virtual space rather than a physical space, and the centralized management of the work parties used by users can be achieved by creating a user workspace. In this embodiment, based on the underlying support of the global transit center, all kinds of work parties that users may use in the office process can be added to their user workspace. In actual applications, multiple work parties can be added to the same user workspace by logging in with the same user account. Of course, this is only exemplary, and other implementation methods can also be used in this implementation to organize its user workspace. By setting up a user workspace, users in the enterprise can experience an efficient cloud office experience that integrates multiple terminals, integrates the rich cloud products on the cloud and the rich physical terminals of the enterprise offline into the user workspace, and users can use various work parties in their user workspace without obstacles.
[0054] In this embodiment, with the support of a global transit center, the ecosystems, geographical locations, and virtual / real nature of the multiple workstations within the user's workspace can be diverse. Ecosystem can be understood as an operating system. For example, a workstation's ecosystem might include a Windows ecosystem, an Android ecosystem, or an Apple ecosystem. Type can be understood as a hardware type. For example, a workstation might include a card machine, an all-in-one machine, a zero-terminal, a soft terminal, or a thin terminal. Virtual / real can be understood as whether it is generated based on virtualization technology. For example, a workstation might be a real physical terminal or a virtualized cloud instance. It should be emphasized that the cloud instances mentioned in this embodiment are cloud products that require streaming technology to access, including but not limited to virtualized cloud desktops and virtualized cloud applications. This is different from application processes within cloud servers that can be remotely logged in through SSH software clients, HTTPS software clients, or web applets. A virtualized cloud desktop is a technology that virtualizes the system desktop, allowing users to access the system desktop remotely from any device over the network. Virtualized cloud applications are application virtualization technologies based on desktop virtualization. They utilize cloud instance resources to run large-scale traditional software and allow users to remotely access these large-scale traditional software running on cloud instances from any device. In this embodiment, the cloud instance resides in the cloud. Specifically, it can be hosted on cloud computing platforms such as virtual machines and containers. This embodiment does not limit the deployment method of the cloud instance in the cloud.
[0055] For example, user A in an enterprise can launch multiple physical terminals and cloud instances as workstations in their user workspace. These physical terminals and cloud instances can be from diverse ecosystems and located in different regions. User A can implement global copy and paste between various online workstations in their user workspace as needed. Users can copy and paste data on the physical terminals they launch, on the virtualized cloud desktops they launch, and in the virtualized cloud applications they launch.
[0056] In addition, it is worth noting that cloud instances usually require an interface display terminal as the entrance to human-computer interaction. The interface display terminal can be a local physical terminal of the user. The soft terminal corresponding to the cloud instance can be run in the interface display terminal. The cloud instance can then provide the content to be displayed to the interface display terminal for display based on streaming technology. In this way, in this embodiment, the physical terminal activated in the user workspace can serve as the interface display terminal for certain cloud instances activated by the user. Moreover, a physical terminal activated in the user workspace can simultaneously serve as the interface display terminal for one or more cloud instances. Of course, the cloud instances activated in the user workspace can also use other physical terminals as interface display terminals, and these other physical terminals do not necessarily have to be working terminals in the user workspace.
[0057] Because cut / paste operations typically involve two communication endpoints: the one where cut / copy occurs and the one where paste occurs, for ease of description, in this embodiment, the type of worker in the user workspace where a cut / copy event occurs is referred to as the first worker, and the type of worker in the user workspace where a paste event occurs is referred to as the second worker. It should be understood that a worker in the user workspace may sometimes function as the first worker and sometimes as the second worker.
[0058] refer to Figure 1 , for the first working party, when monitoring the cut / copy event occurring in itself, it can send the first event information to the cloud clipboard control center through the global transfer center.
[0059] Among them, in this embodiment, a cloud clipboard proxy service can be deployed in the working party, and the working party can use its own cloud clipboard proxy service to monitor the cut / copy events and paste events that occur in itself.
[0060] In the case where the working party is a cloud instance, the process of the working party monitoring the cut / copy events and paste events that occur in itself can be: receiving the control data synchronized by the interface display end connected to the working party, the control data is generated by the user controlling the peripherals of the interface display end, and the interface display end is a physical terminal; using the cloud clipboard proxy service to perceive that the control data contains cut / copy behavior data, then determining that a cut / copy event has occurred in the working party; using the cloud clipboard proxy service to perceive that the control data contains paste behavior data, then determining that a paste event has occurred in the working party. Among them, the peripherals of the interface display end can be a mouse, keyboard, etc. For example, a user can perform a paste behavior through the mouse of the interface display end (for example, right-click to call out a menu and click "Paste"), and a communication protocol such as a USB redirection protocol is pre-agreed between the interface display end and the cloud instance in the cloud. In this way, the interface display end can synchronize the control data containing the paste behavior data to the cloud instance in the cloud when it monitors that the user performs a paste behavior through its peripherals within the display interface of the corresponding cloud instance. For example, the click data of the mouse connected to the display operation end is mapped to the virtual mouse in the cloud instance. In this way, the local system clipboard in the cloud instance's guest system can receive the control data provided by the interface display terminal and thus perceive the paste action. In this embodiment, the cloud clipboard proxy service deployed in the cloud instance can monitor the paste action in the cloud instance's local system clipboard and generate a paste event. Similarly, it can also monitor the cut / copy action and generate a cut / copy event.
[0061] When the working party is a physical terminal, the process of the working party monitoring the cut / copy events and paste events occurring in itself can be: sensing the control data corresponding to the cut / copy and paste behaviors performed by the user through its peripherals through its local system clipboard, and generating cut / copy events and paste events.
[0062] In an optional implementation scheme: the cloud clipboard proxy service can be implemented as a listening process in the operating system, so that the listening process can be run in the operating system of the working party (such as the terminal system of the physical terminal, the guest system of the cloud instance, etc.) to perform event monitoring of the local system clipboard. Based on this, for the first working party, the cloud clipboard proxy service running thereon can be used to monitor the cut / copy events occurring in itself. Of course, the first working party can also use the cloud clipboard proxy service running thereon to generate the first event information corresponding to the cut / copy event. The first event information can be used to describe the attributes of the cut / copy event, and the first event information may include but is not limited to the information of the working party where the event occurred, the time when the event occurred, the event type, the identification of the relevant data of the event, the specifications and storage location, etc. The first working party can also use the cloud clipboard proxy service running thereon to send the first event information to the cloud clipboard control center through the global transit center. Continue Figure 2 According to the exemplary implementation principle of the global transit center provided in , the first working party can send the first event information to the message queue under the first message topic associated with the first working party to transmit the first event information to the global transit center, because the global transit center has subscribed to the first message topic. The global transit center can also forward the first event information to the cloud clipboard control center, wherein the cloud clipboard control center can subscribe to the message topic in the region to which it belongs. The global transit center can route the first event information to the message queue under the message topic subscribed by the cloud clipboard control center, so that the cloud clipboard control center can receive the first event information in a timely manner.
[0063] On this basis, reference Figure 1, the cloud clipboard control center can push the received first event information to other work parties in the user workspace except the first work party through the global transit center. Among them, the multiple work parties in the user workspace are understood to be the online work parties under the user's name. Each work party under the user's name can be registered in the cloud clipboard control center in advance and report its own operating status in a timely manner. In this way, the cloud clipboard control center can accurately perceive which work parties are in the user's workspace. Based on this, the cloud clipboard control center can determine in real time which other work parties are in the user workspace besides the first work party, generate routing information for these other work parties and provide it to the global transit center. For the global transit center, it can know how to route the first event information. Optionally, the routing information provided to the global transit center may include information such as the region to which the work party belongs or the message topic associated with the work party. Based on this, the global transit center can route the first event information to the message queue under the message topic associated with each of the other work parties, so that other work parties can automatically receive the first event information by subscribing to their associated message topics.
[0064] As can be seen, in this embodiment, based on the bus capabilities of the global transit center and the coordination capabilities of the cloud clipboard control center, the first event information provided by the first worker can be broadcast to other workers in the user workspace. In this way, other workers in the user workspace can receive the first event information.
[0065] Continue to refer Figure 1 , for the second working party, it can monitor whether a paste event has occurred in itself after receiving the first event information. Continuing the cloud clipboard proxy service deployed in the working party in the previous article, here, the second working party can use the cloud clipboard proxy service running on it to monitor paste events. In an optional implementation scheme: the second working party can start a callback function for the paste event after receiving the first event information; when it monitors that a paste event has occurred in itself, it triggers the callback function to generate second event information. The callback function can be registered by the aforementioned cloud clipboard proxy service. The second event information can be used to describe the attributes of the paste event. The second event information may include but is not limited to information such as the working party information where the event occurred, the time when the event occurred, the event type, or the identifier of the relevant data of the event.
[0066] In addition, after receiving the first event information, the second working party can also obtain the ownership of its local system clipboard to be ready to process the paste event occurring on the second working party.
[0067] On this basis, the second working party can send the second event information to the cloud clipboard control center through the global transfer center when it monitors that a paste event occurs after it receives the first event information. Figure 2 According to the exemplary implementation principle of the global transit center provided in , the second working party can send the second event information to the message queue under the second message topic associated with the second working party to transmit the second event information to the global transit center, because the global transit center has subscribed to the second message topic. The global transit center can also forward the second event information to the cloud clipboard control center, wherein the cloud clipboard control center can subscribe to the message topic in the region to which it belongs. The global transit center can route the second event information to the message queue under the message topic subscribed by the cloud clipboard control center, so that the cloud clipboard control center can receive the second event information in a timely manner.
[0068] As for the cloud clipboard control center, when receiving the second event information, it can use the global transfer center to copy the relevant data in the first work party to the second work party so that the second work party can complete the pasting.
[0069] In this process, since multiple second event information may exist concurrently in the cloud clipboard system, the cloud clipboard control center can be used to determine the copy source end corresponding to each second event information. Here, for the sake of ease of description, it is assumed that the copy source end corresponding to the current second event information is the aforementioned first working party, but it should be understood that for different second event information, the corresponding copy source end may not be exactly the same. On this basis, when the cloud clipboard control center receives the second event information, it can send a data upload instruction to the first working party through the global transit center to trigger the first working party to write the relevant data to its associated first storage location.
[0070] Among them, undertake Figure 2 The exemplary implementation principle of the global transit center provided in the document is that the first storage location can be a message queue under the first message topic associated with the first working party, or it can be a first storage service area set in the region to which the first working party belongs. On this basis, for the first working party, when receiving a data upload instruction, it can determine whether the specifications of the relevant data of the first event information are less than the preset standard. If so, the relevant data can be written into the message queue under the first message topic associated with the first working party in response to the data upload instruction; and if the specifications of the relevant data of the first event information are not less than the preset standard, the first working party can write the relevant data into the first storage service area associated with the first working party in response to the data upload instruction. For example, the first object storage OSS area, etc. Among them, the preset standard can make the maximum data specification that the message queue can carry. In this way, when the specifications of the relevant data are relatively small, the message queue can be used to interact with the data, and when the specifications of the relevant data are relatively large, the storage service area can be used to interact with the data.
[0071] In addition, the Cloud Clipboard Control Center may store upload record information corresponding to the data related to the first event information. The upload record information may include, but is not limited to, the data upload time, the identifier of the work party that uploaded the data, the data storage location, etc. Based on the upload record information, the Cloud Clipboard Control Center may first determine whether the relevant data has been uploaded upon receiving the second event information. If so, the Cloud Clipboard Control Center does not need to issue a data upload instruction to avoid duplicate data uploads.
[0072] Afterwards, the global transfer center can copy the relevant data in the first storage location to the second storage location associated with the second working party. Figure 2 The exemplary implementation principle of the global transit center provided in the specification is similar to the first storage location. The second storage location can be a message queue under the second message topic associated with the second working party, or it can be a second storage service area set in the region to which the second working party belongs. On this basis, if the type of the first storage location is a message queue, the global transit center can route the relevant data to the message queue under the second message topic associated with the second working party. If the type of the first storage location is a storage service area, the global transit center can route the relevant data to the second storage service area set in the region to which the second working party belongs, for example, the second object storage OSS area. In the case of data interaction through the storage service area, the global transit center can use the cross-regional replication capability of the storage service to drive the first storage service area to copy the relevant data to the second storage service area at high speed by issuing a data upload instruction to the first storage service area, and can copy while uploading.
[0073] The Cloud Clipboard Control Center can also send a data download instruction to the second worker through the Global Transfer Center, triggering the second worker to download the relevant data from its associated second storage location. The Global Transfer Center can provide the Cloud Clipboard Control Center with copy log information describing the data copy results. This information may include, but is not limited to, the data's location after copying, the time the copy was completed, and the identity of the worker who uploaded the data. This copy log information can be included in the data download instruction.
[0074] On this basis, the second working party can respond to the data download instruction and access the second storage location to download the relevant data to be pasted. In addition, as mentioned above, the second working party has taken over the use of its local system clipboard. Therefore, the second working party can write the downloaded relevant data into the cache corresponding to its local system clipboard to complete the pasting. Continuing the callback function registered in the second working party mentioned above, after the pasting is completed in the second working party, the callback function for the first event information can be terminated.
[0075] In summary, in this embodiment, a global transit center can be used to connect multiple work parties in the user's workspace, which can achieve global accessibility in a cloud office environment. Users can interact with information and data across terminals, regions, ecosystems, virtual and real, and cloud instances in their workspaces, which allows for barrier-free access between diverse work parties in the user's workspace. A centrally deployed cloud clipboard control center is also provided, which is responsible for broadcasting the first event information provided by the work party where a cut / copy event has occurred to other work parties in the user's workspace through the global transit center, and is responsible for coordinating the copying of relevant data through the global transit center when triggered by the work party where a paste event has occurred. Accordingly, in an embodiment of the present application, global clipping across terminals, ecosystems, cloud instances, virtual and real, and regions can be achieved in the user's workspace, and the entire cloud clipboard system can help users in the enterprise achieve a global and efficient clipping experience.
[0076] Figure 3 This is a working logic diagram in an exemplary application scenario provided by an exemplary embodiment of the present application. Figure 3 There are multiple work parties in the user workspace. Assuming that the first work party is a physical terminal, the second work party is a cloud instance, and the first work party serves as the interface display terminal of the second work party, the first work party can send a first event message to the cloud clipboard control center through the global transit center when it monitors that the user performs a cut / copy action outside the display interface of the second work party through its peripheral device, so as to push the first event information to the second work party; when it monitors that the user performs a paste action within the display interface of the second work party through its peripheral device, the control data containing the paste action data is synchronized to the second work party, so that the second work party can monitor its own paste event and trigger the pasting of the local data of the first work party to the second work party by sending a second event message to the cloud clipboard control center.
[0077] refer to Figure 3 , you can use the physical terminal client1 as the first working party and the cloud instance GuestOS1 as the second working party. Of course, Figure 3 The user workspace in can also contain other work parties, such as physical terminal client2, etc. On this basis, refer to Figure 3 , the working logic is roughly as follows:
[0078] 1. When a user performs a copy operation on Client 1 (outside the display interface corresponding to the cloud instance), the Cloud Clipboard Agent Service (Agent) on Client 1 captures the triggering of the copy event and reports the event to the Cloud Clipboard Control Center (UCCS) through the global transit center.
[0079] 2. UCCS stores the metadata of the replication event, collects information about the user's online work parties, and pushes the replication event to the user's other online work parties.
[0080] 3. The currently online Client2 and GuestOS1 receive the copy event, obtain ownership of the local system clipboard, and register a callback function to intercept the paste event.
[0081] 4. If the user performs a paste operation in the interface display terminal corresponding to the cloud instance on Client1, Client1 can map the control data to the local system clipboard in the cloud instance GuestOS1. The cloud clipboard proxy service on the cloud instance GuestOS1 can trigger the paste callback function, thereby generating a paste event and reporting it to UCCS.
[0082] 5. After determining that Client 1 has not uploaded any data, UCCS needs to remotely copy the relevant data on Client 1. UCCS will then push a data upload instruction to Client 1 through the global transfer center.
[0083] 6. Client 1 receives the data upload instruction and uploads the data to the data bus. The data bus starts cross-region replication while uploading and sends the data upload record to UCCS.
[0084] 7. UCCS stores a copy of the data upload record in the database to prevent repeated pasting of data on multiple terminals. It then sends a data download instruction to the cloud instance GuestOS1 and pushes the metadata of the downloaded data to the cloud instance GuestOS1.
[0085] 8. The cloud instance GuestOS1 receives the data download instruction, connects to the data bus service in the region, downloads the data at high speed, and writes the downloaded data to the local system clipboard cache, ending the paste callback, and the paste action is completed.
[0086] Combine Figure 2 The example implementation diagram of the global transit center provided in [1] assumes that physical terminals client1 and client2, and cloud instance GuestOS1, are located in regions A, B, and C, respectively. Regions A, B, and C each deploy a set of MQ services and high-speed storage services, OSS. Services in each region are suffixed with the region, such as MQ_A and OSS_A. Endpoints in each region access services in the nearest region.
[0087] On this basis, the global transit center can leverage the real-time cross-region replication capabilities of distributed MQ and OSS services. Specifically, this global transit capability can be demonstrated as follows: when a replication event occurs in Client1 in Region A, the first event message is sent to the topic_A message queue of the MQ_A service in Region A. By subscribing to the MQ_A service in Region A, the global transit center receives the first event message. UCCS can inform the global transit center of the routing information of other online workspace participants in the user's workspace. The global transit center then routes the first event message to the topic_B message queue of the MQ_B service in Region B, where replication may be required. Client2 in Region B, subscribed to topic_B of MQ_B in Region B, receives the first event message routed by the global transit center. The global transit center also routes the first event message to the topic_C message queue of the MQ_C service in Region C, where replication may be required. Similarly, GuestOS1 in Region C also receives the first event message.
[0088] When client 1, the replication source, needs to upload a large file, the cloud clipboard agent service (Agent) in client 1 determines that the data size exceeds the maximum transmission limit of MQ messages and uploads the data to the OSS_A service in region A. Simultaneously, the global transfer center determines that the paste event occurred on GuestOS 1 in region C. Leveraging the OSS service's ability to upload and back up data across regions, the global transfer center issues a command to the OSS_A service, instructing it to copy the file to the OSS_C service in region C at high speed. GuestOS 1, connected to the region C service, can then download the large file at high speed through the OSS_C service.
[0089] As a result, the entire cloud clipboard system can help enterprise users achieve a global and efficient clipping experience.
[0090] In another case, a cut / copy event may occur in the cloud instance GuestOS1, and a paste event may occur in the physical terminal Client1. In this case, the cloud instance GueatOS1 can act as the first working party and execute the processing logic for the first working party in the previous article, such as generating first event information, uploading data, etc.; and the physical terminal Client1 can act as the second working party and execute the processing logic for the second working party in the previous article, such as generating second event information, downloading data, etc., thereby realizing the copying of data on the cloud instance in the user workspace to the physical terminal in the user workspace.
[0091] Of course, it should be understood that the first working party and the second working party can be not only one real and one virtual, but also cloud instances and physical terminals at the same time. This embodiment is not limited to Figure 3The application scenarios provided. In the case where the first working party is a physical terminal and the second working party is a cloud instance, the second working party's business does not have to use the first working party as the interface display terminal, but can select a suitable interface display terminal as needed. In this way, the first working party and the second working party may be distributed in different regions, may adopt different ecosystems, may be physical terminals and cloud instances respectively, and may be different cloud instances. Therefore, in this embodiment, global clipping across ecosystems, regions, virtual and real, and cloud instances can be achieved in the user workspace.
[0092] Figure 4 A flow chart of a method for implementing a cloud clipboard provided in another exemplary embodiment of the present application is provided. The method is applicable to a cloud clipboard control device in a cloud clipboard system, wherein the cloud clipboard system also includes multiple work parties in a user workspace, and the multiple work parties communicate with each other through a global transfer center; Figure 4 , the method comprising:
[0093] Step 400: Receive first event information sent by a first working party among multiple working parties through a global transfer center, where the first event information is sent by the first working party when it monitors a cut / copy event occurring in itself;
[0094] Step 401: Push the received first event information to other work parties in the user workspace except the first work party through the global transfer center;
[0095] Step 402: Receive second event information sent by a second working party among the multiple working parties through the global transfer center, where the second event information is sent by the second working party when it monitors a paste event occurring on itself;
[0096] Step 403: When receiving the second event information, use the global transfer center to copy the relevant data in the first work party to the second work party so that the second work party can complete the pasting;
[0097] The types of working parties include physical terminals and / or cloud instances.
[0098] In an optional embodiment, a cloud clipboard proxy service is deployed in the working party, and the working party uses its own cloud clipboard proxy service to monitor the cut / copy events and paste events occurring in itself.
[0099] In an optional embodiment, the first worker sends the first event information to a message queue under a first message topic associated with the first worker, so as to transmit the first event information to a global transit center that has subscribed to the first message topic. Step 401 may include:
[0100] Generate routing information for other work parties in the user workspace and provide it to the global transit center;
[0101] The global transit center is used to route the first event information to the message queues under the message topics associated with other working parties according to the routing information, so that other working parties can receive the first event information by subscribing to the message topics.
[0102] In an optional embodiment, message topics are deployed in different regions respectively, and a worker is associated with the message topic deployed in its region. Multiple workers may be distributed in different regions.
[0103] In an optional embodiment, the second working party starts a callback function for the paste event after receiving the first event information; in response to the paste operation occurring in the second working party, the callback function is triggered to generate the second event information.
[0104] In an optional embodiment, step 403 may include:
[0105] Sending a data upload instruction to the first worker through the global transfer center to trigger the first worker to write the relevant data into its associated first storage location;
[0106] Copying the relevant data in the first storage location to the second storage location associated with the second working party through the global transfer center;
[0107] A data download instruction is sent to the second worker through the global transfer center to trigger the second worker to download relevant data from its associated second storage location.
[0108] In an optional embodiment, the first storage location is an object storage OSS area set in the region where the first working party is located or a message queue under the first message topic associated with the first working party; the second storage location is an object storage OSS area set in the region where the second working party is located or a message queue under the second message topic associated with the second working party.
[0109] In an optional embodiment, when the specifications of the relevant data of the cut / copy event occurring in the first working party itself are less than a preset standard, the first working party, in response to a data upload instruction, writes the relevant data into the message queue under the first message topic associated with the first working party, so as to transmit the relevant data to the message queue under the second message topic associated with the second working party through the cloud clipboard management and control center and the global transit center; when the specifications of the relevant data of the cut / copy event occurring in the first working party itself are not less than the preset standard, the first working party, in response to the data upload instruction, writes the relevant data into the first OSS area associated with the first working party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second working party through the global transit center.
[0110] In an optional embodiment, the global transit center sends the upload record information of the relevant data to the cloud clipboard control center; the method also includes: when receiving the second event information, determining whether the relevant data corresponding to the second event information has upload record information, and if so, no longer sending the data upload instruction to the first working party.
[0111] In an optional embodiment, the second worker writes the acquired relevant data into the local system clipboard cache to complete the pasting.
[0112] It is worth noting that the technical details in the above-mentioned embodiments of the cloud clipboard implementation method can be referred to the relevant description of the cloud clipboard control center in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause any loss of the protection scope of this application.
[0113] Figure 5 A flowchart of another cloud clipboard implementation method provided by another exemplary embodiment of the present application. This method is applicable to multiple work parties in a user workspace in a cloud clipboard system, where multiple work parties communicate with each other through a global transit center. The cloud clipboard system also includes a cloud clipboard management and control device; Figure 5 , the method may include:
[0114] Step 500: When a cut / copy event is detected, the first event information is sent to the cloud clipboard control center via the global transfer center, so that the cloud clipboard control center can push the received first event information to other work parties in the user workspace via the global transfer center.
[0115] Step 501: Using the cloud clipboard control center and the global transfer center, relevant data corresponding to the first event information is provided to the work party where the paste event occurred in the user workspace, so that the work party can complete the paste;
[0116] Step 502: When a paste event is detected, the second event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can copy the relevant data in the work party where the cut / copy event occurred in the user workspace to the work party to complete the paste;
[0117] The types of working parties include physical terminals and / or cloud instances.
[0118] In an optional embodiment, a cloud clipboard proxy service is deployed in the working party, and the working party uses its own cloud clipboard proxy service to monitor the cut / copy events and paste events occurring in itself.
[0119] In an optional embodiment, the step of sending the first event information to the cloud clipboard control center through the global transit center may include:
[0120] Sending the first event information to a message queue under a message topic associated with the worker to transmit the first event information to a global transit center that has subscribed to the message topic;
[0121] Among them, the cloud clipboard management and control center provides the routing information of other work parties in the user workspace to the global transit center; the global transit center is used to route the first event information to the message queues under the message topics associated with each of the other work parties, so that other work parties can receive the first event information by subscribing to the message topic.
[0122] In an optional embodiment, message topics are deployed in different regions respectively, and a worker is associated with the message topic deployed in its region. Multiple workers may be distributed in different regions.
[0123] In an optional embodiment, when the cloud clipboard control center receives the second event information, it sends a data upload instruction to the current working party through the global transit center to trigger the current working party to write the relevant data into its associated first storage location; copies the relevant data in the first storage location to the second storage location associated with the working party that issued the second event information through the global transit center; and sends a data download instruction to the working party through the global transit center to trigger the working party to download the relevant data from its associated second storage location.
[0124] In an optional embodiment, the first storage location is the object storage OSS area set in the region where the current working party is located, or the message queue under the first message topic associated with the first working party; the second storage location is the object storage OSS area set in the region where the working party that initiates the second event information is located, or the message queue under the second message topic associated with the second working party.
[0125] In an optional embodiment, the method further comprises:
[0126] If the specification of the relevant data of the cut / copy event occurring in itself is smaller than the preset standard, then in response to the data upload instruction, the relevant data is written into the message queue under the first message topic associated with the first work party, so as to transmit the relevant data to the message queue under the second message topic associated with the second work party through the cloud clipboard control center and the global transfer center;
[0127] If the specification of the relevant data of the cut / copy event itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written into the first OSS area associated with the first work party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second work party through the global transit center.
[0128] In an optional embodiment, the global transit center sends the upload record information of the relevant data to the cloud clipboard control center; when the cloud clipboard control center receives the second event information, it determines whether the relevant data corresponding to the second event information has upload record information. If so, it no longer sends data upload instructions to the first working party.
[0129] In an optional embodiment, the method further comprises:
[0130] After receiving the event information corresponding to the cut / copy event sent by other workers, start the callback function for the paste event;
[0131] In response to a paste operation occurring in the current working session, a callback function is triggered to generate event information corresponding to the paste event.
[0132] In an optional embodiment, the method further comprises:
[0133] If a paste event occurs in the current working party, the obtained relevant data will be written to the local system clipboard cache to complete the paste.
[0134] It is worth noting that the technical details in the above-mentioned embodiments of the cloud clipboard implementation method can be referred to the relevant description of the first working party / second working party in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause any loss of the protection scope of this application.
[0135] It should be noted that some of the processes described in the above embodiments and the accompanying drawings include multiple operations that appear in a specific order, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or may be executed in parallel. The serial numbers of the operations, such as 401, 402, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different storage locations, working parties, event information, etc., and do not represent the order of precedence, nor do they limit "first" and "second" to be different types.
[0136] Figure 6 This is a structural diagram of a cloud clipboard management device provided by another exemplary embodiment of the present application. Figure 6 As shown, the computing device includes a memory 60 , a processor 61 and a communication component 62 .
[0137] The processor 61 is coupled to the memory 60 and the communication component 62, and is configured to execute the computer program in the memory 60 to:
[0138] Utilizing the communication component 62 to receive first event information sent by a first worker in a user workspace of the cloud clipboard system through the global transfer center, the first event information being sent by the first worker when monitoring a cut / copy event occurring to the first worker;
[0139] Pushing the received first event information to other work parties except the first work party in the user workspace through the global transfer center;
[0140] Utilizing the communication component 62 to receive second event information sent by a second work party in the user workspace through the global transfer center, the second event information being sent by the second work party when monitoring a paste event occurring to itself;
[0141] Upon receiving the second event information, the global transfer center is used to copy the relevant data in the first work party to the second work party so that the second work party can complete the pasting;
[0142] Among them, multiple work parties in the user workspace are connected through the global transit center, and the types of work parties include physical terminals and / or cloud instances.
[0143] In an optional embodiment, a cloud clipboard proxy service is deployed in the working party, and the working party uses its own cloud clipboard proxy service to monitor the cut / copy events and paste events occurring in itself.
[0144] In an optional embodiment, the first worker sends the first event information to a message queue under a first message topic associated with the first worker, so as to transmit the first event information to a global transit center that has subscribed to the first message topic. When the processor 61 uses the global transit center to copy the relevant data in the first worker to the second worker for the second worker to complete the pasting, the processor 61 may be configured to:
[0145] Providing routing information of other workers in the user workspace to the global transit center;
[0146] The global transit center is used to route the first event information to the message queues under the message topics associated with other working parties according to the routing information, so that other working parties can receive the first event information by subscribing to the message topics.
[0147] In an optional embodiment, message topics are deployed in different regions respectively, and a worker is associated with the message topic deployed in its region. Multiple workers may be distributed in different regions.
[0148] In an optional embodiment, the second working party starts a callback function for the paste event after receiving the first event information; in response to the paste operation occurring in the second working party, the callback function is triggered to generate the second event information.
[0149] In an optional embodiment, when the processor 61 uses the global transfer center to copy the relevant data in the first working party to the second working party, it can be used to:
[0150] Sending a data upload instruction to the first worker through the global transfer center to trigger the first worker to write the relevant data into its associated first storage location;
[0151] Copying the relevant data in the first storage location to the second storage location associated with the second working party through the global transfer center;
[0152] A data download instruction is sent to the second worker through the global transfer center to trigger the second worker to download relevant data from its associated second storage location.
[0153] In an optional embodiment, the first storage location is an object storage OSS area set in the region where the first working party is located or a message queue under the first message topic associated with the first working party; the second storage location is an object storage OSS area set in the region where the second working party is located or a message queue under the second message topic associated with the second working party.
[0154] In an optional embodiment, when the specifications of the relevant data of the cut / copy event occurring in the first working party itself are less than a preset standard, the first working party, in response to a data upload instruction, writes the relevant data into the message queue under the first message topic associated with the first working party, so as to transmit the relevant data to the message queue under the second message topic associated with the second working party through the cloud clipboard management and control center and the global transit center; when the specifications of the relevant data of the cut / copy event occurring in the first working party itself are not less than the preset standard, the first working party, in response to the data upload instruction, writes the relevant data into the first OSS area associated with the first working party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second working party through the global transit center.
[0155] In an optional embodiment, the global transfer center sends the upload record information of the relevant data to the cloud clipboard control center; the processor 61 can also be used to:
[0156] When the second event information is received, it is determined whether the relevant data corresponding to the second event information has upload record information. If so, no data upload instruction is sent to the first working party.
[0157] In an optional embodiment, the second worker writes the acquired relevant data into the local system clipboard cache to complete the pasting.
[0158] Further, if Figure 6 As shown, the cloud clipboard management and control device also includes: a power supply component 63 and other components. Figure 6 Only some components are shown schematically, which does not mean that the cloud clipboard control device only includes Figure 6 Components shown.
[0159] It is worth noting that the technical details in the above-mentioned embodiments of the cloud clipboard control device can be referred to the relevant description of the cloud clipboard control center in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause any loss of the protection scope of this application.
[0160] Figure 7 A schematic diagram of a computing device provided as another exemplary embodiment of the present application is shown in FIG. Figure 7 As shown, the computing device includes a memory 70 , a processor 71 and a communication component 72 .
[0161] The processor 71 is coupled to the memory 70 and the communication component 72 and is configured to execute the computer program in the memory 70 to:
[0162] When a cut / copy event is detected, the first event information is sent to the cloud clipboard control center in the cloud clipboard system through the global transfer center, so that the cloud clipboard control center can push the received first event information to other computing devices in the user workspace in the cloud clipboard system through the global transfer center;
[0163] Using the cloud clipboard control center and the global transfer center, relevant data corresponding to the first event information is provided to the computing device where the paste event occurred in the user workspace, so that the computing device can complete the paste;
[0164] When a paste event is detected, the second event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can copy the relevant data in the computing device where the cut / copy event occurred in the user workspace to the current computing device to complete the paste;
[0165] Among them, multiple computing devices in the user workspace are connected through a global transit center, and the types of computing devices include physical terminals and / or cloud instances.
[0166] In an optional embodiment, a cloud clipboard proxy service is deployed in the computing device, and the computing device uses its own cloud clipboard proxy service to monitor the cut / copy events and paste events occurring in itself.
[0167] In an optional embodiment, if the computing device is a cloud instance, the process of the computing device monitoring the cut / copy event and paste event occurring on the computing device includes:
[0168] Receive control data synchronized with the interface display terminal connected to the computing device, where the control data is generated by the user manipulating the peripheral device of the interface display terminal, where the interface display terminal is a physical terminal;
[0169] Using the cloud clipboard proxy service to sense that the manipulation data includes cut / copy behavior data, then determining that a cut / copy event occurs in the computing device;
[0170] The cloud clipboard proxy service is used to sense that the manipulation data includes paste behavior data, and then determine that a paste event occurs in the computing device.
[0171] In an optional embodiment, if the first computing device is a physical terminal, the second computing device is a cloud instance, and the first computing device serves as an interface display terminal of the second computing device; then the first computing device is configured to:
[0172] When monitoring that a user performs a cut / copy action outside the display interface of the second computing device through the user's peripheral device, sending first event information to the cloud clipboard control center through the global transfer center to push the first event information to the second computing device;
[0173] When it is detected that a user performs a paste action within the display interface of a second computing device through its peripheral device, the control data containing the paste action data is synchronized to the second computing device, so that the second computing device can monitor the paste event occurring in itself and trigger the pasting of the local data of the first computing device to the second computing device by sending a second event information to the cloud clipboard control center.
[0174] In an optional embodiment, during the process of sending the first event information to the cloud clipboard control center via the global transit center, the processor 71 may be configured to:
[0175] Sending the first event information to a message queue under a message topic associated with the computing device to transmit the first event information to a global transit center that has subscribed to the message topic;
[0176] Among them, the cloud clipboard control center provides the routing information of other computing devices in the user workspace to the global transit center; the global transit center is used to route the first event information to the message queues under the message topics associated with each of the other computing devices, so that other computing devices can receive the first event information by subscribing to the message topic.
[0177] In an optional embodiment, message topics are deployed in different regions respectively, and computing devices are associated with the message topics deployed in their regions. Multiple computing devices may be distributed in different regions.
[0178] In an optional embodiment, when the cloud clipboard control center receives the second event information, it sends a data upload instruction to the current computing device through the global transit center to trigger the current computing device to write the relevant data to its associated first storage location; copies the relevant data in the first storage location to the second storage location associated with the computing device that issued the second event information through the global transit center; and sends a data download instruction to the computing device through the global transit center to trigger the computing device to download the relevant data from its associated second storage location.
[0179] In an optional embodiment, the first storage location is the object storage OSS area set in the region where the current computing device is located, or the message queue under the first message topic associated with the first computing device; the second storage location is the object storage OSS area set in the region where the computing device that initiates the second event information is located, or the message queue under the second message topic associated with the second computing device.
[0180] In an optional embodiment, the processor 71 may also be configured to:
[0181] If the size of the data related to the cut / copy event itself is smaller than the preset standard, then in response to the data upload instruction, the relevant data is written into the message queue under the first message topic associated with the first computing device, so as to transmit the relevant data to the message queue under the second message topic associated with the second computing device through the cloud clipboard control center and the global transfer center;
[0182] If the specification of the relevant data of the cut / copy event itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written to the first OSS area associated with the first computing device, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second computing device through the global transit center.
[0183] In an optional embodiment, the global transit center sends the upload record information of the relevant data to the cloud clipboard control center; when the cloud clipboard control center receives the second event information, it determines whether the relevant data corresponding to the second event information has upload record information. If so, it no longer sends data upload instructions to the first computing device.
[0184] In an optional embodiment, the processor 71 may also be configured to:
[0185] After receiving event information corresponding to the cut / copy event sent by other computing devices, starting a callback function for the paste event;
[0186] In response to a paste operation occurring in the current computing device, a callback function is triggered to generate event information corresponding to the paste event.
[0187] In an optional embodiment, the processor 71 may also be configured to:
[0188] If a paste event occurs in the current computing device, the obtained relevant data is written to the local system clipboard cache to complete the paste.
[0189] Further, if Figure 7 As shown, the computing device also includes: a display 73, a power supply component 74, an audio component 75 and other components. Figure 7 Only some components are shown schematically, and it does not mean that the computing device only includes Figure 7 Components shown.
[0190] It is worth noting that the technical details in the above-mentioned embodiments of the computing device can refer to the relevant descriptions of the first computing device / second computing device in the aforementioned system embodiment. In order to save space, they will not be repeated here, but this should not cause any loss of the scope of protection of this application.
[0191] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps in the above method embodiment that can be performed by a cloud clipboard management device or a computing device.
[0192] above Figure 6 and 7 The memory in the computing platform is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0193] above Figure 6 and 7 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0194] above Figure 7 The display in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0195] above Figure 6 and 7The power supply component in a device provides power to various components of the device in which the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply component is located.
[0196] above Figure 7 The audio component in the device may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting audio signals.
[0197] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0198] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0199] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0200] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0201] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0202] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0203] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer 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 technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0204] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0205] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included in the protection scope of the present application.
Claims
1. A cloud clipboard system, comprising a cloud clipboard control center and multiple work parties in a user workspace, wherein the multiple work parties communicate with each other through a global transit center; A first working party among the multiple working parties is configured to send first event information to the cloud clipboard control center through the global transfer center when monitoring a cut / copy event occurring in itself; The second working party among the multiple working parties is configured to send second event information to the cloud clipboard control center through the global transit center when monitoring that a paste event occurs after the second working party receives the first event information; The cloud clipboard control center is configured to push the received first event information to other work parties in the user workspace except the first work party through the global transfer center; Upon receiving the second event information, copy the relevant data in the first work party to the second work party using the global transfer center, so that the second work party can complete the pasting; in, The type of the working party includes a physical terminal and / or a cloud instance; The first working party is further configured to: if the specification of the relevant data of the cut / copy event occurring in itself is smaller than a preset standard, then, in response to a data upload instruction sent by the global transit center to the first working party, write the relevant data into a message queue under a first message topic associated with the first working party, so as to transmit the relevant data to a message queue under a second message topic associated with the second working party through the cloud clipboard control center and the global transit center; If the specification of the relevant data of the cut / copy event that occurs in itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written into the first OSS area associated with the first work party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second work party through the global transit center.
2. The system according to claim 1, wherein a cloud clipboard proxy service is deployed in the worker. If the worker is a cloud instance, the process of the worker monitoring the cut / copy events and paste events occurring in the worker comprises: Receiving control data synchronized with the interface display terminal connected to the working party, wherein the control data is generated by a user controlling a peripheral device of the interface display terminal, and the interface display terminal is a physical terminal; If the cloud clipboard proxy service is used to sense that the manipulation data includes cut / copy behavior data, determining that a cut / copy event occurs in the working party; If the cloud clipboard proxy service is used to sense that the manipulation data includes paste behavior data, it is determined that a paste event occurs in the working party.
3. The system according to claim 2, if the first working party is a physical terminal, the second working party is a cloud instance, and the first working party serves as an interface display terminal of the second working party; then the first working party is configured to: When monitoring that a user performs a cut / copy action outside the display interface of the second work party through the user's peripheral device, sending a first event message to the cloud clipboard control center through the global transfer center to push the first event message to the second work party; When it is detected that the user performs a paste action within the display interface of the second work party through its peripheral device, the control data containing the paste action data is synchronized to the second work party, so that the second work party can monitor the paste event occurring in itself and trigger the pasting of the local data of the first work party into the second work party by sending the second event information to the cloud clipboard control center.
4. The system according to claim 1, wherein the first working party, in the process of sending the first event information to the cloud clipboard control center through the global transit center, is configured to: Sending the first event information to a message queue under a first message topic associated with the first working party, so as to transmit the first event information to the global transit center, to which the global transit center has subscribed to the first message topic; The cloud clipboard control center, in the process of pushing the received first event information to other work parties in the user workspace except the first work party through the global transfer center, is configured to: generating routing information for the other working parties in the user workspace and providing the routing information to the global transit center; The global transit center is used to route the first event information to the message queues under the message topics associated with the other working parties according to the routing information, so that the other working parties can receive the first event information by subscribing to the message topics.
5. The system according to claim 4 deploys message topics in different regions respectively, and the working parties are associated with the message topics deployed in their regions, and the multiple working parties are distributed in different regions.
6. The system according to claim 1, wherein the second working party is further configured to: After receiving the first event information, starting a callback function for the paste event; When a paste event is detected, the callback function is triggered to generate the second event information.
7. The system according to claim 1, wherein upon receiving the second event information, the cloud clipboard control center uses the global transfer center to copy the relevant data in the first work party to the second work party, for: Sending a data upload instruction to the first worker through the global transfer center to trigger the first worker to write the relevant data into its associated first storage location; copying the relevant data in the first storage location to a second storage location associated with the second working party through the global transfer center; A data download instruction is sent to the second worker through the global transfer center to trigger the second worker to download the relevant data from its associated second storage location.
8. According to the system of claim 7, the first storage location is the object storage OSS area set in the region where the first working party is located or the message queue under the first message topic associated with the first working party; the second storage location is the object storage OSS area set in the region where the second working party is located or the message queue under the second message topic associated with the second working party.
9. The system according to claim 7, wherein the global transfer center is further configured to: send the upload record information of the relevant data to the cloud clipboard control center; The cloud clipboard control center is also used to: when receiving the second event information, determine whether the relevant data corresponding to the second event information has upload record information; if so, no longer send data upload instructions to the first working party.
10. A cloud clipboard implementation method, applicable to a cloud clipboard management and control device in a cloud clipboard system, wherein: The cloud clipboard system also includes multiple work parties in the user workspace, and the multiple work parties are communicated with each other through a global transfer center; the method includes: receiving first event information sent by a first working party among the multiple working parties through the global transfer center, where the first event information is sent by the first working party when monitoring a cut / copy event occurring in the first working party; Pushing the received first event information to other work parties except the first work party in the user workspace through the global transfer center; receiving second event information sent by a second working party among the multiple working parties through the global transfer center, where the second event information is sent by the second working party when monitoring a paste event occurring in the second working party; Upon receiving the second event information, copy the relevant data in the first work party to the second work party using the global transfer center, so that the second work party can complete the pasting; Wherein, the types of the working parties include physical terminals and / or cloud instances; the first working party is further configured to: if the specification of the relevant data of the cut / copy event occurring in itself is less than a preset standard, then in response to the data upload instruction sent by the global transit center to the first working party, write the relevant data into the message queue under the first message topic associated with the first working party, so as to transmit the relevant data to the message queue under the second message topic associated with the second working party through the cloud clipboard control center and the global transit center; If the specification of the relevant data of the cut / copy event that occurs in itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written into the first OSS area associated with the first work party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second work party through the global transit center.
11. A method for implementing a cloud clipboard, applicable to multiple work parties within a user workspace in a cloud clipboard system, wherein the multiple work parties communicate with each other via a global transit center, and the cloud clipboard system further includes a cloud clipboard management and control device; the method comprising: When a cut / copy event is detected, the first event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can push the received first event information to other work parties in the user workspace through the global transfer center; Using the cloud clipboard control center and the global transfer center, providing relevant data corresponding to the first event information to the work party where the paste event occurs in the user workspace, so that the work party can complete the paste; When a paste event is detected, the second event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can copy the relevant data in the work party where the cut / copy event occurred in the user workspace to the local work party to complete the paste; The type of the working party includes a physical terminal and / or a cloud instance; The first working party among the multiple working parties is further configured to: if the specification of the relevant data of the cut / copy event occurring in itself is smaller than a preset standard, then, in response to a data upload instruction sent by the global transit center to the first working party, write the relevant data into a message queue under a first message topic associated with the first working party, so as to transmit the relevant data to a message queue under a second message topic associated with a second working party among the multiple working parties through the cloud clipboard control center and the global transit center; If the specification of the relevant data of the cut / copy event that occurs in itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written into the first OSS area associated with the first work party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second work party through the global transit center.
12. A cloud clipboard management and control device, comprising a memory, a processor, and a communication component; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: Receiving, by the communication component, first event information sent by a first worker in a user workspace of the cloud clipboard system through the global transfer center, the first event information being sent by the first worker when monitoring a cut / copy event occurring to the first worker; Pushing the received first event information to other work parties except the first work party in the user workspace through the global transfer center; Receiving, by the communication component, second event information sent by a second work party in the user workspace through the global transfer center, the second event information being sent by the second work party when monitoring a paste event occurring in itself; Upon receiving the second event information, copy the relevant data in the first work party to the second work party using the global transfer center, so that the second work party can complete the pasting; Wherein, multiple work parties in the user workspace are communicated with each other through a global transit center, and the types of the work parties include physical terminals and / or cloud instances; The first working party is further configured to: if the specification of the relevant data of the cut / copy event occurring in itself is smaller than a preset standard, then, in response to a data upload instruction sent by the global transit center to the first working party, write the relevant data into a message queue under a first message topic associated with the first working party, so as to transmit the relevant data to a message queue under a second message topic associated with the second working party through the cloud clipboard control center and the global transit center; If the specification of the relevant data of the cut / copy event that occurs in itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written into the first OSS area associated with the first work party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second work party through the global transit center.
13. A computing device comprising a memory, a processor, and a communication component; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: When a cut / copy event is detected, the first event information is sent to a cloud clipboard control center in the cloud clipboard system through the global transfer center, so that the cloud clipboard control center pushes the received first event information to other computing devices in the user workspace in the cloud clipboard system through the global transfer center; Using the cloud clipboard control center and the global transfer center, providing relevant data corresponding to the first event information to the computing device where the paste event occurred in the user workspace, so that the computing device can complete the paste; When a paste event is detected, the second event information is sent to the cloud clipboard control center through the global transfer center, so that the cloud clipboard control center can copy the relevant data in the computing device where the cut / copy event occurred in the user workspace to the local computing device to complete the paste; in, Multiple computing devices in the user workspace are communicated with each other through a global transit center, and the types of the computing devices include physical terminals and / or cloud instances; The first working party among the multiple computing devices is further configured to: if the specification of the relevant data of the cut / copy event occurring in itself is smaller than a preset standard, then, in response to a data upload instruction sent by the global transit center to the first working party, write the relevant data into a message queue under a first message topic associated with the first working party, so as to transmit the relevant data to a message queue under a second message topic associated with a second working party among the multiple computing devices through the cloud clipboard control center and the global transit center; If the specification of the relevant data of the cut / copy event that occurs in itself is not less than the preset standard, then in response to the data upload instruction, the relevant data will be written into the first OSS area associated with the first work party, so as to trigger the first OSS area to copy the relevant data to the second OSS area associated with the second work party through the global transit center.
14. A computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to execute the cloud clipboard implementation method described in any one of claims 10 or 11.
Citation Information
Patent Citations
Cloud-based virtual clipboard
CN102521018A
Cloud clipboard data synchronization method, device, cloud server and system
CN114301929A