CN114035761B - Method, system, device and storage medium for data transmission - Google Patents
Method, system, device and storage medium for data transmission Download PDFInfo
- Publication number
- CN114035761B CN114035761B CN202111317037.3A CN202111317037A CN114035761B CN 114035761 B CN114035761 B CN 114035761B CN 202111317037 A CN202111317037 A CN 202111317037A CN 114035761 B CN114035761 B CN 114035761B
- Authority
- CN
- China
- Prior art keywords
- host
- shared information
- information
- hosts
- target host
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal 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)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application provides a data transmission method, a system, a device and a storage medium, wherein the method comprises the following steps: displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts; and controlling the plurality of 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 plurality of hosts, and realizing the visual control of the agent end on the plurality of hosts, thereby realizing copy and paste of the shared information among the plurality of hosts.
Description
Technical Field
The embodiment of the application relates to the field of data transmission, in particular to a data transmission method, a data transmission system, a data transmission device and a data transmission storage medium.
Background
In the related art, with the continuous updating of market demands and the continuous increasing of user quantity of the distributed agent system, the information communication technology between each host node in the agent system and the content sharing technology face new challenges. Currently, content sharing between host nodes still stays in a manner of using a universal serial bus (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 between hosts in a 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 at least can realize the visual control of a seat end on a plurality of hosts, so that efficient content sharing between the hosts can be realized.
In a first aspect, some embodiments of the present application provide a method for data transmission, applied to an agent end, where the method includes: displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts; and responding to an operation instruction executed by the operation object on the display interface, and controlling the plurality of hosts to realize copy and paste of the shared information among the plurality of hosts.
Therefore, in some embodiments of the present application, by controlling the mice of the plurality of hosts in the display interface of the seat end, copy and paste of the shared information between the plurality of hosts is realized, which is different from a complex information sharing method between the plurality of hosts in the related art, and thus, the operation object can conveniently and efficiently realize transmission of the shared information between the plurality of hosts.
With reference to the first aspect, in an implementation manner, before the operation instruction performed 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 correspondingly arranged with one host, and the transmission node is connected with the host; the method for implementing copy and paste between the plurality of hosts includes the steps of: and responding to an operation instruction executed by the operation object on the display interface, and realizing copy and paste of shared information among the plurality of hosts by controlling information transmission of the communication link.
Therefore, in some embodiments of the present application, by establishing communication links between a plurality of transmission nodes, it is possible to control the transmission node connected to the source host to transmit shared information to the transmission node connected to the target host, and since each transmission node is connected to a corresponding host, transmission of shared information is achieved, so that shared information can be efficiently transmitted to the target host, and thus efficient information sharing is achieved.
With reference to the first aspect, in one implementation manner, 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; the method for implementing copy and paste between the hosts includes the steps of: 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 a transmission node connected with at least one target host to acquire the sharing information through a communication link so as to enable the at least one target host to acquire the sharing information.
Therefore, in some embodiments of the present application, by responding to the copy instruction and paste instruction of the operation object, the shared information in the source host can be transmitted to at least one target host specified by the operation object, so as to implement fast copy and paste, thereby improving the efficiency of information sharing, and making copy and paste between different hosts similar to the simple and convenient operation performed on the same host.
With reference to the first aspect, in one implementation manner, the agent end and the transmission node communicate 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 by the network to transmit the shared information to the target host, and meanwhile, the agent end can also control the mice of a plurality of hosts through the IP network.
With reference to the first aspect, in one implementation manner, the transmission node is connected with the host through a USB.
Therefore, the embodiment of the application can copy the text content between the hosts under the condition that the hosts are not connected through the USB serial port, namely the text content can be shared through the USB serial port between the hosts and the transmission node.
In a second aspect, some embodiments of the present application provide a method for data transmission, where the method is applied to a target host, and the target host communicates with an agent end through a transmission node, and the method includes: receiving sharing information, wherein the sharing information is obtained by controlling a transmission node connected with the target host through the seat 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 one implementation manner, the identifying a type of the shared information and storing content corresponding to the shared information according to the type includes: confirming that the shared information is text; configuring the text to a clipboard of the target host and saving the text.
With reference to the second aspect, in one implementation manner, the identifying a type of the shared information and storing content corresponding to the shared information according to the type includes: confirming that the shared information is description information of a file or description information of a folder; and according to the description information, requesting the source host to acquire the content of the file or the folder, and storing the content after receiving the request result.
Therefore, after receiving the shared information, the target host in the embodiment of the application combines the native clipboard of the target host system to identify the type of the shared information and store the content corresponding to the shared information, so that the shared information can be obtained efficiently.
In a third aspect, an embodiment of the present application provides a device for data transmission, applied to an agent end, where the device includes: the display module is configured to display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts; and the control module is configured to respond to an operation instruction executed by the operation object on the display interface and control the plurality of hosts so as to realize copy and paste of shared information among the plurality of hosts.
With reference to the third aspect, in an embodiment, the control module is further configured to: establishing communication links among a plurality of transmission nodes, wherein one transmission node is correspondingly arranged with one host, and the transmission node is 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 copy and paste of shared information among the plurality of hosts by controlling information transmission of the communication link.
With reference to the third aspect, in one implementation manner, 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 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 a transmission node connected with at least one target host to acquire the sharing information through a communication link so as to enable the at least one target host to acquire the sharing information.
With reference to the third aspect, in one implementation manner, the agent end and the transmission node communicate through an IP network.
With reference to the third aspect, in one implementation manner, the transmission node is connected to the host through a USB.
In a fourth aspect, an embodiment of the present application provides a data transmission device, which is applied to a target host, where the target host communicates with an agent end through a transmission node, and the device includes: the receiving module is configured to receive sharing information, wherein the sharing information is obtained by controlling a transmission node connected with the target host through the seat 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.
With reference to the fourth aspect, in an implementation manner, the saving module is further configured to: confirming that the shared information is text; configuring the text to a clipboard of the target host and saving the text.
With reference to the fourth aspect, in an implementation manner, the saving module is further configured to: confirming that the shared information is description information of a file or description information of a folder; and according to the description information, requesting the source host to acquire the content of the file or the folder, and storing the content after receiving the request result.
In a fifth aspect, an embodiment of the present application provides a system for data transmission, the system including: a source host; the source host transmission node is configured to be connected with the source host so as to acquire sharing information provided by the source host; at least one target host transmission node configured to obtain sharing information provided by the source host via a communication link; at least one target host configured to connect with a target host transmission node to receive shared information over the connection; identifying the type of the shared information, and storing the content corresponding to the shared information according to the type; a seat end configured to: displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts; and responding to an operation instruction executed by the operation object on the display interface, and controlling the plurality of hosts to realize copy and paste of the shared information among the plurality of 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, the memory storing computer readable instructions which, when executed by the processor, are adapted to carry out the method of any one of the embodiments of the first and second aspects.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which when executed implements the method according to any one of the embodiments of the first and second aspects.
Drawings
FIG. 1 is a schematic diagram of a system according to an embodiment of the present application;
FIG. 2 is a flow chart of 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 flow chart of another method of data transmission according to an embodiment of the present application;
FIG. 5 is a flow chart of yet another data transmission method according to an embodiment of the present application;
FIG. 6 is a block diagram illustrating one type of data transmission in accordance with an embodiment of the present application;
Fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
Some embodiments provided by the embodiments of the present application may be applied to content sharing among multiple hosts. At least to improve the problems existing in the background art, some embodiments of the present application provide a method for a seat end to display interfaces of a plurality of hosts and execute operation instructions of an operation object in the display interfaces to implement copy and paste of shared information between the plurality of 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 a seat 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 will be appreciated 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, where the interface plug-in may communicate with the transmission node through a serial port of a USB or other type, and may perform shared information transmission through an internetwork interconnection protocol (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 connected to the agent end, and the operation object may operate in the display screen of the plurality of hosts displayed on the agent end. When the source host generates the shared information, the operation object can control the mouse of the source host to copy the shared information in the display picture of the source host, then the seat end can move the mouse into the display picture of the target host, and the pasting operation in the right key menu is selected to trigger the transmission of the shared information 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 end 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 sharing information of some embodiments of the present application may include: text, description information of a file, description information of a folder, and the like. The target host computer 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, so that efficient content sharing among a plurality of host computers can be realized.
The text included in the shared information refers to what process the operation object operates 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 source host disk. Such as file size, nesting level, and seek path.
The USB serial communication is responsible for directional dispatch of shared information, namely, a target host designated by an operation object on a seat end display interface can acquire the shared information. If the shared information copied from the source host is text, the text will be passed through by the USB serial port to the designated target host.
The IP network connection is mainly responsible for shared information transmission between multiple hosts. The plug-in receives the sharing information sent by the transmission node through the USB serial port, wherein the sharing information comprises network information corresponding to the source host, and if the format of the sharing 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 an 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 drawings.
Fig. 1 provides a system for data transmission in an embodiment of the present application, such as the system in fig. 1, including 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 transmission node 130 and the target host transmission node 140 through an IP network. A communication link is established between the source host transfer node 130 and the target host transfer node 140 and is connected through an IP network. The source host 110 is connected to the source host transmission node 130 through a USB serial port, and the target host 120 is also connected to the target host transmission node 140 through a USB serial port, so as to transmit the shared information. The source host 110 is connected to the target book 120 through an IP network, so that the target host 120 obtains the file or folder content from the source host 110 through the IP network.
That is, the agent end 150 controls the source host transmission node 130 to transmit the sharing information to the target host transmission node 140 after receiving the operation instruction of the operation object, and the target host transmission node 140 transmits the sharing information to the target host 120 after receiving the sharing information, and then the target host 120 saves the content corresponding to the sharing information according to the type of the sharing information.
Unlike the embodiment of the present application, in the related art, when the operation object needs to copy the shared information to multiple target hosts, only a USB external storage device or a network sharing folder mode can be used, resulting in lower copying efficiency.
At least to solve the above problems, an embodiment of the present application provides a method for displaying display frames corresponding to a plurality of hosts at a seat end, and controlling mice of the plurality of hosts to implement copy and paste of shared information between the plurality of hosts. For example: the seat end displays display interfaces corresponding to the plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts; and responding to an operation instruction executed by the operation object on the display interface, and controlling the plurality of hosts to realize copy and paste of the shared information among the plurality of hosts.
A method for data transmission applied to the agent terminal 150 according to the embodiment of the present application will be described below.
As shown in fig. 2, a method for data transmission includes: s210, displaying display interfaces corresponding to a plurality of hosts; s220, controlling a plurality of hosts in response to an operation instruction executed by the operation object on the display interface.
In one embodiment of the present application, the display interface in S210 is used to preview the screen of the plurality of hosts and control the mice of the plurality of hosts by the operation object. Specifically, as shown in fig. 3, fig. 3 is a plurality of hosts shown at the seat end, including: 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, an operation object may preview the display interfaces of the source host, the first target host and the second target host, and in the case where the shared information needs to be transmitted, control the mouse of the source host in the source host display interface 300 to copy the shared information that needs to be transmitted, then control the mouse of the first target host to paste in the first target host display interface 310, and control the mouse of the second target host to paste in the second target host display interface 320. Thus, copy-and-paste of shared information between multiple hosts is achieved.
As another embodiment of the present application, in the case where the shared information needs to be transmitted, the keyboard of the source host may also be controlled in the source host display interface 300 to copy the shared information that needs to be transmitted, then in the first target host display interface 310, the keyboard of the first target host is controlled to be pasted, and in the second target host display interface 320, the keyboard of the second target host is controlled to be pasted. Thus, copy-and-paste of shared information between multiple hosts is achieved.
Therefore, the embodiment of the application realizes the copy and paste of the shared information among the plurality of hosts by controlling the mice of the plurality of hosts in the display interface of the seat end, is different from the complex information sharing method among the plurality of hosts in the related art, and can lead the operation object to conveniently and efficiently realize the transmission of the shared information among the plurality of hosts.
In one embodiment of the present application, the agent end further includes, before S220: communication links among a plurality of transmission nodes are established, wherein one transmission node is correspondingly arranged with one host, and the transmission node is connected with the host. The plurality of hosts involved in S220 include a source host, which is a host providing shared information, and a target host, which is a host receiving shared information. S220 includes: and responding to an operation instruction executed by the operation object on the display interface, and realizing copy and paste of the shared information among a plurality of hosts by controlling information transmission among a plurality of communication links.
That is, communication links are established between the plurality of transmission nodes, so that the nodes for transmitting the shared information can be controlled, 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 accurately transmits 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 source host transmission node and the transmission node of the a target host, between the source host transmission node and the transmission node of the B target host, and between the source host transmission node and the transmission node of the C target host. When receiving an operation instruction of an operation object for copying the shared information from the source host to the A target host, the B target host and the C target host, the transmission node of the source host is controlled 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 communication links.
Therefore, the embodiment of the application can realize the control of the source host transmission node to transmit the shared information to the target host transmission node appointed by the operation object by establishing the communication links among the plurality of transmission nodes, thereby being capable of efficiently transmitting the shared information to the target host and realizing efficient information sharing.
In one embodiment of the present application, the operation instruction related to S220 includes a copy instruction and a paste instruction. S220 includes: 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, controlling a transmission node connected with at least one target host to acquire the shared information through a communication link so as to enable the at least one target host to acquire the shared information.
That is, the operating user copies the shared information (i.e. a copy instruction) in the source host display screen by controlling the mouse of the source host, and after the seat end responds to the copy instruction, controls the transmission node of the target host connected with the source host to acquire the shared information. And the operator controls a mouse of the target host to paste (i.e. paste instruction) the shared information in the source host display screen, and after the operator responds to the paste instruction, the operator controls a transmission node connected with at least one target host to acquire the shared information through a communication link.
For example: after the seat end responds to the copying instruction, the system shear plate changes, and the source host transmission node connected with the source host obtains the 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 seat end responds to a paste instruction to control the source host transmission node to transmit 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 acquire and store the shared information.
Therefore, the embodiment of the application can transmit the shared information in the source host to at least one target host appointed by the operation object by responding to the copy instruction and the paste instruction of the operation object, thereby realizing quick copy and paste, improving the efficiency of information sharing and enabling copy and paste among different hosts to be similar to the 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 one embodiment of the application, the operation object can control the mice and keyboards of a plurality of source hosts, copy a plurality of sharing information at the same time, control the mice and keyboards of a plurality of target hosts and transmit the plurality of sharing information to the plurality of target hosts.
As another embodiment of the present application, the operation object may control the mouse and the keyboard of one source host, copy one shared information, and transmit one shared information to a plurality of target hosts while controlling the mice and the keyboards of the plurality of target hosts.
As still another embodiment of the present application, the operation object may control the mice and keyboards of a plurality of source hosts, copy a plurality of shared information at the same time, and then control the mice and keyboards of one target host to transmit a plurality of shared information to one target host. The embodiments of the present application are not limited thereto.
In one embodiment of the application, the agent end communicates with the transmission node via a private network protocol.
Therefore, the embodiment of the application can control the shared information to be transmitted to the target host through the transmission node by connecting the seat end with the transmission node, and can control the mice of a plurality of hosts.
In one embodiment of the application, the transmission node is connected to the host via a USB.
Therefore, the embodiment of the application can copy the text content between the hosts under the condition that the hosts are not connected through the USB connection between the transmission nodes and the hosts, namely the text content sharing is carried out through the USB serial port between the hosts and the transmission nodes.
The above describes a data transmission method applied to the agent end, and the following describes a data transmission method applied to the target host.
As shown in fig. 4, a method for data transmission includes: s410, receiving sharing information; s420, identifying the type of the shared information, and storing 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 controlling a transmission node connected to the target host through the agent.
That is, one target host corresponds to one target host transmission node, and one source host also corresponds to one source host transmission node.
Firstly, all target hosts and source hosts in a system are provided with plug-ins, the plug-ins of the source hosts subscribe to the content of a system clipboard after operation, and after the content of the system clipboard changes, the plug-ins of the source hosts read shared information (the shared information comprises description information and information per se) included in the system clipboard and then send the shared information of the clipboard to a source host transmission node through a USB serial port.
Then, the agent end controls the source host transmission node to be sent to the target host transmission node appointed by the operation object, then the plug-in unit of the target host receives the sharing information of the cutting board from the target host transmission node, the sharing information of the cutting board is configured to the system cutting board of the current target host, the pasting option in the right key menu of the resource manager of the target host is effective, and the target host obtains text content or file content corresponding to the sharing information from the plug-in unit when the operation object is pasted.
In one embodiment of the present application, S420 includes: confirming the shared information as text, configuring the text to a clipboard of the target host, and saving 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 configured 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 according to the description information, requesting the source host to acquire the content of the file or the folder, and storing the content after receiving the 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 is connected 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 realizing copying of the file.
As a specific embodiment of the present application, as shown in fig. 5, the source host transmission node 130 reads the shared information of the source host 110, and the agent end controls the source host transmission node 130 to transmit the shared information to the target host transmission node 140 specified by the operation object, and the target host 120 receives the shared information from the target host transmission node 140.
After that, the target host 120 performs S510 content format judgment on the acquired shared information, puts the text into the target host clipboard 530, and saves the text in the case where it is judged as text. In case that it is judged that the description information of the file or the description information of the folder is included in the target host clipboard 530, the description information of the file or the description information of the folder is transmitted to the source host 110, the source host 110 transmits the file or the folder content 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 content, performs S520 pasting the file or the folder content to the target host clipboard 530 and saving the file or the folder content, thereby achieving information sharing.
Therefore, after receiving the shared information, the target host in the embodiment of the application combines the native clipboard of the target host system to identify the type of the shared information and store the content corresponding to the shared information, so that the shared information can be obtained efficiently.
Therefore, the technical key point of the data transmission method provided by the application is that the content sharing among a plurality of hosts in the distributed seat system is realized by using the cooperation of the USB serial port protocol and the IP network protocol based on the distributed technology and the Windows system clipboard technology. The copy and paste operation of texts or files among a plurality of hosts can be realized by realizing single agent operation; even if the plurality of hosts are not connected through a network, the plurality of hosts can copy text contents; the original windows shear plate is used, so that the research and development cost can be reduced, and the efficiency is improved.
The foregoing describes a specific embodiment of a method of data transmission, and an apparatus for data transmission will be described below.
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 a data transmission apparatus 600, applied to an agent, including:
the display module 610 is configured to display interfaces corresponding to the plurality of hosts, where the display interfaces are used for enabling an operation object to preview images of the plurality of hosts and controlling mice of the plurality of hosts.
The control module 620 is configured to control the plurality of hosts in response to an operation instruction performed on the display interface by the operation object, so as to implement copy and paste of the shared information between the plurality of 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 correspondingly arranged with one host, and the transmission node is 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 copy and paste of the shared information among a plurality of hosts by controlling 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 instructions include 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, controlling a transmission node connected with at least one target host to acquire the shared information through a communication link so as to enable the at least one target host to acquire the shared information.
In one embodiment, the agent end communicates with the transmission node via a private network protocol.
In one embodiment, the transfer node is connected to the host via a USB.
In an embodiment of the present application, the module shown in fig. 6 can implement the respective processes in the embodiments of the methods of fig. 2 and 3. The operation and/or function of the individual modules in fig. 6 are for the purpose of realizing the respective flows in the method embodiments in fig. 2 and 3, respectively. Reference is specifically made to the description in the above method embodiments, and detailed descriptions are omitted here as appropriate to avoid repetition.
In one embodiment, the present application provides a data transmission device, 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 sharing information, wherein the sharing information is obtained by controlling a transmission node connected with a target host through a seat 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 save module is further configured to: confirming the shared information as text; the text is configured to a clipboard of the target host and saved.
In one embodiment, the save 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 according to the description information, requesting the source host to acquire the content of the file or the folder, and storing the content after receiving the request result.
As shown in fig. 7, an embodiment of the present application provides an electronic device 700, including: the processor 710, the memory 720 and the bus 730, the processor being connected to the memory by a bus, the memory storing computer readable instructions which, when executed by the processor, are adapted to carry out the method according to any one of the above-described embodiments, and in particular reference is made to the description of the above-described method embodiments, and detailed descriptions thereof are omitted here as appropriate to avoid redundancy.
Wherein the bus is used to enable direct connection communication of these components. The processor in the embodiment of the application can be an integrated circuit chip with signal processing capability. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks 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, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory has stored therein computer readable instructions which, when executed by the processor, perform the methods of the above embodiments.
It will be appreciated that the configuration shown in fig. 7 is illustrative only 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.
The embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a server, implements the method of any of the foregoing embodiments, and specifically, reference may be made to the description in the foregoing method embodiment, and detailed descriptions are omitted here as appropriate to avoid redundancy.
The above is only a preferred embodiment of the present application, and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely illustrative 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 think about variations or substitutions within the technical scope of the present application, and the application should be covered. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (8)
1. A method for data transmission, applied to an agent terminal, the method comprising:
Displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts; the hosts comprise a source host and a target host, and the target host is connected with the source host through an IP network;
establishing communication links among a plurality of transmission nodes, wherein one transmission node is correspondingly arranged with one host, and the transmission node is connected with the host through a Universal Serial Bus (USB);
And responding to an operation instruction executed by the operation object on the display interface, indicating the target host to receive the shared information through the communication link, identifying the type of the shared information, storing the content corresponding to the shared information according to the type, and indicating the target host to acquire and store the content corresponding to the description information in the source host through a private network protocol when the type of the shared information is the description information.
2. The method of claim 1, wherein the source host is a host providing the shared information, the target host is a host receiving the shared information, and the operation instructions include copy instructions and paste instructions;
Wherein,
The responding to the operation instruction executed by the operation object on the display interface controls the hosts to realize copy and paste among the hosts by controlling the information transmission of the communication link, and the method comprises the following steps:
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 a transmission node connected with at least one target host to acquire the sharing information through a communication link so as to enable the at least one target host to acquire the sharing information.
3. The method according to any of claims 1-2, wherein the agent end communicates with the transmission node via a network interconnection protocol IP.
4. A method for data transmission, applied to a target host, where the target host communicates with an agent end through a transmission node, and the target host is connected with a source host through an IP network, the method comprising:
receiving sharing information, wherein the sharing information is obtained by controlling a transmission node connected with the target host through the seat end;
And identifying the type of the shared information, storing the content corresponding to the shared information according to the type, and when the type of the shared information is descriptive information, acquiring and storing the content corresponding to the descriptive information in the source host through a private network protocol.
5. The method of claim 4, wherein the identifying the type of the shared information and storing the content corresponding to the shared information according to the type comprises:
Confirming that the shared information is text;
configuring the text to a clipboard of the target host and saving the text.
6. The method of claim 4, wherein the identifying the type of the shared information and storing the content corresponding to the shared information according to the type comprises:
confirming that the shared information is description information of a file or description information of a folder;
And according to the description information, requesting the source host to acquire the content of the file or the folder, and storing the content after receiving a request result.
7. A system for data transmission, the system comprising:
A source host;
The source host transmission node is configured to be connected with the source host so as to acquire sharing information provided by the source host;
At least one target host transmission node configured to obtain sharing information provided by the source host via a communication link;
at least one target host configured to connect with a target host transmission node to receive shared information over the connection;
Identifying the type of the shared information, storing the content corresponding to the shared information according to the type, and when the type of the shared information is descriptive information, acquiring and storing the content corresponding to the descriptive information in the source host through a private network protocol;
a seat end configured to:
Displaying display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts;
establishing communication links among a plurality of transmission nodes, wherein one transmission node is correspondingly arranged with one host, and the transmission node is connected with the host through a Universal Serial Bus (USB);
And responding to an operation instruction executed by the operation object on the display interface, indicating the target host to receive the shared information through the communication link, identifying the type of the shared information, storing the content corresponding to the shared information according to the type, and indicating the target host to acquire and store the content corresponding to the description information in the source host through a private network protocol when the type of the shared information is the description information.
8. A device for data transmission, applied to an agent terminal, the device comprising:
The display module is configured to display interfaces corresponding to a plurality of hosts, wherein the display interfaces are used for enabling an operation object to preview pictures of the plurality of hosts and controlling mice of the plurality of hosts;
A control module configured to
Establishing communication links among a plurality of transmission nodes, wherein one transmission node is correspondingly arranged with one host, and the transmission node is connected with the host through a Universal Serial Bus (USB);
And responding to an operation instruction executed by the operation object on the display interface, indicating a target host to receive the shared information through the communication link, identifying the type of the shared information, storing the content corresponding to the shared information according to the type, and indicating the target host to acquire and store the content corresponding to the description information in the source host through a private network protocol when the type of the shared information is the description information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111317037.3A CN114035761B (en) | 2021-11-09 | 2021-11-09 | Method, system, device and storage medium for data transmission |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111317037.3A CN114035761B (en) | 2021-11-09 | 2021-11-09 | Method, system, device and storage medium for data transmission |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114035761A CN114035761A (en) | 2022-02-11 |
| CN114035761B true CN114035761B (en) | 2024-07-26 |
Family
ID=80136790
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111317037.3A Active CN114035761B (en) | 2021-11-09 | 2021-11-09 | Method, system, device and storage medium for data transmission |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114035761B (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101896900A (en) * | 2007-10-29 | 2010-11-24 | 贝尔金国际公司 | Apparatus and system for managing multiple computers |
Family Cites Families (4)
| 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 |
| CN102882963B (en) * | 2012-09-25 | 2016-01-27 | 腾讯科技(深圳)有限公司 | A kind of data transmission method, associated terminal and system |
| CN108133034B (en) * | 2018-01-08 | 2021-07-06 | 新华三云计算技术有限公司 | Shared storage access method and related device |
-
2021
- 2021-11-09 CN CN202111317037.3A patent/CN114035761B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101896900A (en) * | 2007-10-29 | 2010-11-24 | 贝尔金国际公司 | Apparatus and system for managing multiple computers |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114035761A (en) | 2022-02-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107636584B (en) | Follow mode and position tagging of virtual workspace viewports in a collaborative system | |
| US9092758B2 (en) | Service providing apparatus, information processing system and methods | |
| CN108449418A (en) | A hybrid cloud platform management system and method | |
| CN112445579B (en) | Zero terminal data processing system and file copying method and device thereof | |
| CN101866292B (en) | Information processing apparatus and control method | |
| CN112947918A (en) | Data display method and device | |
| US10901582B2 (en) | Information processing apparatus, communication system, and image processing method | |
| CN107580011B (en) | A data sharing method and desktop cloud server | |
| US20240289541A1 (en) | Method, apparatus, electronic device and computer readable storage medium for task creation | |
| CN114237464B (en) | Data sharing method and electronic equipment | |
| CN109740096B (en) | Method, device and system for realizing real-time preview and storage medium | |
| CN114186156A (en) | Access method, device, medium and equipment for sub-application | |
| CN113190152A (en) | Method and device for switching application program theme | |
| CN113873044B (en) | Data transmission method, system, equipment and storage medium | |
| US20250310188A1 (en) | Method and apparatus for creating a connector | |
| CN110109594A (en) | A kind of draw data sharing method, device, storage medium and equipment | |
| CN105095220A (en) | Browser implementation method, terminal and virtualized agent device | |
| CN109101306B (en) | Sharing method, sharing device, terminal and computer readable storage medium | |
| CN114035761B (en) | Method, system, device and storage medium for data transmission | |
| CN107862035A (en) | Network reading method and device for conference record, intelligent tablet and storage medium | |
| US20040088399A1 (en) | Terminal apparatus and control method thereof | |
| CN114466401A (en) | Image transmission method and electronic device | |
| CN109803017B (en) | File intercommunication method and device, computing equipment and computer readable storage medium | |
| CN114281332A (en) | Visual page development method, device, equipment and medium | |
| JP2021124775A (en) | Information processing equipment, information processing systems, and information processing programs |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |