CN113312324A - File operation synchronization method and equipment based on redirection and storage medium - Google Patents

File operation synchronization method and equipment based on redirection and storage medium Download PDF

Info

Publication number
CN113312324A
CN113312324A CN202110861648.8A CN202110861648A CN113312324A CN 113312324 A CN113312324 A CN 113312324A CN 202110861648 A CN202110861648 A CN 202110861648A CN 113312324 A CN113312324 A CN 113312324A
Authority
CN
China
Prior art keywords
file
response
file information
server
redirection
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
CN202110861648.8A
Other languages
Chinese (zh)
Inventor
戚建淮
田佳
刘建辉
唐娟
郑伟范
周杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Y&D Electronics Information Co Ltd
Original Assignee
Shenzhen Y&D Electronics Information Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Y&D Electronics Information Co Ltd filed Critical Shenzhen Y&D Electronics Information Co Ltd
Priority to CN202110861648.8A priority Critical patent/CN113312324A/en
Publication of CN113312324A publication Critical patent/CN113312324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a file operation synchronization method, equipment and a storage medium based on redirection, and relates to the technical field of redirection. The file information of the storage device is acquired, the redirection request is sent to the server after being generated according to the file information, so that the file information can be displayed on the server, the operation response generated after the server executes the file operation on the file information is acquired, the file operation executed by the server on the file information is synchronized according to the operation response, the data information in the storage device connected with the client can be read and written through the server, the problem that the storage device cannot be normally read and written due to the performance problem of the client and the like is solved, and the user experience is improved.

Description

