CN112099716A - File replication system between remote computers - Google Patents

File replication system between remote computers Download PDF

Info

Publication number
CN112099716A
CN112099716A CN202010829649.XA CN202010829649A CN112099716A CN 112099716 A CN112099716 A CN 112099716A CN 202010829649 A CN202010829649 A CN 202010829649A CN 112099716 A CN112099716 A CN 112099716A
Authority
CN
China
Prior art keywords
file
computer
acquisition end
acquisition
image
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
CN202010829649.XA
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010829649.XA priority Critical patent/CN112099716A/en
Publication of CN112099716A publication Critical patent/CN112099716A/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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • 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

Landscapes

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

Abstract

The utility model provides a file copy system between remote computers relates to computer technical field, can solve the loaded down with trivial details problem of file copy step between the remote computers. The specific technical scheme is as follows: the image receiving end equipment receives a desktop image of a first computer sent by a first acquisition end and a desktop image of a second computer sent by a second acquisition end, controls the desktop image of the first computer and the desktop image of the second computer to be displayed in two different display areas, and controls the first acquisition end and the second acquisition end to establish a communication channel when detecting that a user drags a file in the desktop image of the first computer to the desktop image of the second computer through a mouse; the first acquisition end sends the file to the second acquisition end through the established communication channel; and the second acquisition terminal sends the received file to a second computer for storage. The file transmission is realized without an instant communication tool or a mailbox, so that the file copying process between remote computers is simplified.

Description

