CN117221338A - Remote copying method, device, equipment and machine-readable storage medium - Google Patents

Remote copying method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN117221338A
CN117221338A CN202311086183.9A CN202311086183A CN117221338A CN 117221338 A CN117221338 A CN 117221338A CN 202311086183 A CN202311086183 A CN 202311086183A CN 117221338 A CN117221338 A CN 117221338A
Authority
CN
China
Prior art keywords
keyboard
access protocol
server
keyboard access
protocol message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311086183.9A
Other languages
Chinese (zh)
Inventor
陈含欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Information Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Information Technologies Co Ltd filed Critical New H3C Information Technologies Co Ltd
Priority to CN202311086183.9A priority Critical patent/CN117221338A/en
Publication of CN117221338A publication Critical patent/CN117221338A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The present disclosure provides a remote copy method, apparatus, device, and machine-readable storage medium, the method comprising: receiving a keyboard key-in signal sent by a remote device through a preset channel; according to the keyboard access protocol allowed by the local equipment, converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol; and sending a keyboard access protocol message to a server OS associated with the BMC management device, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in a target input box according to the keyboard access protocol message. According to the technical scheme, the data to be copied is converted into the keyboard typing signal through the specific KVM conversion format, then the keyboard typing signal is transmitted to the BMC of the server in a KVM control mode, after the BMC simulates the keyboard typing signal, the data to be copied is copied in a keyboard typing mode on the OS side of the server, and therefore operation is convenient and fast, and efficiency is high.

Description