File operation synchronization method and equipment based on redirection and storage medium
Technical Field
The present application relates to the field of redirection technologies, and in particular, to a file operation synchronization method and apparatus based on redirection, and a storage medium.
Background
The method comprises the following steps that a Universal Serial Bus (USB) device is redirected, namely a client connected with a storage device intercepts storage device data reported by a Bus driver and forwards the intercepted storage device data to a cloud server, so that the storage device of the client can be mapped to the cloud server.
When the storage device is connected to the client computer, the client often reads data such as file information stored in the storage device and displays the data on the client, and a user can read and write the file information in the storage device on the client.
Disclosure of Invention
The present application is directed to solving at least one of the problems in the prior art. Therefore, the file operation synchronization method based on redirection can perform read-write operation on data information in the storage device connected with the client through the server, avoid the problem that normal read-write operation cannot be performed on the storage device due to the performance problem of the client and the like, and improve user experience.
The application also provides another file operation synchronization method based on redirection.
The application also provides a client side with the redirection-based file operation synchronization method.
The application also provides a server with the redirection-based file operation synchronization method.
The application also provides electronic equipment with the redirection-based file operation synchronization method.
The application also provides a computer readable storage medium with the redirection-based file operation synchronization method.
The redirection-based file operation synchronization method according to the embodiment of the first aspect of the application is applied to a client connected with a storage device, and comprises the following steps: acquiring file information of the storage device; generating a redirection request according to the file information; sending the redirection request to a server so that the file information is displayed on the server; acquiring an operation response generated by the server executing the file operation on the file information; and synchronizing the file operation executed by the server on the file information according to the operation response.
The file operation synchronization method based on redirection according to the embodiment of the application has at least the following beneficial effects: the client side obtains the file information of the storage device, generates the redirection request according to the file information, and then sends the redirection request to the server, so that the file information can be displayed on the server, obtains the operation response generated after the server executes the file operation on the file information, synchronizes the file operation executed by the server on the file information according to the operation response, and can perform read-write operation on the data information in the storage device connected with the client side through the server, thereby avoiding the problem that the storage device cannot be normally read and written due to the performance problem of the client side and the like, and improving the user experience.
According to some embodiments of the application, the operational response comprises a virus kill response;
correspondingly, the method further comprises the following steps: acquiring a virus searching and killing response of the server to the file information, wherein the virus searching and killing response is generated by the server through virus searching and killing of the displayed file information;
and synchronously searching and killing the virus executed on the file information according to the virus searching and killing response.
According to some embodiments of the application, the operational response includes one or more of: read response, write response, change response, delete response;
correspondingly, the file operation executed by the server on the file information is synchronized according to the operation response, and the file operation comprises one or more of the following steps:
synchronizing the reading operation executed by the server on the file information according to the reading response; or, according to the write response, synchronizing the write operation executed by the server on the file information; or, the change operation executed by the server to the file information is synchronized according to the change response; or, according to the deletion response, synchronizing the deletion operation executed by the server on the file information.
The redirection-based file operation synchronization method according to the embodiment of the second aspect of the application is applied to a server remotely connected with a client, wherein the client is connected with a storage device, and the method comprises the following steps: acquiring a redirection request generated by the client according to the file information of the storage device; displaying the file information according to the redirection request; performing file operation on the displayed file information to generate an operation response; and sending the operation response to the client so that the client synchronizes the file operation of the server on the file information according to the operation response.
The file operation synchronization method based on redirection according to the embodiment of the application has at least the following beneficial effects: the server displays the file information according to the redirection request after acquiring the redirection request generated by the client according to the file information of the storage device, performs file operation on the displayed file information, generates an operation response and sends the operation response to the client, so that the client synchronizes the file operation of the server on the file information according to the operation response, can perform read-write operation on data information in the storage device connected with the client through the server, avoids the problem that normal read-write operation cannot be performed on the storage device due to the performance problem of the client and the like, and improves user experience.
According to some embodiments of the application, the file operation includes one or more of: read operation, write operation, change operation, delete operation;
the file operation is executed on the file information, and an operation response is generated, wherein the operation response comprises one or more of the following steps:
executing reading operation on the file information to generate a reading response; or, executing write operation on the file information to generate a write response; or, executing change operation to the file information to generate a change response; or, executing deletion operation on the file information to generate a deletion response.
According to some embodiments of the application, the file operation further comprises: virus searching and killing;
the executing the file operation on the file information and generating an operation response comprises:
and executing virus killing on the file information to generate virus killing response.
According to the client terminal of the third aspect embodiment of the present application, the client terminal is connected with the storage device, and includes:
the information acquisition module is used for acquiring file information of the storage equipment;
the redirection module is used for generating a redirection request according to the file information;
the remote sending module is used for sending the redirection request to a server so as to display the file information on the server;
the response acquisition module is used for acquiring an operation response generated by the server executing the file operation on the file information;
and the file operation module is used for synchronizing the file operation executed by the server on the file information according to the operation response.
The file operation synchronization method based on redirection according to the embodiment of the application has at least the following beneficial effects: the client side obtains file information of the storage device through the information obtaining module, the remote sending module sends the redirection request to the server after the redirection request is generated according to the file information through the redirection module, so that the file information can be displayed on the server, the response obtaining module obtains an operation response generated after the server executes file operation on the file information, the file operation module synchronizes the file operation executed by the server on the file information according to the operation response, the data information in the storage device connected with the client side can be read and written through the server, the problem that normal reading and writing cannot be conducted on the storage device due to the performance problem of the client side and the like is solved, and user experience is improved.
According to the server of the third aspect embodiment of the present application, the server is connected to the client remotely, and the client is connected to the storage device, including:
the request acquisition module is used for acquiring a redirection request generated by the client according to the file information of the storage device;
the file display module is used for displaying the file information according to the redirection request;
the response generation module is used for executing file operation on the displayed file information and generating an operation response;
and the response sending module is used for sending the operation response to the client so that the client synchronizes the file operation executed by the server on the file information according to the operation response.
The base server according to the embodiment of the application has at least the following beneficial effects: after the server acquires a redirection request generated by the client according to the file information of the storage device through the request acquisition module, the file display module displays the file information according to the redirection request, the response generation module performs file operation on the displayed file information and then generates an operation response, and the response sending module sends the operation response to the client, so that the client synchronizes the file operation of the server on the file information according to the operation response, and can perform read-write operation on data information in the storage device connected with the client through the server, thereby avoiding the problem that the storage device cannot be normally read and written due to the performance problem of the client and the like, and improving the user experience.
An electronic device according to an embodiment of the fifth aspect of the present application includes: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions for execution by the at least one processor to cause the at least one processor, when executing the instructions, to implement the redirection-based file operation synchronization method of the first and second aspects.
According to the electronic equipment of this application, have at least following beneficial effect: by executing the redirection-based file operation synchronization method in the embodiments of the first aspect and the second aspect, the data information in the storage device connected to the client can be read and written by the server, so that the problem that the storage device cannot be normally read and written due to the performance problem of the client is avoided, and the user experience is improved.
According to a sixth aspect of the present application, there is provided a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the redirection-based file operation synchronization method according to the first and second aspects.
The computer-readable storage medium according to the present application has at least the following advantageous effects: by executing the redirection-based file operation synchronization method in the embodiments of the first aspect and the second aspect, the data information in the storage device connected to the client can be read and written by the server, so that the problem that the storage device cannot be normally read and written due to the performance problem of the client is avoided, and the user experience is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Fig. 1 is a schematic flowchart illustrating a specific process of a file operation synchronization method based on redirection in an embodiment of the present application;
FIG. 2 is a schematic flowchart illustrating another redirection-based file operation synchronization method according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a client according to an embodiment of the present disclosure;
fig. 4 is a schematic block diagram of a server according to an embodiment of the present application.
Reference numerals:
an information acquisition module 110, a redirection module 120, a remote sending module 130, a response acquisition module 140, and a file operation module 150; a request acquisition module 210, a file display module 220, a response generation module 230, and a response sending module 240.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
It should be noted that the logical order is shown in the flowcharts, but in some cases, the steps shown or described may be performed in an order different from the flowcharts. If the term "a number" is used, it is intended to mean more than one, if the term "a number" is used, it is intended to mean more than two, and if the term "less than one" is used, it is intended to include the number. The use of any and all examples, or exemplary language ("e.g.," such as "etc.), provided herein is intended merely to better illuminate embodiments of the application and does not pose a limitation on the scope of the application unless otherwise claimed. The terms greater than, less than, more than, etc. are understood to exclude the essential numbers, and the terms greater than, less than, and the like are understood to include the essential numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
It is noted that, as used in the examples, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any combination of one or more of the associated listed items.
The method comprises the following steps that a Universal Serial Bus (USB) device is redirected, namely a client connected with a storage device intercepts storage device data reported by a Bus driver and forwards the intercepted storage device data to a cloud server, so that the storage device of the client can be mapped to the cloud server.
When the storage device is connected to the client computer, the client often reads data such as file information stored in the storage device and displays the data on the client, and a user can read and write the file information in the storage device on the client.
Based on this, the embodiment of the application provides a redirection-based file operation synchronization method, device and storage medium, which can perform read-write operation on data information in a storage device connected to a client through a server, avoid the problem that normal read-write operation cannot be performed on the storage device due to the performance problem of the client and the like, and improve user experience.
In a first aspect, an embodiment of the present application provides a redirection-based file operation synchronization method applied to a client connected to a storage device, where the storage device may be a USB device based on a USB interface, and file information is prestored in the storage device.
In some embodiments, referring to fig. 1, a flowchart illustrating a file operation synchronization method in an embodiment of the present application is shown. The method specifically comprises the following steps:
s110, acquiring file information of the storage device;
s120, generating a redirection request according to the file information;
s130, sending the redirection request to a server so as to display the file information on the server;
s140, acquiring an operation response generated by the server executing the file operation on the file information;
and S150, responding to the file operation executed by the synchronous server on the file information according to the operation.
In step S110, the client is in communication connection with the storage device based on the USB interface, and the client can read through the USB interface to obtain file information in the storage device, where the file information may be file information such as pictures and documents.
In step S120 and step S130, the client generates a redirection request in a redirection manner from the acquired file information based on the principle of USB device redirection, where the redirection request is a manner of converting the file information into a data request, so as to execute step S130, that is, send the redirection request to the server, and the server displays the file information of the storage device acquired by the client according to the redirection request. USB device redirection is described.
In steps S140 and S150, after the server performs the file operation on the displayed file information, a corresponding operation response may be generated. After receiving the operation response returned by the server through the redirection channel, the client performs synchronous operation according to the operation response, that is, the server synchronizes the file operation executed by the display file with the file information of the storage device actually read by the client to obtain the file information after the file operation.
In some embodiments, the operation response includes a virus killing response, and correspondingly, the client obtains a virus killing response generated after the server performs virus killing on the file information, and synchronizes virus killing performed on the file information according to the received virus killing response. Specifically, the server has a virus searching and killing function and related virus tools or software, when the server displays file information of the storage device, the server can search and kill viruses by using the virus searching and killing tools or software to determine whether virus files exist in the file information, if virus files are found, the virus files are searched and killed to eliminate the existing virus files, after virus searching and killing operation, corresponding virus searching and killing responses are generated and returned to the client, and after the client receives the virus searching and killing responses, the virus searching and killing executed on the file information are synchronized.
In some embodiments, the operational response includes one or more of: the method comprises the following steps of reading response, writing response, operating response, changing response and deleting response, wherein the reading response refers to the response returned after the server performs reading operation on file information; the write-in response refers to a response returned after the server performs write-in operation on the file information; the change response refers to a response returned after the server performs change operation on the file information; the deletion response refers to a response returned after the server performs deletion operation on the file information.
Correspondingly, the client synchronizes different file operations to the file information according to different operation responses, for example: synchronously executing reading operation on the file information according to the reading response returned by the server; or, the write operation executed on the file information is synchronized according to the write response returned by the server; or, the change operation executed on the file information is synchronized according to the change response returned by the server; or, the deletion operation executed on the file information is synchronized according to the deletion response returned by the server.
In the embodiment of the application, the client side obtains the file information of the storage device, generates the redirection request according to the file information, and then sends the redirection request to the server, so that the file information can be displayed on the server, obtains the operation response generated after the server executes the file operation on the file information, synchronizes the file operation executed by the server on the file information according to the operation response, and can perform read-write operation on the data information in the storage device connected with the client side through the server, thereby avoiding the problem that the storage device cannot be normally read and written due to the performance problem of the client side and the like, and improving the user experience.
In a second aspect, an embodiment of the present application provides a redirection-based file operation synchronization method applied to a server, where the server is remotely connected to a client, and the client is connected to a storage device, where the remote connection between the server and the client is performed based on a redirection channel established by the redirection method.
In some embodiments, referring to fig. 2, a flowchart of a file operation synchronization method in an embodiment of the present application is shown. The method specifically comprises the following steps:
s210, acquiring a redirection request generated by the client according to the file information of the storage device;
s220, displaying file information according to the redirection request;
s230, performing file operation on the displayed file information to generate an operation response;
s240, sending an operation response to the client so that the client operates the file of the file information according to the operation response synchronization server.
In step S210, after the server and the client establish a hoisting direction channel with the client based on the redirection principle, a root redirection request sent by the client is obtained, and the redirection request is a request generated by the client in a redirection manner based on the USB device redirection principle, for the obtained file information.
In step S220, after receiving the redirection request, the server may analyze the redirection request to display corresponding file information, where the file information is actually a redirection mapping of the file information at the client, and the server may perform a file operation on the displayed file information to obtain the file information after the file operation.
In steps S230 and S240, after the server performs the file operation on the displayed file information, a corresponding operation response may be generated. After receiving the operation response returned by the server through the redirection channel, the client performs synchronous operation according to the operation response, that is, the server synchronizes the file operation executed by the display file with the file information of the storage device actually read by the client to obtain the file information after the file operation.
In some embodiments, the file operations performed by the server on the file information include one or more of: read operation, write operation, change operation, delete operation; the reading operation refers to an operation of reading file information by a server; the writing operation refers to the operation of writing the file information by the server; the change operation refers to the operation of changing the file information by the server; the deletion operation refers to an operation in which the server deletes file information. Different file operations executed by the server on the file information generate different operation responses to be returned to the client, so that the client synchronizes the file operations executed by the server.
Correspondingly, the server generates different operation responses according to different file operations, for example: after the server executes reading operation on the file information, generating a reading response; after the server executes write operation on the file information, generating a write response; after the server executes the change operation on the file information, generating a change response; and after the server executes deletion operation on the file information, generating a deletion response. It should be noted that the response generated by the server is actually a data response corresponding to new file information obtained after the file operation is performed, and the data response can be returned to the client through the redirection channel for synchronization.
In some embodiments, the server is further capable of performing virus killing on the file information to obtain file information after virus killing, that is, generating a virus killing response, specifically, the server has a virus tool or software related to the virus killing function, when the server displays the file information of the storage device, the server can perform virus killing on the file information by using the virus killing tool or software to determine whether a virus file exists in the file information, if the virus file is found, the virus file is killed to eliminate the existing virus file, and after the virus killing operation, a corresponding virus killing response is generated and returned to the client, and after the client receives the virus killing response, the client synchronously performs virus killing on the file information.
In the embodiment of the application, the server displays the file information according to the redirection request after acquiring the redirection request generated by the client according to the file information of the storage device, performs file operation on the displayed file information, generates the operation response and sends the operation response to the client, so that the client synchronizes the file operation of the server on the file information according to the operation response, can perform read-write operation on data information in the storage device connected with the client through the server, avoids the problem that normal read-write operation cannot be performed on the storage device due to the performance problem of the client and the like, and improves the user experience.
In a third aspect, an embodiment of the present application provides a client for executing the file operation synchronization method mentioned in the first aspect.
In some embodiments, referring to fig. 3, a schematic block diagram of a client in an embodiment of the present application is shown. The method specifically comprises the following steps: an information acquisition module 110, a redirection module 120, a remote sending module 130, a response acquisition module 140, and a file operation module 150.
The information obtaining module 110 is configured to obtain file information of a storage device;
the redirection module 120 is configured to generate a redirection request according to the file information;
the remote sending module 130 is configured to send the redirection request to the server, so that the file information is displayed on the server;
the response acquiring module 140 is configured to acquire an operation response generated by the server performing a file operation on the file information;
the file operation module 150 is configured to respond to a file operation performed by the synchronization server on the file information according to the operation.
It should be noted that, in the embodiment of the present application, the client is configured to execute the file operation synchronization method mentioned in the first aspect, wherein specific functions and descriptions of each functional module are described in detail in the embodiment of the first aspect, and are not described again.
In this embodiment of the application, a client obtains file information of a storage device through the information obtaining module 110, after the redirection module 120 generates a redirection request according to the file information, the remote sending module 130 sends the redirection request to a server, so that the file information can be displayed on the server, the response obtaining module 140 obtains an operation response generated after the server performs a file operation on the file information, the file operation module 150 synchronizes the file operation performed by the server on the file information according to the operation response, and can perform a read-write operation on data information in the storage device connected to the client through the server, thereby avoiding a problem that the storage device cannot be normally read and written due to a performance problem of the client, and improving user experience.
In a fourth aspect, an embodiment of the present application provides a server for executing the file operation synchronization method mentioned in the second aspect.
In some embodiments, referring to fig. 4, a block diagram of a server in an embodiment of the present application is shown. The method specifically comprises the following steps: a request acquisition module 210, a file display module 220, a response generation module 230, and a response sending module 240;
the request obtaining module 210 is configured to obtain a redirection request generated by the client according to the file information of the storage device;
the file display module 220 is configured to display file information according to the redirection request;
the response generation module 230 is configured to perform a file operation on the displayed file information, and generate an operation response;
the response sending module 240 is configured to send an operation response to the client, so that the client synchronizes the file operation performed by the server on the file information according to the operation response.
It should be noted that, the server in the embodiment of the present application is configured to execute the file operation synchronization method mentioned in the second aspect, wherein specific functions and descriptions of each functional module have been described in detail in the embodiment of the second aspect, and are not described again.
In the embodiment of the present application, after the server obtains, through the request obtaining module 210, a redirection request generated by the client according to file information of the storage device, the file display module 220 displays the file information according to the redirection request, the response generating module 230 performs a file operation on the displayed file information, generates an operation response, and sends the operation response to the client through the response sending module 240, so that the client synchronizes, according to the operation response, the file operation of the server on the file information, and can perform a read-write operation on data information in the storage device connected to the client through the server, thereby avoiding a problem that the storage device cannot be normally read and written due to a performance problem of the client, and improving user experience.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including: at least one processor, and a memory communicatively coupled to the at least one processor;
the processor is configured to execute the data compression method in the first aspect embodiment or the backup redirection-based file operation synchronization method in the second aspect embodiment by calling a computer program stored in the memory.
The memory, as a non-transitory computer-readable storage medium, may be used to store a non-transitory software program and a non-transitory computer-executable program, such as the data compression method in the first aspect embodiment or the file operation synchronization method based on backup redirection in the second aspect embodiment of the present application. The processor implements the data compression method in the first aspect embodiment or the backup redirection-based file operation synchronization method in the second aspect embodiment by executing the non-transitory software program and the instructions stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store and execute the data compression method in the first aspect embodiment or the backup redirection-based file operation synchronization method in the second aspect embodiment. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the data compression method in the first aspect embodiment or the backup redirection based file operation synchronization method in the second aspect embodiment are stored in a memory, and when executed by one or more processors, perform the data compression method in the first aspect embodiment or the backup redirection based file operation synchronization method in the second aspect embodiment.
In a sixth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions for: executing the data compression method in the first aspect embodiment or the backup redirection-based file operation synchronization method in the second aspect embodiment;
in some embodiments, the computer-readable storage medium stores computer-executable instructions, which are executed by one or more control processors, for example, by one of the processors in the electronic device of the fifth aspect, and may cause the one or more processors to perform the data compression method in the first aspect or the backup redirection-based file operation synchronization method in the second aspect.
The above described embodiments of the device are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the terms "some embodiments," "examples," "specific examples," or "some examples," etc., mean that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.

Claims (10)

1. The redirection-based file operation synchronization method is applied to a client connected with a storage device, and comprises the following steps:
acquiring file information of the storage device;
generating a redirection request according to the file information;
sending the redirection request to a server so that the file information is displayed on the server;
acquiring an operation response generated by the server executing the file operation on the file information;
and synchronizing the file operation executed by the server on the file information according to the operation response.
2. The redirection-based file operation synchronization method according to claim 1, wherein the operation response comprises a virus killing response;
correspondingly, the method further comprises the following steps:
acquiring a virus searching and killing response of the server to the file information, wherein the virus searching and killing response is generated by the server through virus searching and killing of the displayed file information;
and synchronously searching and killing the virus executed on the file information according to the virus searching and killing response.
3. The redirection-based file operation synchronization method according to claim 1, wherein the operation response comprises one or more of the following: read response, write response, change response, delete response;
correspondingly, the file operation executed by the server on the file information is synchronized according to the operation response, and the file operation comprises one or more of the following steps:
synchronizing the reading operation executed by the server on the file information according to the reading response;
or, according to the write response, synchronizing the write operation executed by the server on the file information;
or, the change operation executed by the server to the file information is synchronized according to the change response;
or, according to the deletion response, synchronizing the deletion operation executed by the server on the file information.
4. The redirection-based file operation synchronization method is applied to a server remotely connected with a client, wherein the client is connected with a storage device, and the method comprises the following steps:
acquiring a redirection request generated by the client according to the file information of the storage device;
displaying the file information according to the redirection request;
performing file operation on the displayed file information to generate an operation response;
and sending the operation response to the client so that the client synchronizes the file operation of the server on the file information according to the operation response.
5. The redirection-based file operation synchronization method of claim 4, wherein the file operation comprises one or more of the following: read operation, write operation, change operation, delete operation;
the file operation is executed on the file information, and an operation response is generated, wherein the operation response comprises one or more of the following steps:
executing reading operation on the file information to generate a reading response;
or, executing write operation on the file information to generate a write response;
or, executing change operation to the file information to generate a change response;
or, executing deletion operation on the file information to generate a deletion response.
6. The redirection-based file operation synchronization method of claim 5, the file operation further comprising: virus searching and killing;
the executing the file operation on the file information and generating an operation response comprises:
and executing virus killing on the file information to generate virus killing response.
7. The client side is characterized in that the client side is connected with the storage device and comprises:
the information acquisition module is used for acquiring file information of the storage equipment;
the redirection module is used for generating a redirection request according to the file information;
the remote sending module is used for sending the redirection request to a server so as to display the file information on the server;
the response acquisition module is used for acquiring an operation response generated by the server executing the file operation on the file information;
and the file operation module is used for synchronizing the file operation executed by the server on the file information according to the operation response.
8. The server, characterized in that, server remote connection customer end, storage device is connected to the customer end, includes:
the request acquisition module is used for acquiring a redirection request generated by the client according to the file information of the storage device;
the file display module is used for displaying the file information according to the redirection request;
the response generation module is used for executing file operation on the displayed file information and generating an operation response;
and the response sending module is used for sending the operation response to the client so that the client synchronizes the file operation executed by the server on the file information according to the operation response.
9. An electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions for execution by the at least one processor to cause the at least one processor, when executing the instructions, to implement a redirection-based file operation synchronization method as recited in any of claims 1 to 6.
10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the redirection-based file operation synchronization method of any of claims 1 to 6.
CN202110861648.8A 2021-07-29 2021-07-29 File operation synchronization method and equipment based on redirection and storage medium Pending CN113312324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110861648.8A CN113312324A (en) 2021-07-29 2021-07-29 File operation synchronization method and equipment based on redirection and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110861648.8A CN113312324A (en) 2021-07-29 2021-07-29 File operation synchronization method and equipment based on redirection and storage medium

Publications (1)

Publication Number Publication Date
CN113312324A true CN113312324A (en) 2021-08-27

Family

ID=77382032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110861648.8A Pending CN113312324A (en) 2021-07-29 2021-07-29 File operation synchronization method and equipment based on redirection and storage medium

Country Status (1)

Country Link
CN (1) CN113312324A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073741A (en) * 2011-01-30 2011-05-25 宇龙计算机通信科技(深圳)有限公司 Method for realizing file reading and/or writing and data server
CN103001937A (en) * 2011-09-19 2013-03-27 珠海市君天电子科技有限公司 System and method for defending against mobile storage medium virus in island-like Ethernet
CN103020257A (en) * 2012-12-21 2013-04-03 曙光信息产业(北京)有限公司 Implementation method and device for data operation
US20140317418A1 (en) * 2013-04-23 2014-10-23 Hon Hai Precision Industry Co., Ltd. Server, client device, and usb redirection method
CN104714760A (en) * 2015-03-05 2015-06-17 青岛海信宽带多媒体技术有限公司 Method and device for read and write storage device
CN110235118A (en) * 2017-02-13 2019-09-13 日立数据管理有限公司 Optimize content storage by counterfoilization
CN110795156A (en) * 2019-10-24 2020-02-14 深信服科技股份有限公司 Mobile memory loading method, thin client, storage medium and device
CN111309698A (en) * 2018-12-12 2020-06-19 中兴通讯股份有限公司 Disk redirection method, device and system
CN111400712A (en) * 2020-03-17 2020-07-10 深信服科技股份有限公司 File virus checking and killing method, equipment, device and computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073741A (en) * 2011-01-30 2011-05-25 宇龙计算机通信科技(深圳)有限公司 Method for realizing file reading and/or writing and data server
CN103001937A (en) * 2011-09-19 2013-03-27 珠海市君天电子科技有限公司 System and method for defending against mobile storage medium virus in island-like Ethernet
CN103020257A (en) * 2012-12-21 2013-04-03 曙光信息产业(北京)有限公司 Implementation method and device for data operation
US20140317418A1 (en) * 2013-04-23 2014-10-23 Hon Hai Precision Industry Co., Ltd. Server, client device, and usb redirection method
CN104714760A (en) * 2015-03-05 2015-06-17 青岛海信宽带多媒体技术有限公司 Method and device for read and write storage device
CN110235118A (en) * 2017-02-13 2019-09-13 日立数据管理有限公司 Optimize content storage by counterfoilization
CN111309698A (en) * 2018-12-12 2020-06-19 中兴通讯股份有限公司 Disk redirection method, device and system
CN110795156A (en) * 2019-10-24 2020-02-14 深信服科技股份有限公司 Mobile memory loading method, thin client, storage medium and device
CN111400712A (en) * 2020-03-17 2020-07-10 深信服科技股份有限公司 File virus checking and killing method, equipment, device and computer storage medium

Similar Documents

Publication Publication Date Title
CN107943594B (en) Data acquisition method and device
CN109739810B (en) File synchronization method, server, client and device with storage function
CN109587271B (en) Main chain parallel chain architecture system, block synchronization method, equipment and storage medium
CN111555963B (en) Message pushing method and device, electronic equipment and storage medium
CN109361525B (en) Method, device, control terminal and medium for restarting distributed deployment of multiple services
CN105338078A (en) Data storage method and device used for storing system
EP3159803A1 (en) Data storage method and network interface card
CN108600779B (en) Target object operation method and device based on video content
CN110019873B (en) Face data processing method, device and equipment
CN105450682B (en) Method, device and system for synchronously storing data and synchronizing data to client
CN112433920A (en) Buried point data reporting method, device, equipment and medium
KR20210040864A (en) File directory traversal method, apparatus, device, and medium
CN112822091A (en) Message processing method and device
CN110580674B (en) Information processing method, device and system
CN113330426B (en) Method, device and system for backing up data
CN112363980B (en) Data processing method and device of distributed system
CN111431952A (en) Message pushing method, device and system, computer storage medium and electronic equipment
CN111383038A (en) Advertisement display method and device of mobile terminal, mobile terminal and storage medium
CN107220146B (en) File scanning recovery method and device
CN113312324A (en) File operation synchronization method and equipment based on redirection and storage medium
CN111262996A (en) Notification bar message processing method and device, electronic device and storage medium
CN111367921A (en) Data object refreshing method and device
JP7498800B2 (en) Screen mirroring method and apparatus, electronic device and computer-readable storage medium
WO2022105631A1 (en) Method and apparatus for requesting configuration page, and electronic device
CN115390858A (en) Method, device, processor and storage medium for managing mirror image file

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210827

RJ01 Rejection of invention patent application after publication