CN114035761A - Data transmission method, system, device and storage medium - Google Patents

Data transmission method, system, device and storage medium Download PDF

Info

Publication number
CN114035761A
CN114035761A CN202111317037.3A CN202111317037A CN114035761A CN 114035761 A CN114035761 A CN 114035761A CN 202111317037 A CN202111317037 A CN 202111317037A CN 114035761 A CN114035761 A CN 114035761A
Authority
CN
China
Prior art keywords
shared information
hosts
host
target host
controlling
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
CN202111317037.3A
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.)
Shenzhen Createk Electronics Co ltd
Original Assignee
Shenzhen Createk Electronics 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 Shenzhen Createk Electronics Co ltd filed Critical Shenzhen Createk Electronics Co ltd
Priority to CN202111317037.3A priority Critical patent/CN114035761A/en
Publication of CN114035761A publication Critical patent/CN114035761A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method, a system, a device and a storage medium for data transmission, wherein the method comprises the following steps: displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and controlling mice of the hosts; and responding to an operation instruction executed by the operation object on the display interface, controlling the plurality of hosts to realize the copy and paste of the shared information among the plurality of hosts, and realizing the visual control of the agent end on the plurality of hosts so as to realize the copy and paste of the shared information among the plurality of hosts.

Description

Data transmission method, system, device and storage medium
Technical Field
The embodiment of the application relates to the field of data transmission, in particular to a method, a system, a device and a storage medium for data transmission.
Background
In the related art, with the continuous update of the market demand and the continuous increase of the user amount of the distributed agent system, the information communication technology and the content sharing technology between the host nodes in the agent system face new challenges. At present, content sharing between host nodes still remains in a manner of using a Universal Serial Bus (USB) external storage device or a network sharing folder, which results in complex content sharing operation and problems of access rights.
Therefore, how to improve the convenience of content sharing among hosts in the distributed agent system becomes a problem to be solved.
Disclosure of Invention
Some embodiments of the present application provide a method, a system, an apparatus, and a storage medium for data transmission, which can at least implement visual control of a plurality of hosts by an agent end, thereby implementing efficient content sharing among the hosts.
In a first aspect, some embodiments of the present application provide a method for data transmission, which is applied to an agent side, and the method includes: displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and controlling mice of the hosts; and responding to an operation instruction executed by the operation object on the display interface, and controlling the multiple hosts to realize copy and paste of shared information among the multiple hosts.
Therefore, in some embodiments of the present application, the mouse of the multiple hosts is controlled in the display interface of the agent end, so as to implement copy and paste of the shared information among the multiple hosts, which is different from a complex information sharing method among the multiple hosts in the related art, and thus, the operation object can conveniently and efficiently implement transmission of the shared information among the multiple hosts.
With reference to the first aspect, in an implementation manner, before the operation instruction executed on the display interface in response to the operation object, the method further includes: establishing communication links among a plurality of transmission nodes, wherein one transmission node is arranged corresponding to one host and is connected with the host; wherein, the responding to the operation instruction executed by the operation object to the display interface, controlling the multiple hosts to realize copy and paste among the multiple hosts comprises: responding to the operation instruction executed by the operation object on the display interface, and realizing the copy and paste of the shared information among the plurality of hosts by controlling the information transmission of the communication link.
Therefore, some embodiments of the present application can implement controlling a transmission node connected to a source host to transmit shared information to a transmission node connected to a target host by establishing a communication link between a plurality of transmission nodes, and implement shared information transmission because each transmission node is connected to a corresponding host, thereby enabling to efficiently transmit shared information to the target host, and thus implementing efficient information sharing.
With reference to the first aspect, in an embodiment, the plurality of hosts includes a source host and a target host, the source host is a host that provides the shared information, the target host is a host that receives the shared information, and the operation instruction includes a copy instruction and a paste instruction; wherein, the responding to the operation instruction executed by the operation object to the display interface, and controlling the plurality of hosts by controlling the information transmission of the communication link, so as to realize copy and paste among the plurality of hosts, includes: responding to the replication instruction, controlling the source host to replicate shared information and controlling a transmission node connected with the source host to acquire the shared information; and responding to the pasting instruction, controlling a transmission node connected with at least one target host to acquire the shared information through a communication link, so that the at least one target host acquires the shared information.
Therefore, some embodiments of the present application can transmit the shared information in the source host to at least one target host specified by the operation object by responding to the copy instruction and the paste instruction of the operation object, so as to implement fast copy and paste, thereby improving the efficiency of information sharing, and making the copy and paste between different hosts as simple and convenient as performing operations on the same host.
With reference to the first aspect, in an implementation manner, the agent side communicates with the transmission node through an IP network.
Therefore, in the embodiment of the application, the agent end and the transmission node are connected through the IP network, the transmission node can be controlled through the network to transmit the shared information to the target host, and meanwhile, the agent end can also control the mice of the multiple hosts through the IP network.
With reference to the first aspect, in one implementation, the transmission node is connected to the host via a USB.
Therefore, in the embodiment of the application, the transmission node is connected with the host through the USB serial port, so that the text content can be copied between the hosts without network connection between the hosts, that is, the text content is shared through the USB serial port between the host and the transmission node.
In a second aspect, some embodiments of the present application provide a data transmission method, which is applied to a target host, where the target host communicates with an agent end through a transmission node, and the method includes: receiving shared information, wherein the shared information is obtained by controlling a transmission node connected with the target host through the agent end; and identifying the type of the shared information, and storing the content corresponding to the shared information according to the type.
With reference to the second aspect, in an implementation manner, the identifying a type of the shared information and saving a content corresponding to the shared information according to the type includes: confirming that the shared information is a text; configuring the text to a clipboard of the target host and saving the text.
With reference to the second aspect, in an implementation manner, the identifying a type of the shared information and saving a content corresponding to the shared information according to the type includes: confirming that the shared information is the description information of a file or the description information of a folder; and requesting to acquire the content of the file or the folder from a source host according to the description information, and storing the content after receiving a request result.
Therefore, after receiving the shared information, the target host in the embodiment of the application, in combination with the native clipboard of the target host system, identifies the type of the shared information and stores the content corresponding to the shared information, and can efficiently obtain the shared information.
In a third aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to an agent end, and the apparatus includes: the display module is configured to display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and control mice of the hosts; the control module is configured to respond to an operation instruction executed on the display interface by the operation object, and control the multiple hosts so as to realize copy and paste of shared information among the multiple hosts.
With reference to the third aspect, in one embodiment, the control module is further configured to: establishing communication links among a plurality of transmission nodes, wherein one transmission node is arranged corresponding to one host and is connected with the host; wherein the control module is further configured to: responding to the operation instruction executed by the operation object on the display interface, and realizing the copy and paste of the shared information among the plurality of hosts by controlling the information transmission of the communication link.
With reference to the third aspect, in an embodiment, the plurality of hosts includes a source host and a target host, the source host is a host that provides the shared information, the target host is a host that receives the shared information, and the operation instruction includes a copy instruction and a paste instruction; wherein the control module is further configured to: responding to the replication instruction, controlling the source host to replicate shared information and controlling a transmission node connected with the source host to acquire the shared information; and responding to the pasting instruction, controlling a transmission node connected with at least one target host to acquire the shared information through a communication link, so that the at least one target host acquires the shared information.
With reference to the third aspect, in one embodiment, the agent side and the transmission node communicate through an IP network.
With reference to the third aspect, in one embodiment, the transmission node is connected to the host via a USB.
In a fourth aspect, an embodiment of the present application provides an apparatus for data transmission, where the apparatus is applied to a target host, and the target host communicates with an agent end through a transmission node, and the apparatus includes: a receiving module configured to receive shared information, wherein the shared information is obtained by controlling a transmission node connected with the target host by the agent terminal; and the storage module is configured to identify the type of the shared information and store the content corresponding to the shared information according to the type.
With reference to the fourth aspect, in an embodiment, the saving module is further configured to: confirming that the shared information is a text; configuring the text to a clipboard of the target host and saving the text.
With reference to the fourth aspect, in an embodiment, the saving module is further configured to: confirming that the shared information is the description information of a file or the description information of a folder; and requesting to acquire the content of the file or the folder from a source host according to the description information, and storing the content after receiving a request result.
In a fifth aspect, an embodiment of the present application provides a system for data transmission, where the system includes: a source host; a source host transmission node configured to connect with the source host to acquire shared information provided by the source host; at least one target host transmission node configured to acquire the shared information provided by the source host through a communication link; at least one target host configured to connect with a target host transport node to receive shared information through the connection; identifying the type of the shared information, and saving the content corresponding to the shared information according to the type; an agent end configured to: displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and controlling mice of the hosts; and responding to an operation instruction executed by the operation object on the display interface, and controlling the multiple hosts to realize copy and paste of shared information among the multiple hosts.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus; the processor is connected to the memory via the bus, and the memory stores computer readable instructions for implementing the method according to any one of the embodiments of the first and second aspects when the computer readable instructions are executed by the processor.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed, the computer program implements the method described in any of the first and second aspects.
Drawings
FIG. 1 is a schematic diagram of a system according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a method of data transmission according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a display interface of a plurality of hosts according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another method for data transmission according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another data transmission method according to an embodiment of the present application;
FIG. 6 is a block diagram illustrating the components of a data transmission according to an embodiment of the present application;
fig. 7 is a schematic composition diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Some embodiments provided by the embodiments of the present application can be applied to content sharing among a plurality of hosts. At least to solve the problems in the background art, some embodiments of the present application provide a method for an agent to display interfaces of multiple hosts, execute an operation instruction of an operation object in the display interfaces, and implement copy and paste of shared information among the multiple hosts. For example, in some embodiments of the present application, a host is connected to a transmission node corresponding to the host through a serial port (e.g., USB), and an agent end connected to the transmission node may preview a display interface of the host and control a mouse and a keyboard of the host. It can be understood that, in order to implement the functions of some embodiments of the present application, an interface plug-in needs to be installed on the host, and the interface plug-in may communicate with the transmission node through serial ports of USB type or the like, and may perform shared information transmission through an Internet Protocol (IP) network between hosts.
In some embodiments of the present application, for convenience of description, a host that generates shared information is referred to as a source host and a host that needs the shared information is referred to as a target host. For example, in some embodiments of the present application, a plurality of hosts are all connected to the seat end, and the operation object may operate on display screens of the plurality of hosts displayed by the seat end. When the source host generates the shared information, the operation object controls the mouse of the source host to copy the shared information in the display picture of the source host, then the agent end moves the mouse to the display picture of the target host, and selects the paste operation in the right-click menu to trigger the shared information to be transmitted to the target host through the transmission node connected with the target host, so that the transmission of the shared information between the source host and the target host is realized. For example, the agent side controls the source host transmission node to connect with the target host transmission node, and transmits the shared information to the target host. It should be noted that, the shared information according to some embodiments of the present application may include: text, description information of a file or description information of a folder, and the like. The target host machine judges according to the content format of the shared information and stores the content corresponding to the shared information according to the format of the shared information, thereby realizing high-efficiency content sharing among a plurality of host machines.
It should be noted that the text included in the shared information refers to what kind of process the operation object performs on the display interface of the source host, and the copied character string content is selected. The description information of the file or the description information of the folder included in the sharing information refers to the description of the search file or the folder existing in the disk of the source host. Such as file size, nesting level, and lookup path.
The USB serial port communication is responsible for directional distribution of shared information, namely, shared information can be obtained by a target host computer appointed by an operation object on an agent end display interface. If the shared information copied from the source host is text, the text is transmitted to the specified target host by the USB serial port.
The IP network connection is mainly responsible for the transmission of shared information between multiple hosts. And if the format of the shared information is the description information of the file or the description information of the folder, the plug-in is connected to the source host through the IP network to transmit the file or the folder.
The method steps in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 provides a system for data transmission in an embodiment of the present application, and as in the system of fig. 1, includes a source host 110, a target host 120, a source host transmission node 130, a target host transmission node 140, and an agent end 150. Specifically, the agent end 150 is connected to the source host transfer node 130 and the target host transfer node 140 through an IP network. A communication link is established between the source host transport node 130 and the target host transport node 140 and connected via an IP network. The source host 110 is connected to the source host transfer node 130 via a USB serial port, and the target host 120 is connected to the target host transfer node 140 via a USB serial port for transferring the shared information. The source host 110 and the target bookkeeping 120 are connected through an IP network, so that the target host 120 obtains the contents of the file or folder from the source host 110 through the IP network.
That is, after receiving the operation instruction of the operation object, the agent 150 controls the source host transport node 130 to send the shared information to the target host transport node 140, and after receiving the shared information, the target host transport node 140 sends the shared information to the target host 120, and then the target host 120 stores the content corresponding to the shared information according to the type of the shared information.
Different from the embodiment of the present application, in the related art, when an operation object needs to copy shared information to a plurality of target hosts, only a USB external storage device or a network sharing folder mode can be used, which results in low copying efficiency.
At least to solve the above problem, embodiments of the present application provide a method for displaying display screens corresponding to multiple hosts at an agent end, and controlling mice of the multiple hosts to implement copy and paste of shared information among the multiple hosts. For example: the method comprises the steps that a seat end displays display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the hosts and control a mouse of the hosts; and responding to an operation instruction executed by the operation object on the display interface, and controlling the multiple hosts to realize copy and paste of the shared information among the multiple hosts.
In the following, a data transmission method applied to the agent terminal 150 in the embodiment of the present application will be described.
As shown in fig. 2, a method of data transmission includes: s210, displaying display interfaces corresponding to a plurality of hosts; and S220, responding to an operation instruction executed by the operation object on the display interface, and controlling the plurality of hosts.
In one embodiment of the present application, the display interface of S210 is used to allow the operation target to preview the screen of the plurality of hosts and to control the mouse of the plurality of hosts. Specifically, as shown in fig. 3, fig. 3 is a plurality of hosts displayed by the agent end, and includes: a source host display interface 300 corresponding to a source host, a first target host display interface 310 corresponding to a first target host, and a second target host display interface 320 corresponding to a second target host.
As an embodiment of the present application, the operation object may preview the display interfaces of the source host, the first target host, and the second target host, and when the shared information needs to be transferred, the mouse of the source host is controlled in the source host display interface 300, the shared information needs to be transferred is copied, and then the mouse of the first target host is controlled in the first target host display interface 310 to be pasted, and the mouse of the second target host is controlled in the second target host display interface 320 to be pasted. Thus, copy and paste of shared information among a plurality of hosts are realized.
As another embodiment of the present application, when the shared information needs to be transmitted, the keyboard of the source host may be controlled in the source host display interface 300, the shared information needs to be transmitted is copied, then the keyboard of the first target host is controlled to be pasted in the first target host display interface 310, and the keyboard of the second target host is controlled to be pasted in the second target host display interface 320. Thus, copy and paste of shared information among a plurality of hosts are realized.
Therefore, in the embodiment of the application, the mouse of the multiple hosts is controlled in the display interface of the agent end, so that the copy and paste of the shared information among the multiple hosts are realized, and the method is different from a complex information sharing method among the multiple hosts in the related art, and the transmission of the shared information among the multiple hosts can be conveniently and efficiently realized by an operation object.
In an embodiment of the present application, the seat end further includes, before S220: and establishing communication links among a plurality of transmission nodes, wherein one transmission node is arranged corresponding to one host, and the transmission nodes are connected with the host. The plurality of hosts involved in S220 includes a source host and a target host, the source host being a host providing shared information, and the target host being a host receiving the shared information. S220 comprises: and responding to an operation instruction executed by the operation object on the display interface, and realizing the copy and paste of the shared information among a plurality of hosts by controlling the information transmission among a plurality of communication links.
That is, a communication link is established between a plurality of transmission nodes to control the transmission of the shared information, and one host corresponds to one transmission node, so that in the process of transmitting the shared information, the transmission node corresponding to the source host can accurately transmit the shared information to the transmission node corresponding to the target host specified by the operation instruction of the operation object, so that the target host can obtain the shared information.
For example, the agent end establishes a communication link between the transmission node of the source host and the transmission node of the a target host, establishes a communication link between the transmission node of the source host and the transmission node of the B target host, and establishes a communication link between the transmission node of the source host and the transmission node of the C target host. And when receiving an operation instruction that the operation object copies the shared information from the source host to the A target host, the B target host and the C target host, controlling the transmission node of the source host to transmit the shared information to the transmission node of the A target host, the transmission node of the B target host and the transmission node of the C target host through the communication link.
Therefore, according to the embodiment of the application, the communication links are established among the plurality of transmission nodes, the source host transmission node can be controlled to transmit the shared information to the target host transmission node designated by the operation object, so that the shared information can be efficiently transmitted to the target host, and efficient information sharing is realized.
In one embodiment of the present application, the operation instruction related to S220 includes a copy instruction and a paste instruction. S220 comprises: and responding to the copying instruction, controlling the source host to copy the shared information and controlling a transmission node connected with the source host to acquire the shared information. And responding to the pasting instruction, and controlling the transmission node connected with the at least one target host to acquire the shared information through the communication link so that the at least one target host acquires the shared information.
That is, the operating user controls the mouse of the source host to copy (i.e., copy) the shared information in the display screen of the source host, and the agent end controls the transmission node of the target host connected to the source host to obtain the shared information after responding to the copy instruction. An operation user controls a mouse of a target host to paste shared information (namely a paste instruction) in a display picture of a source host, and after responding to the paste instruction, an agent end controls a transmission node connected with at least one target host to acquire the shared information through a communication link.
For example: after the agent end responds to the copy instruction, the system shear plate changes, and the source host transmission node connected with the source host acquires shared information. And then, the operation object clicks 'paste' in the display interfaces of the A target host and the B target host, and the agent end responds to the paste instruction and controls the source host transmission node to transmit the shared information to the A target host transmission node connected with the A target host and the B target host transmission node connected with the B target host, so that the A target host and the B target host can obtain and store the shared information.
Therefore, according to the embodiment of the application, the shared information in the source host can be transmitted to at least one target host specified by the operation object by responding to the copy instruction and the paste instruction of the operation object, so that the rapid copy and paste are realized, the information sharing efficiency is improved, and the copy and paste among different hosts are similar to the simple and convenient operation on the same host.
It should be noted that the data transmission system may include at least one source host and at least one target host.
As an embodiment of the present application, the operation object may control the mice and the keyboards of the multiple source hosts, copy the multiple shared information, control the mice and the keyboards of the multiple target hosts, and transmit the multiple shared information to the multiple target hosts.
As another embodiment of the present application, the operation object may control a mouse and a keyboard of one source host, copy one shared information, and transmit one shared information to a plurality of target hosts while controlling the mouse and the keyboard of the plurality of target hosts.
As another embodiment of the present application, the operation object may control the mouse and the keyboard of a plurality of source hosts, copy a plurality of shared information, control the mouse and the keyboard of one target host, and transmit the plurality of shared information to one target host. The embodiments of the present application are not limited thereto.
In one embodiment of the present application, the agent side and the transmission node communicate via a private network protocol.
Therefore, according to the embodiment of the application, the agent end is connected with the transmission node, the shared information can be controlled and transmitted to the target host through the transmission node, and meanwhile, the mouse of the multiple hosts can also be controlled.
In one embodiment of the present application, the transport node is connected to the host via a USB.
Therefore, in the embodiment of the application, the transmission node is connected with the host through the USB, so that the text content can be copied between the hosts without network connection between the hosts, that is, the text content is shared through the USB serial port between the host and the transmission node.
The above describes a data transmission method applied to the agent side, and the following describes a data transmission method applied to the target host.
As shown in fig. 4, a method of data transmission includes: s410, receiving shared information; and S420, identifying the type of the shared information, and saving the content corresponding to the shared information according to the type.
In one embodiment of the present application, the shared information related to S410 is obtained by the agent controlling the transport node connected to the target host.
That is, one target host corresponds to one target host transfer node, and one source host also corresponds to one source host transfer node.
Firstly, all target hosts and source hosts in the system are provided with plug-ins, the plug-ins of the source hosts subscribe the content of the system clipboard after running, and after the content of the system clipboard changes, the plug-ins of the source hosts read the shared information (the shared information comprises description information and information) included by the system clipboard and then send the shared information of the clipboard to a transmission node of the source hosts through USB serial ports.
And then, the agent end controls the source host transmission node and sends the source host transmission node to a target host transmission node appointed by the operation object, then a plug-in of the target host receives the sharing information from the clipboard of the target host transmission node, the sharing information of the clipboard is configured to the system clipboard of the current target host, the pasting option in the right-click menu of the target host resource manager is valid, and when the operation object is pasted in an operation mode, the target host acquires text content or file content corresponding to the sharing information from the plug-in.
In one embodiment of the present application, S420 includes: and confirming that the shared information is a text, configuring the text to a clipboard of the target host, and storing the text.
That is, in the case where the plug-in of the target host confirms that the shared information is text, the shared information itself (i.e., text) is arranged to the clipboard of the target host, and the text is saved.
In one embodiment of the present application, S420 includes confirming that the shared information is description information of a file or description information of a folder; and requesting the source host to acquire the content of the file or the folder according to the description information, and storing the content after receiving a request result.
That is, in the case where the shared information is description information of a file or description information of a folder, the plug-in of the target host connects to the source host through the IP network, acquires file contents corresponding to the description information through the private network protocol, and returns the acquired contents to the host system request, thereby implementing copying of the file.
As a specific embodiment of the present application, as shown in fig. 5, the source host transfer node 130 reads the shared information of the source host 110, the agent controls the source host transfer node 130 to transfer the shared information to the target host transfer node 140 specified by the operation object, and the target host 120 receives the shared information from the target host transfer node 140.
Thereafter, the target host 120 performs S510 a content format determination on the acquired shared information, and in the case where it is determined to be a text, the text is put into the target host clipboard 530, and the text is saved. In the case of determining the description information of the file or the description information of the folder, the description information of the file or the description information of the folder is put into the target host clipboard 530 and simultaneously transmitted to the source host 110, the source host 110 transmits the file or the folder contents through the IP network according to the description information of the file or the description information of the folder, and the target host, after receiving the file or the folder contents, performs S520 pasting the file or the folder contents to the target host clipboard 530 and saving the file or the folder contents, thereby implementing information sharing.
Therefore, after receiving the shared information, the target host in the embodiment of the application, in combination with the native clipboard of the target host system, identifies the type of the shared information and stores the content corresponding to the shared information, and can efficiently obtain the shared information.
Therefore, the technical key point of the data transmission method provided by the application is that based on a distributed technology and a Windows system clipboard technology, the content sharing among a plurality of hosts in a distributed agent system is realized by using the cooperation of a USB (universal serial bus) serial port protocol and an IP (Internet protocol) network protocol. The copy and paste operation of the text or the file among a plurality of hosts can be realized by single agent end operation; even if the multiple hosts do not have network connection, the multiple hosts can copy text contents; the native windows shear plate is used, so that the research and development cost can be reduced, and the efficiency is improved.
While a specific embodiment of a method of data transmission has been described above, an apparatus for data transmission will be described.
As shown in fig. 6, an apparatus 600 for data transmission includes: a presentation module 610 and a control module 620.
In one embodiment, the present application provides an apparatus 600 for data transmission, applied to an agent side, including:
the display module 610 is configured to display interfaces corresponding to the multiple hosts, where the display interfaces are used for enabling the operation objects to preview screens of the multiple hosts and control mice of the multiple hosts.
And the control module 620 is configured to control the multiple hosts in response to an operation instruction executed by the operation object on the display interface so as to realize copy and paste of the shared information among the multiple hosts.
In one embodiment, the control module 620 is further configured to: establishing communication links among a plurality of transmission nodes, wherein one transmission node is arranged corresponding to one host, and the transmission nodes are connected with the host; wherein the control module is further configured to: and responding to an operation instruction executed by the operation object on the display interface, and realizing the copy and paste of the shared information among a plurality of hosts by controlling the information transmission of the communication link.
In one embodiment, the plurality of hosts includes a source host and a target host, the source host is a host providing shared information, the target host is a host receiving the shared information, and the operation instruction includes a copy instruction and a paste instruction; wherein the control module 620 is further configured to: responding to the copying instruction, controlling the source host to copy the shared information and controlling a transmission node connected with the source host to acquire the shared information; and responding to the pasting instruction, and controlling the transmission node connected with the at least one target host to acquire the shared information through the communication link so that the at least one target host acquires the shared information.
In one embodiment, the agent side and the transmission node communicate via a private network protocol.
In one embodiment, the transport node is connected to the host via a USB connection.
In the embodiment of the present application, the modules shown in fig. 6 can implement the processes in the method embodiments of fig. 2 and fig. 3. The operations and/or functions of the various modules in fig. 6 are intended to implement the corresponding flows in the method embodiments in fig. 2 and 3, respectively. Reference may be made specifically to the description of the above method embodiments, and a detailed description is appropriately omitted herein to avoid redundancy.
In one embodiment, the present application provides an apparatus for data transmission, which is applied to a target host, where the target host communicates with an agent end through a transmission node, and includes: the receiving module is configured to receive shared information, wherein the shared information is obtained by controlling a transmission node connected with a target host through an agent end; and the storage module is configured to identify the type of the shared information and store the content corresponding to the shared information according to the type.
In one embodiment, the saving module is further configured to: confirming that the shared information is a text; the text is configured to the clipboard of the target host and saved.
In one embodiment, the saving module is further configured to: confirming that the shared information is the description information of the file or the description information of the folder; and requesting the source host to acquire the content of the file or the folder according to the description information, and storing the content after receiving a request result.
As shown in fig. 7, an embodiment of the present application provides an electronic device 700, including: a processor 710, a memory 720 and a bus 730, wherein the processor is connected to the memory through the bus, the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the method is implemented in any of the above embodiments.
Wherein the bus is used for realizing direct connection communication of the components. The processor in the embodiment of the present application may be an integrated circuit chip having signal processing capability. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like. The memory has stored therein computer readable instructions that, when executed by the processor, may perform the methods of the embodiments described above.
It will be appreciated that the configuration shown in fig. 7 is merely illustrative and may include more or fewer components than shown in fig. 7 or have a different configuration than shown in fig. 7. The components shown in fig. 7 may be implemented in hardware, software, or a combination thereof.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a server, the method in any of the above-mentioned all embodiments is implemented, which may be specifically referred to the description in the above-mentioned method embodiments, and in order to avoid repetition, detailed description is appropriately omitted here.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for data transmission, applied to an agent side, includes:
displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and controlling mice of the hosts;
and responding to an operation instruction executed by the operation object on the display interface, and controlling the multiple hosts to realize copy and paste of shared information among the multiple hosts.
2. The method according to claim 1, wherein before the operation instruction executed on the display interface in response to the operation object, the method further comprises:
establishing communication links among a plurality of transmission nodes, wherein one transmission node is arranged corresponding to one host and is connected with the host;
wherein the content of the first and second substances,
the responding to the operation instruction executed by the operation object on the display interface, controlling the multiple hosts to realize copy and paste among the multiple hosts, comprising:
responding to the operation instruction executed by the operation object on the display interface, and realizing the copy and paste of the shared information among the plurality of hosts by controlling the information transmission of the communication link.
3. The method according to claim 2, wherein the plurality of hosts includes a source host and a target host, the source host is a host providing the shared information, the target host is a host receiving the shared information, and the operation instruction includes a copy instruction and a paste instruction;
wherein the content of the first and second substances,
the responding to the operation instruction executed by the operation object on the display interface, controlling the plurality of hosts by controlling the information transmission of the communication link, so as to realize the copy and paste among the plurality of hosts, includes:
responding to the replication instruction, controlling the source host to replicate shared information and controlling a transmission node connected with the source host to acquire the shared information;
and responding to the pasting instruction, controlling a transmission node connected with at least one target host to acquire the shared information through a communication link, so that the at least one target host acquires the shared information.
4. A method according to any of claims 1-3, characterized in that the agent side communicates with the transport node via the internet protocol IP.
5. A method according to any of claims 1-3, characterized in that the transfer node is connected to the host via a universal serial bus, USB.
6. A data transmission method is applied to a target host which communicates with an agent end through a transmission node, and comprises the following steps:
receiving shared information, wherein the shared information is obtained by controlling a transmission node connected with the target host through the agent end;
and identifying the type of the shared information, and storing the content corresponding to the shared information according to the type.
7. The method according to claim 6, wherein the identifying the type of the shared information and saving the content corresponding to the shared information according to the type includes:
confirming that the shared information is a text;
configuring the text to a clipboard of the target host and saving the text.
8. The method according to claim 6, wherein the identifying the type of the shared information and saving the content corresponding to the shared information according to the type includes:
confirming that the shared information is the description information of a file or the description information of a folder;
and requesting to acquire the content of the file or the folder from a source host according to the description information, and storing the content after receiving a request result.
9. A system for data transmission, the system comprising:
a source host;
a source host transmission node configured to connect with the source host to acquire shared information provided by the source host;
at least one target host transmission node configured to acquire the shared information provided by the source host through a communication link;
at least one target host configured to connect with a target host transport node to receive shared information through the connection;
identifying the type of the shared information, and saving the content corresponding to the shared information according to the type;
an agent end configured to:
displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and controlling mice of the hosts;
and responding to an operation instruction executed by the operation object on the display interface, and controlling the multiple hosts to realize copy and paste of shared information among the multiple hosts.
10. A data transmission apparatus, applied to an agent side, the apparatus comprising:
the display module is configured to display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling operation objects to preview pictures of the hosts and control mice of the hosts;
the control module is configured to respond to an operation instruction executed on the display interface by the operation object, and control the multiple hosts so as to realize copy and paste of shared information among the multiple hosts.
CN202111317037.3A 2021-11-09 2021-11-09 Data transmission method, system, device and storage medium Pending CN114035761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111317037.3A CN114035761A (en) 2021-11-09 2021-11-09 Data transmission method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111317037.3A CN114035761A (en) 2021-11-09 2021-11-09 Data transmission method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN114035761A true CN114035761A (en) 2022-02-11