Remote copying method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a remote replication method, apparatus, device, and machine-readable storage medium.
Background
KVM: keyboard Video Mouse keyboard, display and mouse, the screen of the server can be viewed through the management network, and the operations of the mouse and the keyboard can be performed on the screen. PC: personal Computer personal computer. OS: operating System.
The BMC is a hardware monitoring system of the server equipment, and simultaneously provides the capability of an out-of-band monitoring server for the operation and maintenance system, and provides a convenient and reliable channel for users (and external operation and maintenance systems) to communicate with the server. Among the functions, KVM is one of the important portals that a user can log in remotely and operate a server.
The KVM client is an application program running on a PC end of the remote equipment, the KVM client uses a network card of the PC end to carry out network communication with the BMC, on one hand, the BMC sends a video signal of a host to the KVM client, the KVM client decodes and plays the video signal, on the other hand, the KVM client can send mouse and keyboard operation of the PC to the BMC through a network, and the BMC sends the mouse and keyboard operation to the CPU through a USB protocol, so that the KVM operation and management of the server are realized.
Besides basic two functions (video and mouse button), the KVM can realize mirror image mounting, the BMC virtualizes a USB CD-ROM through USB hardware resources, when a server reads the content on a CD-ROM medium, the BMC converts a USB protocol into a TCP protocol and sends the TCP protocol to the KVM, then the KVM reads the local ISO file content and returns the local ISO file content to the BMC, and the BMC converts a TCP protocol response message into a USB protocol packet and returns the USB protocol packet to the server, so that a machine room server can access mirror image files of a remote PC end.
However, when the user needs to obtain the text content of the PC side at the server side, the text content can be obtained only by storing the text in the file and placing the text in the folder of the PC side, and the function of mounting the folder by KVM is used, which firstly makes the file into a file with a hard disk mirror image format, and then shares the file with the host side through the virtual disk device of the BMC, so that the server side is very inconvenient.
Disclosure of Invention
In view of the above, the present disclosure provides a remote copy method, apparatus, electronic device, and machine-readable storage medium, so as to improve the above-mentioned problem of inconvenience in remote copying specific data.
The technical scheme is as follows:
the present disclosure provides a remote copy method applied to a BMC management device, the method comprising: receiving a keyboard key-in signal sent by a remote device through a preset channel, wherein the keyboard key-in signal is obtained by converting the remote device according to data to be copied in a specific KVM conversion format; according to the keyboard access protocol allowed by the local equipment, converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol; and sending a keyboard access protocol message to a server OS associated with the BMC management device, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in a target input box according to the keyboard access protocol message.
As a technical solution, the sending a keyboard access protocol packet to a server OS associated with a BMC management device, where the keyboard access protocol packet is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol packet, includes: and sending a keyboard access protocol message to a server OS (operating system) associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to receive the keyboard access protocol message, calling a keyboard input function according to the keyboard access protocol message, and typing data at a current input position according to key trigger data carried by the keyboard access protocol message.
As a technical solution, the keyboard key input signal is obtained by converting, by a remote device, to a specific KVM conversion format according to data to be copied, including: the remote equipment divides a data file to be copied into a plurality of data packets according to a preset size, and generates keyboard typing signals comprising data of a data format which can be typed through a keyboard according to the data packets and a preset conversion format one by one; the receiving remote device keys in a signal through a keyboard sent by a preset channel, and the receiving remote device comprises: receiving keyboard key-in signals sent by the remote equipment one by one through a preset channel one by one; the method for converting the keyboard typing signal into the keyboard access protocol message according to the keyboard access protocol allowed by the local equipment comprises the following steps: according to the keyboard access protocol allowed by the local equipment, keyboard typing signals are converted into keyboard access protocol messages one by one according to the keyboard access protocol; the sending a keyboard access protocol message to a server OS associated with the BMC management device, where the keyboard access protocol message is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol message, and the method includes: and sending keyboard access protocol messages to a server OS associated with the BMC management equipment one by one, wherein the keyboard access protocol messages are used for enabling the server OS to receive a plurality of keyboard access protocol messages with association relations, typing data to be copied in a target input box one by one according to the keyboard access protocol messages, generating corresponding data packets one by one in a reverse conversion mode according to a conversion format, and combining the data packets to generate a data file to be copied.
As a technical scheme, the preset channel is a TCP network transmission channel, and/or the keyboard access protocol allowed by the local device is a USB protocol or a PS2 protocol.
The present disclosure also provides a remote copy apparatus applied to a BMC management device, the apparatus including: the first module is used for receiving a keyboard key-in signal sent by the remote equipment through a preset channel, wherein the keyboard key-in signal is obtained by converting the remote equipment in a specific KVM conversion format according to data to be copied; the second module is used for converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol allowed by the local equipment; and the third module is used for sending a keyboard access protocol message to a server OS associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in the target input box according to the keyboard access protocol message.
As a technical solution, the sending a keyboard access protocol packet to a server OS associated with a BMC management device, where the keyboard access protocol packet is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol packet, includes: and sending a keyboard access protocol message to a server OS (operating system) associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to receive the keyboard access protocol message, calling a keyboard input function according to the keyboard access protocol message, and typing data at a current input position according to key trigger data carried by the keyboard access protocol message.
As a technical solution, the keyboard key input signal is obtained by converting, by a remote device, to a specific KVM conversion format according to data to be copied, including: the remote equipment divides a data file to be copied into a plurality of data packets according to a preset size, and generates keyboard typing signals comprising data of a data format which can be typed through a keyboard according to the data packets and a preset conversion format one by one; the receiving remote device keys in a signal through a keyboard sent by a preset channel, and the receiving remote device comprises: receiving keyboard key-in signals sent by the remote equipment one by one through a preset channel one by one; the method for converting the keyboard typing signal into the keyboard access protocol message according to the keyboard access protocol allowed by the local equipment comprises the following steps: according to the keyboard access protocol allowed by the local equipment, keyboard typing signals are converted into keyboard access protocol messages one by one according to the keyboard access protocol; the sending a keyboard access protocol message to a server OS associated with the BMC management device, where the keyboard access protocol message is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol message, and the method includes: and sending keyboard access protocol messages to a server OS associated with the BMC management equipment one by one, wherein the keyboard access protocol messages are used for enabling the server OS to receive a plurality of keyboard access protocol messages with association relations, typing data to be copied in a target input box one by one according to the keyboard access protocol messages, generating corresponding data packets one by one in a reverse conversion mode according to a conversion format, and combining the data packets to generate a data file to be copied.
As a technical scheme, the preset channel is a TCP network transmission channel, and/or the keyboard access protocol allowed by the local device is a USB protocol or a PS2 protocol.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the foregoing remote copy method.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the foregoing remote copy method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
the data to be copied is converted into keyboard typing signals through a specific KVM conversion format, then the keyboard typing signals are transmitted to the BMC of the server in a KVM control mode, and after the BMC simulates the keyboard typing signals, the data to be copied is copied on the OS side of the server in a keyboard typing mode, so that the operation is convenient and fast, and the efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required to be used in the embodiments of the present disclosure or the description of the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may also be obtained according to these drawings of the embodiments of the present disclosure to those skilled in the art.
FIG. 1 is a flow chart of a remote copy method in one embodiment of the present disclosure;
FIG. 2 is a flow chart of a remote copy method in one embodiment of the present disclosure;
fig. 3 is a hardware configuration diagram of an electronic device in one embodiment of the present disclosure.
Reference numerals: a first module 21, a second module 22, a third module 23.
Detailed Description
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
In a technical scheme, a server side remotely acquires text content of remote equipment through a function of a mounting folder of a KVM, wherein the KVM firstly makes the folder into a hard disk mirror image file, utilizes a BMC to virtualize a USB CD driver through USB hardware resources, when the server reads the content on a CD driver medium, the BMC converts a USB protocol into a TCP protocol and sends the TCP protocol to the KVM, then the KVM reads the content of the hard disk mirror image file made by the folder and returns the content to the BMC, and the BMC converts a TCP protocol response message into a USB protocol packet and returns the USB protocol packet to the server. The text content of the remote device is acquired through the function of the KVM mounting folder, the text is required to be saved in the folder, the folder is manufactured into an image file, and the text content can be acquired and edited on the server side through a virtual USB CD-ROM of the BMC, so that the process is complicated.
In view of the above, the present disclosure provides a remote copy method, apparatus, electronic device, and machine-readable storage medium, so as to improve the above technical problems.
The specific technical scheme is as follows.
In one embodiment, the present disclosure provides a remote copy method applied to a BMC management device, the method comprising: receiving a keyboard key-in signal sent by a remote device through a preset channel, wherein the keyboard key-in signal is obtained by converting the remote device according to data to be copied in a specific KVM conversion format; according to the keyboard access protocol allowed by the local equipment, converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol; and sending a keyboard access protocol message to a server OS associated with the BMC management device, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in a target input box according to the keyboard access protocol message.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, receiving a keyboard key-in signal sent by a remote device through a preset channel;
step S12, according to the keyboard access protocol allowed by the local equipment, converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol;
and step S13, a keyboard access protocol message is sent to a server OS associated with the BMC management device.
The data to be copied is converted into keyboard typing signals through a specific KVM conversion format, then the keyboard typing signals are transmitted to the BMC of the server in a KVM control mode, and after the BMC simulates the keyboard typing signals, the data to be copied is copied on the OS side of the server in a keyboard typing mode, so that the operation is convenient and fast, and the efficiency is high.
The method comprises the steps of converting the data to be copied in a specific KVM conversion format, wherein the specific KVM conversion format comprises the steps of converting characters corresponding to keyboard keys into keyboard key data; characters which do not correspond to the keyboard key positions, such as Chinese characters, special symbols and other language characters, are converted into characters corresponding to the keyboard key positions by an input method agreed by the remote equipment and the server OS side, and are further converted into keyboard key position data. The data to be copied of the non-character class is firstly converted into character class data, and the conversion is further carried out.
In one embodiment, the sending, to a server OS associated with the BMC management device, a keyboard access protocol packet, where the keyboard access protocol packet is used to enable the server OS to type, in a target input box, data to be copied according to the keyboard access protocol packet, includes: and sending a keyboard access protocol message to a server OS (operating system) associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to receive the keyboard access protocol message, calling a keyboard input function according to the keyboard access protocol message, and typing data at a current input position according to key trigger data carried by the keyboard access protocol message.
In one embodiment, the keyboard key-in signal is converted by the remote device in a specific KVM conversion format according to the data to be copied, and includes: the remote equipment divides a data file to be copied into a plurality of data packets according to a preset size, and generates keyboard typing signals comprising data of a data format which can be typed through a keyboard according to the data packets and a preset conversion format one by one; the receiving remote device keys in a signal through a keyboard sent by a preset channel, and the receiving remote device comprises: receiving keyboard key-in signals sent by the remote equipment one by one through a preset channel one by one; the method for converting the keyboard typing signal into the keyboard access protocol message according to the keyboard access protocol allowed by the local equipment comprises the following steps: according to the keyboard access protocol allowed by the local equipment, keyboard typing signals are converted into keyboard access protocol messages one by one according to the keyboard access protocol; the sending a keyboard access protocol message to a server OS associated with the BMC management device, where the keyboard access protocol message is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol message, and the method includes: and sending keyboard access protocol messages to a server OS associated with the BMC management equipment one by one, wherein the keyboard access protocol messages are used for enabling the server OS to receive a plurality of keyboard access protocol messages with association relations, typing data to be copied in a target input box one by one according to the keyboard access protocol messages, generating corresponding data packets one by one in a reverse conversion mode according to a conversion format, and combining the data packets to generate a data file to be copied.
In an embodiment, the preset channel is a TCP network transmission channel, and/or the keyboard access protocol allowed by the local device is a USB protocol or a PS2 protocol.
In one implementation, a user selects text content to be copied to a server side of a computer room at a PC side for compiling and copying, at the moment, the text content is stored in a paste board of a system, the user opens a text editor in an OS of the server side through KVM, clicks a copy text function of the KVM, triggers a copying process, a KVM client program reads the text content in the paste board, identifies and converts the text content into a keyboard input signal, the input signal is transmitted to the BMC side through TCP, the BMC converts the signal into USB protocol content, the USB protocol content is transmitted to the server through keyboard drive, the server receives the keyboard input signal and outputs the keyboard input signal to the text editor of the server, remote text copying and pasting are completed, and the user can edit the text content at the server side.
In one embodiment, the present disclosure also provides a remote copy apparatus, as shown in fig. 2, applied to a BMC management device, where the apparatus includes: the first module is used for receiving a keyboard key-in signal sent by the remote equipment through a preset channel, wherein the keyboard key-in signal is obtained by converting the remote equipment in a specific KVM conversion format according to data to be copied; the second module is used for converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol allowed by the local equipment; and the third module is used for sending a keyboard access protocol message to a server OS associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in the target input box according to the keyboard access protocol message.
In one embodiment, the sending, to a server OS associated with the BMC management device, a keyboard access protocol packet, where the keyboard access protocol packet is used to enable the server OS to type, in a target input box, data to be copied according to the keyboard access protocol packet, includes: and sending a keyboard access protocol message to a server OS (operating system) associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to receive the keyboard access protocol message, calling a keyboard input function according to the keyboard access protocol message, and typing data at a current input position according to key trigger data carried by the keyboard access protocol message.
In one embodiment, the keyboard key-in signal is converted by the remote device in a specific KVM conversion format according to the data to be copied, and includes: the remote equipment divides a data file to be copied into a plurality of data packets according to a preset size, and generates keyboard typing signals comprising data of a data format which can be typed through a keyboard according to the data packets and a preset conversion format one by one; the receiving remote device keys in a signal through a keyboard sent by a preset channel, and the receiving remote device comprises: receiving keyboard key-in signals sent by the remote equipment one by one through a preset channel one by one; the method for converting the keyboard typing signal into the keyboard access protocol message according to the keyboard access protocol allowed by the local equipment comprises the following steps: according to the keyboard access protocol allowed by the local equipment, keyboard typing signals are converted into keyboard access protocol messages one by one according to the keyboard access protocol; the sending a keyboard access protocol message to a server OS associated with the BMC management device, where the keyboard access protocol message is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol message, and the method includes: and sending keyboard access protocol messages to a server OS associated with the BMC management equipment one by one, wherein the keyboard access protocol messages are used for enabling the server OS to receive a plurality of keyboard access protocol messages with association relations, typing data to be copied in a target input box one by one according to the keyboard access protocol messages, generating corresponding data packets one by one in a reverse conversion mode according to a conversion format, and combining the data packets to generate a data file to be copied.
In an embodiment, the preset channel is a TCP network transmission channel, and/or the keyboard access protocol allowed by the local device is a USB protocol or a PS2 protocol.
The device embodiments are the same as or similar to the corresponding method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the foregoing remote copy method, and from a hardware level, a hardware architecture diagram may be seen in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the foregoing remote copy method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like. For example, a machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware when implementing the present disclosure.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. A remote copy method for a BMC management device, the method comprising:
receiving a keyboard key-in signal sent by a remote device through a preset channel, wherein the keyboard key-in signal is obtained by converting the remote device according to data to be copied in a specific KVM conversion format;
according to the keyboard access protocol allowed by the local equipment, converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol;
and sending a keyboard access protocol message to a server OS associated with the BMC management device, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in a target input box according to the keyboard access protocol message.
2. The method of claim 1, wherein the sending a keyboard access protocol message to a server OS associated with the BMC management device, the keyboard access protocol message configured to enable the server OS to type data to be replicated in the target input box according to the keyboard access protocol message, comprises:
and sending a keyboard access protocol message to a server OS (operating system) associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to receive the keyboard access protocol message, calling a keyboard input function according to the keyboard access protocol message, and typing data at a current input position according to key trigger data carried by the keyboard access protocol message.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the keyboard typing signal is obtained by converting the remote device in a specific KVM conversion format according to the data to be copied, and comprises the following steps:
the remote equipment divides a data file to be copied into a plurality of data packets according to a preset size, and generates keyboard typing signals comprising data of a data format which can be typed through a keyboard according to the data packets and a preset conversion format one by one;
the receiving remote device keys in a signal through a keyboard sent by a preset channel, and the receiving remote device comprises:
receiving keyboard key-in signals sent by the remote equipment one by one through a preset channel one by one;
the method for converting the keyboard typing signal into the keyboard access protocol message according to the keyboard access protocol allowed by the local equipment comprises the following steps:
according to the keyboard access protocol allowed by the local equipment, keyboard typing signals are converted into keyboard access protocol messages one by one according to the keyboard access protocol;
the sending a keyboard access protocol message to a server OS associated with the BMC management device, where the keyboard access protocol message is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol message, and the method includes:
and sending keyboard access protocol messages to a server OS associated with the BMC management equipment one by one, wherein the keyboard access protocol messages are used for enabling the server OS to receive a plurality of keyboard access protocol messages with association relations, typing data to be copied in a target input box one by one according to the keyboard access protocol messages, generating corresponding data packets one by one in a reverse conversion mode according to a conversion format, and combining the data packets to generate a data file to be copied.
4. The method according to claim 1, wherein the preset channel is a TCP network transmission channel, and/or the keyboard access protocol allowed by the local device is a USB protocol or a PS2 protocol.
5. A remote copy apparatus for use with a BMC management device, the apparatus comprising:
the first module is used for receiving a keyboard key-in signal sent by the remote equipment through a preset channel, wherein the keyboard key-in signal is obtained by converting the remote equipment in a specific KVM conversion format according to data to be copied;
the second module is used for converting the keyboard typing signal into a keyboard access protocol message according to the keyboard access protocol allowed by the local equipment;
and the third module is used for sending a keyboard access protocol message to a server OS associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to key in data to be copied in the target input box according to the keyboard access protocol message.
6. The apparatus of claim 5, wherein the sending a keyboard access protocol message to a server OS associated with the BMC management device, the keyboard access protocol message configured to cause the server OS to type data to be replicated in the target input box according to the keyboard access protocol message, comprises:
and sending a keyboard access protocol message to a server OS (operating system) associated with the BMC management equipment, wherein the keyboard access protocol message is used for enabling the server OS to receive the keyboard access protocol message, calling a keyboard input function according to the keyboard access protocol message, and typing data at a current input position according to key trigger data carried by the keyboard access protocol message.
7. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the keyboard typing signal is obtained by converting the remote device in a specific KVM conversion format according to the data to be copied, and comprises the following steps:
the remote equipment divides a data file to be copied into a plurality of data packets according to a preset size, and generates keyboard typing signals comprising data of a data format which can be typed through a keyboard according to the data packets and a preset conversion format one by one;
the receiving remote device keys in a signal through a keyboard sent by a preset channel, and the receiving remote device comprises:
receiving keyboard key-in signals sent by the remote equipment one by one through a preset channel one by one;
the method for converting the keyboard typing signal into the keyboard access protocol message according to the keyboard access protocol allowed by the local equipment comprises the following steps:
according to the keyboard access protocol allowed by the local equipment, keyboard typing signals are converted into keyboard access protocol messages one by one according to the keyboard access protocol;
the sending a keyboard access protocol message to a server OS associated with the BMC management device, where the keyboard access protocol message is used to enable the server OS to type data to be copied in a target input box according to the keyboard access protocol message, and the method includes:
and sending keyboard access protocol messages to a server OS associated with the BMC management equipment one by one, wherein the keyboard access protocol messages are used for enabling the server OS to receive a plurality of keyboard access protocol messages with association relations, typing data to be copied in a target input box one by one according to the keyboard access protocol messages, generating corresponding data packets one by one in a reverse conversion mode according to a conversion format, and combining the data packets to generate a data file to be copied.
8. The apparatus of claim 5, wherein the predetermined channel is a TCP network transmission channel, and/or the keyboard access protocol allowed by the local device is a USB protocol or a PS2 protocol.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-4.
10. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-4.
CN202311086183.9A 2023-08-25 2023-08-25 Remote copying method, device, equipment and machine-readable storage medium Pending CN117221338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311086183.9A CN117221338A (en) 2023-08-25 2023-08-25 Remote copying method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311086183.9A CN117221338A (en) 2023-08-25 2023-08-25 Remote copying method, device, equipment and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN117221338A true CN117221338A (en) 2023-12-12