File replication system between remote computers
Technical Field
The present disclosure relates to the field of computer technology, and more particularly, to a file replication system between remote computers.
Background
The existing image receiving end equipment (R end equipment) can simultaneously receive desktop images sent by two or more acquisition ends (S end equipment), and meanwhile, the R end equipment can locally perform reverse control on computers connected with the two S end equipment based on the operation of display pictures of the two S end equipment, so that the simultaneous control of the two computers through the R end equipment becomes practical.
In the existing product, the user at the R end can see desktop images of two computers at the same time and can also perform reverse control on the two computers, but the control of the R end on the two computers is independent.
In the existing application scenario, the user may generate various requirements for operating the computer, such as the following requirements: when a user operates the computer 1, the user needs to use the files on the computer 2, and in this case, one existing operation mode is as follows: the user operates the desktop image of the computer 2 to send files to a corresponding instant messaging tool or mailbox opened on the computer 1 through some instant messaging tool or mailbox or the like, and then reads and saves the files from the instant messaging tool or mailbox of the computer 1. However, such operation is relatively complicated, and the user operation is not smooth, which makes the user operation awkward.
Disclosure of Invention
The embodiment of the disclosure provides a file copying system between remote computers, which can solve the problem that the file copying steps between the remote computers in the related art are complicated. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a file replication system between remote computers, the system including:
the image receiving end equipment receives a desktop image of a first computer sent by a first acquisition end and a desktop image of a second computer sent by a second acquisition end respectively; the first acquisition end is used for acquiring a desktop image of the first computer, and the second acquisition end is used for acquiring a desktop image of the second computer;
the image receiving end equipment controls the desktop image of the first computer and the desktop image of the second computer to be displayed in two different display areas;
when the image receiving end equipment detects that a user drags a file in the desktop image of the first computer to the desktop image of the second computer through a mouse, the image receiving end equipment controls the first acquisition end and the second acquisition end to establish a communication channel;
the first acquisition end sends the file to the second acquisition end through the established communication channel;
and the second acquisition terminal sends the received file to the second computer for storage.
The file replication system between remote computers provided by the embodiment of the present disclosure includes: the image receiving end equipment receives a desktop image of a first computer sent by a first acquisition end and a desktop image of a second computer sent by a second acquisition end respectively; the system comprises a first acquisition end, a second acquisition end and a server, wherein the first acquisition end is used for acquiring a desktop image of a first computer, and the second acquisition end is used for acquiring a desktop image of a second computer; the image receiving end equipment controls the desktop image of the first computer and the desktop image of the second computer to be displayed in two different display areas; when the image receiving end equipment detects that a user drags a file in a desktop image of a first computer to a desktop image of a second computer through a mouse, the image receiving end equipment controls a first acquisition end and a second acquisition end to establish a communication channel; the first acquisition end sends the file to the second acquisition end through the established communication channel; and the second acquisition terminal sends the received file to a second computer for storage. When it is detected that a user drags a file in a desktop image of a first computer to a desktop image of a second computer, the corresponding file can be sent to the second acquisition end from the first acquisition end through an established communication channel between the first acquisition end and the second acquisition end, and then sent to the second computer by the second acquisition end, so that the file can be transmitted between the first computer and the second computer, the file transmission between the first computer and the second computer can be realized without an instant communication tool or a mailbox, the file copying process between remote computers can be simplified, the user operation is more smooth and convenient, and the user experience is effectively improved.
In one embodiment, the controlling, by the image receiving end device, the first acquisition end and the second acquisition end to establish a communication channel includes:
the image receiving end equipment sends a network port opening signaling to the first computer through the first acquisition end, and the network port opening instruction indicates that the first computer randomly opens a network port;
the first computer randomly opens a network port according to the received network port opening instruction;
after the first computer successfully opens the network port, feeding back the port number of the network port to the image receiving end equipment through the first acquisition end;
after receiving the port number, the image receiving end device sends a network connection instruction to the second acquisition end, where the network connection instruction includes: the port number and the IP address of the first acquisition end;
and after receiving the network connection instruction, the second acquisition end establishes a communication channel with the first acquisition end according to the port number and the IP address of the first acquisition end.
In one embodiment, the sending, by the first acquisition end, the file to the second acquisition end through the established communication channel includes:
the image receiving end equipment acquires the stop position of the mouse in the desktop image of the second computer;
the image receiving end equipment sends the stop position to the second acquisition end;
after receiving the stopping position, the second acquisition end detects whether the stopping position is a legal file dragging position; the legal file dragging position refers to: the stop location can correspond to a file storage directory on the second computer;
when the second acquisition end detects that the stop position is a legal file dragging position, the second acquisition end sends a file receiving starting indication message to the first acquisition end through the communication channel;
and after receiving the file starting indication message, the first acquisition end sends the file to the second acquisition end through the established communication channel.
In one embodiment, the sending, by the second acquisition end, the received file to the second computer for storage includes:
the second acquisition end acquires a file storage directory corresponding to the stop position;
the second acquisition terminal sends file storage information to the second computer, wherein the file storage information comprises: the file and the file storage directory;
and after receiving the file storage information, the second computer stores the file in a folder corresponding to the file storage directory.
In one embodiment, further comprising:
and after receiving the file, the second acquisition end sends a file receiving success indication message to the first acquisition end.
In one embodiment, further comprising:
and when the second acquisition end detects that the stop position is not a legal file dragging position, the second acquisition end sends a file receiving refusing indication message to the first acquisition end through the communication channel.
In one embodiment, further comprising:
and after the first acquisition end receives the file receiving success indication message or the file receiving refusal indication message, disconnecting the communication channel established with the second acquisition end.
In an embodiment, after receiving the stop position, the detecting, by the second acquisition end, whether the stop position is a legal file dragging position includes:
the second acquisition end acquires the range and the stacking sequence of all currently opened windows through a system API;
the second acquisition end analyzes the window attribute of the uppermost layer where the stop position is located;
if the stop position is not in any window range, determining that the stop position is a legal file dragging position;
if the file manager is determined according to the window attribute, determining that the stopping position is a legal file dragging position;
and if the file manager is determined not to be the file manager according to the window attribute, determining that the stop position is not a legal file dragging position.
In one embodiment, the obtaining, by the second acquisition end, the file storage directory corresponding to the stop position includes:
if the coordinate position is not in any window range, the file storage directory corresponding to the stop position is a desktop;
and if the file storage directory corresponding to the stop position is determined to be a file manager according to the window attribute, the file storage directory corresponding to the stop position is a directory pointed by the file manager.
In one embodiment, further comprising:
when detecting that a user drags a file in the desktop image of the first computer to the desktop image of the second computer through a mouse, the image receiving end equipment acquires a mouse-and-key event corresponding to the mouse;
the image receiving end equipment sends the keyboard and mouse event to the second acquisition end;
the second acquisition end sends the keyboard and mouse event to the second computer;
and the second computer locally calls a preset API to simulate the keyboard and mouse events.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of a file replication system between remote computers according to an embodiment of the present disclosure.
FIG. 2 is a schematic diagram of a file replication system between remote computers according to an embodiment of the present disclosure.
FIG. 3 is an interaction diagram of a method of file replication between remote computers provided by an embodiment of the present disclosure;
FIG. 4 is an interaction diagram of a method of file replication between remote computers provided by an embodiment of the present disclosure;
FIG. 5 is an interaction diagram of a method of file replication between remote computers provided by an embodiment of the present disclosure;
FIG. 6 is an interaction diagram of a method of file replication between remote computers provided by an embodiment of the present disclosure;
FIG. 7 is an interaction diagram of a method of file replication between remote computers provided by an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a mouse according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The disclosed embodiment provides a file replication system between remote computers, as shown in fig. 1 to 3, the file replication system between remote computers including: the system comprises a first acquisition end 11, a first computer 12, a second acquisition end 13, a second computer 14, an image receiving end device 15 and a display 16, wherein the first acquisition end and the second acquisition end respectively acquire desktop images from the first computer and the second computer, encode the acquired images and then send the encoded images to the image receiving end device through a network. After decoding the received image, the image receiving end equipment obtains a desktop image of the first computer and a desktop image of the second computer, and respectively displays the desktop images through two display areas; the display is used for displaying the desktop image of the first computer and the desktop image of the second computer, in one implementation manner, the display may be a single physical screen, and at this time, the two display areas are two different display areas on the same physical screen, in another implementation manner, the display may also be two physical screens, that is, the two screens are displayed through the two displays, and at this time, the desktop image of the first computer and the desktop image of the second computer are displayed in the two different display areas on the two physical screens.
When file copying between remote computers is executed, the specific implementation mode is as follows:
s11, the image receiving end equipment respectively receives the desktop image of the first computer sent by the first acquisition end and the desktop image of the second computer sent by the second acquisition end; the first acquisition end is used for acquiring desktop images of the first computer, and the second acquisition end is used for acquiring desktop images of the second computer.
The first acquisition end and the second acquisition end respectively acquire desktop images from the first computer and the second computer, encode the acquired images and then send the encoded images to the image receiving end equipment through a network. And the image receiving end equipment decodes the received image to obtain the desktop image of the first computer and the desktop image of the second computer.
And S12, the image receiving end device controls the desktop image of the first computer and the desktop image of the second computer to be displayed in two different display areas.
After the image receiving end equipment decodes the desktop image of the first computer and the desktop image of the second computer, the desktop images are respectively displayed through two display areas; the display is used for displaying the desktop image of the first computer and the desktop image of the second computer, in one implementation manner, the display may be a single physical screen, and at this time, the two display areas are two different display areas on the same physical screen, in another implementation manner, the display may also be two physical screens, that is, the two screens are displayed through the two displays, and at this time, the desktop image of the first computer and the desktop image of the second computer are displayed in the two different display areas on the two physical screens.
S13, when the image receiving end device detects that a user drags a file in a desktop image of a first computer to a desktop image of a second computer through a mouse, the image receiving end device controls a first acquisition end and a second acquisition end to establish a communication channel.
When a user operates a desktop image of a first computer displayed in a display, after a file on the desktop image of the first computer is selected, the file is dragged from the boundary of the desktop image of the first computer into the desktop image of a second computer in a dragging mode, and meanwhile, a connecting channel between a first collecting end and a second collecting end is established.
In an implementation manner, when the mouse is dragged from the boundary of the desktop image of the first computer into the desktop image of the second computer in a dragging manner, the mouse may capture a file cross-screen dragging event, after the mouse enters the desktop image of the second computer, the image receiving end device continuously captures position coordinates of the mouse in the dragging process on the desktop image of the second computer, records the mouse dragging event as the file cross-screen dragging event, generates a corresponding key mouse event, and sends the key mouse event to the second collection end.
And S14, the first acquisition end sends the file to the second acquisition end through the established communication channel.
Because the user drags the file in the desktop image of the first computer to the desktop image of the second computer through the mouse, the file is transmitted between the first computer and the second computer, and therefore after the communication channel between the first acquisition end and the second acquisition end is established, the file is transmitted to the second acquisition end through the established communication channel.
And S15, the second acquisition terminal sends the received file to a second computer for storage.
Because the second acquisition end can be in direct communication with the second computer, after the second acquisition end receives the file, the file is forwarded to the second computer for storage, so that the file copying between the first computer and the second computer in a remote way is realized.
The file replication system between remote computers provided by the embodiment of the present disclosure includes: the image receiving end equipment receives a desktop image of a first computer sent by a first acquisition end and a desktop image of a second computer sent by a second acquisition end respectively; the system comprises a first acquisition end, a second acquisition end and a server, wherein the first acquisition end is used for acquiring a desktop image of a first computer, and the second acquisition end is used for acquiring a desktop image of a second computer; the image receiving end equipment controls the desktop image of the first computer and the desktop image of the second computer to be displayed in two different display areas; when the image receiving end equipment detects that a user drags a file in a desktop image of a first computer to a desktop image of a second computer through a mouse, the image receiving end equipment controls a first acquisition end and a second acquisition end to establish a communication channel; the first acquisition end sends the file to the second acquisition end through the established communication channel; and the second acquisition terminal sends the received file to a second computer for storage. When it is detected that a user drags a file in a desktop image of a first computer to a desktop image of a second computer, the corresponding file can be sent to the second acquisition end from the first acquisition end through an established communication channel between the first acquisition end and the second acquisition end, and then sent to the second computer by the second acquisition end, so that the file can be transmitted between the first computer and the second computer, the file transmission between the first computer and the second computer can be realized without an instant communication tool or a mailbox, the file copying process between remote computers can be simplified, the user operation is more smooth and convenient, and the user experience is effectively improved.
In one embodiment, as shown in fig. 4, the step S13 includes the following sub-steps:
s131, the image receiving end equipment sends a network port opening signaling to the first acquisition end, and the network port opening instruction indicates that the first computer opens a network port randomly.
S132, the first acquisition end sends a network port opening signaling to the first computer.
S133, the first computer randomly opens a network port according to the received network port opening instruction.
And S134, after the first computer successfully opens the network port, sending the port number of the network port to the first acquisition end.
And S135, the first acquisition terminal feeds the port number of the network port back to the image receiving terminal equipment.
S136, after the image receiving end equipment receives the port number, sending a network connection instruction to the second acquisition end, wherein the network connection instruction comprises: port number and IP address of the first acquisition end.
And S137, after the second acquisition end receives the network connection instruction, establishing a communication channel with the first acquisition end according to the port number and the IP address of the first acquisition end.
When the establishment of a communication channel between a first acquisition end and a second acquisition end is controlled, the image receiving end equipment sends a network port opening signaling to the first acquisition end to enable a first computer to randomly open a network port, after the network port is successfully opened by the first computer, the port number is fed back to the image receiving end equipment, then the image receiving end equipment sends the network port number and the IP address of the first acquisition end to the second acquisition end as a network connection instruction, when the second acquisition end receives the network connection instruction sent by the image receiving end equipment, the IP address and the port number in the network connection instruction are analyzed, and a communication channel between the image receiving end equipment and the first acquisition end is established according to the IP address and the port number, so that the network connection between the first acquisition end and the second acquisition end is realized.
In this embodiment, file transmission between the first computer and the second computer can be realized by establishing a network connection between the first acquisition end and the second acquisition end.
In one embodiment, as shown in fig. 5, the step S14 includes the following sub-steps:
s141, the image receiving end device acquires the stop position of the mouse in the desktop image of the second computer.
And S142, the image receiving end equipment sends the stop position to a second acquisition end.
S143, after the second acquisition end receives the stop position, detecting whether the stop position is a legal file dragging position; legal file drag locations refer to: the stop location can correspond to a file storage directory on the second computer.
And S144, when the second acquisition end detects that the stop position is a legal file dragging position, the second acquisition end sends a file receiving starting instruction message to the first acquisition end through the communication channel.
And S145, after receiving the message of starting to receive the first file acquisition end, the first acquisition end sends the file to the second acquisition end through the established communication channel.
When the image receiving end equipment detects that the mouse dragging action stops, the coordinate position on the stop position is sent to a second acquisition end through a keyboard and mouse message; after receiving the coordinate position of the stop position, the second acquisition end judges whether the stop position is a legal file dragging position; the legal file dragging position refers to: the current location can correspond to a normal storage directory on the current device. For example, the drag location may be: a normal folder icon location, or an open folder display interface, etc. And if the file dragging position is legal, the second acquisition end returns an indication message for starting to receive the file to the first acquisition end, and when the first acquisition end receives the first acquisition end message for starting to receive the file, the first acquisition end sends the corresponding file to the second acquisition end through a communication channel established between the first acquisition end and the second acquisition end.
In one embodiment, as shown in fig. 6, the step S15 includes the following sub-steps:
and S151, the second acquisition end acquires a file storage directory corresponding to the stop position.
S152, the second acquisition terminal sends file storage information to the second computer, wherein the file storage information comprises: files and file storage directories.
And S153, after receiving the file storage information, the second computer stores the file in a folder corresponding to the file storage directory.
If the stopping position is a legal file dragging position, the second acquisition end returns an indication message for starting to receive the file to the first acquisition end, and simultaneously records a file storage directory corresponding to the corresponding dragging stopping position, the file storage directory at the moment is a target folder for a user to save the file, the second acquisition end receives the corresponding file and then sends the corresponding file to the second computer, and the second computer saves the file to the folder corresponding to the file storage directory after receiving the file.
In one embodiment, after receiving the file, the second acquisition end further sends a file reception success indication message to the first acquisition end.
And after receiving the corresponding file, the second acquisition end feeds back an indication message of successful file reception to the first acquisition end so as to inform the first acquisition end of the file transmission result.
In one embodiment, when the second acquisition end detects that the stop position is not a legal file dragging position, the second acquisition end sends a file receiving refusal indication message to the first acquisition end through a communication channel.
And if the file dragging position is not legal, the second acquisition end returns an indication message of refusing to receive the file to the first acquisition end so as to inform the first acquisition end of the transmission result of the file.
And when the first acquisition end receives the indication message of refusing to receive the file, the current file copying process is ended.
In one embodiment, after the first acquisition end receives the file receiving success indication message or refuses to receive the file indication message, the first acquisition end disconnects the established communication channel with the second acquisition end.
When the first acquisition end receives the indication message of successful file reception or the indication message of refusing to receive the file sent by the second acquisition end, the file transmission process is ended, at the moment, the first acquisition end can disconnect the connection channel with the second acquisition end, and the whole file copying process is ended.
In an embodiment, as shown in fig. 7, after the second capture end receives the stop position in step S143, detecting whether the stop position is a legal file dragging position includes the following sub-steps:
and S1431, the second acquisition end obtains the range and the stacking sequence of all currently opened windows through a system API.
And S1432, the second acquisition end analyzes the window attribute of the uppermost layer where the stop position is located.
S1433, if the stop position is not in any window range, determining that the stop position is a legal file dragging position.
At this time, the file storage directory corresponding to the stop position is the desktop.
S1434, if the file manager is determined according to the window attribute, determining that the stopping position is a legal file dragging position.
At this time, the file storage directory corresponding to the stop position is the directory pointed to by the file manager.
S1435, if the file manager is determined not to be the file manager according to the window attribute, determining that the stop position is not a legal file dragging position.
Specifically, the range and the stacking sequence of all currently opened windows are obtained through a system API, the window attribute of the uppermost layer where the current coordinate position of the stop position is located is analyzed, if the current coordinate position is not within any window range, the current stop position is determined to correspond to a normal storage directory, and the storage path of the stop position is a desktop; continuously analyzing the window attribute obtained in the step, if the window attribute is a file manager, determining that the current stop position corresponds to a normal storage directory and the target path is a directory path pointed by the current file manager; if the window attribute obtained in the above step is not the file manager, it is determined that the stop position is not a normal storage directory.
In one embodiment, further comprising:
when detecting that a user drags a file in a desktop image of a first computer to a desktop image of a second computer through a mouse, image receiving end equipment acquires a mouse event corresponding to the mouse;
the image receiving end equipment sends the keyboard and mouse event to a second acquisition end;
the second acquisition terminal sends the keyboard and mouse event to a second computer;
and the second computer locally calls a preset API to simulate the keyboard and mouse events.
Specifically, the second acquisition end sends the received keyboard and mouse event to the second computer, the second computer locally calls a relevant API to simulate the keyboard and mouse event, a predefined file cross-picture dragging icon is displayed on a coordinate dragged by a mouse on a desktop image, the file cross-picture dragging icon can be designed as required, an exemplary file cross-picture dragging icon can be shown in fig. 8, the icon in fig. 8 can be displayed on the position of the mouse moving coordinate in the process that a user moves the mouse on the second computer, and the cross-picture file dragging operation of the user can be continued in experience by displaying the icon.
Based on the file replication system between remote computers described in the embodiments corresponding to fig. 1 to 7, the embodiments of the present disclosure provide a method for file replication between remote computers, where the method is applied to the first acquisition end in the embodiments, and the specific steps of the method are the same as those in the embodiments described above, and are not described herein again.
Based on the file replication system between remote computers described in the embodiments corresponding to fig. 1 to 7, the embodiments of the present disclosure provide a method for replicating files between remote computers, where the method is applied to the second acquisition end in the embodiments, and the specific steps of the method are the same as those in the embodiments, and are not described herein again.
Based on the file replication system between remote computers described in the embodiments corresponding to fig. 1 to 7, the embodiments of the present disclosure provide a method for file replication between remote computers, where the method is applied to the first computer in the embodiments, and the specific steps of the method are the same as those in the embodiments, and are not described herein again.
Based on the file replication system between remote computers described in the embodiments corresponding to fig. 1 to 7, the embodiments of the present disclosure provide a method for file replication between remote computers, where the method is applied to the second computer in the embodiments, and the specific steps of the method are the same as those in the embodiments, and are not described herein again.
Based on the file replication system between remote computers described in the embodiments corresponding to fig. 1 to 7, the embodiments of the present disclosure provide a method for file replication between remote computers, where the method is applied to an image receiving device in the embodiments, and specific steps of the method are the same as those in the embodiments, and are not described herein again.
Based on the file replication system between remote computers described in the embodiments corresponding to fig. 1 to 7, the embodiments of the present disclosure provide a file replication method between remote computers, where the method is applied to a display in the embodiments, and specific steps of the method are the same as those in the embodiments, and are not described herein again.
Based on the file copying method applied to the remote computers of the first acquisition end described in the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium has stored thereon computer instructions for executing the above-mentioned file copying method applied between the remote computers of the first acquisition end, which is not described herein again.
Based on the file copying method applied to the first computer between the remote computers described in the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium has stored thereon computer instructions for executing the above-mentioned file copying method applied between remote computers of the first computer, which will not be described herein again.
Based on the file copying method applied to the remote computers of the second acquisition end described in the foregoing embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium has stored thereon computer instructions for executing the above-mentioned file copying method applied between remote computers of the second acquisition end, which is not described herein again.
Based on the file copying method applied to the second computer in the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium has stored thereon computer instructions for performing the above-described file copying method applied between remote computers of the second computer, which will not be described herein again.
Based on the file copying method applied to the image receiving apparatus between remote computers described in the above embodiments, the embodiments of the present disclosure also provide a computer-readable storage medium, for example, a non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium has stored thereon computer instructions for executing the above-mentioned file copying method applied between remote computers of the image receiving apparatus, which will not be described herein again.
Based on the file copying method applied to the display between the remote computers described in the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium has stored thereon computer instructions for performing the above-described file copying method applied between remote computers of the first display, which will not be described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A system for file replication between remote computers, comprising:
the image receiving end equipment receives a desktop image of a first computer sent by a first acquisition end and a desktop image of a second computer sent by a second acquisition end respectively; the first acquisition end is used for acquiring a desktop image of the first computer, and the second acquisition end is used for acquiring a desktop image of the second computer;
the image receiving end equipment controls the desktop image of the first computer and the desktop image of the second computer to be displayed in two different display areas;
when the image receiving end equipment detects that a user drags a file in the desktop image of the first computer to the desktop image of the second computer through a mouse, the image receiving end equipment controls the first acquisition end and the second acquisition end to establish a communication channel;
the first acquisition end sends the file to the second acquisition end through the established communication channel;
and the second acquisition terminal sends the received file to the second computer for storage.
2. The system according to claim 1, wherein the image receiving end device controls the first acquisition end and the second acquisition end to establish a communication channel, including:
the image receiving end equipment sends a network port opening signaling to the first computer through the first acquisition end, and the network port opening instruction indicates that the first computer randomly opens a network port;
the first computer randomly opens a network port according to the received network port opening instruction;
after the first computer successfully opens the network port, feeding back the port number of the network port to the image receiving end equipment through the first acquisition end;
after receiving the port number, the image receiving end device sends a network connection instruction to the second acquisition end, where the network connection instruction includes: the port number and the IP address of the first acquisition end;
and after receiving the network connection instruction, the second acquisition end establishes a communication channel with the first acquisition end according to the port number and the IP address of the first acquisition end.
3. The system of claim 1, wherein the first collection end sends the file to the second collection end through the established communication channel, comprising:
the image receiving end equipment acquires the stop position of the mouse in the desktop image of the second computer;
the image receiving end equipment sends the stop position to the second acquisition end;
after receiving the stopping position, the second acquisition end detects whether the stopping position is a legal file dragging position; the legal file dragging position refers to: the stop location can correspond to a file storage directory on the second computer;
when the second acquisition end detects that the stop position is a legal file dragging position, the second acquisition end sends a file receiving starting indication message to the first acquisition end through the communication channel;
and after receiving the file starting indication message, the first acquisition end sends the file to the second acquisition end through the established communication channel.
4. The system of claim 3, wherein the second collection end sends the received file to the second computer for storage, and the sending comprises:
the second acquisition end acquires a file storage directory corresponding to the stop position;
the second acquisition terminal sends file storage information to the second computer, wherein the file storage information comprises: the file and the file storage directory;
and after receiving the file storage information, the second computer stores the file in a folder corresponding to the file storage directory.
5. The system of claim 3, further comprising:
and after receiving the file, the second acquisition end sends a file receiving success indication message to the first acquisition end.
6. The system of claim 3, further comprising:
and when the second acquisition end detects that the stop position is not a legal file dragging position, the second acquisition end sends a file receiving refusing indication message to the first acquisition end through the communication channel.
7. The system of claim 5 or 6, further comprising:
and after the first acquisition end receives the file receiving success indication message or the file receiving refusal indication message, disconnecting the communication channel established with the second acquisition end.
8. The system of claim 4, wherein after receiving the stop position, the second capture end detects whether the stop position is a legal document dragging position, comprising:
the second acquisition end acquires the range and the stacking sequence of all currently opened windows through a system API;
the second acquisition end analyzes the window attribute of the uppermost layer where the stop position is located;
if the stop position is not in any window range, determining that the stop position is a legal file dragging position;
if the file manager is determined according to the window attribute, determining that the stopping position is a legal file dragging position;
and if the file manager is determined not to be the file manager according to the window attribute, determining that the stop position is not a legal file dragging position.
9. The system of claim 8, wherein the obtaining, by the second acquisition end, the file storage directory corresponding to the stop position includes:
if the coordinate position is not in any window range, the file storage directory corresponding to the stop position is a desktop;
and if the file storage directory corresponding to the stop position is determined to be a file manager according to the window attribute, the file storage directory corresponding to the stop position is a directory pointed by the file manager.
10. The system of claim 1, further comprising:
when detecting that a user drags a file in the desktop image of the first computer to the desktop image of the second computer through a mouse, the image receiving end equipment acquires a mouse-and-key event corresponding to the mouse;
the image receiving end equipment sends the keyboard and mouse event to the second acquisition end;
the second acquisition end sends the keyboard and mouse event to the second computer;
and the second computer locally calls a preset API to simulate the keyboard and mouse events.
CN202010829649.XA 2020-08-17 2020-08-17 File replication system between remote computers Pending CN112099716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010829649.XA CN112099716A (en) 2020-08-17 2020-08-17 File replication system between remote computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010829649.XA CN112099716A (en) 2020-08-17 2020-08-17 File replication system between remote computers