Family

ID=80136790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111317037.3A Pending CN114035761A (en) 2021-11-09 2021-11-09 Data transmission method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN114035761A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334633A (en) * 2006-06-15 2007-12-27 Hitachi Information Systems Ltd Remote desktop system
US20090100503A1 (en) * 2007-10-15 2009-04-16 International Business Machines Corporation Authentication for shared wireless peripherals having an internal memory store for sharing digital content across multiple hosts
CN101896900A (en) * 2007-10-29 2010-11-24 贝尔金国际公司 Apparatus and system for managing multiple computers
CN102882963A (en) * 2012-09-25 2013-01-16 腾讯科技(深圳)有限公司 Data transmitting method, related terminals and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334633A (en) * 2006-06-15 2007-12-27 Hitachi Information Systems Ltd Remote desktop system
US20090100503A1 (en) * 2007-10-15 2009-04-16 International Business Machines Corporation Authentication for shared wireless peripherals having an internal memory store for sharing digital content across multiple hosts
CN101896900A (en) * 2007-10-29 2010-11-24 贝尔金国际公司 Apparatus and system for managing multiple computers
CN102882963A (en) * 2012-09-25 2013-01-16 腾讯科技(深圳)有限公司 Data transmitting method, related terminals and system

Similar Documents

Publication Publication Date Title
US11797256B2 (en) Virtual workspace viewport following in collaboration systems
WO2018126853A1 (en) Data transmission method and apparatus
WO2017113201A1 (en) Network service lifecycle management method and device
CN112445579B (en) Zero terminal data processing system and file copying method and device thereof
US9734437B2 (en) Communication relaying technology and communication relaying apparatus
US11550516B2 (en) Image forming method with image-forming-data transmission path and non-transitory computer storage medium
CN101866292B (en) Information processing apparatus and control method
WO2023040833A1 (en) Task creation method and apparatus, and electronic device and computer-readable storage medium
CN110389711B (en) Method, device, and non-transitory computer-readable medium for assisting endpoint device in implementing SR-IOV functionality
WO2023179549A1 (en) Document block sharing method, apparatus and system, and storage medium
CN114138145A (en) Application virtualization file dragging method, device and equipment and readable storage medium
CN113836103A (en) Data sharing method, system and equipment
WO2019119280A1 (en) Service processing method, cloud server, and terminal device
US20150186095A1 (en) Inter-terminal image sharing method, terminal device, and communications system
JP2015156209A (en) information processing system
CN114035761A (en) Data transmission method, system, device and storage medium
CN108536410B (en) Wireless screen transmission method and system
CN112272223B (en) Application running method and device, server and computer readable storage medium
CN104468645A (en) Control method, electronic equipment, and information transmission method and device
US9953299B2 (en) Systems and methods for sharing image data
WO2023005784A1 (en) Method for cross-system transmission of target object, and device
CN115086425B (en) Message transmission method, device, program product, medium and electronic equipment
CN114328272B (en) Application testing method, device and system and electronic equipment
CN115577200B (en) Page loading method, device, equipment and storage medium
WO2015122194A1 (en) Real-time communication system, real-time communication device, real-time communication method, and recording medium

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