Family

ID=89034367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311086183.9A Pending CN117221338A (en) 2023-08-25 2023-08-25 Remote copying method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN117221338A (en)

Similar Documents

Publication Publication Date Title
WO2020211501A1 (en) Data sharing method and device, and computer readable medium
WO2003091034A1 (en) Emoticon keyboard
JPH10116236A (en) Delay-coded data transmission
CN110336733B (en) Method and equipment for presenting emoticon
CN108829467B (en) Third-party platform docking implementation method, device, equipment and storage medium
JP2006244451A (en) Resource management system, resource management program, and resource management method
US10984206B2 (en) Data storing and sharing using two-dimensional codes
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
WO2018098212A1 (en) Methods and apparatuses for configuring message properties in a networked communications systems
CN109766315B (en) File display method and terminal, computer storage medium and computer equipment
CN112843681B (en) Virtual scene control method and device, electronic equipment and storage medium
CN112328356B (en) Intercommunication method and device for Android and Windows, storage medium and computer equipment
CN112667093A (en) Character input method and device for cloud application and computer equipment
CN117221338A (en) Remote copying method, device, equipment and machine-readable storage medium
CN107832015B (en) Data reading method, data reading device and mobile terminal
KR100784263B1 (en) Method and apparatus for message sending using clip-board
CN111625288B (en) Method and device for controlling starting of application program, computer equipment and storage medium
CN110881001B (en) Electronic red packet detection method, system and terminal equipment
CN114065068A (en) Page access control method and device, equipment and storage medium
CN114328272B (en) Application testing method, device and system and electronic equipment
US10846468B2 (en) Apparatus and methods for creating and sending table information
JP2002297521A (en) Receiver and method, transmitter and method, recording medium, program, and communication system
CN112181676B (en) Method, device, terminal equipment and readable storage medium for sharing recording data
JP2014035573A (en) Information processor and program
CN112187844B (en) Message pushing method, device and equipment based on printing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination