WO2018032699A1 - 一种数据提取、粘贴处理的方法、装置及其系统 - Google Patents
一种数据提取、粘贴处理的方法、装置及其系统 Download PDFInfo
- Publication number
- WO2018032699A1 WO2018032699A1 PCT/CN2016/113382 CN2016113382W WO2018032699A1 WO 2018032699 A1 WO2018032699 A1 WO 2018032699A1 CN 2016113382 W CN2016113382 W CN 2016113382W WO 2018032699 A1 WO2018032699 A1 WO 2018032699A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- operating system
- exchange unit
- extracted
- pasting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Definitions
- the present invention relates to the field of data processing technologies, and in particular, to a data extraction and paste processing method, apparatus, and system thereof.
- Copy/cut and paste is a commonly effective user interface method in Android, Windows and other operating systems in smart devices. This method supports data sharing of source data information (such as text, images and other rich text objects) in different applications. For example, we can copy the information in the email in the live chat tool to send it, which brings great convenience to the user.
- source data information such as text, images and other rich text objects
- the technical problem to be solved by the present invention is that copying/cutting and pasting between different operating systems cannot be realized at present.
- the first aspect of the present invention provides a data extraction processing method, where the method includes:
- the first operating system listens to at least one data extraction operation, and obtains the extracted data corresponding to the at least one data extraction operation, where the data extraction operation includes a copy operation or a cut operation;
- the first operating system and the second operating system are different operating systems.
- the embodiment of the present invention further provides a data paste processing method, where the method includes:
- the second operating system listens to the paste operation
- the extracted data is sent by the first operating system through a data exchange unit, and the first operating system and the second operating system are different operating systems.
- the embodiment of the present invention further provides a method for data extraction and pasting between dual operating systems, where the method includes:
- the first operating system listens to at least one data extraction operation, obtains the extracted data corresponding to the at least one data extraction operation, and sends the extracted data to the data exchange unit;
- the data exchange unit sends the extracted data to a second operating system for data pasting
- the second operating system listens to the pasting operation, and pastes the extracted data according to the pasting operation
- the data extraction operation includes a copy operation or a cut operation; the first operating system and the second operating system are different operating systems.
- the embodiment of the present invention further provides a device for data extraction processing, which is applied to a first operating system, where the device includes:
- Extracting a monitoring module configured to listen to at least one data extraction operation, and obtain extraction data corresponding to the at least one data extraction operation, where the data extraction operation includes a copy operation or a cut operation;
- a sending module configured to send the extracted data to a data exchange unit, so that the data exchange unit sends the extracted data to a second operating system for data pasting
- the first operating system and the second operating system are different operating systems.
- the embodiment of the present invention further provides a device for data paste processing, which is applied to The second operating system, the device includes:
- a pasting module configured to paste according to the extracted data sent by the first operating system for the pasting operation
- the extracted data is sent by the first operating system through a data exchange unit, and the first operating system and the second operating system are different operating systems.
- the embodiment of the present invention further provides a system for extracting and pasting data between two operating systems, where the system includes: the above device for data extraction processing, the above device for data pasting processing, and a data exchange unit;
- the data exchange unit is configured to perform data transfer between the first operating system and the second operating system to implement data extraction and paste between the dual operating systems.
- the first operating system sends the extracted data corresponding to the at least one data extraction operation that is monitored by the first operating system to the data exchange unit, and sends the extracted data to the second operating system via the data exchange unit, in the second After the operating system listens to the paste operation, it pastes according to the received extracted data, and realizes copying/cutting and pasting of data between different operating systems.
- the invention solves the technical problem that copying/cutting and pasting between different operating systems cannot be realized at present; the technical effect of copying/cutting and pasting data between different operating systems is achieved.
- FIG. 1 is a flowchart of a first embodiment of a method for data extraction processing according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of a first implementation manner of a data exchange unit connected to a dual system according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a second implementation manner of a data exchange unit connected to a dual system according to an embodiment of the present invention
- FIG. 4 is a schematic diagram of a third implementation manner of a data exchange unit connected to a dual system according to an embodiment of the present invention
- FIG. 5 is a flowchart of a second embodiment of a method for data extraction processing according to an embodiment of the present invention.
- FIG. 6 is a flowchart of a first embodiment of a method for data paste processing according to an embodiment of the present invention
- FIG. 7 is a flowchart of a second embodiment of a method for data paste processing according to an embodiment of the present invention.
- FIG. 8 is a flowchart of a method for data extraction and pasting between dual operating systems according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of a first embodiment of an apparatus for data extraction processing according to an embodiment of the present invention.
- FIG. 10 is a structural block diagram of a second embodiment of an apparatus for data extraction processing according to an embodiment of the present invention.
- FIG. 11 is a diagram of a first embodiment of an apparatus for data paste processing according to an embodiment of the present invention. Block diagram
- FIG. 12 is a structural block diagram of a second embodiment of an apparatus for data paste processing according to an embodiment of the present invention.
- FIG. 13 is a schematic structural block diagram of a system for data extraction and paste between dual operating systems according to an embodiment of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- FIG. 1 is a flowchart of a first embodiment of a method for data extraction processing according to an embodiment of the present invention.
- the method of data extraction processing of this embodiment is mainly applied to an operating system on various terminals supporting data copy/cut operations.
- various terminals include personal computers (PCs), smart phones, tablets, mobile Internet devices (MIDs), etc.
- operating systems include Windows, Linux, Android, and the like.
- the data extraction processing method includes:
- Step S101 The first operating system listens to at least one data extraction operation, and obtains the extracted data corresponding to the at least one data extraction operation.
- the data extraction operation includes a copy operation or a cut operation, which may be a copy/cut operation on a file, a text or a picture; the extracted data includes content data of the extracted content and a corresponding cut Board data.
- the first operating system may be Windows, Linux, Android, or the like. Take the Android operating system commonly used on smart terminals as an example.
- the user application can be modified on the Android side, such as a file browser, a rich text editor, a picture browser, etc., for adding files, texts, Pictures (eg, maps) copy/cut and other functions.
- the content data of the extracted content is saved to the local, and the data such as the file location information is simultaneously called back to the ClipboardService of the Android system through the ClipData file format.
- Copying/cutting of text, images, and files can be done here through system services and application design.
- the Android standard Clipboard interface and data type can be used to achieve compatibility with the Android native interface, which is convenient for third-party applications to use this interface. In other operating systems, those skilled in the art may adapt according to the usage rules of the corresponding interfaces, and details are not described herein again.
- Step S102 Send the extracted data to a data exchange unit, so that the data exchange unit sends the extracted data to a second operating system for data pasting.
- the second operating system is an operating system different from the first operating system. If the first operating system is Android, then the second operating system can be Windows.
- the Android operating system is still taken as an example.
- the ClipData is parsed, and the data is transmitted by means of IPC (Inter-Process Conmmunication).
- IPC Inter-Process Conmmunication
- the ClipData is serialized and sent to the data exchange unit, and the content data of the extracted content mentioned above saved to the local is also sent to the data exchange unit.
- the content data can be sent to the data exchange unit together with the ClipData.
- different ports can be simultaneously transmitted, and the content data can also be sent to the data exchange unit one after the other, and the data is determined according to the transmission application scenario. .
- Sending the extracted data corresponding to the data extraction operation to the data exchange unit, so that the data exchange unit will The data is transferred to the second operating system for data pasting, so that the data extracted in the first operating system can be used for data pasting in the second operating system.
- the first operating system and the second operating system run on the same terminal.
- the first operating system and the second operating system may be dual-system designs such as Android+Windows that are commonly used in smart terminals.
- Android+Windows that are commonly used in smart terminals.
- the data exchange unit may be an MCU built in the terminal, and communicate with the first operating system and the second operating system respectively through the USB path; or the data exchange unit is a switch chip or a router chip built in the terminal, respectively, and the first through the network cable
- the operating system communicates with the second operating system; or the data exchange unit is a remote server that communicates with the first operating system and the second operating system through the data network. If the data exchange unit is a built-in MCU of the terminal, the data exchange unit can be used as a USB device with dual USB channels.
- the MCU When the MCU is used as a slave device to access the first operating system Android (still taking Android as an example), the dual system transmission service USBService in Android (Plug and Play Process Service) After enumerating to the MCU device, the extracted data described above is forwarded to the MCU.
- the data exchange unit is a switch chip or a router chip built in the terminal, the data exchange unit is equivalent to the network device, and the dual-system is connected through the network cable to perform the transfer of the extracted data; if the data exchange unit is the remote server, the terminal is passed through the terminal.
- the related application communicates with the first operating system and the second operating system via the data network.
- the first operating system and the second operating system respectively run on different terminals.
- the first operating system and the second operating system may be operating systems respectively running on different terminals.
- FIG. 4 is a schematic diagram of a third implementation manner of the data exchange unit connecting the dual system according to the embodiment of the present invention.
- the data exchange unit is a remote server, and can communicate with the first operating system and the second operating system via the data network through related applications on the terminal.
- the first operating system can send the extracted data corresponding to the data extraction operation monitored by the first operating system to the second operating system for data pasting through the data exchange unit, thereby realizing Data extraction and pasting between different operating systems.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- FIG. 5 is a flowchart of a second embodiment of a method for data extraction processing according to an embodiment of the present invention. The main difference between this embodiment and the first embodiment is that the transmission of the extracted data is further described.
- the data extraction processing method includes:
- Step S501 The first operating system listens to at least one data extraction operation, and obtains the extracted data corresponding to the at least one data extraction operation.
- the extracting data includes extracting content data of the content and corresponding clipboard data
- Step S502 Encrypt the content data in the extracted data.
- the operating system Android when the user extracts the file, text, and picture, the information is encrypted and saved to the local by the AES256 encryption algorithm, and the file location information and the like are simultaneously passed through the ClipData.
- the file format is called back to the ClipboardService of the Android system.
- a person skilled in the art can perform the encryption processing of the data before the communication according to the corresponding channel transmission protocol according to the corresponding channel transmission protocol, and details are not described herein again.
- Step S503 the encrypted data and the corresponding control information are sent to the data.
- Exchanging unit so that the data exchange unit sends the extracted data to a second operating system for data pasting.
- the first operating system and the second operating system are different operating systems.
- the control information transmission mainly transmits data length information, hash information, and preferably, if necessary, copy/cut ID information.
- the data length information is used to describe the length of the encrypted data sent to avoid loss during data transmission; the hash information is used for data integrity verification; and the copy/cut ID information is used to indicate that the data is system startup.
- the technical solution of the embodiment can not only extract and paste single data between different operating systems, but also implement batch extraction and paste of data between different operating systems.
- the data extraction operation is greater than one time, the extracted data corresponding to the data extraction operation is sent to the data exchange unit after each data extraction operation is monitored. That is, for batch extraction, each time the extraction operation is monitored, the extracted data corresponding to the extraction operation is immediately sent to the data exchange unit.
- the extracted data corresponding to the data extraction operation greater than one time is packaged and sent to the data exchange unit according to the predetermined time interval or the predetermined extraction number interval.
- the extracted data may not be sent once every time the extraction operation is monitored, but the extracted data corresponding to the several extraction operations may be sent together to the data exchange unit. In this way, when data is extracted and pasted between different operating systems, it is not necessary to frequently switch the operating system and the window, which greatly simplifies the user's operation.
- the extracted data is buffered by the data exchange unit to the storage area, and is sent by the data exchange unit to the second operating system after the second operating system is started.
- the first operating system can extract the extracted data corresponding to at least one data extraction operation that is monitored by the first operating system, and after being encrypted, send the data to the second operating system for pasting through the data exchange unit.
- a single/bulk data extraction and pasting between different operating systems is implemented.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- FIG. 6 is a flowchart of a first embodiment of a method for data paste processing according to an embodiment of the present invention.
- the method for data paste processing in this embodiment is mainly applied to an operating system on various terminals that support data paste operations.
- various terminals include personal computers (PCs), smart phones, tablets, mobile Internet devices (MIDs), etc.
- operating systems include Windows, Linux, Android, and the like.
- the method of data paste processing includes:
- step S601 the second operating system listens to the paste operation.
- the paste operation may be a paste operation on a file, a text, or a picture.
- the second operating system may be Windows, Linux, Android, or the like. To distinguish the first operating system Android exemplified in the previous embodiments, in the embodiment, the second operating system takes Windows as an example.
- Step S602 Perform pasteting according to the extracted data sent by the first operating system for the pasting operation.
- the extracted data is sent by the first operating system through a data exchange unit, and the first operating system and the second operating system are different operating systems.
- the dual system transmission service in the Windows system periodically reads the extracted data transferred by the Android system through the data exchange unit, and the extracted data includes content data of the extracted content and corresponding clipboard data, such as encryption of the content data. , decrypt the data first, and then the corresponding scissors The cutting board data is copied to the clipboard of the Windows system. After the user paste event occurs, paste according to the clipboard data in the clipboard.
- the first operating system and the second operating system run on the same terminal.
- the first operating system and the second operating system may be dual-system designs such as Android+Windows that are commonly used in smart terminals.
- Android+Windows that are commonly used in smart terminals.
- the data exchange unit may be an MCU built in the terminal, and communicate with the first operating system and the second operating system respectively through the USB path; or the data exchange unit is a switch chip or a router chip built in the terminal, respectively, and the first through the network cable
- the operating system communicates with the second operating system; or the data exchange unit is a remote server that communicates with the first operating system and the second operating system through the data network. If the data exchange unit is a built-in MCU of the terminal, the data exchange unit can be used as a USB device of the dual USB path.
- a dual system transmission service corresponding to the USBServiceWin corresponding to the first operating system Android is simultaneously run in the second operating system Windows.
- the dual system transmission service USBServiceWin in the Windows system reads the extracted data that is transferred from the first operating system Android through the MCU after enumerating to the MCU device.
- the data exchange unit is a switch chip or a router chip built in the terminal, the data exchange unit is equivalent to the network device, and the dual-system is connected through the network cable to perform the transfer of the extracted data; if the data exchange unit is the remote server, the terminal is passed through the terminal.
- the related application communicates with the first operating system and the second operating system via the data network.
- the first operating system and the second operating system respectively run on different terminals.
- the first operating system and the second operating system may be operating systems respectively running on different terminals. Pass through The technical solution of the embodiment can not only realize data extraction and paste across operating systems, but also realize data extraction and paste across the operating system and across machines.
- FIG. 4 is a schematic diagram of a third implementation manner of the data exchange unit connecting the dual system according to the embodiment of the present invention.
- the data exchange unit is a remote server, and can communicate with the first operating system and the second operating system via the data network through related applications on the terminal.
- the second operating system can obtain the extracted data corresponding to the data extraction operation monitored by the first operating system through the data exchange unit, and realize the operation between different operating systems. Data extraction and pasting.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- FIG. 7 is a flowchart of a second embodiment of a method for data pasting processing according to an embodiment of the present invention. The main difference between this embodiment and the third embodiment is that the bulk paste is further described.
- the method of data paste processing includes:
- Step S701 The second operating system receives at least one extracted data from the data exchange unit, and stores the received extracted data into a data queue of the designated storage area.
- the second operating system may receive multiple extracted data, and put the extracted data into a data queue for use in multiple pasting operations. Avoid the cumbersome operation that needs to be pasted once every time it is copied, which improves the user experience.
- the received reference data may be sequentially placed in the data queue according to the time information of the data extraction operation or the ID information extracted by the data, and the selected reference data may be sequentially selected according to the reference information.
- the extracted data is managed for subsequent paste operations.
- Step S702 The second operating system listens to the paste operation.
- Step S703 Extract the extracted data into the clipboard according to a preset extraction rule from the data queue.
- the preset extraction rule may be a first-in first-out extraction rule, or a last-in first-out extraction rule; or a user-specified extraction rule, that is, the user may select an extraction object in the data queue. Can be implemented by displaying the data entry of the data queue storage object to the user for the user to tick.
- the above extraction rules can be set according to user requirements.
- the user can perform rule setting in the system in advance, or display the configuration option dialog window in the preset area for the user to select and set.
- Step S704 performing pasteting according to the extracted extracted data for the pasting operation
- the extracted data is sent by the first operating system through a data exchange unit, and the first operating system and the second operating system are different operating systems.
- the first operating system and the second operating system run on the same terminal.
- the first operating system and the second operating system may be dual-system designs such as Android+Windows that are commonly used in smart terminals.
- Android+Windows that are commonly used in smart terminals.
- the first operating system and the second operating system respectively run on different terminals.
- the first operating system and the second operating system may be operating systems respectively running on different terminals.
- the second operating system can pass the number According to the exchange unit, the extracted data corresponding to the batch data extraction operation monitored in the first operating system is obtained, and the data is pasted and managed, and the data batch extraction and pasting between different operating systems is realized.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- FIG. 8 is a flowchart of a method for extracting and pasting data between dual operating systems according to an embodiment of the present invention, which embodies a flow of a method for extracting and pasting data between dual operating systems.
- the technical solution of this embodiment is based on the foregoing data.
- the method of the extraction process and the method of the data paste process described above, and the details not described in detail in the embodiment, may refer to the above-described method of data extraction processing and the embodiment of the above method of data paste processing.
- the method for extracting and pasting data between the dual operating systems includes:
- Step S801 The first operating system listens to at least one data extraction operation, obtains the extracted data corresponding to the at least one data extraction operation, and sends the extracted data to the data exchange unit.
- the technical solution of the embodiment can not only extract and paste single data between different operating systems, but also implement batch extraction and paste of data between different operating systems.
- the data extraction operation is greater than one time
- the extracted data corresponding to the data extraction operation is sent to the data exchange unit after each data extraction operation is monitored. That is, for batch extraction, each time the extraction operation is monitored, the extracted data corresponding to the extraction operation is immediately sent to the data exchange unit.
- the extracted data corresponding to the data extraction operation greater than one time is packaged and sent to the data exchange unit according to the predetermined time interval or the predetermined extraction number interval.
- the extracted data may not be sent once every time the extraction operation is monitored, but the extracted data corresponding to the several extraction operations may be sent together to the data exchange unit. In this way, when data is extracted and pasted between different operating systems, it is not necessary to frequently switch the operating system and the window, which greatly simplifies the user's operation.
- Step S802 the data exchange unit sends the extracted data to a second operating system for data pasting
- the data exchange unit before the data exchange unit sends the extracted data, it is determined whether the second operating system is started. If the second operating system is not started, the data exchange unit caches the extracted data to a storage area, and then sends the second operating system to the second operating system after being started.
- FIG. 2-4 are schematic diagrams of different implementation manners of a data exchange unit connected dual system according to an embodiment of the present invention.
- the data exchange unit may be an MCU built in the terminal, and communicate with the first operating system and the second operating system respectively through the USB path; or the data exchange unit is a switch chip or a router chip built in the terminal, respectively, and the first through the network cable
- the operating system communicates with the second operating system; or the data exchange unit is a remote server that communicates with the first operating system and the second operating system through the data network.
- the data exchange unit can be used as a USB device of the dual USB path to communicate with the dual system transmission service in the first operating system and the second operating system, and the dual system transmission service is the USBService.
- the MCU accesses the first operating system and the second operating system as USB slave devices, data is transferred between the two operating systems.
- the data exchange unit is a switch chip or a router chip built in the terminal, the data exchange unit is equivalent to the network device, and the dual system is used to perform the transfer of the extracted data through the network cable; if the data exchange unit is the remote server, the data is passed through.
- the network communicates with the first operating system and the second operating system, respectively.
- Step S803 The second operating system receives the extracted data, and when the paste operation is monitored, pastes the extracted data according to the pasting operation.
- the data extraction operation includes a copy operation or a cut operation; the first operating system and the second operating system are different operating systems; and the data extraction operation and the paste operation are respectively for files, texts, or pictures. Extracted actions and pasted actions.
- the first operating system and the second operating system run on the same terminal, or the first operating system and the second operating system respectively run on different terminals.
- the technical solution of the embodiment can implement data extraction and paste across operating systems, and can also extract and paste data across operating systems and across machines.
- the second operating system may receive multiple extracted data, and put the extracted data into a data queue for use in multiple pasting operations. After the paste event is monitored, the extracted data is extracted from the data queue according to a preset extraction rule to the clipboard. Avoid the cumbersome operation that needs to be pasted once every time it is copied, which improves the user experience.
- the received cut data may be sequentially placed in the data queue according to the time information of the data extraction operation or the ID information of the data extraction, and the related reference information may be sequentially placed according to the reference information.
- the selected extracted data is managed for subsequent paste operations.
- the first operating system sends the extracted data corresponding to the at least one extraction operation to the data exchange unit by listening to at least one extraction operation, and then the data exchange unit
- the extracted data is sent to the second operating system, and data single/batch extraction and pasting between different operating systems is realized.
- Embodiments of the apparatus for data extraction processing are the same as those of the first embodiment and the second embodiment of the data extraction processing method, and the details of the details of the apparatus for data extraction processing are not described in detail.
- FIG. 9 is a structural block diagram of a first embodiment of an apparatus for data extraction processing according to an embodiment of the present invention.
- the data extraction processing device is applied to the first operating system, and includes:
- An extraction monitoring module 901 configured to listen to at least one data extraction operation, obtain extraction data corresponding to the at least one data extraction operation, where the data extraction operation includes a copy operation or a cut operation;
- the sending module 902 is configured to send the extracted data to the data exchange unit, so that the data exchange unit sends the extracted data to the second operating system for data pasting;
- the first operating system and the second operating system are different operating systems.
- the extraction monitoring module 901 obtains the corresponding extracted data when the user extracts the file, text, and picture extraction operation, and performs communication with the data exchange unit through the dual system transmission service of the sending module 902, and the extraction is performed.
- the data is sent to the data exchange unit.
- the data exchange unit can transfer the received extracted data to the second operating system for data pasting.
- the extracted data is sent by the data exchange unit only after the second operating system is started.
- the second operating system is not started, the extracted data is cached to the storage area, and the second operation is performed. After the system is started, it is sent by the data exchange unit.
- the first operating system and the second operating system run on the same terminal, or the first operating system and the second operating system respectively run on different terminals.
- the technical solution of the embodiment can implement data extraction and paste across operating systems, and can also extract and paste data across operating systems and across machines.
- the data exchange unit may be an MCU built in the terminal, and communicate with the first operating system and the second operating system respectively through the USB path; or the data exchange unit is a switch chip or a router chip built in the terminal, respectively An operating system communicates with the second operating system; or the data exchange unit is a remote server that communicates with the first operating system and the second operating system through the data network.
- the first operating system can send the extracted data corresponding to the data extraction operation monitored by the first operating system to the second operating system for data pasting through the data exchange unit, thereby realizing Data extraction and pasting between different operating systems.
- FIG. 10 is a structural block diagram of a second embodiment of an apparatus for data extraction processing according to an embodiment of the present invention.
- the data extraction processing device is applied to the first operating system, and includes:
- the extraction monitoring module 1001 is configured to listen to at least one data extraction operation, obtain extraction data corresponding to the at least one data extraction operation, and the data extraction operation includes a copy operation or a cut operation;
- the extracting data includes extracting content data of the content and corresponding clipboard data
- the encryption module 1002 is configured to encrypt content data in the extracted data.
- the sending module 1003 is configured to send the encrypted data and the corresponding control information to the data exchange unit, so that the data exchange unit sends the extracted data to the second operating system for data pasting.
- the first operating system and the second operating system are different operating systems.
- the sending module 1003 also sends the control information corresponding to the extracted data when the extracted data after the encryption process is transmitted to the data exchange unit.
- the control information transmission mainly transmits data length information, hash information, and preferably, if necessary, copy/cut ID information.
- the data length information is used to describe the length of the encrypted data sent to avoid loss during data transmission; the hash information is used for data integrity verification; and the copy/cut ID information is used to indicate that the data is system startup. The data extracted after the first few times.
- the technical solution of the embodiment can not only extract and paste single data between different operating systems, but also implement batch extraction and paste of data between different operating systems.
- the extraction data corresponding to the data extraction operation is sent by the sending module 1003 to the data exchange unit after each data extraction operation is monitored. That is, for batch extraction, each time an extraction operation is monitored, the mention is sent immediately. The extracted data corresponding to the operation is taken to the data exchange unit.
- the sending module 1003 packages the extracted data corresponding to the data extraction operation that is greater than one time to the data exchange unit according to a predetermined time interval or a predetermined extraction number interval. That is, for the batch extraction, the extracted data may not be sent once every time the extraction operation is monitored, but the extracted data corresponding to the several extraction operations may be sent together to the data exchange unit. In this way, when data is extracted and pasted between different operating systems, it is not necessary to frequently switch the operating system and the window, which greatly simplifies the user's operation.
- the first operating system can extract the extracted data corresponding to at least one data extraction operation that is monitored by the first operating system, and after being encrypted, send the data to the second operating system for pasting through the data exchange unit.
- a single/bulk data extraction and pasting between different operating systems is implemented.
- the following is an embodiment of an apparatus for data paste processing provided by an embodiment of the present invention.
- the embodiment of the apparatus for data pasting processing and the third embodiment and the fourth embodiment of the method for data pasting processing belong to the same concept, and details of the details of the apparatus for data pasting processing are not described in detail.
- FIG. 11 is a structural block diagram of a first embodiment of an apparatus for data pasting processing according to an embodiment of the present invention.
- the data paste processing device is applied to the second operating system, including:
- the pasting module 1102 is configured to paste according to the extracted data sent by the first operating system for the pasting operation
- the extracted data is sent by the first operating system through the data exchange unit, the first operation
- the system is a different operating system than the second operating system.
- the paste module 1102 pastes the extracted data sent by the first operating system through the data exchange unit, so that the double can be implemented.
- Data extraction and pasting between operating systems Specifically, after the second operating system is started, the extracted data transferred by the data exchange unit is periodically read by the dual system transmission service.
- the device may include a decryption module 1103, and the decryption module 1103 The data is decrypted first, and then the corresponding data is copied to the clipboard of the Windows system.
- the user paste event occurs, paste according to the extracted data in the clipboard.
- the first operating system and the second operating system run on the same terminal, or the first operating system and the second operating system respectively run on different terminals.
- the technical solution of the embodiment can implement data extraction and paste across operating systems, and can also extract and paste data across operating systems and across machines.
- the data exchange unit may be an MCU built in the terminal, and communicate with the first operating system and the second operating system respectively through the USB path; or the data exchange unit is a switch chip or a router chip built in the terminal, respectively An operating system communicates with the second operating system; or the data exchange unit is a remote server that communicates with the first operating system and the second operating system through the data network.
- the second operating system can obtain the extracted data corresponding to the data extraction operation monitored by the first operating system through the data exchange unit, and realize the operation between different operating systems. Data extraction and pasting.
- FIG. 12 is a structural block diagram of a second embodiment of an apparatus for data paste processing according to an embodiment of the present invention.
- the data paste processing device is applied to the second operating system, including:
- the receiving module 1201 is configured to receive at least one extracted data from the data exchange unit before the paste listening module 1202 monitors the pasting operation, and store the received extracted data in a data queue of the designated storage area;
- the receiving module 1201 may receive a plurality of extracted data, and put the extracted data into a data queue for use in a multiple pasting operation. Avoid the cumbersome operation that needs to be pasted once every time it is copied, which improves the user experience.
- the extracting module 1203 is configured to extract the extracted data into the clipboard according to a preset extraction rule from the data queue;
- the preset extraction rule may be a first-in first-out extraction rule, or a last-in first-out extraction rule; or a user-specified extraction rule, that is, the user may select an extraction object in the data queue. Can be implemented by displaying the data entry of the data queue storage object to the user for the user to tick.
- the above extraction rules can be set according to user requirements.
- the user can perform rule setting in the system in advance, or display the configuration option dialog window in the preset area for the user to select and set.
- the pasting module 1204 is configured to paste according to the extracted extracted data for the pasting operation.
- the extracted data is sent by the first operating system through a data exchange unit, and the first operating system and the second operating system are different operating systems.
- the first operating system and the second operating system run on the same terminal, or the first An operating system and a second operating system are respectively running on different terminals.
- the technical solution of the embodiment can implement data extraction and paste across operating systems, and can also extract and paste data across operating systems and across machines.
- the second operating system can obtain the extracted data corresponding to the batch data extraction operation monitored by the first operating system through the data exchange unit, and paste and manage the data. Batch extraction and pasting of data between different operating systems is implemented.
- FIG. 13 is a structural block diagram of a system for data extraction and paste between dual operating systems according to an embodiment of the present invention.
- the system includes a device for data extraction processing, a device for data paste processing, and a data exchange unit.
- the data exchange unit is configured to perform data transfer between the first operating system and the second operating system to implement data between dual operating systems. Extract and paste.
- the device for data extraction processing is the device for data extraction processing in the sixth embodiment or the seventh embodiment
- the device for data paste processing is the device for data paste processing in the eighth embodiment or the ninth embodiment. Descriptions of the apparatus for data extraction processing and the apparatus for data pasting processing are not described herein again.
- the first operating system and the second operating system are different operating systems.
- the first operating system and the second operating system run on the same terminal, or the first operating system and the second operating system respectively run on different terminals.
- FIG. 2-4 are schematic diagrams of different implementation manners of a data exchange unit connected dual system according to an embodiment of the present invention.
- the data exchange unit may be an MCU built in the terminal, and communicate with the first operating system and the second operating system respectively through the USB path; or the data exchange unit is a switch chip or a router chip built in the terminal, respectively, and the first operation is performed through the network cable.
- the system communicates with the second operating system; Or the data exchange unit is a remote server, and communicates with the first operating system and the second operating system through the data network.
- the first operating system sends the extracted data corresponding to the at least one extraction operation to the data exchange unit by listening to at least one extraction operation, and then the data exchange unit The extracted data is sent to the second operating system, and data single/batch extraction and pasting between different operating systems is realized.
- the above units or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
- they may be implemented by program code executable by a computer device, which is executed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, the storage medium It can be: ROM/RAM, disk, optical disk, memory card, etc.; or they can be made into individual integrated circuit modules, or a plurality of modules or steps can be made into a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种数据提取、粘贴处理的方法、装置及其系统。在本发明的技术方案中,第一操作系统通过监听至少一次提取操作,将至少一次提取操作对应的提取数据发送至数据交换单元,再由数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴,实现了在不同操作系统之间的数据单次/批量提取和粘贴。解决了目前不能在不同操作系统间的复制/剪切和粘贴的技术问题;达到了不同操作系统间数据提取和粘贴的技术效果。
Description
本发明涉及数据处理技术领域,具体涉及一种数据提取、粘贴处理的方法、装置及其系统。
复制/剪切和粘贴是目前智能设备中Android、Windows等操作系统下普遍有效的用户接口方法,这种方法支持将源数据信息(如文本,图片等富文本对象)在不同应用中进行数据共享,比如说我们可以将电子邮件中的信息复制在实时聊天工具中进行发送,为用户带来了极大的便利。
但在目前的智能设备中,只能实现在同一操作系统下的复制/剪切和粘贴操作,而对于实现不同操作系统间的复制/剪切和粘贴,目前暂无相关的解决方案。
发明内容
针对现有技术中存在的上述问题,本发明所要解决的技术问题是目前不能实现在不同操作系统间的复制/剪切和粘贴。
为解决上述技术问题,第一方面,本发明实施例提供一种数据提取处理的方法,所述方法包括:
第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,所述数据提取操作包括复制操作或剪切操作;
将所述提取数据发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;
其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
第二方面,本发明实施例还同时提供了一种数据粘贴处理的方法,所述方法包括:
第二操作系统监听到粘贴操作;
针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴;
其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
第三方面,本发明实施例还同时提供了一种双操作系统间数据提取粘贴的方法,所述方法包括:
第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,将所述提取数据发送到数据交换单元;
所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;
第二操作系统监听到粘贴操作,针对所述粘贴操作,根据所述提取数据进行粘贴;
其中,所述数据提取操作包括复制操作或剪切操作;所述第一操作系统与所述第二操作系统为不同的操作系统。
第四方面,本发明实施例还同时提供了一种数据提取处理的装置,应用于第一操作系统,所述装置包括:
提取监听模块,用于监听至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,所述数据提取操作包括复制操作或剪切操作;
发送模块,用于将所述提取数据发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;
其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
第五方面,本发明实施例还同时提供了一种数据粘贴处理的装置,应用于
第二操作系统,所述装置包括:
粘贴监听模块,用于监听粘贴操作;
粘贴模块,用于针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴;
其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
第六方面,本发明实施例还同时提供了一种双操作系统间数据提取粘贴的系统,所述系统包括:以上的数据提取处理的装置、以上的数据粘贴处理的装置、以及数据交换单元;
所述数据交换单元用于在第一操作系统和第二操作系统之间进行数据中转,以实现双操作系统间数据提取和粘贴。
本发明实施例提供的技术方案带来的有益效果是:
通过在不同的操作系统间,第一操作系统将监听到的至少一次数据提取操作对应的提取数据发送到数据交换单元,经由数据交换单元将所述提取数据发送至第二操作系统,在第二操作系统监听到粘贴操作后,根据接收到的提取数据进行粘贴,实现了不同操作系统间数据的复制/剪切和粘贴。
本发明解决了目前不能实现在不同操作系统间的复制/剪切和粘贴的技术问题;达到了实现了不同操作系统间数据的复制/剪切和粘贴的技术效果。
为了更清楚地说明本发明实施例中的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是
本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据本发明实施例的内容和这些附图获得其他的附图。
图1是本发明实施例提供的一种数据提取处理的方法的第一个实施例的流程图;
图2是本发明实施例提供的数据交换单元连通双系统的第一实现方式示意图;
图3是本发明实施例提供的数据交换单元连通双系统的第二实现方式示意图;
图4是本发明实施例提供的数据交换单元连通双系统的第三实现方式示意图;
图5是本发明实施例提供的一种数据提取处理的方法的第二个实施例的流程图;
图6是本发明实施例提供的一种数据粘贴处理的方法的第一个实施例的流程图;
图7是本发明实施例提供的一种数据粘贴处理的方法的第二个实施例的流程图;
图8是本发明实施例提供的一种双操作系统间数据提取粘贴的方法的流程图;
图9是本发明实施例提供的一种数据提取处理的装置的第一个实施例的结构方框图;
图10是本发明实施例提供的一种数据提取处理的装置的第二个实施例的结构方框图;
图11是本发明实施例提供的一种数据粘贴处理的装置的第一个实施例的结
构方框图;
图12是本发明实施例提供的一种数据粘贴处理的装置的第二个实施例的结构方框图;
图13是本发明实施例提供的一种用于双操作系统间数据提取粘贴的系统的示意结构方框图。
为使本发明解决的技术问题、采用的技术方案和达到的技术效果更加清楚,下面将结合附图对本发明实施例的技术方案作进一步的详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例一:
图1是本发明实施例提供的一种数据提取处理的方法的第一个实施例的流程图。本实施例的数据提取处理的方法主要应用于支持数据复制/剪切操作的各种终端上的操作系统。其中,各种终端包括个人计算机(PC)、智能手机、平板电脑、移动互联网装置(Mobile Internet Device,MID)等,操作系统包括Windows、Linux、Android等。
该数据提取处理的方法,包括:
步骤S101、第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据。
其中,所述数据提取操作包括复制操作或剪切操作,可以是对文件、文本或图片的复制/剪切操作;所述提取数据包括提取内容的内容数据和对应的剪切
板数据。所述第一操作系统可以是Windows、Linux、Android等。以智能终端上常用的操作系统Android为例,通过应用程序的适配,可在Android端修改用户应用,比如文件浏览器、富文本编辑器、图片浏览器等等,为其增加文件、文本、图片(如,抠图)复制/剪切等功能。在监听到用户对文件、文本、图片的提取操作时,将这些提取内容的内容数据保存到本地,并同时将其文件位置信息等数据通过ClipData文件格式的方式回调给Android系统的ClipboardService。这里通过系统服务与应用设计可以实现文本、图片和文件的复制/剪切工作。使用了Android标准的Clipboard接口和数据类型可以实现Android原生接口的兼容,便于第三方应用对此接口的使用。其他操作系统中,本领域技术人员可根据相应接口的使用规则,进行适配,在次不再赘述。
步骤S102、将所述提取数据发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴。
其中,所述第二操作系统为与所述第一操作系统不同的操作系统。如第一操作系统为Android,那么第二操作系统就可以是Windows。
具体地,仍以Android操作系统为例,通过修改Android系统服务中的ClipboardService,当该服务检测到用户的复制事件的时候,解析ClipData,并将之数据通过IPC(Inter-Process Conmmunication)的方式传送给双系统传输服务进行数据中转。双系统传输服务获取到数据之后,将ClipData进行序列化发送到数据交换单元,并将上述提及的保存到本地的提取内容的内容数据也发送到数据交换单元。内容数据可以与ClipData一并发送到数据交换单元,如在网络传输模式下可以开不同端口同时传输,内容数据也可以与ClipData一先一后陆续发送到数据交换单元,根据传输应用场景不同而定。通过将与数据提取操作对应的这些提取数据发送到数据交换单元,以使所述数据交换单元将提
取数据中转至第二操作系统用以数据粘贴,实现了在第一操作系统中提取的数据能够在第二操作系统中用以数据粘贴的目的。
优选地,所述第一操作系统和第二操作系统运行在同一终端上。第一操作系统和第二操作系统可以是在智能终端中普遍采用的实时运行的如Android+Windows的双系统设计方案。这样通过本实施例的技术方案,能够实现跨操作系统的数据提取和粘贴。
具体地,若所述第一操作系统和第二操作系统运行在同一终端上,参见附图2-4,图2-4分别为本发明实施例提供的数据交换单元连通双系统的不同实现方式示意图。那么数据交换单元可以为终端内置的MCU,通过USB通路分别与第一操作系统和第二操作系统通信;或,所述数据交换单元为终端内置的交换机芯片或路由器芯片,通过网线分别与第一操作系统和第二操作系统通信;亦或,所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。若数据交换单元为终端内置的MCU,数据交换单元可以作为双USB通路的USB设备,当MCU作为从设备接入第一操作系统Android(仍以Android为例),Android中的双系统传输服务USBService(即插即用的进程服务)枚举到MCU设备之后,将上文介绍的提取数据转发给MCU。类似的,若数据交换单元为终端内置的交换机芯片或路由器芯片,则数据交换单元相当于网络设备,通过网线连通双系统进行提取数据的中转;若所述数据交换单元为远端服务器,通过终端上相关应用,经数据网络分别与第一操作系统和第二操作系统通信。
优选地,所述第一操作系统和第二操作系统分别运行在不同终端上。第一操作系统和第二操作系统可以是分别在不同终端上运行的操作系统。这样通过本实施例的技术方案,不但能够实现跨操作系统的数据提取和粘贴,还能够实现既跨操作系统又跨机器的数据提取和粘贴。
具体地,若所述第一操作系统和第二操作系统分别运行在不同终端上,参见附图4,图4为本发明实施例提供的数据交换单元连通双系统的第三实现方式示意图。那么数据交换单元为远端服务器,可通过终端上相关应用,经数据网络分别与第一操作系统和第二操作系统通信。
通过本发明实施例的一种数据提取处理的方法,第一操作系统能够将其监听到的数据提取操作对应的提取数据,通过数据交换单元发送至第二操作系统用以数据粘贴,实现了在不同操作系统之间的数据提取和粘贴。
实施例二:
图5是本发明实施例提供的一种数据提取处理的方法的第二个实施例的流程图,本实施例与实施例一的主要区别在于对提取数据的传输进行了进一步的说明。
该数据提取处理的方法,包括:
步骤S501、第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据。
其中,所述提取数据包括提取内容的内容数据和对应的剪切板数据;
步骤S502、将所述提取数据中的内容数据进行加密。
具体地,继续以操作系统Android为例,在监听到用户的对文件、文本、图片的提取操作时,将这些信息通过AES256加密算法加密保存到本地,并同时将其文件位置信息等数据通过ClipData文件格式的方式回调给Android系统的ClipboardService。在对应不同的操作系统中,本领域技术人员可以按照对应通道传输协议通过现有技术手段进行通信前数据的加密处理,在此不再赘述。
步骤S503、将加密处理后的所述提取数据及其对应的控制信息发送到数据
交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴。
其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
具体地,在将加密处理后的提取数据传输给数据交换单元时也会发送提取数据对应的控制信息。控制信息传输主要传输数据长度信息、哈希(Hash)信息,优选地,必要时还可以有复制/剪切ID信息。其中,数据长度信息用以描述所发加密数据的长度,避免数据传输过程中的丢失;哈希信息用于进行数据完整性的校验;复制/剪切ID信息用以表示该数据是系统启动后第几次提取的数据。
需要说明的是,本实施例的技术方案不但能够实现不同操作系统间单次数据的提取和粘贴,还可以实现不同操作系统间对数据的批量提取和粘贴。优选地,若所述数据提取操作大于一次,则在每次监听到数据提取操作后,将该数据提取操作对应的提取数据发送到数据交换单元。即,对于批量提取,每监听到一次提取操作,就立即发送该提取操作对应的提取数据到数据交换单元。或,若所述数据提取操作大于一次,则按预定时间间隔或预定提取次数间隔,将大于一次的数据提取操作对应的提取数据打包发送到数据交换单元。即,对于批量提取,也可以不在每次监听到提取操作就发一次提取数据,而是将几次提取操作对应的提取数据一起发送到数据交换单元。这样在不同操作系统间进行数据的提取和粘贴时,不必频繁进行操作系统和窗口的切换,大大简化了用户的操作。
另外,如果所述第二操作系统未启动,所述提取数据由所述数据交换单元缓存至储存区,待第二操作系统启动后再由所述数据交换单元发送至所述第二操作系统。
通过本发明实施例的一种数据提取处理的方法,第一操作系统能够将其监听到的至少一次数据提取操作对应的提取数据,经加密后通过数据交换单元发送至第二操作系统用以粘贴,实现了在不同操作系统之间的单次/批量数据提取和粘贴。
实施例三:
图6是本发明实施例提供的一种数据粘贴处理的方法的第一个实施例的流程图,本实施例的数据粘贴处理的方法主要应用于支持数据粘贴操作的各种终端上的操作系统。其中,各种终端包括个人计算机(PC)、智能手机、平板电脑、移动互联网装置(Mobile Internet Device,MID)等,操作系统包括Windows、Linux、Android等。
该数据粘贴处理的方法,包括:
步骤S601、第二操作系统监听到粘贴操作。
其中,所述粘贴操作可以是对文件、文本或图片的粘贴操作。所述第二操作系统可以是Windows、Linux、Android等。为区别前几个实施例中例举的第一操作系统Android,本实施例中,第二操作系统以Windows为例。
步骤S602、针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴。
其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
具体地,Windows系统中的双系统传输服务定期会读取Android系统通过数据交换单元中转过来的提取数据,所述提取数据包括提取内容的内容数据和对应的剪切板数据,如内容数据有加密,将这些数据先进行解密,再将对应的剪
切板数据拷贝到Windows系统的剪切板中。待用户粘贴事件发生,根据剪切板中的剪切板数据进行粘贴。
优选地,所述第一操作系统和第二操作系统运行在同一终端上。第一操作系统和第二操作系统可以是在智能终端中普遍采用的实时运行的如Android+Windows的双系统设计方案。这样通过本实施例的技术方案,能够实现跨操作系统的数据提取和粘贴。
具体地,若所述第一操作系统和第二操作系统运行在同一终端上,参见附图2-4,图2-4分别为本发明实施例提供的数据交换单元连通双系统的不同实现方式示意图。那么数据交换单元可以为终端内置的MCU,通过USB通路分别与第一操作系统和第二操作系统通信;或,所述数据交换单元为终端内置的交换机芯片或路由器芯片,通过网线分别与第一操作系统和第二操作系统通信;亦或,所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。若数据交换单元为终端内置的MCU,数据交换单元可以作为双USB通路的USB设备,这时在第二操作系统Windows中同时运行着一个和第一操作系统Android中对应的USBServiceWin的双系统传输服务。当MCU作为从设备接入第二操作系统Windows时,Windows系统中的双系统传输服务USBServiceWin在枚举到MCU设备之后,读取第一操作系统Android通过MCU中转过来的提取数据。类似的,若数据交换单元为终端内置的交换机芯片或路由器芯片,则数据交换单元相当于网络设备,通过网线连通双系统进行提取数据的中转;若所述数据交换单元为远端服务器,通过终端上相关应用,经数据网络分别与第一操作系统和第二操作系统通信。
优选地,所述第一操作系统和第二操作系统分别运行在不同终端上。第一操作系统和第二操作系统可以是分别在不同终端上运行的操作系统。这样通过
本实施例的技术方案,不但能够实现跨操作系统的数据提取和粘贴,还能够实现既跨操作系统又跨机器的数据提取和粘贴。
具体地,若所述第一操作系统和第二操作系统分别运行在不同终端上,参见附图4,图4为本发明实施例提供的数据交换单元连通双系统的第三实现方式示意图。那么数据交换单元为远端服务器,可通过终端上相关应用,经数据网络分别与第一操作系统和第二操作系统通信。
通过本发明实施例的一种数据粘贴处理的方法,第二操作系统能够通过数据交换单元,获得第一操作系统中监听到的数据提取操作对应的提取数据,实现了在不同操作系统之间的数据提取和粘贴。
实施例四:
图7是本发明实施例提供的一种数据粘贴处理的方法的第二个实施例的流程图,本实施例与实施例三的主要区别在于对批量粘贴进行了进一步说明。
该数据粘贴处理的方法,包括:
步骤S701、第二操作系统从所述数据交换单元接收至少一个提取数据,并把接收到的提取数据存入指定存储区的数据队列中。
具体地,针对数据的批量提取和粘贴,第二操作系统可以接收多个提取数据,将这些提取数据放入数据队列中,以供多次粘贴操作使用。避免每复制一次就需要粘贴一次的繁琐操作,提升了用户的使用体验。
优选地,可根据数据提取操作的时间信息或数据提取的ID信息等相关参考信息,按照先后顺序,将接收到的所述提取数据依次放入数据队列中,可根据上述参考信息对这些待选的提取数据进行管理,以便后续的粘贴操作。
步骤S702、第二操作系统监听到粘贴操作。
步骤S703、从所述数据队列中按照预设提取规则,提取所述提取数据到剪切板中。
具体地,预设提取规则可以是先进先出的提取规则,也可以是后进先出的提取规则;当然也可以是用户指定提取的提取规则,即用户可以对数据队列中的提取对象进行选定,可通过向用户显示数据队列存储对象的数据条目,以供用户勾选来实现。上述提取规则可以根据用户需求进行设置。优选地,用户可以预先在系统中进行规则设置,也可以通过在预设区域内显示配置选项对话窗口,以供用户选择和设置。还可以在预设区域内显示提示信息,提示数据队列中当前及下一个可用于粘贴的信息等,用户可据此了解粘贴对象,进行调整、更换和删除等管理操作,避免因粘贴的信息不是用户需要的信息而要重新进行粘贴的问题,提高了批量提取粘贴的便利性和易用性。
步骤S704、针对所述粘贴操作,根据提取的所述提取数据进行粘贴;
其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
优选地,所述第一操作系统和第二操作系统运行在同一终端上。第一操作系统和第二操作系统可以是在智能终端中普遍采用的实时运行的如Android+Windows的双系统设计方案。这样通过本实施例的技术方案,能够实现跨操作系统的数据提取和粘贴。
优选地,所述第一操作系统和第二操作系统分别运行在不同终端上。第一操作系统和第二操作系统可以是分别在不同终端上运行的操作系统。这样通过本实施例的技术方案,不但能够实现跨操作系统的数据提取和粘贴,还能够实现既跨操作系统又跨机器的数据提取和粘贴。
通过本发明实施例的一种数据粘贴处理的方法,第二操作系统能够通过数
据交换单元,获得第一操作系统中监听到的批量数据提取操作对应的提取数据,并对这些数据进行粘贴管理,实现了在不同操作系统之间的数据批量提取和粘贴。
实施例五:
图8是本发明实施例提供的一种双操作系统间数据提取粘贴的方法的流程图,其体现了双操作系统间数据提取粘贴的方法的流程,本实施例的技术方案基于上述一种数据提取处理的方法和上述一种数据粘贴处理的方法,本实施例中未详尽描述的细节内容,可以参考上述一种数据提取处理的方法和上述一种数据粘贴处理的方法的实施例。
该双操作系统间数据提取粘贴的方法,包括:
步骤S801、第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,将所述提取数据发送到数据交换单元。
具体地,本实施例的技术方案不但能够实现不同操作系统间单次数据的提取和粘贴,还可以实现不同操作系统间对数据的批量提取和粘贴。优选地,若所述数据提取操作大于一次,则在每次监听到数据提取操作后,将该数据提取操作对应的提取数据发送到数据交换单元。即,对于批量提取,每监听到一次提取操作,就立即发送该提取操作对应的提取数据到数据交换单元。或,若所述数据提取操作大于一次,则按预定时间间隔或预定提取次数间隔,将大于一次的数据提取操作对应的提取数据打包发送到数据交换单元。即,对于批量提取,也可以不在每次监听到提取操作就发一次提取数据,而是将几次提取操作对应的提取数据一起发送到数据交换单元。这样在不同操作系统间进行数据的提取和粘贴时,不必频繁进行操作系统和窗口的切换,大大简化了用户的操作。
步骤S802、所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;
具体地,在数据交换单元发送所述提取数据之前,会先判断所述第二操作系统是否启动。若所述第二操作系统未启动,则所述数据交换单元将所述提取数据缓存至储存区,待所述第二操作系统启动后再发送至第二操作系统。
参见附图2-4,图2-4分别为本发明实施例提供的数据交换单元连通双系统的不同实现方式示意图。那么数据交换单元可以为终端内置的MCU,通过USB通路分别与第一操作系统和第二操作系统通信;或,所述数据交换单元为终端内置的交换机芯片或路由器芯片,通过网线分别与第一操作系统和第二操作系统通信;亦或,所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。若数据交换单元为终端内置的MCU,数据交换单元可以作为双USB通路的USB设备,与第一操作系统和第二操作系统中的双系统传输服务进行通信,这时双系统传输服务即为USBService。当MCU作为USB从设备分别接入第一操作系统和第二操作系统时,在两个操作系统之间进行数据的中转。类似的,若数据交换单元为终端内置的交换机芯片或路由器芯片,则数据交换单元相当于网络设备,通过网线连通双系统进行提取数据的中转;若所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。
步骤S803、第二操作系统接收所述提取数据,在监听到粘贴操作时,针对所述粘贴操作,根据所述提取数据进行粘贴。
其中,所述数据提取操作包括复制操作或剪切操作;所述第一操作系统与所述第二操作系统为不同的操作系统;所述数据提取操作和粘贴操作分别为针对文件、文本或图片提取的操作和粘贴的操作。
优选地,所述第一操作系统和第二操作系统运行在同一终端上,或所述第一操作系统和第二操作系统分别运行在不同终端上。本实施例的技术方案既可以实现跨操作系统的数据提取和粘贴,也可以实现既跨操作系统又跨机器的数据提取和粘贴。
具体地,针对数据的批量提取和粘贴,第二操作系统可以接收多个提取数据,将这些提取数据放入数据队列中,以供多次粘贴操作使用。在监听到粘贴事件后,从所述数据队列中按照预设提取规则,提取所述提取数据到剪切板中。避免每复制一次就需要粘贴一次的繁琐操作,提升了用户的使用体验。
优选地,可根据数据提取操作的时间信息或数据提取的ID信息等相关参考信息,按照先后顺序,将接收到的所述剪切数据依次放入数据队列中,可根据上述参考信息对这些待选的提取数据进行管理,以便后续的粘贴操作。
通过本发明实施例的一种双操作系统间数据提取粘贴的方法,第一操作系统通过监听至少一次提取操作,将至少一次提取操作对应的提取数据发送至数据交换单元,再由数据交换单元将所述提取数据发送至第二操作系统,实现了在不同操作系统之间的数据单次/批量提取和粘贴。
以下为本发明实施例提供的数据提取处理的装置的实施例。数据提取处理的装置的实施例与上述的一种数据提取处理的方法的实施例一和实施例二属于同一构思,数据提取处理的装置的实施例中未详尽描述的细节内容,可以参考上述一种数据提取处理的方法的实施例。
实施例六:
图9是本发明实施例提供的一种数据提取处理的装置的第一个实施例的结构方框图。该数据提取处理的装置,应用于第一操作系统,包括:
提取监听模块901,用于监听至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,所述数据提取操作包括复制操作或剪切操作;
发送模块902,用于将所述提取数据发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;
其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
本实施例中,提取监听模块901在监听到用户对文件、文本、图片的提取操作时,会获得对应的提取数据,通过发送模块902的双系统传输服务进行与数据交换单元的通信,将提取数据发送给数据交换单元。这样,数据交换单元就可以将接收到的提取数据进行中转,发至第二操作系统用以数据粘贴。需要说明的是,所述提取数据只有在第二操作系统启动后才由所述数据交换单元发送,第二操作系统未启动时,所述提取数据被缓存至储存区,待所述第二操作系统启动后再由数据交换单元发送。所述第一操作系统和第二操作系统运行在同一终端上,或所述第一操作系统和第二操作系统分别运行在不同终端上。本实施例的技术方案既可以实现跨操作系统的数据提取和粘贴,也可以实现既跨操作系统又跨机器的数据提取和粘贴。
其中,数据交换单元可以为终端内置的MCU,通过USB通路分别与第一操作系统和第二操作系统通信;或,所述数据交换单元为终端内置的交换机芯片或路由器芯片,通过网线分别与第一操作系统和第二操作系统通信;亦或,所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。
通过本发明实施例的一种数据提取处理的装置,第一操作系统能够将其监听到的数据提取操作对应的提取数据,通过数据交换单元发送至第二操作系统用以数据粘贴,实现了在不同操作系统之间的数据提取和粘贴。
实施例七:
图10是本发明实施例提供的一种数据提取处理的装置的第二个实施例的结构方框图。该数据提取处理的装置,应用于第一操作系统,包括:
提取监听模块1001,用于监听至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,所述数据提取操作包括复制操作或剪切操作;
其中,所述提取数据包括提取内容的内容数据和对应的剪切板数据;
加密模块1002,用于将所述提取数据中的内容数据进行加密;
发送模块1003,用于将加密处理后的所述提取数据及其对应的控制信息发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴。
其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
具体地,发送模块1003在将加密处理后的提取数据传输给数据交换单元时也会发送提取数据对应的控制信息。控制信息传输主要传输数据长度信息、哈希(Hash)信息,优选地,必要时还可以有复制/剪切ID信息。其中,数据长度信息用以描述所发加密数据的长度,避免数据传输过程中的丢失;哈希信息用于进行数据完整性的校验;复制/剪切ID信息用以表示该数据是系统启动后第几次提取的数据。
需要说明的是,本实施例的技术方案不但能够实现不同操作系统间单次数据的提取和粘贴,还可以实现不同操作系统间对数据的批量提取和粘贴。优选地,若提取监听模块1001监听到的所述数据提取操作大于一次,则在每次监听到数据提取操作后,由发送模块1003将该数据提取操作对应的提取数据发送到数据交换单元。即,对于批量提取,每监听到一次提取操作,就立即发送该提
取操作对应的提取数据到数据交换单元。或,若提取监听模块1001监听到的所述数据提取操作大于一次,则发送模块1003按预定时间间隔或预定提取次数间隔,将大于一次的数据提取操作对应的提取数据打包发送到数据交换单元。即,对于批量提取,也可以不在每次监听到提取操作就发一次提取数据,而是将几次提取操作对应的提取数据一起发送到数据交换单元。这样在不同操作系统间进行数据的提取和粘贴时,不必频繁进行操作系统和窗口的切换,大大简化了用户的操作。
通过本发明实施例的一种数据提取处理的装置,第一操作系统能够将其监听到的至少一次数据提取操作对应的提取数据,经加密后通过数据交换单元发送至第二操作系统用以粘贴,实现了在不同操作系统之间的单次/批量数据提取和粘贴。
以下为本发明实施例提供的数据粘贴处理的装置的实施例。数据粘贴处理的装置的实施例与上述的一种数据粘贴处理的方法的实施例三和实施例四属于同一构思,数据粘贴处理的装置的实施例中未详尽描述的细节内容,可以参考上述一种数据粘贴处理的方法的实施例。
实施例八:
图11是本发明实施例提供的一种数据粘贴处理的装置的第一个实施例的结构方框图。该数据粘贴处理的装置,应用于第二操作系统,包括:
粘贴监听模块1101,用于监听粘贴操作;
粘贴模块1102,用于针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴;
其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操
作系统与所述第二操作系统为不同的操作系统。
本实施例中,粘贴监听模块1101在监听到用户对文件、文本、图片的粘贴操作时,会通过粘贴模块1102根据第一操作系统经数据交换单元发来的提取数据进行粘贴,这样可以实现双操作系统间的数据提取和粘贴。具体地,第二操作系统启动后,通过双系统传输服务定期读取数据交换单元中转过来的提取数据,如有数据有加密,优选地,该装置可包括解密模块1103,通过解密模块1103将这些数据先进行解密,再拷贝相应数据到Windows系统的剪切板中。待用户粘贴事件发生,根据剪切板中的提取数据进行粘贴。所述第一操作系统和第二操作系统运行在同一终端上,或所述第一操作系统和第二操作系统分别运行在不同终端上。本实施例的技术方案既可以实现跨操作系统的数据提取和粘贴,也可以实现既跨操作系统又跨机器的数据提取和粘贴。
其中,数据交换单元可以为终端内置的MCU,通过USB通路分别与第一操作系统和第二操作系统通信;或,所述数据交换单元为终端内置的交换机芯片或路由器芯片,通过网线分别与第一操作系统和第二操作系统通信;亦或,所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。
通过本发明实施例的一种数据粘贴处理的装置,第二操作系统能够通过数据交换单元,获得第一操作系统中监听到的数据提取操作对应的提取数据,实现了在不同操作系统之间的数据提取和粘贴。
实施例九:
图12是本发明实施例提供的一种数据粘贴处理的装置的第二个实施例的结构方框图。该数据粘贴处理的装置,应用于第二操作系统,包括:
接收模块1201,用于在粘贴监听模块1202监听到粘贴操作之前,从所述数据交换单元接收至少一个提取数据,并把接收到的提取数据存入指定存储区的数据队列中;
具体地,针对数据的批量提取和粘贴,接收模块1201可以接收多个提取数据,将这些提取数据放入数据队列中,以供多次粘贴操作使用。避免每复制一次就需要粘贴一次的繁琐操作,提升了用户的使用体验。
粘贴监听模块1202,用于监听粘贴操作;
提取模块1203,用于从所述数据队列中按照预设提取规则,提取所述提取数据到剪切板中;
具体地,预设提取规则可以是先进先出的提取规则,也可以是后进先出的提取规则;当然也可以是用户指定提取的提取规则,即用户可以对数据队列中的提取对象进行选定,可通过向用户显示数据队列存储对象的数据条目,以供用户勾选来实现。上述提取规则可以根据用户需求进行设置。优选地,用户可以预先在系统中进行规则设置,也可以通过在预设区域内显示配置选项对话窗口,以供用户选择和设置。还可以在预设区域内显示提示信息,提示数据队列中当前及下一个可用于粘贴的信息等,用户可据此了解粘贴对象,进行调整、更换和删除等管理操作,避免因粘贴的信息不是用户需要的信息而要重新进行粘贴的问题,提高了批量提取粘贴的便利性和易用性。
粘贴模块1204,用于针对所述粘贴操作,根据提取的所述提取数据进行粘贴。
其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
优选地,所述第一操作系统和第二操作系统运行在同一终端上,或所述第
一操作系统和第二操作系统分别运行在不同终端上。本实施例的技术方案既可以实现跨操作系统的数据提取和粘贴,也可以实现既跨操作系统又跨机器的数据提取和粘贴。
通过本发明实施例的一种数据粘贴处理的装置,第二操作系统能够通过数据交换单元,获得第一操作系统中监听到的批量数据提取操作对应的提取数据,并对这些数据进行粘贴管理,实现了在不同操作系统之间的数据批量提取和粘贴。
实施例十:
图13是本发明实施例提供的一种用于双操作系统间数据提取粘贴的系统的结构方框图。该系统包括数据提取处理的装置、数据粘贴处理的装置、以及数据交换单元;所述数据交换单元用于在第一操作系统和第二操作系统之间进行数据中转,以实现双操作系统间数据提取和粘贴。其中,数据提取处理的装置如实施例六或实施例七中的数据提取处理的装置,数据粘贴处理的装置如实施例八或实施例九中的数据粘贴处理的装置。对于数据提取处理的装置和数据粘贴处理的装置的描述在此不再赘述。
具体地,所述第一操作系统与所述第二操作系统为不同的操作系统。所述第一操作系统和所述第二操作系统运行在同一终端上,或所述第一操作系统和所述第二操作系统分别运行在不同终端上。
参见附图2-4,图2-4分别为本发明实施例提供的数据交换单元连通双系统的不同实现方式示意图。数据交换单元可以为终端内置的MCU,通过USB通路分别与第一操作系统和第二操作系统通信;或,所述数据交换单元为终端内置的交换机芯片或路由器芯片,通过网线分别与第一操作系统和第二操作系统通信;
亦或,所述数据交换单元为远端服务器,通过数据网络分别与第一操作系统和第二操作系统通信。
通过本发明实施例的一种双操作系统间数据提取粘贴的系统,第一操作系统通过监听至少一次提取操作,将至少一次提取操作对应的提取数据发送至数据交换单元,再由数据交换单元将所述提取数据发送至第二操作系统,实现了在不同操作系统之间的数据单次/批量提取和粘贴。
显然,本领域技术人员应该明白,上述的本发明实施例的各单元或各步骤可以用通用的计算装置来实现,它们可以集中在单个计算装置上,或者分布在多个计算装置所组成的网络上,可选地,他们可以用计算机装置可执行的程序代码来实现,通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质可以是:ROM/RAM、磁碟、光盘、存储卡等;或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件的结合。
虽然以上结合优选实施例对本发明进行了描述,但本领域的技术人员应该理解,本发明所述的方法和系统并不限于具体实施方式中所述的实施例,在不背离由所附权利要求书限定的本发明精神和范围的情况下,可对本发明作出各种修改、增加、以及替换。
Claims (20)
- 一种数据提取处理的方法,其特征在于,所述方法包括:第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,所述数据提取操作包括复制操作或剪切操作;将所述提取数据发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
- 根据权利要求1所述的方法,其特征在于,所述提取数据包括提取内容的内容数据和对应的剪切板数据;所述将所述提取数据发送到数据交换单元之前,还包括:将所述内容数据进行加密;所述方法还包括:将所述提取数据对应的控制信息发送到所述数据交换单元。
- 根据权利要求1所述的方法,其特征在于,所述将所述提取数据发送到数据交换单元,包括:若所述数据提取操作大于一次,则在每次监听到数据提取操作后,将该数据提取操作对应的提取数据发送到数据交换单元;或,若所述数据提取操作大于一次,则按预定时间间隔或预定提取次数间隔,将大于一次的数据提取操作对应的提取数据打包发送到数据交换单元。
- 根据权利要求1所述的方法,其特征在于,在所述第二操作系统未启动时,所述提取数据由所述数据交换单元缓存至储存区,待第二操作系统启动后再由所述数据交换单元发送至所述第二操作系统。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述数据提取操作为针对文件、文本或图片提取的操作;所述提取数据包括提取内容的内容数据 和对应的剪切板数据;所述数据交换单元为MCU,通过USB通路分别与所述第一操作系统和所述第二操作系统通信;或,所述数据交换单元为交换机芯片或路由器芯片,通过网线分别与所述第一操作系统和所述第二操作系统通信;或,所述数据交换单元为远端服务器,通过数据网络分别与所述第一操作系统和所述第二操作系统通信;将所述提取数据发送到数据交换单元,包括:将所述内容数据和所述剪切板数据一并发送到数据交换单元,或将所述内容数据和所述剪切板数据分别发送到数据交换单元。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述第一操作系统和所述第二操作系统运行在同一终端上,或所述第一操作系统和所述第二操作系统分别运行在不同终端上。
- 一种数据粘贴处理的方法,其特征在于,所述方法包括:第二操作系统监听到粘贴操作;针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴;其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
- 根据权利要求7所述的方法,其特征在于,所述第二操作系统监听到粘贴操作之前,还包括:所述第二操作系统从所述数据交换单元接收至少一个提取数据,并把接收到的提取数据存入指定存储区的数据队列中;所述针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴之前,包括:从所述数据队列中按照预设提取规则,提取所述提取数据到剪切板中。
- 根据权利要求7所述的方法,其特征在于,所述提取数据包括提取内容的内容数据和对应的剪切板数据;所述针对所述粘贴操作,根据由第一操作系统发来的提取数据进行粘贴之前,还包括:解密接收到的由所述数据交换单元发来的所述内容数据,并将对应的剪切板数据发送至剪切板。
- 根据权利要求7-9任一项所述的方法,其特征在于,所述粘贴操作为针对文件、文本或图片粘贴的操作;所述提取数据包括提取内容的内容数据和对应的剪切板数据;所述数据交换单元为MCU,通过USB通路分别与所述第一操作系统和所述第二操作系统通信;或,所述数据交换单元为交换机芯片或路由器芯片,通过网线分别与所述第一操作系统和所述第二操作系统通信;或,所述数据交换单元为远端服务器,通过数据网络分别与所述第一操作系统和所述第二操作系统通信。
- 根据权利要求7-9任一项所述的方法,其特征在于,所述第一操作系统和所述第二操作系统运行在同一终端上,或所述第一操作系统和所述第二操作系统分别运行在不同终端上。
- 一种双操作系统间数据提取粘贴的方法,其特征在于,所述方法包括:第一操作系统监听到至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,将所述提取数据发送到数据交换单元;所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;第二操作系统监听到粘贴操作,针对所述粘贴操作,根据所述提取数据进行粘贴;其中,所述数据提取操作包括复制操作或剪切操作;所述第一操作系统与所述第二操作系统为不同的操作系统。
- 根据权利要求12所述的方法,其特征在于,所述将所述提取数据发送到数据交换单元,包括:若所述数据提取操作大于一次,则在每次监听到数据提取操作后,将该数据提取操作对应的提取数据发送到数据交换单元;或,若所述数据提取操作大于一次,则按预定时间间隔或预定提取次数间隔,将大于一次的数据提取操作对应的提取数据打包发送到数据交换单元。
- 根据权利要求12所述的方法,其特征在于,所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴之前,还包括:判断所述第二操作系统是否启动;若所述第二操作系统未启动,则所述数据交换单元将所述提取数据缓存至储存区,待所述第二操作系统启动后再发送至第二操作系统。
- 根据权利要求12所述的方法,其特征在于,所述第二操作系统监听到粘贴操作之前,还包括:所述第二操作系统从所述数据交换单元接收至少一个提取数据,并把接收到的提取数据存入指定存储区的数据队列中;所述针对所述粘贴操作,根据所述提取数据进行粘贴之前,包括:从所述数据队列中按照预设提取规则,提取所述提取数据到剪切板中。
- 根据权利要求12-15任一项所述的方法,其特征在于,所述数据提取操作和粘贴操作分别为针对文件、文本或图片提取的操作和粘贴的操作;所述提取数据包括提取内容的内容数据和对应的剪切板数据;所述数据交换单元为MCU,通过USB通路分别与所述第一操作系统和所述第二操作系统通信;或,所述数据交换单元为交换机芯片或路由器芯片,通过网线分别与所述第一操作系统和所述第二操作系统通信;或,所述数据交换单元为远端服务器,通过数据网络分别与所述第一操作系统和所述第二操作系统通信;将所述提取数据发送到数据交换单元,包括:将所述内容数据和所述剪切板数据一并发送到数据交换单元,或将所述内容数据和所述剪切板数据分别发送到数据交换单元。
- 根据权利要求12-15任一项所述的方法,其特征在于,所述第一操作系统和所述第二操作系统运行在同一终端上,或所述第一操作系统和所述第二操作系统分别运行在不同终端上。
- 一种数据提取处理的装置,应用于第一操作系统,其特征在于,所述装置包括:提取监听模块,用于监听至少一次数据提取操作,获得所述至少一次数据提取操作对应的提取数据,所述数据提取操作包括复制操作或剪切操作;发送模块,用于将所述提取数据发送到数据交换单元,以使所述数据交换单元将所述提取数据发送至第二操作系统用以数据粘贴;其中,所述第一操作系统与所述第二操作系统为不同的操作系统。
- 一种数据粘贴处理的装置,应用于第二操作系统,其特征在于,所述装置包括:粘贴监听模块,用于监听粘贴操作;粘贴模块,用于针对所述粘贴操作,根据由第一操作系统发来的提取数据 进行粘贴;其中,所述提取数据由第一操作系统通过数据交换单元发来,所述第一操作系统与所述第二操作系统为不同的操作系统。
- 一种用于双操作系统间数据提取粘贴的系统,其特征在于,所述系统包括:如权利要求18所述的数据提取处理的装置、如权利要求19所述的数据粘贴处理的装置、以及数据交换单元;所述数据交换单元用于在第一操作系统和第二操作系统之间进行数据中转,以实现双操作系统间数据提取和粘贴。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610679462.X | 2016-08-17 | ||
| CN201610679462.XA CN106302123A (zh) | 2016-08-17 | 2016-08-17 | 一种数据提取、粘贴处理的方法、装置及其系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018032699A1 true WO2018032699A1 (zh) | 2018-02-22 |
Family
ID=57679000
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/113382 Ceased WO2018032699A1 (zh) | 2016-08-17 | 2016-12-30 | 一种数据提取、粘贴处理的方法、装置及其系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106302123A (zh) |
| WO (1) | WO2018032699A1 (zh) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109726028B (zh) * | 2019-01-17 | 2023-05-26 | 江苏保旺达软件技术有限公司 | 一种中间存储方法 |
| CN112306612B (zh) * | 2020-11-03 | 2025-10-24 | 西安万像电子科技有限公司 | 文档内容复制方法、装置、存储介质和处理器 |
| CN112306613A (zh) * | 2020-11-03 | 2021-02-02 | 西安万像电子科技有限公司 | 文件复制方法、装置、存储介质和处理器 |
| CN112306611B (zh) * | 2020-11-03 | 2024-06-21 | 西安万像电子科技有限公司 | 文件复制方法、装置、存储介质和处理器 |
| CN112565425B (zh) * | 2020-12-03 | 2021-08-06 | 南京机敏软件科技有限公司 | 在多个跨云服务器主机会话的云应用程序间进行拷贝粘贴的方法 |
| CN112445578B (zh) * | 2020-12-11 | 2023-06-16 | 西安万像电子科技有限公司 | 零终端数据处理系统及其文件复制方法、装置 |
| CN112445579B (zh) * | 2020-12-11 | 2023-07-21 | 西安万像电子科技有限公司 | 零终端数据处理系统及其文件复制方法、装置 |
| CN113778714B (zh) * | 2021-09-13 | 2024-01-09 | 北京技德系统技术有限公司 | 一种Linux兼容Android的共享剪切板方法及装置 |
| CN114035976B (zh) * | 2021-10-20 | 2024-11-26 | 北京字节跳动网络技术有限公司 | 一种粘贴板共享方法、装置、设备、介质和产品 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103186430A (zh) * | 2011-12-30 | 2013-07-03 | 联想(北京)有限公司 | 文件操作装置及方法,和对应的数字处理设备和数字处理系统 |
| CN103530342A (zh) * | 2013-10-08 | 2014-01-22 | 贝壳网际(北京)安全技术有限公司 | 数据共享方法及装置 |
| CN103761154A (zh) * | 2014-01-27 | 2014-04-30 | 宇龙计算机通信科技(深圳)有限公司 | 一种跨平台同步剪切板的方法和系统 |
| CN105242856A (zh) * | 2015-10-29 | 2016-01-13 | 维沃移动通信有限公司 | 一种移动终端多系统间共享数据的方法和移动终端 |
| WO2016009085A1 (en) * | 2014-07-17 | 2016-01-21 | Blackberry Limited | Cross-domain data sharing with permission control |
| CN105511862A (zh) * | 2015-11-30 | 2016-04-20 | 用友优普信息技术有限公司 | 信息的复制粘贴方法及复制粘贴装置 |
| CN105812412A (zh) * | 2014-12-30 | 2016-07-27 | 中兴通讯股份有限公司 | 传输处理、远程处理方法及装置 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040054836A1 (en) * | 2002-09-18 | 2004-03-18 | Cheng-Shing Lai | Method of data access by simulating an external device to be a hard disk drive |
| JP2005293047A (ja) * | 2004-03-31 | 2005-10-20 | Fujitsu Ltd | データ交換システム、方法及びプログラム |
| CN103036933A (zh) * | 2011-09-29 | 2013-04-10 | 蔡政伟 | 云端剪贴簿的系统及其方法 |
-
2016
- 2016-08-17 CN CN201610679462.XA patent/CN106302123A/zh active Pending
- 2016-12-30 WO PCT/CN2016/113382 patent/WO2018032699A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103186430A (zh) * | 2011-12-30 | 2013-07-03 | 联想(北京)有限公司 | 文件操作装置及方法,和对应的数字处理设备和数字处理系统 |
| CN103530342A (zh) * | 2013-10-08 | 2014-01-22 | 贝壳网际(北京)安全技术有限公司 | 数据共享方法及装置 |
| CN103761154A (zh) * | 2014-01-27 | 2014-04-30 | 宇龙计算机通信科技(深圳)有限公司 | 一种跨平台同步剪切板的方法和系统 |
| WO2016009085A1 (en) * | 2014-07-17 | 2016-01-21 | Blackberry Limited | Cross-domain data sharing with permission control |
| CN105812412A (zh) * | 2014-12-30 | 2016-07-27 | 中兴通讯股份有限公司 | 传输处理、远程处理方法及装置 |
| CN105242856A (zh) * | 2015-10-29 | 2016-01-13 | 维沃移动通信有限公司 | 一种移动终端多系统间共享数据的方法和移动终端 |
| CN105511862A (zh) * | 2015-11-30 | 2016-04-20 | 用友优普信息技术有限公司 | 信息的复制粘贴方法及复制粘贴装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106302123A (zh) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018032699A1 (zh) | 一种数据提取、粘贴处理的方法、装置及其系统 | |
| US11178225B2 (en) | Data files synchronization with cloud storage service | |
| US10019591B1 (en) | Low-latency media sharing | |
| EP2761426B1 (en) | Implementation of secure communications in a support system | |
| CN102891890B (zh) | 一种终端之间的交互方法及相关设备、系统 | |
| WO2022252632A1 (zh) | 一种数据加密处理方法、装置、计算机设备及存储介质 | |
| CN102946440B (zh) | 一种基于云存储技术的自动云同步与恢复系统 | |
| WO2020220536A1 (zh) | 一种数据备份的方法、装置及计算机可读存储介质 | |
| US9917915B2 (en) | Information processing system, information processing apparatus, terminal apparatus and information transmission method for ordered transmission of stored information to be synchronously displayed at terminal apparatuses | |
| CN111478974B (zh) | 网络连接方法及装置、电子设备和可读存储介质 | |
| CN113382029A (zh) | 文件数据处理方法及装置 | |
| KR20170092436A (ko) | 번역시스템과 방법 | |
| WO2023246927A1 (zh) | 云桌面系统、网络重定向方法、设备及存储介质 | |
| CN112650456A (zh) | 打印方法、装置和电子设备 | |
| WO2015124053A1 (zh) | 触发终端的方法及相关设备 | |
| CN116954530B (zh) | 一种打印机数据处理方法以及服务器 | |
| CN108093015A (zh) | 文件传输系统 | |
| CN114844860B (zh) | 微信企业号的处理方法、装置、设备和介质 | |
| US9374559B1 (en) | Low-latency media sharing | |
| TWI253586B (en) | Control system for controlling a plurality of computers | |
| WO2023051096A1 (zh) | 访问资源的方法及电子设备 | |
| CN102769663B (zh) | 一种传递信息的服务器及方法、信息传递系统 | |
| CN110266705B (zh) | 一种控制方法及系统 | |
| WO2020000765A1 (zh) | 离线数据存储方法、装置、计算机设备及存储介质 | |
| CN113656817A (zh) | 数据加密方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16913451 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16913451 Country of ref document: EP Kind code of ref document: A1 |