Publications (1)

Publication Number Publication Date
CN112099716A true CN112099716A (en) 2020-12-18

Family

ID=73754535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010829649.XA Pending CN112099716A (en) 2020-08-17 2020-08-17 File replication system between remote computers

Country Status (1)

Country Link
CN (1) CN112099716A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115408093A (en) * 2022-10-31 2022-11-29 统信软件技术有限公司 Remote connection method, remote connection system, computing device, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115408093A (en) * 2022-10-31 2022-11-29 统信软件技术有限公司 Remote connection method, remote connection system, computing device, and storage medium
CN115408093B (en) * 2022-10-31 2023-05-02 统信软件技术有限公司 Remote connection method, remote connection system, computing device, and storage medium

Similar Documents

Publication Publication Date Title
US9124766B2 (en) Video conference apparatus, method, and storage medium
CA2893140C (en) Networked chat and media sharing systems and methods
EP2299349B1 (en) Data transfer method and system
TW460788B (en) Information processing method, collaboration server, collaboration system, and storage medium for storing an information processing program
US20130132862A1 (en) Desktop sharing method and system
CN105871690B (en) Method and device for realizing instant messaging
CN110716906B (en) File viewing method, electronic equipment and file viewing device
US20030058275A1 (en) Display and manipulation of pictorial images
US9122444B2 (en) Network accessible projectors that display multiple client screens at once
CN112114928B (en) Processing method and device for display page
EP3742273B1 (en) File transfer method and apparatus
EP3156895A1 (en) Image processing apparatus and image processing system
CN113407086A (en) Object dragging method, device and storage medium
CN112099716A (en) File replication system between remote computers
CN111290722A (en) Screen sharing method, device and system, electronic equipment and storage medium
CN109697129A (en) A kind of information sharing method, equipment and computer readable storage medium
CN114979730B (en) Screen transmission interaction method, device, computer equipment and storage medium
US20200327161A1 (en) Video processing method, device, terminal and storage medium
CN111930278B (en) Intelligent interaction device, intelligent interaction method, and storage medium
CN113391782A (en) Method, system, electronic device and storage medium for controlling mobile terminal by computer
CN112751681A (en) Image processing method, device, equipment and computer readable storage medium
CN111752722A (en) Data transmission method and equipment
US20210314449A1 (en) Image processing system for providing attribute information, image processing method and storage medium
CN108984074B (en) Sidebar operation method, device and system, terminal equipment and server
CN112799621A (en) Comment display method and system

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